/* =====================================================================
   VSM — SITE VITRINE PUBLIC (02/09/2026)
   =====================================================================
   Palette et typographie reprises de la maquette :
     - un noir chaud, pas un gris neutre
     - le rouge Viral en accent d'action
     - un or sourd pour les surtitres
     - serif à fort contraste pour les titres, sans linéale pour le texte
   Aucune dépendance : ni framework, ni build, ni JavaScript obligatoire.
   ===================================================================== */

:root {
    --ink:        #1a1310;   /* noir chaud du fond sombre */
    --ink-2:      #241b16;   /* un cran au-dessus, pour les reliefs */
    --cream:      #faf6ef;   /* fond clair */
    --cream-2:    #f2ece1;
    --red:        #d0202f;
    --red-dark:   #a81826;
    --gold:       #b8935a;
    --gold-lt:    #d9b476;
    --txt:        #2a221d;   /* texte sur fond clair */
    --txt-soft:   #5d534b;
    --txt-dark:   #e8e0d6;   /* texte sur fond sombre */
    --txt-dark-s: #a99e92;
    --line:       #ddd3c4;
    --line-dark:  #3a2f27;
    --serif:      'Playfair Display', 'Times New Roman', Georgia, serif;
    --sans:       'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --wrap:       1180px;
    --pad:        clamp(20px, 5vw, 56px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
    margin: 0;
    font-family: var(--sans);
    font-weight: 300;
    color: var(--txt);
    background: var(--cream);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
.sans  { font-family: var(--sans);  font-weight: 500; }
.red   { color: var(--red); }
.gold  { color: var(--gold-lt); }
.red-txt { color: var(--red); }
.light-txt { color: var(--cream); }

a { color: inherit; }

/* ---- surtitres ---- */
.eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: .22em;
    text-transform: uppercase; margin: 0 0 14px;
}
.eyebrow.gold { color: var(--gold); }

/* ---- boutons ---- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 12px 22px; border-radius: 3px; border: 0;
    font-family: var(--sans); font-size: 14px; font-weight: 600;
    text-decoration: none; cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-lg { padding: 16px 28px; font-size: 15px; }

.link-gold {
    font-size: 14px; font-weight: 500; color: var(--gold-lt);
    text-decoration: none; border-bottom: 2px solid var(--gold);
    padding-bottom: 3px;
}
.link-gold:hover { color: #fff; border-color: #fff; }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    background: transparent; transition: background .25s ease, box-shadow .25s ease;
}
.nav.scrolled { background: rgba(26, 19, 16, .97); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.nav-in { display: flex; align-items: center; gap: 22px; height: 76px; }

.brand { display: flex; align-items: center; gap: 9px; text-decoration: none; color: #fff; }
.brand-v {
    font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1;
    color: #fff; position: relative;
}
.brand-v::after {
    content: ''; position: absolute; left: -6px; top: 4px;
    width: 15px; height: 15px; border-radius: 50%;
    background: var(--red); z-index: -1;
}
.brand-txt { font-size: 11px; line-height: 1.22; letter-spacing: .02em; }
.brand-txt strong { font-weight: 700; }

.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a {
    font-size: 14px; font-weight: 400; color: #e8e0d6; text-decoration: none;
    padding: 4px 0; border-bottom: 1px solid transparent;
}
.nav-links a:hover { color: #fff; border-color: var(--red); }

.nav-right { display: flex; align-items: center; gap: 16px; }
.lang { font-size: 13px; color: var(--txt-dark-s); white-space: nowrap; }
.lang a { text-decoration: none; color: var(--txt-dark-s); font-weight: 500; }
.lang a.on { color: var(--red); font-weight: 700; }
.lang .sep { margin: 0 3px; opacity: .5; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; transition: .2s; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative; background: var(--ink); color: var(--txt-dark);
    min-height: 100vh; display: flex; align-items: center;
    padding: 130px 0 70px; overflow: hidden;
}
.hero-map {
    position: absolute; right: -6%; top: 50%; transform: translateY(-50%);
    width: 70%; max-width: 900px; opacity: .95; pointer-events: none;
}
.hero-in { position: relative; z-index: 2; max-width: 720px; }

.hero h1 {
    font-size: clamp(38px, 6.4vw, 76px); line-height: 1.06; margin: 0 0 26px;
    font-weight: 600; letter-spacing: -.02em;
}
.hero h1 .serif { color: var(--cream); }

.lead {
    font-size: clamp(15px, 1.7vw, 18px); color: var(--txt-dark-s);
    max-width: 610px; margin: 0 0 34px;
}
.hero-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-foot { font-size: 13px; color: var(--txt-dark-s); margin: 0; }
.hero-foot strong { color: var(--gold-lt); font-weight: 600; }

/* ---- la carte ---- */
.wam { width: 100%; height: auto; display: block; }
.wam .wam-ctx path { fill: #241b16; stroke: #3a2f27; stroke-width: 1; }
.wam .wam-on  path { fill: var(--red); stroke: var(--gold); stroke-width: 1.1; }
.wam .wam-dots circle { fill: var(--gold-lt); stroke: rgba(0,0,0,.4); stroke-width: 1; }

.wam-hero .wam-ctx path { fill: #221a15; stroke: #342a22; }
.wam-hero .wam-on  path { fill: #b81c2a; }

/* Version claire, pour la section Couverture */
.wam-light .wam-ctx path { fill: var(--cream-2); stroke: #e2d8c8; }
.wam-light .wam-on  path { fill: var(--red); stroke: #fff; stroke-width: 1; }
.wam-light .wam-dots circle { fill: var(--ink); stroke: #fff; stroke-width: 1.5; r: 4; }

/* Les capitales respirent doucement. Coupé si l'utilisateur préfère
   moins d'animation — c'est un réglage système, on le respecte. */
@keyframes wamPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
.wam-dots circle { animation: wamPulse 3.4s ease-in-out infinite; }
.wam-dots circle:nth-child(2n) { animation-delay: 1.1s; }
.wam-dots circle:nth-child(3n) { animation-delay: 2.2s; }
@media (prefers-reduced-motion: reduce) { .wam-dots circle { animation: none; opacity: .9; } }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.sec { padding: clamp(64px, 9vw, 118px) 0; }
.sec.light { background: var(--cream); color: var(--txt); }
.sec.dark  { background: var(--ink);   color: var(--txt-dark); }
.sec.dark .intro, .sec.dark .col p { color: var(--txt-dark-s); }

.sec h2 {
    font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12;
    margin: 0 0 20px; font-weight: 600; letter-spacing: -.02em;
}
.intro { font-size: clamp(15px, 1.6vw, 17px); color: var(--txt-soft); max-width: 720px; margin: 0 0 46px; }

/* ---- trois colonnes ---- */
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.4vw, 46px); }
.col { padding-top: 26px; border-top: 1px solid var(--red); }
.sec.dark .col { border-top-color: var(--red); }
.col .ico {
    width: 30px; height: 30px; margin-bottom: 18px;
    fill: none; stroke: var(--gold); stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}
.col h3 { font-size: 19px; margin: 0 0 10px; font-weight: 600; }
.sec.dark .col h3 { color: var(--cream); }
.col p { font-size: 14.5px; color: var(--txt-soft); margin: 0; }

/* ---- couverture ---- */
.cov { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.cov-map { max-width: 560px; }

.pays { list-style: none; padding: 0; margin: 0 0 30px;
        display: grid; grid-template-columns: 1fr 1fr; gap: 11px 22px; }
.pays li { display: flex; align-items: center; gap: 11px; font-size: 15px; }
.pays .flag { font-size: 19px; line-height: 1; }

.stats { display: flex; gap: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.stats strong { display: block; font-size: 34px; color: var(--red); line-height: 1; }
.stats span { font-size: 13px; color: var(--txt-soft); }

.mt { margin-top: clamp(40px, 6vw, 70px); }
.themes {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(9, 1fr); gap: 14px; text-align: center;
}
.themes li { font-size: 12.5px; color: var(--txt-soft); }
.themes svg {
    width: 26px; height: 26px; display: block; margin: 0 auto 9px;
    fill: none; stroke: var(--red); stroke-width: 1.5;
    stroke-linecap: round; stroke-linejoin: round;
}

/* ---- dispositif ---- */
.quote {
    margin: 46px 0 40px; padding: 4px 0 4px 20px;
    border-left: 3px solid var(--gold);
    font-size: 15px; color: var(--txt-dark-s); max-width: 900px;
}
.claim { font-size: clamp(22px, 3vw, 33px); margin: 0; color: var(--cream); font-weight: 600; }

/* ---- formules ---- */
.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 34px); }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.card-head { padding: 30px 32px 24px; border-bottom: 3px solid var(--red); }
.card-head h3 { font-size: 26px; margin: 0; }
.card-body { padding: 26px 32px 32px; }
.card-body p { font-size: 15px; color: var(--txt-soft); margin: 0 0 14px; }
.card-body .pour { font-size: 14px; color: var(--txt); margin: 0; }

.card-dark { background: #fff; }
.card-dark .card-head { background: var(--ink); border-bottom-color: var(--gold); }
.card-dark .card-head h3 { color: var(--cream); }

.note-tarif { font-size: 14px; color: var(--txt-soft); margin: 26px 0 0; }

.preuve {
    margin-top: clamp(44px, 6vw, 74px); padding: 32px 34px;
    background: var(--cream-2); border-radius: 4px; max-width: 860px;
}
.preuve h3 { font-size: 24px; margin: 0 0 10px; }
.preuve p { font-size: 15px; color: var(--txt-soft); margin: 0; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 70px); }
.contact-info { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 26px; align-content: start; }
.ci p:not(.eyebrow) { font-size: 15px; margin: 0; color: var(--txt-dark); }
.ci a { color: var(--txt-dark); text-decoration: none; border-bottom: 1px solid var(--line-dark); }
.ci a:hover { color: var(--gold-lt); border-color: var(--gold); }

.contact-form {
    background: var(--ink-2); border: 1px solid var(--line-dark);
    border-radius: 4px; padding: clamp(24px, 3.2vw, 36px);
}
.contact-form h3 { font-size: 22px; margin: 0 0 20px; color: var(--cream); }

.contact-form label {
    display: block; font-size: 12.5px; font-weight: 500;
    color: var(--txt-dark-s); margin-bottom: 15px;
}
.contact-form input, .contact-form textarea {
    display: block; width: 100%; margin-top: 6px;
    padding: 11px 13px; border-radius: 3px;
    border: 1px solid var(--line-dark); background: #150f0c;
    color: var(--cream); font-family: var(--sans); font-size: 14.5px; font-weight: 300;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--gold); background: #1b1410;
}
.contact-form textarea { resize: vertical; min-height: 96px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 12px 15px; border-radius: 3px; font-size: 14px; margin-bottom: 18px; }
.alert-ok  { background: rgba(22,163,74,.14);  border: 1px solid #16a34a; color: #86efac; }
.alert-err { background: rgba(208,32,47,.14);  border: 1px solid var(--red); color: #fca5a5; }

.mini { font-size: 12.5px; color: var(--txt-dark-s); margin: 14px 0 0; }

.foot { margin-top: clamp(50px, 7vw, 82px); border-top: 1px solid var(--line-dark); padding-top: 26px; }
.foot-in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
           font-size: 12.5px; color: var(--txt-dark-s); }
.foot-in .sp { letter-spacing: .18em; font-weight: 600; text-transform: uppercase; }

/* =====================================================================
   APPARITION AU DÉFILEMENT
   ===================================================================== */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rise { opacity: 1; transform: none; transition: none; } }

/* =====================================================================
   ADAPTATION AUX PETITS ÉCRANS
   Beaucoup de visiteurs arriveront depuis un téléphone, souvent sur une
   connexion moyenne : la mise en page tombe en une colonne sans rien
   casser, et la carte du hero passe en fond discret.
   ===================================================================== */
@media (max-width: 1080px) {
    .themes { grid-template-columns: repeat(5, 1fr); gap: 20px 12px; }
}

@media (max-width: 900px) {
    .nav-links {
        position: absolute; top: 76px; left: 0; right: 0;
        flex-direction: column; gap: 0; margin: 0;
        background: rgba(26,19,16,.99); padding: 0 var(--pad);
        max-height: 0; overflow: hidden; transition: max-height .28s ease;
    }
    .nav-links.open { max-height: 340px; padding: 10px var(--pad) 20px; }
    .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
    .nav.scrolled, .nav-links { backdrop-filter: blur(6px); }
    .burger { display: block; }

    .hero { min-height: auto; padding: 112px 0 62px; }
    .hero-map { right: -22%; width: 118%; max-width: none; opacity: .3; }
    .hero-in { max-width: none; }

    .cols-3, .cov, .cards-2, .contact { grid-template-columns: 1fr; }
    .cov-map { max-width: 460px; margin: 0 auto; }
    .contact-info { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .themes { grid-template-columns: repeat(3, 1fr); }
    .f2 { grid-template-columns: 1fr; }
    .stats { gap: 30px; }
    .hero-cta { gap: 18px; }
    .btn-lg { padding: 14px 20px; font-size: 14px; }
    .contact-info { grid-template-columns: 1fr; gap: 22px; }
    .brand-txt { display: none; }
}
