/* NW-86B8EE · © NuanceWeb */
body { margin: 0; }

/* Layout: single scrolling column, opened by a brand-colour swatch strip. */
:root {
  --nw-ref: "NW-86B8EE";
  --fond: #F3F4F1;        /* background */
  --surface: #FFFFFF;
  --encre: #141820;       /* text */
  --doux: #5A6371;
  --trait: #DCE0E5;
  --baie: #2E4FD6;        /* accent */
  --baie-clair: #E4E9FB;
  --sur-baie: #FFFFFF;
  --bande: #12161D;       /* dark band (offers) */
  --sur-bande: #EEF1F6;
  --sur-bande-doux: #A3ACBA;
  --code-fond: #12161D;
  --code-texte: #D8DEE9;
  --code-cle: #8FA6FF;
  --code-doux: #6C7686;
  --f-titre: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-texte: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-code: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --r: 14px;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --fond: #0F1217; --surface: #171B22; --encre: #E9EDF2; --doux: #9AA4B2; --trait: #262C36;
    --baie: #7D97FF; --baie-clair: #1C2340; --sur-baie: #0B0E14;
    --bande: #0A0C10; --sur-bande: #E9EDF2; --sur-bande-doux: #8E98A7;
    --code-fond: #0A0C10; --code-texte: #D8DEE9; --code-cle: #8FA6FF; --code-doux: #6C7686;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --fond: #0F1217; --surface: #171B22; --encre: #E9EDF2; --doux: #9AA4B2; --trait: #262C36;
  --baie: #7D97FF; --baie-clair: #1C2340; --sur-baie: #0B0E14;
  --bande: #0A0C10; --sur-bande: #E9EDF2; --sur-bande-doux: #8E98A7;
  --code-fond: #0A0C10; --code-texte: #D8DEE9; --code-cle: #8FA6FF; --code-doux: #6C7686;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--fond); color: var(--encre);
  font-family: var(--f-texte); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--fond); }
.cadre {
  max-width: var(--max); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--baie); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { font-family: var(--f-titre); font-weight: 600; line-height: 1.08; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.etiquette { font-family: var(--f-code); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--baie); }
.intro { color: var(--doux); max-width: 60ch; font-size: 1.08rem; }
section { padding-block: clamp(56px, 9vw, 104px); }
.tete-section { display: grid; gap: 14px; margin-bottom: 36px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem var(--f-texte); text-decoration: none; cursor: pointer;
  padding: 14px 22px; border-radius: 999px; border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-plein { background: var(--baie); color: var(--sur-baie); }
.btn-plein:hover { background: color-mix(in srgb, var(--baie) 88%, var(--encre)); }
.btn-ligne { border-color: var(--encre); color: var(--encre); background: transparent; }

/* Header */
.entete { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: color-mix(in srgb, var(--fond) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--trait); }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { font-family: var(--f-titre); font-size: 1.5rem; text-decoration: none; letter-spacing: -0.01em; }
.logo { font-weight: 700; }
.logo em { color: var(--baie); font-style: normal; }
.logo { display: inline-flex; align-items: center; gap: .45em; }
.logo .pastille { flex: none; display: grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: .6em; background: var(--baie); color: #FFFFFF; font-size: .6em; font-weight: 700; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:not(.btn):hover { color: var(--baie); }
.nav .btn { padding: 10px 18px; font-size: 0.92rem; }
.nav .btn::after { content: none; }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--trait); border-radius: 12px; background: var(--surface); color: var(--encre); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.burger .barres, .burger .barres::before, .burger .barres::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; position: relative; transition: transform .2s ease, opacity .2s ease; }
.burger .barres::before, .burger .barres::after { content: ""; position: absolute; left: 0; }
.burger .barres::before { top: -6px; } .burger .barres::after { top: 6px; }
.burger[aria-expanded="true"] .barres { background: transparent; }
.burger[aria-expanded="true"] .barres::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .barres::after { transform: translateY(-6px) rotate(-45deg); }
.menu-mobile { display: grid; padding: 6px 16px 14px; border-top: 1px solid var(--trait); background: var(--fond); max-height: calc(100vh - 80px); overflow-y: auto; }
.menu-mobile[hidden] { display: none; }
.menu-mobile a { padding: 13px 4px; text-decoration: none; font-weight: 600; font-size: 1.02rem; border-bottom: 1px solid var(--trait); }
.menu-mobile a:last-child { border-bottom: 0; color: var(--baie); }
@media (max-width: 720px) { .burger { display: inline-flex; } .nav { gap: 10px; } .nav .btn { white-space: nowrap; padding: 10px 14px; } }
@media (max-width: 420px) { .entete .cadre { gap: 8px; } .logo { font-size: 1.25rem; gap: .35em; } .nav { gap: 8px; } .nav .btn { padding: 9px 12px; font-size: .86rem; } .burger { width: 42px; height: 42px; } }
@media (max-width: 360px) { .logo { font-size: 1.12rem; } .nav .btn { padding: 8px 10px; font-size: .82rem; } }
@media (min-width: 721px) { .menu-mobile { display: none !important; } }
html { scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { .burger .barres, .burger .barres::before, .burger .barres::after { transition: none; } }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.hero .cadre { display: grid; gap: 28px; }
.hero-haut { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hero-texte { display: grid; gap: 24px; min-width: 0; }
@media (max-width: 860px) { .hero-haut { grid-template-columns: 1fr; } }
.fenetre-code { background: var(--code-fond); color: var(--code-texte); border-radius: var(--r); overflow: hidden; min-width: 0; box-shadow: 0 30px 60px -36px rgba(20,24,32,.6); }
.fenetre-code .barre { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.fenetre-code .barre i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.fenetre-code .barre span { margin-left: 8px; font-family: var(--f-code); font-size: 0.78rem; color: var(--code-doux); }
.fenetre-code pre { margin: 0; padding: 18px 18px 22px; overflow-x: auto; font-family: var(--f-code); font-size: 0.86rem; line-height: 1.75; }
.fenetre-code .c { color: var(--code-doux); }
.fenetre-code .k { color: var(--code-cle); }
.fenetre-code .pt { display: inline-block; width: 0.8em; height: 0.8em; border-radius: 3px; vertical-align: -0.05em; margin-right: 6px; border: 1px solid rgba(255,255,255,.25); }
.hero h1 em { font-style: normal; color: var(--baie); }
.hero .intro { font-size: 1.18rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lieu { font-family: var(--f-code); font-size: 0.85rem; color: var(--doux); }

/* Swatches */
.nuancier { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.nuance { display: grid; min-width: 0; background: var(--surface); border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; }
.nuance .pastille { height: clamp(64px, 9vw, 104px); }
.nuance .infos { display: grid; gap: 2px; padding: 10px 12px 12px; }
.nuance .code { font-family: var(--f-code); font-size: 0.82rem; font-weight: 500; text-transform: uppercase; }
.nuance .nom { font-size: 0.82rem; color: var(--doux); line-height: 1.3; }
.legende-nuancier { font-size: 0.9rem; color: var(--doux); margin-top: 6px; }
.legende-nuancier b { color: var(--encre); font-weight: 600; }
@media (max-width: 640px) { .nuancier { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Why us */
.raisons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 40px; }
.raison { display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 1px solid var(--trait); min-width: 0; }
.raison p { color: var(--doux); }
@media (max-width: 720px) { .raisons { grid-template-columns: 1fr; } }

/* Offers (dark band) */
.bande { background: var(--bande); color: var(--sur-bande); }
.bande .intro { color: var(--sur-bande-doux); }
.bande .etiquette { color: var(--baie); }
.deux-offres { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.offre { border: 1px solid color-mix(in srgb, var(--sur-bande) 18%, transparent); border-radius: var(--r); padding: 28px; display: grid; gap: 16px; align-content: start; min-width: 0; }
.offre.vedette { border-color: var(--baie); }
.offre .prix { font-family: var(--f-titre); font-weight: 600; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; }
.offre .prix small { font-family: var(--f-texte); font-size: 1rem; color: var(--sur-bande-doux); }
.offre ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.offre li { padding-left: 22px; position: relative; color: var(--sur-bande); }
.offre li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 2px; background: var(--baie); }
.offre .note { font-size: 0.9rem; color: var(--sur-bande-doux); }
.fin-engagement { display: grid; gap: 8px; padding: 16px; border-radius: 10px; background: color-mix(in srgb, var(--sur-bande) 7%, transparent); }
.fin-engagement p { font-size: 0.95rem; }
.fin-engagement ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; font-size: 0.95rem; color: var(--sur-bande-doux); }
.lancement { margin: 22px 0 0; padding: 16px 20px; border-radius: var(--r); border: 1.5px dashed var(--baie); background: var(--baie-clair); color: var(--encre); max-width: 760px; }
.badge { justify-self: start; font-family: var(--f-code); font-size: 0.72rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--baie); color: var(--sur-baie); }
@media (max-width: 820px) { .deux-offres { grid-template-columns: 1fr; } }

/* Plans */
.packs { margin-top: 56px; display: grid; gap: 14px; }
.packs h3 { margin-bottom: 6px; }
.table-zone { overflow-x: auto; }
.table-packs { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-packs th, .table-packs td { text-align: left; vertical-align: top; padding: 16px 12px; border-bottom: 1px solid color-mix(in srgb, var(--sur-bande) 14%, transparent); }
.table-packs th { font-family: var(--f-code); font-weight: 400; font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sur-bande-doux); }
.table-packs td:first-child { font-family: var(--f-titre); font-weight: 600; font-size: 1.15rem; white-space: nowrap; }
.table-packs .p { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.table-packs td { color: var(--sur-bande); font-size: 0.97rem; }

/* Add-ons */
.options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.option { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); padding: 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.option .tarif { font-family: var(--f-code); font-size: 0.9rem; color: var(--baie); }
.option p { color: var(--doux); font-size: 0.95rem; }
@media (max-width: 900px) { .options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .options { grid-template-columns: 1fr; } }

/* Example */
.demo .cadre { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.demo .texte { display: grid; gap: 16px; min-width: 0; }
.demo ul { margin: 0; padding-left: 20px; color: var(--doux); display: grid; gap: 6px; }
.telephone { width: 270px; max-width: 100%; border-radius: 36px; padding: 10px; background: var(--encre); box-shadow: 0 30px 60px -30px rgba(37,27,33,.55); }
.ecran { border-radius: 28px; overflow: hidden; background: #FBF8F4; color: #2B2420; font-family: var(--f-texte); }
.ecran .photo { height: 150px; background:
  radial-gradient(70px 70px at 72% 46%, #F4EBDD 0 46%, #D9C7AE 47% 52%, transparent 53%),
  radial-gradient(40px 40px at 72% 46%, #C2703D 0 60%, transparent 61%),
  radial-gradient(90px 60px at 22% 78%, #6B8F71 0 40%, transparent 41%),
  linear-gradient(160deg, #3A4A44, #1F2A26); position: relative; }
.ecran .photo span { position: absolute; left: 16px; bottom: 12px; font-family: var(--f-titre); font-weight: 700; color: #fff; font-size: 1.5rem; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.ecran .corps { padding: 16px; display: grid; gap: 10px; font-size: 0.8rem; }
.ecran .ville { color: #7A6A60; font-size: 0.72rem; letter-spacing: .08em; text-transform: uppercase; }
.ecran .ligne-tarif { display: flex; justify-content: space-between; border-bottom: 1px dashed #DDD0C4; padding-bottom: 6px; font-variant-numeric: tabular-nums; }
.ecran .reserver { background: #2B2420; color: #FBF8F4; text-align: center; border-radius: 999px; padding: 10px; font-weight: 600; }
.ecran .horaires { color: #7A6A60; font-size: 0.72rem; }
.mention-demo { font-size: 0.82rem; color: var(--doux); text-align: center; margin-top: 10px; }
@media (max-width: 760px) { .demo .cadre { grid-template-columns: 1fr; } .demo .appareil { justify-self: center; } }

/* Process */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: e; }
.etape { counter-increment: e; display: grid; gap: 8px; align-content: start; min-width: 0; }
.etape::before { content: counter(e, decimal-leading-zero); font-family: var(--f-code); font-size: 1rem; letter-spacing: .08em; color: var(--baie); line-height: 1; }
.etape p { color: var(--doux); font-size: 0.97rem; }
@media (max-width: 860px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .etapes { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 780px; }
.faq details { border-bottom: 1px solid var(--trait); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-code); color: var(--baie); font-size: 1.2rem; line-height: 1.4; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--doux); margin-top: 10px; max-width: 65ch; }

/* Contact */
.contact .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
.coordonnees { display: grid; gap: 18px; align-content: start; }
.coord { display: grid; gap: 2px; }
.coord .lab { font-family: var(--f-code); font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--doux); }
.coord .val { font-size: 1.15rem; font-weight: 600; user-select: all; }
.a-remplacer { background: var(--baie-clair); color: var(--baie); font-family: var(--f-code); font-size: 0.72rem; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; font-weight: 500; }
form { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); padding: 26px; display: grid; gap: 14px; min-width: 0; }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 600; font-size: 0.92rem; }
.champ input, .champ textarea, .champ select {
  font: inherit; font-size: 1rem; color: var(--encre); background: var(--fond);
  border: 1px solid var(--trait); border-radius: 10px; padding: 12px 14px; width: 100%;
}
.champ textarea { min-height: 110px; resize: vertical; }
.deux { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.retour { font-size: 0.95rem; color: var(--baie); font-weight: 600; }
@media (max-width: 760px) { .contact .cadre { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .deux { grid-template-columns: 1fr; } }

/* Footer */
.pied { border-top: 1px solid var(--trait); padding-block: 32px; font-size: 0.9rem; color: var(--doux); }
.pied .cadre { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }


/* About */
.atelier .cadre { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.atelier figure { margin: 0; min-width: 0; }
.atelier img { display: block; width: 100%; height: auto; max-width: 100%; aspect-ratio: 1408 / 768; object-fit: cover; border-radius: var(--r); box-shadow: 0 30px 60px -34px rgba(20,24,32,.6); }
.atelier figcaption { font-family: var(--f-code); font-size: 0.78rem; color: var(--doux); margin-top: 10px; }
.atelier .texte { display: grid; gap: 16px; min-width: 0; }
.atelier .texte p { color: var(--doux); }
.atelier .signature { font-family: var(--f-titre); font-weight: 600; color: var(--encre); font-size: 1.2rem; }
@media (max-width: 860px) { .atelier .cadre { grid-template-columns: 1fr; gap: 28px; } }
/* Phone: crop on the neon sign and desk */
@media (max-width: 600px) { .atelier img { aspect-ratio: 4 / 3; object-position: 4% 50%; } }


/* Portfolio */
.realisations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.projet { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; transition: transform .2s ease, box-shadow .2s ease; }
.projet:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -24px rgba(20,24,32,.5); }
.apercu { height: 160px; padding: 18px; position: relative; overflow: hidden; color: #fff; }
.apercu .nom-site { line-height: 1.05; }
.apercu i { flex: 1; border-bottom: 1.5px dotted currentColor; opacity: .45; margin: 0 6px 4px; }
/* Albane : page de magazine + comparateur avant/après */
.apercu.albane { background: #FFFFFF; color: #111111; display: grid; grid-template-columns: 1fr 96px; gap: 16px; align-items: center; border-bottom: 1px solid #111111; }
.apercu.albane .col { display: grid; gap: 7px; }
.apercu.albane .nom-site { font-family: "Bodoni Moda", Georgia, serif; font-style: italic; font-size: 1.6rem; margin-bottom: 6px; }
.apercu.albane .nom-site em { color: #A4123F; }
.apercu.albane .tarif { display: flex; align-items: baseline; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.apercu.albane .tarif b { font-family: "Bodoni Moda", Georgia, serif; font-size: .9rem; letter-spacing: 0; text-transform: none; }
.apercu.albane .avap { position: relative; height: 112px; display: grid; grid-template-columns: 1fr 1fr; }
.apercu.albane .av { background: #CFC6BE; }
.apercu.albane .ap { background: linear-gradient(160deg, #A4123F, #5E0B25); }
.apercu.albane .av, .apercu.albane .ap { font-size: .55rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px; align-self: stretch; }
.apercu.albane .ap { color: #fff; text-align: right; }
.apercu.albane .avap::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #fff; }
.apercu.albane .poignee { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-size: .7rem; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
/* Varenne : chantier, urgence, code postal */
.apercu.varenne { background: #151515; display: grid; align-content: space-between; padding-bottom: 30px; }
.apercu.varenne::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(-45deg, #F2B705 0 12px, #151515 12px 24px); }
.apercu.varenne .haut { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.apercu.varenne .nom-site { font-family: "Rubik", "Arial Black", sans-serif; font-weight: 900; font-size: 1.25rem; letter-spacing: -.02em; }
.apercu.varenne .nom-site span { color: #F2B705; }
.apercu.varenne .urgence { font: 700 .62rem "Rubik", sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #151515; background: #F2B705; padding: 4px 7px; white-space: nowrap; }
.apercu.varenne .cp { display: flex; align-items: center; gap: 10px; }
.apercu.varenne .champ { font: 700 1.05rem "DM Mono", monospace; background: #fff; color: #151515; padding: 6px 10px; letter-spacing: .1em; }
.apercu.varenne .ok { font: 600 .78rem "Rubik", sans-serif; color: #F2B705; }
/* Margot : ardoise à la craie dans un cadre en bois */
.apercu.margot { background: #6B4426; padding: 9px; }
.apercu.margot .ardoise { height: 100%; display: grid; align-content: center; gap: 4px; padding: 10px 16px; background: radial-gradient(ellipse at 30% 20%, #3A4540, #232B27 70%); border-radius: 2px; font-family: "Caveat", cursive; color: #F4F0E6; }
.apercu.margot .titre-ardoise { font-size: 1.55rem; font-weight: 700; line-height: 1; display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.apercu.margot .titre-ardoise small { font-family: "Abril Fatface", Georgia, serif; font-size: .72rem; font-weight: 400; color: #C29A3E; }
.apercu.margot .plat { display: flex; align-items: baseline; font-size: 1.2rem; line-height: 1.1; }
.apercu.margot .plat b { color: #E7C66B; font-weight: 700; }
.projet .infos-projet { padding: 18px 20px 20px; display: grid; gap: 10px; align-content: start; }
.projet .metier { font-family: var(--f-code); font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--baie); }
.projet ul { margin: 0; padding-left: 18px; color: var(--doux); font-size: 0.93rem; display: grid; gap: 4px; }
.projet a.voir { justify-self: start; font-weight: 600; color: var(--baie); text-decoration: none; margin-top: 4px; }
.projet a.voir:hover { text-decoration: underline; }
.mention-demos { margin-top: 18px; font-size: 0.88rem; color: var(--doux); }
@media (max-width: 900px) { .realisations { grid-template-columns: 1fr; } }

/* Animations (disabled with prefers-reduced-motion) */
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes trace { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pousse { from { transform: scaleY(0.15); } to { transform: scaleY(1); } }
@keyframes clignote { 50% { opacity: 0; } }
.hero-texte > * { animation: monte .7s cubic-bezier(.2,.7,.2,1) both; }
.hero-texte > *:nth-child(2) { animation-delay: .08s; }
.hero-texte > *:nth-child(3) { animation-delay: .16s; }
.hero-texte > *:nth-child(4) { animation-delay: .24s; }
.hero-texte > *:nth-child(5) { animation-delay: .32s; }
.fenetre-code { animation: monte .8s .25s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 em { position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.09em; border-radius: 2px; background: var(--baie); opacity: .35; transform-origin: left; animation: trace .9s .7s cubic-bezier(.6,0,.2,1) both; }
.nuance .pastille { transform-origin: bottom; animation: pousse .7s cubic-bezier(.2,.7,.2,1) both; }
.nuance:nth-child(1) .pastille { animation-delay: .45s; }
.nuance:nth-child(2) .pastille { animation-delay: .52s; }
.nuance:nth-child(3) .pastille { animation-delay: .59s; }
.nuance:nth-child(4) .pastille { animation-delay: .66s; }
.nuance:nth-child(5) .pastille { animation-delay: .73s; }
.nuance:nth-child(6) .pastille { animation-delay: .80s; }
.nuance { transition: transform .2s ease, box-shadow .2s ease; }
.nuance:hover { transform: translateY(-4px); box-shadow: 0 14px 26px -18px rgba(20,24,32,.45); }
.curseur { display: inline-block; width: 0.55em; height: 1.1em; vertical-align: -0.2em; margin-left: 2px; background: var(--code-cle); animation: clignote 1.1s steps(1) infinite; }
.option, .offre { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.option:hover { transform: translateY(-3px); border-color: var(--baie); box-shadow: 0 16px 30px -22px rgba(46,79,214,.45); }
.offre:hover { transform: translateY(-3px); border-color: var(--baie); }
.raison h3 { transition: color .2s ease; }
.raison:hover h3 { color: var(--baie); }
.faq details p { animation: monte .35s ease both; }
.btn-plein::after { content: "→"; display: inline-block; transition: transform .2s ease; }
.btn-plein:hover::after { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Security section */
.securite .cadre { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: start; }
.secu-texte { display: grid; gap: 16px; min-width: 0; }
.secu-texte > p:not(.etiquette) { color: var(--doux); max-width: 56ch; }
.techno { margin-top: 10px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--trait); display: grid; gap: 12px; }
.techno-titre { font-weight: 600; }
.puces-techno { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.puces-techno li { font-family: var(--f-code); font-size: .85rem; padding: 6px 12px; border-radius: 999px; background: var(--baie-clair); color: var(--baie); }
.techno-note { font-size: .93rem; color: var(--doux); }
.verrous { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.verrous li { padding: 18px 0 18px 34px; border-top: 1px solid var(--trait); position: relative; min-width: 0; }
.verrous li::before { content: ""; position: absolute; left: 0; top: 21px; width: 20px; height: 20px; border-radius: 6px; background: var(--baie); }
.verrous li::after { content: ""; position: absolute; left: 7px; top: 24px; width: 5px; height: 10px; border: solid var(--sur-baie, #fff); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.verrous h3 { font-size: 1.05rem; font-family: var(--f-texte); font-weight: 600; letter-spacing: 0; line-height: 1.3; margin-bottom: 4px; }
.verrous p { color: var(--doux); font-size: .95rem; }
@media (max-width: 900px) { .securite .cadre { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .verrous { grid-template-columns: 1fr; } }

/* Print options + honest results */
.sous-groupe { font-size: 1.25rem; margin: 40px 0 16px; }
.colonnes-franches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.franc { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); padding: 24px; min-width: 0; }
.franc h3 { font-size: 1.2rem; margin-bottom: 12px; }
.franc ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.franc li { color: var(--doux); }
.franc li b { color: var(--encre); font-weight: 600; }
.franc:first-child { border-top: 4px solid var(--baie); }
.franc:last-child { border-top: 4px solid var(--trait); }
.mesure { margin-top: 22px; padding: 16px 20px; border-left: 4px solid var(--baie); background: var(--baie-clair); border-radius: 0 var(--r) var(--r) 0; max-width: 820px; }
.faq details a { color: var(--baie); }
@media (max-width: 760px) { .colonnes-franches { grid-template-columns: 1fr; } }

.st-1 { background:#2E4FD6 !important; }
.st-2 { background:#F3F4F1 !important; }
.st-3 { background:#141820 !important; }
.st-4 { background:#2F3E46 !important; }
.st-5 { background:#C2703D !important; }
.st-6 { background:#B04A6E !important; }
.st-7 { background:#6B8F71 !important; }
.st-8 { background:#E3B23C !important; }

/* Publication: anti-spam field, consent, legal links */
.pot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.accord { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: var(--doux); line-height: 1.45; }
.accord input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--baie); flex: none; }
.accord a, .liens-legaux a { color: inherit; }
button[disabled] { opacity: .6; cursor: wait; }

/* Text pages: legal notices, privacy, 404 */
.page-texte { padding-block: 56px 80px; }
.page-texte .cadre { max-width: 760px; display: grid; gap: 14px; }
.page-texte h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 12px; }
.page-texte h2 { font-size: 1.3rem; margin-top: 22px; }
.page-texte p { margin: 0; color: var(--doux); }
.page-texte .chapo { font-size: 1.1rem; color: var(--encre); }
.page-texte a:not(.btn) { color: var(--baie); }
.page-texte .maj { font-family: var(--f-code); font-size: .8rem; margin-top: 24px; }

.rappel { max-width: 460px; margin: 0 auto; display: grid; gap: 14px; }
.rappel h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
.rappel form { display: grid; gap: 14px; margin-top: 6px; }
.rappel .btn { width: 100%; justify-content: center; }
.rappel .facultatif { font-weight: 400; color: var(--doux); }
