/*
Theme Name: Sensi'Loc Crimson Theme
Theme URI: https://sensiloc.zenchesoi.com
Description: Un thème WordPress ultra-premium pour Sensi'Loc avec design V4.1 Final Visibility, animations de scan, dégradés Neon et GSAP.
Author: Antigravity
Version: 1.4.1
Text Domain: sensiloc
*/

:root {
    --primary: #050505;
    --secondary: #FF0033;
    /* Neon Crimson */
    --accent: #1A1A1A;
    --text-white: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.5);
    --container-width: 1400px;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--primary);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    text-transform: uppercase;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* --- HEADER --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 0;
    z-index: 1000;
    transition: all 0.5s var(--ease-out);
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8), transparent);
}

.main-header.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 2px solid var(--secondary);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 120px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(255, 0, 51, 0.5)) saturate(2) brightness(1.2);
    transition: all 0.5s var(--ease-out);
}

.main-header.scrolled .logo img {
    height: 80px;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn-cta {
    background: #FF0033;
    color: white;
    padding: 20px 45px;
    border-radius: 0;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s var(--ease-out);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(255, 0, 51, 0.4);
}

.btn-cta:hover {
    background: white;
    color: #FF0033;
    border-color: #FF0033;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 51, 0.6);
}

.btn-whatsapp {
    background: #FF0033 !important;
    border: 2px solid white !important;
    border-radius: 50px !important;
    padding: 15px 30px !important;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2), 0 10px 30px rgba(255, 0, 51, 0.5);
}

/* --- SECTIONS --- */
.scan-section {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.scan-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.scan-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: radial-gradient(circle at center, transparent, var(--primary) 80%);
}

.scan-content {
    position: relative;
    z-index: 10;
    width: 100%;
}

.grid-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.85;
    margin-bottom: 40px;
}

.hero-title span {
    color: var(--secondary);
}

.offer-card {
    background: var(--accent);
    padding: 60px;
    border-left: 5px solid var(--secondary);
    transition: all 0.5s ease;
}

.product-img-box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 0, 51, 0.05);
}

.product-img-box img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* --- SPIRIT --- */
.spirit-section {
    padding: 150px 0;
    background: linear-gradient(to bottom, var(--primary), #1a0505);
}

.spirit-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 35px;
}

.spirit-image-wrapper {
    position: relative;
    border: 1px solid rgba(255, 0, 51, 0.3);
    padding: 20px;
}

.spirit-image-wrapper::before,
.spirit-image-wrapper::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border: 2px solid var(--secondary);
}

.spirit-image-wrapper::before {
    top: -10px;
    left: -10px;
    border-bottom: 0;
    border-right: 0;
}

.spirit-image-wrapper::after {
    bottom: -10px;
    right: -10px;
    border-top: 0;
    border-left: 0;
}

/* --- PRICE --- */
.price-scan {
    padding: 100px 0;
    background: var(--primary);
}

.price-group-box {
    position: relative;
    background: var(--accent);
    padding: 70px 60px;
    box-shadow: inset 0 0 40px rgba(255, 0, 51, 0.1);
}

#base-price::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #FF0033, #7b0000, #FF0033);
    z-index: -1;
    background-size: 400%;
    animation: gradientMove 8s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.addon-card {
    background: rgba(255, 0, 51, 0.03);
    border: 1px solid rgba(255, 0, 51, 0.2);
    padding: 45px;
    margin-bottom: 20px;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--secondary);
    box-shadow: 0 0 20px var(--secondary);
    z-index: 100;
    pointer-events: none;
}

footer {
    padding: 100px 0;
    background: var(--primary);
    border-top: 1px solid rgba(255, 0, 51, 0.2);
    text-align: center;
}

@media (max-width: 1024px) {
    .grid-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .scan-section {
        height: auto;
        padding: 140px 0;
    }
}