@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fraunces-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/fraunces-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/fraunces-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: Chivo;
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/chivo-latin-wght-normal.woff2") format("woff2-variations");
}

:root {
  --marine: #003366;
  --pied: #092142;
  --vert: #1C8048;
  --vert-h: #166A3B;
  --trait: #5BC889;
  --texte: #0F1F33;
  --sur: #5A6B7D;
  --bord: #E2E8F0;
  --blanc: #FFFFFF;
  --intro: #6B7280;
  --prot: #8b929e;
  --font-t: Fraunces, Georgia, "Times New Roman", serif;
  --font-b: Chivo, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  color: var(--texte);
  background: #f6f1e7;
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--vert);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--marine);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

/* Header */
.hd-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--bord);
}
.hd-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.7rem var(--pad);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
}
.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex-shrink: 0;
}
.logo-name {
  font-family: var(--font-t);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--marine);
  letter-spacing: 0.01em;
}
.logo-sub { font-size: 0.72rem; color: var(--sur); font-weight: 500; }
.hd-nav {
  display: none;
  gap: 1.15rem;
  margin-left: auto;
  margin-right: 0.5rem;
}
.hd-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--texte);
}
.hd-nav a:hover { color: var(--marine); }
.hd-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
}
.btn-rdv-hd,
.btn-devis-hd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--font-b);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-rdv-hd {
  background: #fff;
  color: var(--marine);
  border: 1.5px solid var(--marine);
}
.btn-rdv-hd:hover { background: #f5f8fb; }
.btn-devis-hd {
  background: var(--vert);
  color: #fff;
  border: 1.5px solid var(--vert);
}
.btn-devis-hd:hover { background: var(--vert-h); border-color: var(--vert-h); }
.lang-drop { position: relative; }
.lang-drop summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--bord);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--marine);
}
.lang-drop summary::-webkit-details-marker { display: none; }
.lang-drop .drop-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 8px;
  min-width: 140px;
  padding: 0.35rem;
  box-shadow: 0 8px 24px rgba(15,31,51,0.08);
  z-index: 20;
}
.lang-drop .drop-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
}
.lang-drop .drop-menu a:hover,
.lang-drop .drop-menu a.on { background: #f3f6f9; color: var(--marine); }
.ea-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bord);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  color: var(--marine);
}
.ea-burger svg { width: 22px; height: 22px; }
.ea-burger .i-x { display: none; }
.ea-burger[aria-expanded="true"] .i-m { display: none; }
.ea-burger[aria-expanded="true"] .i-x { display: block; }
.ea-panel {
  border-top: 1px solid var(--bord);
  padding: 1rem var(--pad) 1.25rem;
  background: #fff;
}
.ea-panel[hidden] { display: none !important; }
.ea-panel nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.ea-panel nav a {
  text-decoration: none;
  padding: 0.7rem 0.2rem;
  font-weight: 500;
  min-height: 44px;
}
.ea-panel-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}
.ea-panel-cta .btn-rdv-hd,
.ea-panel-cta .btn-devis-hd { width: 100%; }

@media (min-width: 1024px) {
  .hd-nav { display: flex; }
  .hd-right { margin-left: 0; }
  .ea-burger { display: none; }
  .btn-rdv-hd, .btn-devis-hd { display: inline-flex; }
}
@media (max-width: 1023px) {
  .btn-rdv-hd, .btn-devis-hd { display: none; }
  .ea-panel-cta .btn-rdv-hd,
  .ea-panel-cta .btn-devis-hd { display: inline-flex; }
  .hd-inner { gap: 0.4rem; padding-inline: 10px; width: 100%; box-sizing: border-box; }
  .logo { min-width: 0; max-width: calc(100% - 120px); }
  .logo-name { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .logo-sub { display: none; }
  .lang-pill { padding: 7px 9px; font-size: 0.8rem; max-width: 72px; overflow: hidden; }
  .lang-pill .caret { display: none; }
  .hd-right { gap: 0.3rem; flex-shrink: 0; margin-left: auto; }
  .ea-burger { flex-shrink: 0; width: 42px; height: 42px; }
}

/* Hero full-bleed */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,33,66,0.72) 0%, rgba(9,33,66,0.45) 42%, rgba(9,33,66,0.18) 100%),
    linear-gradient(0deg, rgba(9,33,66,0.55) 0%, transparent 48%);
  z-index: 1;
}
.hero__panel {
  position: relative;
  z-index: 2;
  width: min(560px, 100%);
  margin: 0 0 0 clamp(0px, 4vw, 4rem);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background: rgba(255,255,255,0.96);
  color: var(--texte);
  border-radius: 0;
}
.hero__kicker {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sur);
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-t);
  font-weight: 600;
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  line-height: 1.12;
  color: var(--marine);
  letter-spacing: -0.02em;
}
.hero__lead {
  margin: 0 0 1.4rem;
  font-size: 1.05rem;
  color: var(--texte);
  max-width: 36ch;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.btn-g, .btn-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-g {
  background: var(--vert);
  color: #fff;
  border: 1.5px solid var(--vert);
}
.btn-g:hover { background: var(--vert-h); border-color: var(--vert-h); }
.btn-o {
  background: transparent;
  color: var(--marine);
  border: 1.5px solid var(--marine);
}
.btn-o:hover { background: #f3f7fb; }
@media (hover: hover) {
  .btn-g:hover, .btn-o:hover { transform: translateY(-2px); }
}

/* Products asymmetric */
.sec { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.sec-head {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 40rem;
}
.sec-head .rule {
  width: 48px;
  height: 3px;
  background: var(--trait);
  border: 0;
  margin: 0;
}
.sec-head h2 {
  margin: 0;
  font-family: var(--font-t);
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  line-height: 1.15;
  color: var(--marine);
  letter-spacing: -0.015em;
}
.sec-head p {
  margin: 0;
  color: var(--sur);
  font-size: 1.05rem;
}
.prod-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.prod {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 0;
  background: transparent;
}
.prod__fig {
  margin: 0;
  background: #F4F1EC;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.prod__fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  transition: transform 0.35s ease;
}
@media (hover: hover) {
  .prod:hover .prod__fig img { transform: scale(1.02); }
}
.prod__body { padding: 0.15rem 0.1rem 0.5rem; }
.prod h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-t);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--marine);
  line-height: 1.2;
}
.prod p {
  margin: 0 0 0.75rem;
  color: var(--texte);
  font-size: 0.98rem;
}
.prod ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
}
.prod li {
  font-size: 0.92rem;
  color: var(--sur);
  padding-left: 0.9rem;
  position: relative;
}
.prod li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--trait);
}
@media (min-width: 900px) {
  .prod-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.25rem 1.5rem;
  }
  .prod--lg {
    grid-row: 1 / span 2;
  }
  .prod--lg .prod__fig { aspect-ratio: 3 / 4; min-height: 100%; }
  .prod--lg h3 { font-size: 1.7rem; }
  .prod--sm .prod__fig { aspect-ratio: 16 / 10; }
}

/* Microperf strip */
.micro {
  background: #F7F8F6;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
}
.micro__layout {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}
.micro__layout img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.micro h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-t);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--marine);
  line-height: 1.15;
}
.micro p { margin: 0 0 0.85rem; max-width: 42ch; }
.micro .rule {
  width: 48px;
  height: 3px;
  background: var(--trait);
  border: 0;
  margin: 0 0 1rem;
}
@media (min-width: 900px) {
  .micro__layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

/* Usages band: bold navy */
.usages {
  background: var(--marine);
  color: #fff;
  padding: clamp(3.25rem, 7vw, 5rem) 0;
}
.usages .rule { background: var(--trait); }
.usages h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-t);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  color: #fff;
  line-height: 1.15;
}
.usages .lead {
  margin: 0 0 2rem;
  color: rgba(255,255,255,0.82);
  max-width: 40ch;
}
.usages-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.usage {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.9rem;
  align-items: center;
  min-height: 96px;
}
.usage img {
  width: 96px;
  height: 96px;
  object-fit: cover;
}
.usage h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-t);
  font-weight: 600;
  font-size: 1.15rem;
  color: #fff;
}
.usage p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
}
@media (min-width: 720px) {
  .usages-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
}
@media (min-width: 1100px) {
  .usages-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* Contact / devis 4bis */
.devis { padding: clamp(3.5rem, 8vw, 5rem) 0; }
.devis-panel {
  display: grid;
  gap: 2.5rem;
}
.devis-left h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-t);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  color: var(--marine);
}
.devis-intro {
  margin: 0 0 1.5rem;
  color: var(--intro);
  font-size: 1rem;
  max-width: 36ch;
}
.joindre {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--marine);
}
.coords {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.coords li { display: grid; gap: 0.2rem; }
.coords strong {
  color: var(--vert);
  font-size: 0.92rem;
  font-weight: 600;
}
.coords a, .coords span {
  color: var(--marine);
  text-decoration: none;
  font-weight: 500;
}
.coords a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.coords a:hover { color: var(--vert); }
.devis-rdv { margin-top: 32px; }
.btn-rdv-devis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 16px 40px;
  border-radius: 6px;
  background: var(--vert);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.btn-rdv-devis:hover { background: var(--vert-h); }
.devis-form {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
}
.devis-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--texte);
}
.devis-form input,
.devis-form textarea {
  font: inherit;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--bord);
  border-radius: 6px;
  color: var(--texte);
  background: #fff;
  min-height: 48px;
}
.devis-form textarea { min-height: 120px; resize: vertical; }
.devis-form .full { grid-column: 1 / -1; }
.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}
.consent {
  display: flex !important;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400 !important;
  font-size: 0.9rem !important;
  color: var(--sur);
}
.consent input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--vert);
}
.consent a { color: var(--marine); }
.status { min-height: 1.4em; margin: 0; font-size: 0.95rem; }
.status.ok { color: var(--vert); }
.status.err { color: #b42318; }
.submit {
  justify-self: start;
  min-height: 48px;
  padding: 14px 28px;
  border: 0;
  border-radius: 6px;
  background: var(--vert);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.submit:hover:not(:disabled) { background: var(--vert-h); }
.submit:disabled { opacity: 0.65; cursor: wait; }
.note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--sur);
}
@media (min-width: 900px) {
  .devis-panel { grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
  .devis-form { grid-template-columns: 1fr 1fr; }
  .devis-form .full { grid-column: 1 / -1; }
}

/* Protection note */
.protect {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--pad) 1.35rem;
  color: var(--prot);
  font-size: 11px;
  line-height: 1.45;
}
.protect a { color: var(--prot); text-underline-offset: 2px; }
@media (max-width: 640px) {
  .protect { font-size: 10px; }
}

/* Footer */
.cbs-foot {
  background: var(--pied);
  color: #fff;
  padding: 3rem 0 0;
}
.cbs-foot .wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.cbs-foot .main {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.cbs-foot .brand .name {
  font-family: var(--font-t);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.cbs-foot .brand p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  max-width: 34ch;
}
.cbs-foot h4 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.cbs-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.cbs-foot a { color: rgba(255,255,255,0.86); text-decoration: none; }
.cbs-foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cbs-foot .f-rdv { margin-top: 0.85rem; }
.cbs-foot .btn-rdv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  border: 2px solid #fff;
  border-radius: 5px;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.92rem;
  background: transparent;
}
.cbs-foot .btn-rdv:hover { background: rgba(255,255,255,0.08); }
.cbs-foot .group {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 2rem 0 2.25rem;
}
.cbs-foot .group:not(#sites-cbs-group) > .label {
  text-align: center;
  font-weight: 600;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 0.55rem;
}
.cbs-foot .group:not(#sites-cbs-group) > .label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: var(--trait);
}
.gsecs {
  display: grid;
  gap: 1.25rem;
}
.gt {
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.35rem;
  font-weight: 600;
}
.gi { font-size: 0.9rem; }
.sep { opacity: 0.45; margin: 0 0.15rem; }
.cbs-foot .bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 1rem 0 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
@media (min-width: 800px) {
  .cbs-foot .main { grid-template-columns: 1.4fr 1fr 1fr; }
  .gsecs { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1100px) {
  .gsecs { grid-template-columns: 0.8fr 0.8fr 1.4fr 1.6fr; }
}

/* Mentions */
.legal {
  padding: clamp(2.5rem, 6vw, 4rem) 0 3rem;
  max-width: 720px;
}
.legal h1 {
  font-family: var(--font-t);
  font-weight: 600;
  color: var(--marine);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 1.5rem;
}
.legal h2 {
  font-family: var(--font-t);
  font-weight: 600;
  color: var(--marine);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}
.legal h3 {
  font-size: 1.05rem;
  color: var(--texte);
  margin: 1.25rem 0 0.5rem;
}
.legal p, .legal li { color: var(--texte); font-size: 0.98rem; }
.legal a { color: var(--marine); }
.legal .back { display: inline-block; margin-bottom: 1.25rem; color: var(--sur); }

/* Motion */
.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.js .rv.in {
  opacity: 1;
  transform: none;
}
.rm .rv, html.rm .rv {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 640px) {
  .hero { min-height: min(78vh, 640px); align-items: end; }
  .hero__panel {
    margin: 0;
    width: 100%;
    padding: 1.35rem 1.15rem 1.6rem;
  }
  .hero h1 { font-size: 1.85rem; }
  .usage { grid-template-columns: 72px 1fr; }
  .usage img { width: 72px; height: 72px; }
}

/* PASS2 · HF pizza (cbs-hf + charte) */
.hd-wrap{position:sticky;top:0;z-index:100;background:#fff}
.hd-wrap>.container{max-width:1200px;margin:0 auto;padding:10px 20px 0}
.hd-pill{display:flex;align-items:center;gap:16px;min-height:64px;padding:8px 12px 8px 20px;background:#fff;border:1px solid #E2E8F0;border-radius:12px}
.hd-pill .logo{display:flex;flex-direction:column;text-decoration:none;line-height:1;gap:0;flex:none}
.hd-nav{display:flex;gap:12px;flex:1;justify-content:center;flex-wrap:nowrap}
.hd-nav a{color:#0F1F33;text-decoration:none;font-size:14px;font-weight:500;padding:8px 2px;white-space:nowrap}
.hd-right{display:flex;align-items:center;gap:8px;margin-left:auto}
.hd-right .btn.btn-rdv-hd,.hd-right .btn.btn-devis-hd{text-decoration:none}
.drop.lang-drop summary.lang-pill{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.drop.lang-drop summary.lang-pill::-webkit-details-marker{display:none}
.drop-menu{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid #E2E8F0;border-radius:12px;padding:8px;min-width:160px;z-index:90;display:flex;flex-direction:column;box-shadow:0 12px 28px rgba(0,34,68,.12)}
.drop-menu a{padding:8px 12px;border-radius:8px;text-decoration:none;color:#0F1F33;font-size:14px}
.drop-menu a:hover,.drop-menu a.on{color:#1C8048}
.lang-drop{position:relative}
.ea-burger{display:none;width:36px;height:36px;padding:0;border:0;border-radius:999px;background:transparent;color:#003366;cursor:pointer;align-items:center;justify-content:center}
.ea-burger svg{width:18px;height:18px;display:block}
.ea-burger .i-x{display:none}
.hd-wrap.open .ea-burger{background:#F7F7F7}
.hd-wrap.open .ea-burger .i-m{display:none}
.hd-wrap.open .ea-burger .i-x{display:block}
.ea-panel[hidden]{display:none!important}
@media(max-width:1024px){
  .hd-nav{display:none}
  .hd-right>a.btn-rdv-hd,.hd-right>a.btn-devis-hd{display:none!important}
  .ea-burger{display:inline-flex}
  .ea-panel{position:absolute;left:0;right:0;top:100%;z-index:80;max-height:calc(100svh - 72px);overflow:auto;background:#fff;border-top:2px solid #5BC889;padding:8px 20px 24px}
  .ea-panel nav{display:flex;flex-direction:column}
  .ea-panel nav a{min-height:48px;display:flex;align-items:center;color:#003366;font-weight:600;font-size:16px;text-decoration:none;border-bottom:1px solid #E2E8F0}
  .ea-panel-cta{display:flex;flex-direction:column;gap:12px;margin-top:16px}
}
@media(min-width:1025px){.ea-panel{display:none!important}}

/* PASS2 B · couleurs CBS strictes sur boutons corps */
:root{--navy:#003366;--green:#1C8048;--green-h:#166A3B;--line:#5BC889;--foot:#092142}
a.btn-primary,button.btn-primary,.btn-submit,.cta-green,a.btn-devis,button[type=submit]{background:#1C8048!important;color:#fff!important;border-color:#1C8048!important}
a.btn-primary:hover,button.btn-primary:hover,.btn-submit:hover{background:#166A3B!important}
h1,h2,h3{color:#003366}

/* PASS2 neutralize old HF */
button.burger,.hd-wrap .panel,.nav-panel{display:none!important}
.hd-inner:not(.hd-pill){display:contents}
footer.cbs-foot .btn-rdv{display:inline-flex!important}

/* PASS2 mobile HF v2 : place pour le burger */
@media (max-width:1024px){
  .hd-wrap .hd-pill{display:flex!important;align-items:center!important;overflow:hidden!important;gap:6px!important;padding:6px 6px 6px 12px!important}
  .hd-wrap .logo{flex:1 1 auto!important;min-width:0!important;max-width:calc(100% - 92px)!important}
  .hd-wrap .logo-name{font-size:12px!important;letter-spacing:0!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
  .hd-wrap .logo-domain{font-size:9px!important}
  .hd-wrap .hd-right{display:flex!important;flex:0 0 auto!important;gap:2px!important;margin-left:0!important}
  .hd-wrap .hd-right > a.btn-rdv-hd,
  .hd-wrap .hd-right > a.btn-devis-hd{display:none!important}
  .hd-wrap .lang-drop{order:1}
  .hd-wrap .ea-burger{order:2;display:inline-flex!important;flex:0 0 36px!important;width:36px!important;height:36px!important;min-width:36px!important}
  .hd-wrap summary.lang-pill{
    width:36px!important;height:36px!important;min-width:36px!important;padding:0!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    font-size:0!important;gap:0!important;overflow:hidden!important
  }
  .hd-wrap summary.lang-pill svg{width:15px!important;height:15px!important;flex:none}
  .hd-wrap summary.lang-pill .caret{display:none!important}
}
