/* Eautonomie — style.css (2026) */
:root {
  --navy: #00344F;
  --navy-mid: #005b7f;
  --blue: #009FE3;
  --blue-dark: #007bb5;
  --sky: #E2F3FA;
  --sky-soft: #f7fbfd;
  --white: #ffffff;
  --text: #00344F;
  --muted: #4a6575;
  --border: #cfe6f0;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(0, 52, 79, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 52, 79, 0.12);
  --font: "Open Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Raleway", "Open Sans", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

.container {
  width: min(92%, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* Focus visibility */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.btn:focus-visible, .btn-secondary:focus-visible {
  outline-offset: 4px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: rgba(226, 243, 250, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid rgba(0, 159, 227, 0.18);
}

.logo-link { display: inline-flex; align-items: center; text-decoration: none; }
.logo { height: 112px; width: auto; max-width: 320px; object-fit: contain; }
@media (max-width: 768px) { .logo { height: 80px; max-width: 240px; } }

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: var(--navy-mid);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.2rem;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--blue);
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--sky);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid var(--border);
  }
  .nav.active { max-height: 420px; padding: 0.5rem 0 1rem; }
  .nav a {
    display: block;
    padding: 0.85rem 1.5rem;
    text-align: center;
    font-size: 1.05rem;
    margin: 0;
  }
}

/* Buttons */
.btn, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.btn {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-secondary {
  background: #fff;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-lg { padding: 0.95rem 1.7rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #E2F3FA 0%, #ffffff 65%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 1rem clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  text-align: left;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero-copy { text-align: left; }
}
.hero-kicker {
  display: inline-block;
  background: rgba(0, 159, 227, 0.12);
  color: var(--navy-mid);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 36rem;
  margin-bottom: 1.5rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #f0f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.hero-visual img {
  width: 100%;
  height: auto;
  max-height: 420px;
  aspect-ratio: 4/3;
  object-fit: contain;
  background: #f0f7fb;
}

.hero-waves {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 64px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath fill='%23f7fbfd' d='M0,32 C240,64 480,0 720,24 C960,48 1200,64 1440,24 L1440,64 L0,64 Z'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}

/* Sections */
.section { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--sky-soft); }
.section-sky { background: var(--sky); }
.section-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}
.section-intro p { color: var(--muted); }

.keywords {
  font-size: 1.15rem;
  color: var(--blue);
  font-weight: 600;
}

/* Product cards */
.product-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: stretch;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.product-card img {
  width: 100%;
  height: auto;
  min-height: 180px;
  max-height: 220px;
  aspect-ratio: 4/3;
  object-fit: contain;
  object-position: center;
  background: #f0f7fb;
  padding: 0.75rem;
  box-sizing: border-box;
}
.product-card-body {
  padding: 1.1rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.45rem;
}
.product-card-body p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.25rem 0 0.75rem;
}
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy-mid);
}
.tag-rec { background: var(--blue); color: #fff; }
.tag-neutral { background: #e8eef5; color: var(--navy-mid); }
.formule-callout {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.formule-callout strong { color: var(--navy); }
.price-alt { display: block; margin-top: 0.35rem; font-size: 0.92rem; color: var(--muted); font-weight: 600; }
.price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
}
.price small { font-weight: 600; color: var(--muted); font-size: 0.85rem; }

/* Trust / advantages */
.adv-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.adv-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow);
}
.adv-item .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--sky);
  display: grid; place-items: center;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}
.adv-item p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Formules — gabarit unique pour toutes les cartes d'offre
   ordre : (badge) · nom · description · prix · liste d'avantages · bouton */
.formule-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  padding-top: 0.75rem;
}
@media (max-width: 900px) {
  .formule-grid { grid-template-columns: 1fr; max-width: 30rem; margin-left: auto; margin-right: auto; }
}
.formule-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.formule-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
}
.formule-card h3 {
  font-size: 1.3rem;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.formule-card .formule-desc {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  color: var(--muted);
  min-height: 5.6em;
}
.formule-card .formule-price {
  margin: 0 0 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-display);
  color: var(--navy);
  min-height: 5.4rem;
}
.formule-price-main {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
}
.formule-price-sub {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}
.badge, .badge-neutral {
  position: absolute;
  top: -0.65rem;
  right: 1rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.badge { background: var(--blue); }
.badge-neutral { background: #5a6b7d; }
.formule-card ul {
  margin: 0 0 1.5rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}
.formule-card li { margin-bottom: 0.4rem; }
.formule-card > .btn,
.formule-card > .btn-secondary {
  width: 100%;
  margin-top: auto;
  min-height: 3rem;
  font-size: 1rem;
  text-align: center;
}
@media (max-width: 900px) {
  .formule-card .formule-desc, .formule-card .formule-price { min-height: 0; }
}

/* Product page layout */
.page-hero {
  background: linear-gradient(165deg, var(--sky) 0%, #fff 100%);
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.page-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr 1fr; }
}
.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.breadcrumb a { text-decoration: none; color: var(--navy-mid); }
.specs {
  display: grid;
  gap: 0.75rem;
  margin: 1.25rem 0;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--sky-soft);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.spec-row dt { font-weight: 600; color: var(--navy); }
.spec-row dd { margin: 0; color: var(--muted); text-align: right; }

.media-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #f0f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: #f0f7fb;
  padding: 0.75rem;
  box-sizing: border-box;
}

.product-dual {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr 1fr;
}
.product-dual-item {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.product-dual-item img {
  flex: 1;
}
.product-dual-item figcaption {
  text-align: center;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  padding: 0.55rem 0.4rem 0.75rem;
  background: #f0f7fb;
}
@media (max-width: 520px) {
  .product-dual { grid-template-columns: 1fr; }
}

/* Contact */
.contact { position: relative; }
.contact-wrap {
  display: grid;
  gap: 2rem;
}
@media (min-width: 860px) {
  .contact-wrap { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}
.contact-form {
  display: grid;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 560px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.35rem; text-align: left; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.field .hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select {
  padding: 0.7rem 0.85rem;
  font: inherit;
  border: 1px solid #c5d5de;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.2);
  outline: none;
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.contact-aside {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.contact-aside h3 { color: #fff; }
.contact-aside p, .contact-aside a { color: rgba(255,255,255,0.9); }
.contact-aside a { font-weight: 600; }
.contact-aside .aside-block { margin-bottom: 1.25rem; }

.rappel-link { margin-top: 0.5rem; font-size: 0.95rem; }
.rappel-link button {
  background: none;
  border: 0;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.form-response {
  min-height: 1.25rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.form-response.visible { opacity: 1; }
.form-response .success { color: #0a7a4b; }
.form-response .error { color: #b42318; }

/* Callback panel (base; mobile/safe-area refined below) */
.rappel-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.15);
  padding: 1.5rem 1rem;
  border-top: 3px solid var(--blue);
  z-index: 9999;
  text-align: center;
  transform: translateY(110%);
  transition: transform 0.35s ease;
  visibility: hidden;
}
.rappel-panel.open {
  transform: translateY(0);
  visibility: visible;
}
.rappel-panel .callback-form {
  max-width: 360px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
.close-rappel {
  position: absolute;
  top: 0.4rem;
  right: 0.75rem;
  font-size: 1.75rem;
  color: var(--blue);
  background: none;
  border: 0;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
}

/* Legal pages */
.legal-main {
  max-width: 860px;
  margin: 2rem auto 3rem;
  padding: 0 1.25rem;
}
.legal-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--blue);
}
.legal-card h2 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.legal-card .num {
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
  font-size: 0.93rem;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.legal-table th { background: var(--sky); color: var(--navy); }

/* Footer */
.footer {
  border-top: 2px solid rgba(0, 159, 227, 0.25);
  background: var(--sky-soft);
  padding: 2rem 0;
  margin-top: 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}
.footer-left { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-logo { height: 56px; width: auto; max-width: 180px; object-fit: contain; }
.footer-left p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-nav a {
  color: var(--navy-mid);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}
.footer-nav a:hover { color: var(--blue); }
.footer-contact { font-size: 0.9rem; color: var(--muted); }
.footer-contact a { color: var(--navy-mid); font-weight: 600; text-decoration: none; }

/* Misc */
.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 1rem;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 36rem; margin: 0 auto 1.25rem; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.water-click {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: waterBurst 0.55s ease-out forwards;
}
@keyframes waterBurst {
  to { opacity: 0; transform: translate(-50%, -50%) scale(12); }
}
.cursor-ripple {
  position: fixed;
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(0, 159, 227, 0.45);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cursor-ripple.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .cursor-ripple { display: none; }
}

/* --- UX audit additions (2026) --- */
.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
  max-width: 36rem;
}
.trust-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--blue);
}
.trust-list a { font-weight: 600; text-decoration: none; }

.trust-strip {
  background: var(--navy);
  color: #fff;
  padding: 1.1rem 0;
}
.trust-strip-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: center;
  padding: 0.25rem 0.5rem;
}
.trust-item strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
}
.trust-item span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 860px) {
  .trust-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .trust-strip-grid { grid-template-columns: 1fr; }
}

.field-error {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #b42318;
}
.field input.is-invalid,
.field textarea.is-invalid,
.field select.is-invalid {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.15);
}
.field-consent .consent-label {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--navy);
  cursor: pointer;
}
.field-consent input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
  accent-color: var(--blue);
}
.field-consent abbr { text-decoration: none; color: var(--blue); }

/* Callback panel — mobile safe area + scroll if keyboard opens */
.rappel-panel {
  max-height: min(85vh, 440px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

/* Keep Tawk from permanently covering primary CTAs */
@media (max-width: 768px) {
  body {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  /* Leave room above typical chat widget for sticky actions */
  .cta-band, #contact {
    scroll-margin-bottom: 90px;
  }
}

/* Footer mobile — stack cleanly */
@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .footer-left p { font-size: 0.88rem; }
}

/* Legal page subtitle contrast */
.legal-hero {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 1.25rem;
  text-align: center;
}
.legal-hero h1 { color: #fff; margin-bottom: 0.5rem; }
.legal-hero p {
  margin: 0 auto;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}
.legal-card p, .legal-card li { color: #334e5c; }
.legal-card h2 { color: var(--navy); }
.legal-back {
  display: inline-block;
  margin: 1rem 0 0 1rem;
  color: var(--navy-mid);
  font-weight: 600;
  text-decoration: none;
}
.legal-back:hover { color: var(--blue); }
.legal-updated {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  padding: 1.5rem;
}

.page-hero .lead { color: var(--muted); max-width: 40rem; }

/* --- SEO / landing (2026-09-20) --- */
.prose {
  max-width: 46rem;
}
.prose p, .prose li {
  color: var(--muted);
  font-size: 1.02rem;
}
.prose h2 {
  margin-top: 0.25rem;
}
.prose a { font-weight: 600; }

.seo-explain .seo-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.steps-list {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--muted);
}
.steps-list li { margin-bottom: 0.55rem; }

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 46rem;
  margin-inline: auto;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--blue);
  font-weight: 700;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 700px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
}


/* Haute pureté callout */
.purity-block {
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--primary, #0a7ea4);
  background: rgba(10, 126, 164, 0.06);
  border-radius: 0 12px 12px 0;
}
.purity-block h3 {
  margin: 0 0 0.5rem;
  font-family: Raleway, sans-serif;
  font-size: 1.15rem;
}
.purity-block p { margin: 0; }

/* Formules — description plus longue (accueil) : garde les blocs alignés en desktop */
@media (min-width: 901px) {
  .formule-grid.formule-grid-long .formule-desc { min-height: 6.7em; }
}

/* --- Page Informations (2026-10-01) --- */
.info-anchor, [id].info-section { scroll-margin-top: 130px; }
.info-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.info-toc a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy-mid);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.info-toc a:hover { background: var(--sky); color: var(--blue-dark); }
.info-wide { max-width: 56rem; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1rem;
  font-size: 0.95rem;
  background: var(--white);
}
.info-table th, .info-table td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
  overflow-wrap: break-word;
}
.info-table thead th { background: var(--sky); color: var(--navy); }
.info-table tbody th { background: var(--sky-soft); color: var(--navy); font-weight: 600; width: 36%; }
.info-note { font-size: 0.9rem; color: var(--muted); }
.info-model {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
.info-model img { border-radius: 12px; background: #f0f7fb; }
@media (min-width: 860px) {
  .info-model { grid-template-columns: 240px 1fr; }
}
.info-model-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.spec-summary { margin: 1rem 0 0.75rem; padding-left: 1.2rem; color: var(--muted); }
.spec-summary li { margin-bottom: 0.35rem; }
.spec-more { font-weight: 600; margin: 0.5rem 0 0; }
@media (max-width: 520px) {
  .info-table { font-size: 0.9rem; }
  .info-table th, .info-table td { padding: 0.5rem 0.55rem; }
  .info-table tbody th { width: 40%; }
}
