/* =========================================================
   Charte graphique — Prestige Numérique (elbettal.com)
   ========================================================= */
:root {
    /* Couleurs principales */
    --primary-color:    #080B12;
    --alt-bg:           #0D1117;
    --card-bg:          #141922;
    --dark-bg:          #050709;

    /* Accents */
    --gold:             #C9A84C;
    --gold-light:       #E2C06A;
    --gold-muted:       rgba(201, 168, 76, 0.18);
    --gold-glow:        rgba(201, 168, 76, 0.32);
    --blue:             #3B82F6;
    --blue-muted:       rgba(59, 130, 246, 0.14);
    --green:            #10B981;

    /* Compatibilité anciens noms */
    --secondary-color:  var(--gold);
    --accent-color:     var(--gold);
    --warm-accent:      var(--gold-light);
    --light-bg:         var(--primary-color);

    /* Texte */
    --text-color:       #F0F4F8;
    --text-secondary:   #8B96A5;
    --light-text:       #F0F4F8;

    /* Statut */
    --success-color:    #10B981;
    --error-color:      #EF4444;

    /* Espacement */
    --spacing-xs:       8px;
    --spacing-sm:       16px;
    --spacing-md:       24px;
    --spacing-lg:       48px;
    --spacing-xl:       64px;
    --spacing-xxl:      120px;
    --section-padding:  clamp(100px, 12vw, 160px);
    --container-width:  1200px;

    /* Transitions */
    --transition:       all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow:  all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius:    12px;
    --border-radius-sm: 8px;
    --box-shadow:       0 10px 28px rgba(0, 0, 0, 0.5);
    --hover-shadow:     0 18px 42px rgba(0, 0, 0, 0.6);

    /* Typographie */
    --heading-font:     'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
    --body-font:        'Inter', system-ui, sans-serif;
    --mono-font:        'Geist Mono', ui-monospace, monospace;
    --code-font:        'Fira Code', ui-monospace, monospace;
}

/* =========================================================
   Reset & Base
   ========================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(201, 168, 76, 0.04), transparent 42%),
        radial-gradient(circle at 88% 10%, rgba(59, 130, 246, 0.04), transparent 36%),
        var(--primary-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.12;
    color: var(--text-color);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 3.5rem; letter-spacing: -0.03em; }

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    letter-spacing: -0.025em;
    text-align: left;
    position: relative;
    margin-bottom: var(--spacing-lg);
    font-weight: 700;
}

h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    margin: var(--spacing-sm) 0 0;
    border-radius: 2px;
}

h3 { font-size: 1.5rem;  font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { margin-bottom: var(--spacing-md); }

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
    background: transparent;
    border-bottom: 1px solid transparent;
    -webkit-backdrop-filter: blur(0);
    backdrop-filter: blur(0);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: background 0.35s ease, border-color 0.35s ease,
                box-shadow 0.35s ease, backdrop-filter 0.35s ease, padding 0.25s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(8, 11, 18, 0.92);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.55);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container { display: flex; align-items: center; }

.brand-block {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--light-text);
}

.logo {
    height: 40px;
    width: auto;
    transition: opacity 0.2s ease;
}

.brand-block:hover .logo { opacity: 0.82; }

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--gold); }

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 70%; }

/* CTA navbar */
.nav-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--blue) 100%);
    color: var(--primary-color) !important;
    border-radius: 999px;
    padding: 8px 18px !important;
    font-family: var(--mono-font);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

.nav-cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    box-shadow: 0 0 18px var(--gold-glow);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 1px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    background: var(--primary-color);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    color: var(--light-text);
    padding: clamp(72px, 14vh, 120px) clamp(24px, 6vw, 80px) var(--spacing-xl);
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(to top, var(--primary-color), transparent);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    pointer-events: auto;
    animation: fadeIn 0.9s ease-out;
}

.hero-kicker {
    font-family: var(--mono-font);
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 11px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
}

.hero-kicker span {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 4px 12px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-family: var(--heading-font);
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.05em;
    margin-bottom: var(--spacing-md);
    line-height: 1;
}

.hero-brand {
    font-size: clamp(52px, 8vw, 108px);
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, var(--text-color) 30%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.hero-tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: -0.01em;
    opacity: 0.9;
}

.hero-subtitle {
    font-family: var(--body-font);
    font-size: clamp(1.05rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 40em;
    margin-bottom: var(--spacing-xl);
}

.hero-subtitle strong { color: var(--gold-light); font-weight: 600; }

.hero-cta-group {
    display: flex;
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-proof {
    margin-top: 40px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}

.proof-tag {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--mono-font);
}

.proof-tag i {
    color: var(--gold);
    font-size: 0.75rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 5;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator:hover { opacity: 1; transform: translateX(-50%) translateY(-5px); }

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 2px;
    height: 6px;
    background: var(--gold);
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
    animation: scrollMouse 2s infinite;
}

.arrows span {
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    margin: -4px 0;
    animation: scrollArrows 2s infinite;
}

.arrows span:nth-child(2) { animation-delay: 0.2s; }

@keyframes scrollMouse {
    0% { opacity: 0; transform: translateX(-50%) translateY(0); }
    20% { opacity: 1; }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

@keyframes scrollArrows {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* Hero 404 */
.hero--404 { justify-content: center; text-align: center; }
.hero--404 .hero-content { margin: 0 auto; text-align: center; }
.hero--404 .hero-title { align-items: center; }
.hero--404 .hero-cta-group,
.hero--404 .hero-proof { justify-content: center; }
.hero-title--404 .hero-brand { font-size: clamp(36px, 8vw, 72px); }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Boutons CTA
   ========================================================= */
.cta-btn {
    display: inline-block;
    padding: 14px var(--spacing-lg);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--body-font);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.01em;
}

/* Bouton primaire — dégradé or/bleu */
.cta-btn--glass {
    background: linear-gradient(135deg, var(--gold) 0%, var(--blue) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 6px 24px rgba(201, 168, 76, 0.25), 0 2px 8px rgba(0,0,0,0.3);
}

.cta-btn--glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.55s ease;
    z-index: 0;
}

.cta-btn--glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 32px var(--gold-glow), 0 12px 40px rgba(0,0,0,0.4);
    opacity: 0.92;
}

.cta-btn--glass:hover::before { transform: translateX(100%); }

/* Bouton secondaire — bordure or */
.cta-btn-secondary {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(201, 168, 76, 0.45);
    color: var(--gold-light);
    font-family: var(--body-font);
    font-weight: 600;
}

.cta-btn-secondary:hover {
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.08);
    color: var(--gold);
    transform: translateY(-2px);
}

/* =========================================================
   Sections
   ========================================================= */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.section:nth-child(even) { background-color: rgba(13, 17, 23, 0.55); }

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201, 168, 76, 0.2), transparent);
}

.section-label {
    font-family: var(--mono-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 10px;
    opacity: 0.85;
}

.section-subtitle {
    text-align: left;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 44rem;
    margin: -0.5rem 0 var(--spacing-xl);
    line-height: 1.7;
}

/* =========================================================
   About
   ========================================================= */
#about .container { max-width: 900px; text-align: left; }
#about p { font-size: 1.1rem; line-height: 1.85; color: var(--text-secondary); }

.about-card {
    max-width: 920px;
    margin: 0 auto;
    background: rgba(20, 25, 34, 0.7);
    border: 1px solid rgba(201, 168, 76, 0.12);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-radius: var(--border-radius);
    padding: clamp(22px, 4vw, 36px);
    box-shadow: 0 14px 40px rgba(0,0,0,0.35);
    transition: var(--transition);
}

.about-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    box-shadow: 0 0 28px rgba(201, 168, 76, 0.06), 0 18px 44px rgba(0,0,0,0.4);
}

/* =========================================================
   Méthode
   ========================================================= */
#method { background: transparent; }

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.method-step {
    background: rgba(20, 25, 34, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 26px;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.method-step:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 12px 32px rgba(0,0,0,0.35), 0 0 18px rgba(59, 130, 246, 0.06);
}

.method-step span {
    font-family: var(--mono-font);
    color: var(--gold);
    font-size: 0.82rem;
    opacity: 0.9;
}

.method-step h3 {
    font-size: 1.2rem;
    margin-top: 8px;
    margin-bottom: 10px;
    font-family: var(--heading-font);
}

.method-step p { margin: 0; color: var(--text-secondary); }

/* =========================================================
   Résultats
   ========================================================= */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.result-card {
    background: rgba(20, 25, 34, 0.7);
    border: 1px solid rgba(201, 168, 76, 0.1);
    border-radius: 14px;
    padding: 26px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.3);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.result-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 0 24px rgba(201, 168, 76, 0.08), 0 18px 40px rgba(0,0,0,0.4);
}

.result-card strong {
    display: inline-block;
    font-family: var(--mono-font);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.result-card:nth-child(2) strong,
.result-card:nth-child(3) strong {
    background: linear-gradient(135deg, var(--green), #059669);
    -webkit-background-clip: text;
    background-clip: text;
}

.result-card:last-child strong {
    background: linear-gradient(135deg, #93C5FD, var(--blue));
    -webkit-background-clip: text;
    background-clip: text;
}

.result-card p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

/* =========================================================
   Services
   ========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-md) 0;
}

.service-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
    text-align: center;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(201, 168, 76, 0.35);
    box-shadow: 0 0 24px rgba(59, 130, 246, 0.08), 0 20px 48px rgba(0,0,0,0.5);
}

.service-card-content {
    padding: clamp(28px, 4vw, 40px) var(--spacing-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 240px;
}

/* Icône bleue dans cercle semi-transparent */
.service-icon {
    font-size: 1.9rem;
    margin-bottom: 16px;
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--blue-muted);
    margin-left: auto;
    margin-right: auto;
    transition: background 240ms ease, color 240ms ease;
}

.service-card:hover .service-icon {
    background: rgba(59, 130, 246, 0.22);
    color: #93C5FD;
}

.service-card h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    margin: 0 0 var(--spacing-sm);
    font-family: var(--heading-font);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
    font-size: 0.95rem;
}

.service-card .card-link {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    align-self: center;
    margin-top: auto;
    transition: color 200ms ease, gap 200ms ease;
    font-family: var(--mono-font);
    letter-spacing: 0.02em;
}

.service-card .card-link:hover {
    color: var(--gold-light);
    gap: 9px;
}

/* =========================================================
   Témoignages
   ========================================================= */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--spacing-md);
}

.testimonial-card {
    background: rgba(20, 25, 34, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 26px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.3);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 0 18px rgba(201, 168, 76, 0.06), 0 18px 40px rgba(0,0,0,0.4);
}

.testimonial-card p {
    margin: 0;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.97rem;
    line-height: 1.7;
}

.testimonial-card h3 {
    margin-top: 18px;
    margin-bottom: 0;
    font-size: 0.9rem;
    font-family: var(--body-font);
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.01em;
}

/* =========================================================
   Contact
   ========================================================= */
#contact { background: transparent; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
    max-width: 900px;
    margin: 0 auto;
    width: 90%;
}

.contact-info,
.contact-direct {
    background: var(--card-bg);
    border: 1px solid rgba(201, 168, 76, 0.1);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-info:hover,
.contact-direct:hover {
    border-color: rgba(201, 168, 76, 0.22);
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

.contact-info h3,
.contact-direct h3 {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
    text-align: center;
    font-family: var(--heading-font);
}

.contact-info p {
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
}

.contact-methods {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0;
}

.contact-methods li {
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-methods li i {
    color: var(--gold);
    font-size: 1.1rem;
    width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-methods li strong {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 4px;
}

.contact-methods li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-methods li a:hover { color: var(--gold); }

.contact-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    color: white;
    gap: var(--spacing-sm);
    font-weight: 600;
}

.contact-btn i { font-size: 1.8rem; }
.contact-btn span { font-size: 1rem; font-weight: 600; }

.email-btn     { background: linear-gradient(135deg, var(--gold), #B8922E); }
.phone-btn     { background: linear-gradient(135deg, var(--blue), #1D4ED8); }
.whatsapp-btn-large { background: #25D366; }

.contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
    opacity: 0.92;
}

.contact-note {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(13, 17, 23, 0.6);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.contact-note p {
    margin-bottom: 0;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.9rem;
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: rgba(5, 7, 9, 0.96);
    color: var(--light-text);
    padding: var(--spacing-xl) 0;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), var(--blue), transparent);
}

.footer a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.footer a:hover { color: var(--gold-light); text-decoration: underline; }

.footer p { margin-bottom: var(--spacing-sm); opacity: 0.85; font-size: 0.95rem; }
.legal-link { margin-top: var(--spacing-md); font-size: 0.88rem; opacity: 0.7; }

/* =========================================================
   WhatsApp Button
   ========================================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 100;
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 24px rgba(37, 211, 102, 0.35), var(--hover-shadow);
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.4;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%   { transform: scale(0.95); opacity: 0.7; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(0.95); opacity: 0; }
}

/* =========================================================
   Bouton retour en haut
   ========================================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(20, 25, 34, 0.92);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    text-decoration: none;
}

.back-to-top.visible { opacity: 1; visibility: visible; }

.back-to-top:hover {
    background: rgba(201, 168, 76, 0.14);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* =========================================================
   Legal card
   ========================================================= */
.legal-card { max-width: 900px; margin: 0 auto; }

/* =========================================================
   Animations au défilement
   ========================================================= */
.fade-in {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease-out, transform 0.65s ease-out;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Accessibilité
   ========================================================= */
:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* =========================================================
   Curseur personnalisé (desktop)
   ========================================================= */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid rgba(201, 168, 76, 0.7);
    background: rgba(201, 168, 76, 0.06);
    pointer-events: none;
    z-index: 1200;
    transform: translate(-50%, -50%);
    transition: width 140ms ease, height 140ms ease, border-color 140ms ease, background-color 140ms ease;
}

.custom-cursor.active {
    width: 32px;
    height: 32px;
    border-color: var(--gold);
    background: rgba(201, 168, 76, 0.1);
}

/* =========================================================
   Responsive — 1200px
   ========================================================= */
@media (max-width: 1200px) {
    :root { --section-padding: 96px; }
    .container { padding: 0 var(--spacing-md); }
    h1 { font-size: 3rem; }
    h2 { font-size: 2.2rem; }
    .nav-links { gap: var(--spacing-md); }
}

/* =========================================================
   Responsive — 1024px (tablette paysage)
   ========================================================= */
@media (max-width: 1024px) {
    :root { --section-padding: 80px; }

    .hero-subtitle { font-size: 1.1rem; }
    .hero-brand { font-size: clamp(40px, 7vw, 72px); }

    .services-grid { grid-template-columns: repeat(2, 1fr); gap: var(--spacing-md); }
    .method-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   Responsive — 768px (tablette portrait / grand mobile)
   ========================================================= */
@media (max-width: 768px) {
    :root { --section-padding: 64px; }

    /* --- Navbar --- */
    .navbar .container { flex-direction: row; justify-content: space-between; }
    .logo { height: 34px; }
    .hamburger { display: block; }

    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Drawer mobile */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(80vw, 320px);
        height: 100dvh;
        background: var(--alt-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-sm);
        padding: var(--spacing-xxl) var(--spacing-lg);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 40px rgba(0,0,0,0.55);
        border-left: 1px solid rgba(201, 168, 76, 0.1);
        z-index: 999;
    }

    .nav-links.active { right: 0; }

    .nav-links a {
        font-size: 1.15rem;
        padding: 12px var(--spacing-md);
        width: 100%;
        text-align: center;
        border-radius: var(--border-radius-sm);
    }

    .nav-links a:hover { background: rgba(201, 168, 76, 0.06); }

    .nav-cta {
        margin-top: var(--spacing-sm);
        width: auto;
        padding: 12px var(--spacing-lg) !important;
    }

    /* --- Hero --- */
    .hero {
        min-height: 100dvh;
        padding: 120px var(--spacing-md) var(--spacing-xl);
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-content { 
        max-width: 100%; 
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-kicker { justify-content: center; margin-bottom: 16px; }
    
    .hero-title { align-items: center; text-align: center; gap: 8px; }
    .hero-brand { font-size: clamp(34px, 10vw, 54px); line-height: 1.1; }
    .hero-tagline { font-size: clamp(1rem, 4.5vw, 1.35rem); }
    .hero-subtitle { font-size: 0.95rem; max-width: 100%; margin-bottom: var(--spacing-lg); }

    .hero-cta-group { flex-direction: column; align-items: center; width: 100%; gap: 12px; }
    .cta-btn { width: 100%; text-align: center; padding: 14px var(--spacing-md); }

    .hero-proof { 
        flex-direction: column; 
        align-items: center; 
        gap: 12px; 
        margin-top: 32px;
    }
    .proof-tag { font-size: 0.8rem; }

    /* --- Titres sections --- */
    h2, .section-subtitle, .section-label { text-align: center; }
    h2::after { margin-left: auto; margin-right: auto; }
    .section-subtitle { max-width: 100%; margin-left: auto; margin-right: auto; }
    #about p, .contact-info p { text-align: center; }

    /* --- Grilles --- */
    .services-grid { grid-template-columns: 1fr; gap: var(--spacing-md); }
    .method-grid   { grid-template-columns: 1fr; }
    .results-grid  { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }

    /* --- About --- */
    .about-card { padding: var(--spacing-md); }

    /* --- Contact --- */
    .contact-grid { gap: var(--spacing-md); }
    .contact-info, .contact-direct { padding: var(--spacing-md); }
    .contact-buttons { grid-template-columns: 1fr; gap: var(--spacing-sm); }
    .contact-btn { padding: var(--spacing-md); }

    /* --- Boutons flottants --- */
    .whatsapp-btn { width: 52px; height: 52px; font-size: 1.5rem; bottom: 20px; right: 20px; }
    .back-to-top  { width: 44px; height: 44px; font-size: 1rem; bottom: 20px; left: 20px; }
}

/* =========================================================
   Responsive — 640px (mobile standard)
   ========================================================= */
@media (max-width: 640px) {
    :root { --section-padding: 56px; }

    .results-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }

    .result-card strong { font-size: 2.2rem; }

    .service-card-content { min-height: 200px; }

    .contact-info h3, .contact-direct h3 { font-size: 1.3rem; }
}

/* =========================================================
   Responsive — 480px (petit mobile)
   ========================================================= */
@media (max-width: 480px) {
    :root { --section-padding: 48px; }
    html { font-size: 15px; }

    h2 { font-size: 1.75rem; }
    .section-subtitle { font-size: 0.95rem; }

    .hero { padding: 100px 20px var(--spacing-xl); }
    .hero-brand { font-size: clamp(30px, 11vw, 42px); }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-proof { margin-top: 24px; gap: 10px; }
    .proof-tag { font-size: 0.75rem; }

    .method-step, .result-card, .testimonial-card { padding: var(--spacing-md); }

    .contact-info, .contact-direct { padding: var(--spacing-sm); }
    .contact-note p { font-size: 0.85rem; }

    .footer p { font-size: 0.88rem; }
}

/* =========================================================
   Responsive — 360px (très petit mobile)
   ========================================================= */
@media (max-width: 360px) {
    html { font-size: 14px; }
    .hero-brand { font-size: 30px; }
    .cta-btn { font-size: 0.9rem; padding: 14px var(--spacing-sm); }
}

/* =========================================================
   Désactiver curseur sur mobile / touch
   ========================================================= */
@media (max-width: 1024px), (hover: none) {
    .custom-cursor { display: none; }
}

/* =========================================================
   Overlay sombre quand menu mobile ouvert
   ========================================================= */
body.menu-open { overflow: hidden; }

body.menu-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 998;
    animation: fadeIn 0.25s ease;
}
/* =========================================================
   Cookie Banner
   ========================================================= */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    background: rgba(20, 25, 34, 0.85);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    backdrop-filter: blur(20px) saturate(1.8);
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 16px;
    padding: 24px;
    z-index: 9999;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: none; /* Masqué par défaut */
    flex-direction: column;
    gap: 16px;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.active {
    display: flex;
}

.cookie-content {
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.cookie-content a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.cookie-btn--refuse {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-btn--refuse:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
}

.cookie-btn--accept {
    background: linear-gradient(135deg, var(--gold) 0%, var(--blue) 100%);
    color: white;
}

.cookie-btn--accept:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--gold-glow);
}

@keyframes slideUp {
    from { transform: translateY(100%) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .cookie-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 20px;
    }
    
    .cookie-actions {
        flex-direction: column-reverse;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}
