/* ==========================================================================
   MÉDICAL PLUS — Feuille de style principale
   Design system : canvas blanc, bandeau « ciel » dégradé en bleus de marque,
   boutons pilule obsidienne, cartes arrondies sur ombres atmosphériques.
   Couleurs de marque : #185FAA (bleu Médical Plus) / #274293 (bleu nuit).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Polices de marque
   --------------------------------------------------------------------------
   Visby CF (titres) est la police de la charte Médical Plus, auto-hébergée
   depuis /assets/fonts. Montserrat (texte courant) est chargée depuis Google
   Fonts, avec repli sur la version locale.
   Pour désactiver Visby CF (cf. licence web), voir la note dans README.md :
   il suffit de remplacer la valeur de --font-display par var(--font-body).
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Visby CF';
  src: url('../fonts/VisbyCF-DemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Visby CF';
  src: url('../fonts/VisbyCF-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Visby CF';
  src: url('../fonts/VisbyCF-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat Local';
  src: url('../fonts/Montserrat-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Jetons de design
   -------------------------------------------------------------------------- */

:root {
  /* Couleurs de marque */
  --brand-blue: #185faa;
  --brand-navy: #274293;
  --brand-blue-dark: #124a86;
  --brand-tint: #dbe8f7;
  --brand-tint-soft: #eef4fb;

  /* Or des étoiles d'avis — seule touche chaude du site */
  --star-gold: #f4b400;

  /* Neutres */
  --obsidian: #070709;
  --ink: #151515;
  --charcoal: #60606c;
  --slate: #8b8b8b;
  --paper: #ffffff;
  --cloud: #f5f5f5;
  --hairline: #e4e6ea;
  --hairline-strong: #bebecc;

  /* Bandeau « ciel » — réservé aux en-têtes, jamais répété plus bas */
  --sky-gradient: linear-gradient(168deg, #274293 0%, #1d59a4 38%, #3d80c2 68%, #a8c8e6 92%, #cfe1f2 100%);

  /* Typographie */
  --font-display: 'Visby CF', 'Montserrat', 'Montserrat Local', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', 'Montserrat Local', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Espacements */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-56: 56px;
  --sp-80: 80px;
  --sp-120: 120px;

  /* Rayons */
  --r-pill: 100px;
  --r-card: 18px;
  --r-card-lg: 32px;
  --r-input: 12px;
  --r-icon: 10px;

  /* Ombres */
  --shadow-subtle: rgba(228, 229, 231, 0.6) 0 1px 2px 0;
  --shadow-button: rgba(36, 36, 40, 0.1) 0 1px 2px 0, rgba(36, 36, 40, 0.09) 0 3px 3px 0,
    rgba(36, 36, 40, 0.05) 0 6px 4px 0, rgba(36, 36, 40, 0.01) 0 11px 4px 0;
  --shadow-card: rgba(16, 55, 132, 0.04) 0 2px 6px 0, rgba(16, 55, 132, 0.04) 0 17px 37px 0,
    rgba(16, 55, 132, 0.03) 0 67px 67px 0;
  --shadow-blue: rgba(23, 107, 197, 0.08) 0 1px 1px 0, rgba(23, 107, 197, 0.07) 0 3px 3px 0;

  /* Gabarit */
  --page-max: 1200px;
  --gutter: 24px;
  --nav-h: 72px;
}

/* --------------------------------------------------------------------------
   3. Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--obsidian);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--obsidian);
  letter-spacing: -0.04em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-16);
  z-index: 200;
  background: var(--obsidian);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: var(--sp-16);
}

/* --------------------------------------------------------------------------
   4. Gabarit
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 860px;
}

.section {
  padding-block: clamp(64px, 9vw, 112px);
}

.section--cloud {
  background: var(--cloud);
}

.section--tint {
  background: var(--brand-tint-soft);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head p {
  margin-top: var(--sp-16);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.6;
}

/* Titres */

.t-display {
  font-size: clamp(2.6rem, 7.4vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.t-heading {
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.t-sub {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.t-card {
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--charcoal);
}

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

/* --------------------------------------------------------------------------
   5. Étiquettes, boutons
   -------------------------------------------------------------------------- */

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--obsidian);
  background: var(--paper);
}

.tag svg {
  width: 15px;
  height: 15px;
  color: var(--brand-blue);
  flex: none;
}

.tag--on-sky {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(6px);
}

.tag--on-sky svg {
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: var(--r-pill);
  padding: 13px 26px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Action principale : obsidienne, jamais chromatique */
.btn--primary {
  background: var(--obsidian);
  color: #fff;
  box-shadow: var(--shadow-button);
}

.btn--primary:hover {
  background: #1b1b22;
}

.btn--ghost {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--obsidian);
}

.btn--ghost:hover {
  border-color: var(--obsidian);
}

.btn--light {
  background: #fff;
  color: var(--obsidian);
  box-shadow: var(--shadow-button);
}

.btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12);
}

.btn-row--center {
  justify-content: center;
}

/* Lien fléché */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-blue);
  letter-spacing: -0.01em;
}

.arrow-link svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.arrow-link:hover svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   6. Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-24);
  height: var(--nav-h);
}

.nav__logo img {
  height: 36px;
  width: auto;
}

@media (max-width: 420px) {
  .nav__logo img {
    height: 30px;
  }
}

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

.nav__links a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--obsidian);
  letter-spacing: -0.012em;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.nav__links a:hover {
  background: var(--cloud);
}

.nav__links a[aria-current='page'] {
  background: var(--brand-tint-soft);
  color: var(--brand-blue-dark);
  font-weight: 600;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.nav__burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-pill);
  background: #fff;
  cursor: pointer;
  color: var(--obsidian);
}

.nav__burger svg {
  width: 19px;
  height: 19px;
}

.nav__burger .icon-close {
  display: none;
}

.nav__burger[aria-expanded='true'] .icon-open {
  display: none;
}

.nav__burger[aria-expanded='true'] .icon-close {
  display: block;
}

@media (max-width: 920px) {
  .nav__links,
  .nav__actions .btn {
    display: none;
  }

  .nav__burger {
    display: inline-flex;
  }

  .nav__panel[data-open='true'] {
    display: block;
  }

  .nav__panel {
    display: none;
    border-top: 1px solid var(--hairline);
    background: #fff;
    padding: var(--sp-16) var(--gutter) var(--sp-24);
  }

  .nav__panel a:not(.btn) {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--hairline);
    font-size: 16px;
    font-weight: 500;
  }

  .nav__panel a:not(.btn)[aria-current='page'] {
    color: var(--brand-blue-dark);
    font-weight: 600;
  }

  .nav__panel .btn {
    width: 100%;
    margin-top: var(--sp-16);
  }
}

@media (min-width: 921px) {
  .nav__panel {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   7. Bandeau « ciel » (hero) — un seul par page
   -------------------------------------------------------------------------- */

.sky {
  position: relative;
  background: var(--sky-gradient);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

/* Emblème en filigrane */
.sky::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -140px;
  width: 460px;
  height: 630px;
  background: url('../img/embleme-white.png') no-repeat center / contain;
  opacity: 0.07;
  pointer-events: none;
  z-index: -1;
}

.sky__inner {
  text-align: center;
  padding-block: clamp(72px, 11vw, 132px) clamp(80px, 12vw, 148px);
}

.sky h1 {
  color: #fff;
  margin-top: var(--sp-24);
}

.sky__sub {
  margin-top: var(--sp-24);
  margin-inline: auto;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.sky .btn-row {
  margin-top: var(--sp-32);
}

/* Chaque ligne du titre est un bloc ; sur petit écran le texte s'écoule */
.sky h1 .l {
  display: block;
}

@media (max-width: 700px) {
  .sky h1 .l {
    display: inline;
  }
  .sky::after {
    opacity: 0.05;
    right: -140px;
  }
}

/* Variante compacte pour les pages intérieures */
.sky--page .sky__inner {
  padding-block: clamp(60px, 8vw, 96px) clamp(64px, 9vw, 104px);
}

.sky--page h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.02;
}

/* Fil d'Ariane */
.crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: var(--sp-16);
}

.crumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   8. Bandeau de repères sous le hero
   -------------------------------------------------------------------------- */

.marks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-16);
  margin-top: -44px;
  position: relative;
  z-index: 2;
}

.mark {
  background: #fff;
  border-radius: var(--r-card);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(16, 55, 132, 0.05);
}

.mark__k {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--brand-blue);
  line-height: 1;
}

.mark__v {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--charcoal);
}

@media (max-width: 900px) {
  .marks {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .marks {
    grid-template-columns: 1fr;
    margin-top: -32px;
  }
}

/* --------------------------------------------------------------------------
   9. Cartes
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  gap: var(--sp-24);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid rgba(16, 55, 132, 0.06);
  border-radius: var(--r-card);
  padding: clamp(28px, 3.4vw, 40px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.card--flat {
  box-shadow: var(--shadow-subtle);
  border-color: var(--hairline);
}

.card--link {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card--link:hover {
  transform: translateY(-3px);
  box-shadow: rgba(16, 55, 132, 0.07) 0 4px 10px 0, rgba(16, 55, 132, 0.06) 0 22px 44px 0,
    rgba(16, 55, 132, 0.04) 0 70px 70px 0;
}

.card p {
  color: var(--charcoal);
  font-size: 15.5px;
  line-height: 1.62;
}

/* Pastille d'icône */
.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: var(--r-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-tint-soft);
  color: var(--brand-blue);
  box-shadow: var(--shadow-blue);
  flex: none;
}

.icon-badge svg {
  width: 23px;
  height: 23px;
}

/* Liste à puces cochées */
.ticks {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: var(--sp-4);
}

.ticks li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
  color: var(--charcoal);
}

.ticks svg {
  width: 17px;
  height: 17px;
  color: var(--brand-blue);
  flex: none;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   10. Blocs de contenu en deux colonnes
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.split--top {
  align-items: start;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.prose > * + * {
  margin-top: var(--sp-16);
}

.prose p {
  color: var(--charcoal);
  font-size: 16.5px;
  line-height: 1.72;
}

.prose h3 {
  margin-top: var(--sp-32);
}

/* --------------------------------------------------------------------------
   11. Article « histoire » : blocs numérotés
   -------------------------------------------------------------------------- */

.chapters {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}

.chapter {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}

.chapter__n {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  padding-top: 9px;
  border-top: 2px solid var(--brand-tint);
}

.chapter__body > * + * {
  margin-top: var(--sp-16);
}

.chapter__body p {
  color: var(--charcoal);
  font-size: 16.5px;
  line-height: 1.72;
}

@media (max-width: 720px) {
  .chapter {
    grid-template-columns: 1fr;
    gap: var(--sp-16);
  }
  .chapter__n {
    padding-top: 0;
    border-top: 0;
  }
}

/* Frise chronologique */
.timeline {
  position: relative;
  padding-left: 30px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-32);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-blue), var(--brand-tint));
  border-radius: 2px;
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--brand-blue);
}

.timeline h3 {
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

.timeline p {
  margin-top: 7px;
  color: var(--charcoal);
  font-size: 15.5px;
  line-height: 1.62;
}

/* --------------------------------------------------------------------------
   12. Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-20);
}

.info {
  display: flex;
  gap: var(--sp-16);
  align-items: flex-start;
}

.info__label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
}

.info__value {
  margin-top: 3px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--obsidian);
}

.info__value a:hover {
  color: var(--brand-blue);
  text-decoration: underline;
}

.info__value .note {
  display: block;
  font-size: 14px;
  color: var(--charcoal);
  margin-top: 4px;
}

/* Formulaire */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-16);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.field label .req {
  color: var(--brand-blue);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--obsidian);
  background: #fff;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-input);
  padding: 13px 15px;
  width: 100%;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(24, 95, 170, 0.14);
}

.field--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
}

@media (max-width: 560px) {
  .field--row {
    grid-template-columns: 1fr;
  }
}

.form__note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
}

.form__status {
  display: none;
  border-radius: var(--r-input);
  padding: 13px 16px;
  font-size: 14.5px;
  line-height: 1.5;
  background: var(--brand-tint-soft);
  color: var(--brand-blue-dark);
  border: 1px solid var(--brand-tint);
}

.form__status[data-visible='true'] {
  display: block;
}

/* Carte d'adresse */
.map-card {
  border-radius: var(--r-card);
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  background: #fff;
}

.map-card__visual {
  position: relative;
  min-height: 190px;
  background: var(--sky-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-card__visual img {
  width: 82px;
  opacity: 0.9;
}

.map-card__body {
  padding: 24px 26px 26px;
}

/* --------------------------------------------------------------------------
   13. Bandeau d'appel à l'action
   -------------------------------------------------------------------------- */

.cta {
  background: var(--obsidian);
  color: #fff;
  border-radius: var(--r-card-lg);
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 64px);
  text-align: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  margin-top: var(--sp-16);
  margin-inline: auto;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

.cta .btn-row {
  margin-top: var(--sp-32);
}

.cta .btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.cta .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   14. Pied de page
   -------------------------------------------------------------------------- */

.footer {
  background: var(--cloud);
  border-top: 1px solid var(--hairline);
  padding-block: var(--sp-56) var(--sp-32);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--sp-40);
}

@media (max-width: 800px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

.footer__brand img {
  height: 44px;
  width: auto;
}

.footer__brand p {
  margin-top: var(--sp-16);
  max-width: 320px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--charcoal);
}

.footer h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--sp-16);
}

.footer li + li {
  margin-top: 10px;
}

.footer a,
.footer address {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--charcoal);
  font-style: normal;
}

.footer a:hover {
  color: var(--brand-blue);
}

.footer__bottom {
  margin-top: var(--sp-40);
  padding-top: var(--sp-24);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-12);
  justify-content: space-between;
  font-size: 13px;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   15. Apparition au défilement
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js [data-reveal][data-shown='true'] {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   16. Impression
   -------------------------------------------------------------------------- */

@media print {
  .nav,
  .cta,
  .skip-link,
  .btn {
    display: none !important;
  }
  .sky {
    background: #fff !important;
    color: #000 !important;
  }
  .sky h1,
  .sky__sub {
    color: #000 !important;
  }
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* --------------------------------------------------------------------------
   17. Avis Google
   -------------------------------------------------------------------------- */

.reviews {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

@media (max-width: 820px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

.score {
  background: #fff;
  border: 1px solid rgba(16, 55, 132, 0.06);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 36px 28px 32px;
  text-align: center;
}

.score__n {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--obsidian);
}

.stars {
  display: inline-flex;
  gap: 5px;
  margin-top: 16px;
  color: var(--star-gold);
}

/* L'étiquette de la section avis porte aussi une étoile dorée */
#avis .tag svg {
  color: var(--star-gold);
}

.stars svg {
  width: 22px;
  height: 22px;
}

.score__c {
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--charcoal);
}

.score__src {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--hairline);
  width: 100%;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.score__src svg {
  width: 15px;
  height: 15px;
  color: var(--brand-blue);
}
