/* ------------------------------------------------------------------
   Condo VR : feuille de style principale
   Palette : petrole profond + laiton, sur pierre pale
   Typographie : Archivo (titres) / Source Serif 4 (texte) / IBM Plex Mono (donnees)
   ------------------------------------------------------------------ */

:root {
  --ink:          #12262e;
  --petrol:       #1b3a47;
  --petrol-deep:  #0d1e26;
  --petrol-soft:  #2c5262;
  --stone:        #e9ece8;
  --stone-pale:   #f4f6f3;
  --brass:        #a8762a;
  --brass-bright: #c9973f;
  --muted:        #63777f;
  --line:         #ccd5d1;
  --line-dark:    #33525f;
  --white:        #ffffff;

  --display: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body:    "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gut: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ---------- Typographie ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.02rem; font-weight: 600; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
  font-weight: 500;
}

.eyebrow-light { color: var(--brass-bright); }

.lede {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
  color: var(--petrol);
}

.muted { color: var(--muted); }

.small {
  font-size: 0.87rem;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- Navigation ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand span { color: var(--brass); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.nav a {
  font-family: var(--display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--petrol);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 7px;
  white-space: nowrap;
}

.nav a:hover { background: var(--stone); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brass); font-weight: 600; }

.nav-tools { display: flex; align-items: center; gap: 10px; }

.lang {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
}

.lang:hover { border-color: var(--brass); color: var(--brass); }

.burger {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px 11px;
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--petrol);
}

@media (max-width: 900px) {
  .burger { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gut) 16px;
    box-shadow: 0 14px 30px rgba(18, 38, 46, 0.09);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--stone); border-radius: 0; }
  .topbar { position: relative; }
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  min-height: 52px;
  padding: 16px 28px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary { background: var(--brass); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }

.btn-ghost { background: transparent; color: var(--petrol); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }

.btn-light { background: var(--brass-bright); color: var(--petrol-deep); }
.btn-light:hover { background: var(--white); color: var(--ink); }

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

/* ---------- Sections ---------- */

section { padding: clamp(56px, 8vw, 96px) 0; }
.sec-stone { background: var(--stone-pale); }
.sec-line  { border-top: 1px solid var(--line); }

.sec-dark {
  background: var(--petrol);
  color: var(--stone);
}
.sec-dark h1, .sec-dark h2, .sec-dark h3 { color: var(--white); }
.sec-dark .lede { color: #c3d2d6; }
.sec-dark .small { color: #92a7ad; }

/* ---------- Hero ---------- */

.hero {
  background: var(--petrol-deep);
  color: var(--stone);
  padding: clamp(56px, 9vw, 104px) 0 clamp(44px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 78% 8%, rgba(201, 151, 63, 0.16), transparent 62%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lede { color: #bfd0d5; max-width: 56ch; margin-top: 18px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.page-head {
  background: var(--petrol);
  color: var(--stone);
  padding: clamp(46px, 6vw, 78px) 0 clamp(38px, 5vw, 58px);
}
.page-head h1 { color: var(--white); max-width: 20ch; }
.page-head .lede { color: #c3d2d6; max-width: 60ch; margin-top: 14px; }

/* ---------- Chiffres cles ---------- */

.figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
}

.figure {
  background: var(--white);
  padding: 28px 24px;
  margin: 0;
}

.figure dt {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.figure dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
}

.figure dd small {
  display: block;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.4;
}

/* ---------- Grilles et cartes ---------- */

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(268px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
}

.card h3 { margin-bottom: 8px; }

.card-dark {
  background: var(--petrol-soft);
  border-color: var(--line-dark);
  color: #d5e0e3;
}
.card-dark h3 { color: var(--white); }

.icon-num {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--brass);
  display: block;
  margin-bottom: 12px;
}

/* ---------- Emplacements ---------- */

.loc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 90px;
}

.loc-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.loc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.loc-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.loc h3 { margin: 0; }

.loc h3 a {
  color: var(--ink);
  text-decoration: none;
}

/* carte entierement cliquable, un seul lien dans l'arbre d'accessibilite */
.loc-link { position: relative; transition: border-color 0.2s ease, box-shadow 0.2s ease; }

.loc-link h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.loc-link:hover { border-color: var(--brass); box-shadow: 0 10px 26px rgba(18, 38, 46, 0.09); }
.loc-link:hover .loc-media img { transform: scale(1.045); }
.loc-link:hover h3 a { color: var(--brass); }
.loc-link:focus-within { border-color: var(--brass); }

.loc-link h3 a::before {
  content: "";
  position: absolute;
  right: 22px;
  bottom: 24px;
  width: 18px;
  height: 18px;
  background: no-repeat center/contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a8762a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7'/%3E%3C/svg%3E");
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 2;
}

.loc-link:hover h3 a::before,
.loc-link:focus-within h3 a::before { opacity: 1; transform: translateX(0); }

.tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 0.71rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 20px;
}

.tag-live { background: #e2efe6; color: #1d6b3f; }
.tag-soon { background: var(--stone); color: var(--muted); }

.loc dl {
  margin: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.loc .row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
  font-size: 0.93rem;
}
.loc dt { color: var(--muted); }
.loc dd { margin: 0; font-family: var(--mono); font-size: 0.87rem; }

/* ---------- Tableaux de specifications ---------- */

.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  background: var(--white);
}

.spec caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  padding-bottom: 14px;
}

.spec th, .spec td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.spec thead th {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
}

.spec tbody th { font-family: var(--body); font-weight: 400; color: var(--ink); }
.spec td { font-family: var(--mono); font-size: 0.92rem; }
.spec td.tbd { color: var(--muted); font-style: normal; }
.spec tbody tr:last-child th, .spec tbody tr:last-child td { border-bottom: none; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Dessin technique ---------- */

.drawing {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 16px 12px;
}

.drawing svg { width: 100%; height: auto; display: block; }

.drawing figcaption {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--line);
  margin-top: 10px;
}

.drawing-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--line-dark);
}
.drawing-dark figcaption { color: #8ba3aa; border-top-color: var(--line-dark); }

/* SVG tokens */
.d-wall   { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.d-ground { stroke: var(--ink); stroke-width: 2.5; }
.d-hatch  { stroke: var(--line); stroke-width: 1; }
.d-dim    { stroke: var(--brass); stroke-width: 1.3; }
.d-coach  { fill: var(--stone); stroke: var(--petrol); stroke-width: 2; }
.d-glass  { fill: #b9cbd1; stroke: var(--petrol); stroke-width: 1.4; }
.d-slide  { fill: #d9c39a; stroke: var(--petrol); stroke-width: 1.6; }
.d-wheel  { fill: var(--petrol); }
.d-label  { font-family: var(--mono); font-size: 15px; fill: var(--brass); letter-spacing: 0.04em; }
.d-note   { font-family: var(--mono); font-size: 12.5px; fill: var(--muted); letter-spacing: 0.04em; }

.drawing-dark .d-wall,
.drawing-dark .d-ground { stroke: #7f9aa3; }
.drawing-dark .d-hatch { stroke: #3d5f6c; }
.drawing-dark .d-coach { fill: #29505f; stroke: #9fb6bd; }
.drawing-dark .d-glass { fill: #4d7482; stroke: #9fb6bd; }
.drawing-dark .d-slide { fill: #7d6634; stroke: #c1a86f; }
.drawing-dark .d-wheel { fill: #0d1e26; }
.drawing-dark .d-dim   { stroke: var(--brass-bright); }
.drawing-dark .d-label { fill: var(--brass-bright); }
.drawing-dark .d-note  { fill: #8ba3aa; }

/* ---------- Liste des atouts ---------- */

.checks { list-style: none; margin: 0; padding: 0; }
.checks li {
  position: relative;
  padding: 0 0 14px 30px;
  margin: 0;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 12px;
  height: 2px;
  background: var(--brass);
}

/* ---------- Partenaire ---------- */

.partner {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
@media (max-width: 700px) { .partner { grid-template-columns: 1fr; gap: 18px; } }

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stone-pale);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 22px 18px;
  min-height: 108px;
}
.partner-logo img { max-width: 100%; height: auto; }

/* ---------- Formulaire ---------- */

.form { display: grid; gap: 22px; }

.field { display: grid; gap: 8px; }

.field label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink);
}

.field .hint { font-size: 0.83rem; color: var(--muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 14px;
  min-height: 52px;
  width: 100%;
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); }

.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 22px 22px;
  margin: 0;
}

legend {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 0 8px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 9px 0;
  font-size: 0.98rem;
  cursor: pointer;
}

.check input { width: 21px; height: 21px; margin: 2px 0 0; flex: none; accent-color: var(--brass); }

.req { color: var(--brass); }

.legal {
  background: var(--stone-pale);
  border-left: 3px solid var(--brass);
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
}

.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Bandeau d'appel ---------- */

.cta-band {
  background: var(--petrol-deep);
  color: var(--stone);
  padding: clamp(48px, 7vw, 82px) 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); max-width: 22ch; margin-inline: auto; }
.cta-band p { color: #bfd0d5; max-width: 54ch; margin-inline: auto; }
.cta-band .btn { margin-top: 26px; }

/* ---------- Pied de page ---------- */

footer.site {
  background: var(--petrol-deep);
  color: #9db3ba;
  padding: 56px 0 34px;
  font-size: 0.93rem;
  border-top: 1px solid var(--line-dark);
}

footer.site a { color: #cfe0e4; text-decoration: none; }
footer.site a:hover { color: var(--brass-bright); text-decoration: underline; }

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-dark);
}

.foot-grid h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-bright);
  font-weight: 500;
  margin-bottom: 14px;
}

.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { padding: 5px 0; }

.foot-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  font-size: 0.83rem;
  color: #74909a;
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--brass);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  font-family: var(--display);
  z-index: 100;
}
.skip:focus { left: 0; top: 0; }

/* ---------- Signature de marque ---------- */

.tagline {
  font-family: var(--display);
  font-size: clamp(1rem, 1.9vw, 1.22rem);
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--brass-bright);
  margin: 0 0 20px;
  padding-left: 44px;
  position: relative;
  line-height: 1.35;
}

.tagline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 30px;
  height: 2px;
  background: var(--brass-bright);
}

.foot-tagline {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
  color: #e3d3b4;
  margin: 0 0 12px;
  line-height: 1.4;
}

/* ---------- Chiffres cles sur fond sombre ---------- */

.sec-dark .figures {
  background: var(--line-dark);
  border-color: var(--line-dark);
}

.sec-dark .figure { background: var(--petrol-deep); }
.sec-dark .figure dt { color: #8ba3aa; }
.sec-dark .figure dd { color: var(--white); }
.sec-dark .figure dd small { color: #9db3ba; }

/* ---------- Bandeau « pourquoi » sous le heros ---------- */

.reasons-band {
  background: var(--petrol-deep);
  color: var(--stone);
  padding: 0 0 clamp(52px, 7vw, 76px);
  border-bottom: 1px solid var(--line-dark);
}

.reasons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 26px 24px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1080px) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; } }
@media (max-width: 460px)  { .reasons { grid-template-columns: 1fr; } }

.reasons li {
  margin: 0;
  padding-top: 16px;
  border-top: 2px solid var(--brass);
}

.r-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--brass-bright);
  margin-bottom: 9px;
}

.r-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--white);
  margin: 0 0 7px;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.r-p {
  font-size: 0.91rem;
  line-height: 1.5;
  color: #a3b8be;
  margin: 0;
}

/* le heros enchaine directement sur le bandeau */
.hero { padding-bottom: clamp(38px, 5vw, 54px); }
.reasons-band .eyebrow { margin-bottom: 20px; }

/* ---------- Heros d'accueil ---------- */

.hero-welcome { padding-bottom: clamp(34px, 4.5vw, 46px); }

.hero .h1-welcome {
  font-size: clamp(1.48rem, 3vw, 2.32rem);
  line-height: 1.2;
  max-width: 34ch;
}

.hero-welcome .lede { max-width: 58ch; margin-top: 20px; }

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

/* ---------- Carrousel ---------- */

.carousel { position: relative; }

.slides {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.slide {
  grid-area: 1 / 1;
  margin: 0;
  max-width: 46ch;
  opacity: 0;
  visibility: hidden;
  transform: translateY(9px);
  transition: opacity 0.42s ease, transform 0.42s ease, visibility 0.42s;
  padding-top: 18px;
  border-top: 2px solid var(--brass);
}

.slide.is-current { opacity: 1; visibility: visible; transform: none; }

.s-num {
  display: block;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--brass-bright);
  margin-bottom: 12px;
}

.s-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.24rem, 2.5vw, 1.72rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--white);
  margin: 0 0 10px;
  text-wrap: balance;
}

.s-p {
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
  line-height: 1.52;
  color: #a8bcc2;
  margin: 0;
}

.car-ctl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
}

.dots { display: flex; gap: 9px; }

.dot {
  width: 34px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: #3d5f6c;
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}

.dot:hover { background: #5a828f; }
.dot.is-current { background: var(--brass-bright); width: 52px; }

.arrows { display: flex; gap: 8px; }

.arrow {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: transparent;
  color: #cfe0e4;
  font-size: 1.02rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.arrow:hover { border-color: var(--brass); color: var(--brass-bright); background: rgba(201,151,63,0.08); }

@media (max-width: 560px) {
  .car-ctl { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* si le script ne s'execute pas, tout reste lisible */
.no-js .slide { opacity: 1; visibility: visible; transform: none; position: static; }

/* ---------- Infolettre ---------- */

.news {
  background: var(--petrol-deep);
  color: var(--stone);
  padding: clamp(52px, 7vw, 84px) 0;
}

.news h2 { color: var(--white); max-width: 18ch; }
.news .lede { color: #bfd0d5; max-width: 52ch; }

.news-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  max-width: 560px;
}

.news-form input[type="email"] {
  flex: 1 1 260px;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  padding: 14px 16px;
  min-height: 52px;
}

.news-form input[type="email"]::placeholder { color: #7b8f97; }
.news-form input[type="email"]:focus { border-color: var(--brass); }
.news-form .btn { flex: 0 0 auto; }

.news-legal {
  font-size: 0.84rem;
  color: #7f969d;
  margin: 16px 0 0;
  max-width: 52ch;
}

/* marqueur de version, pour verifier qu'un deploiement a bien pris */
.build-id { opacity: 0.45; font-family: var(--mono); font-size: 0.78em; }
