:root {
  color-scheme: light;
  --ink: #173c47;
  --teal: #247478;
  --muted: #526a71;
  --soft: #f2f7f7;
  --line: #dce7e7;
  --white: #fff;
  --focus: #087477;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
a, .centre-card { -webkit-tap-highlight-color: #24747820; }
::selection { background: #cbe7e6; color: var(--ink); }
.container { width: min(100% - 80px, 1200px); margin-inline: auto; }
.icon { display: block; width: 22px; height: 22px; flex-shrink: 0; }
.skip-link {
  position: absolute;
  z-index: 10;
  top: 12px;
  left: 16px;
  padding: 12px 18px;
  border-radius: 6px;
  background: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

/* En-tête */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-height: 48px; text-decoration: none; }
.brand-mark { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; width: 42px; height: 42px; flex-shrink: 0; }
.brand-mark span { background: var(--ink); border-radius: 4px; }
.brand-mark span:nth-child(2), .brand-mark span:nth-child(3) { background: #58a9aa; }
.brand-name { font-size: 24px; font-weight: 800; line-height: 1; letter-spacing: -.9px; }
.brand-name > span { color: var(--teal); }
.brand-name small { display: block; margin-top: 9px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: 2px; }
.header-contact { display: flex; align-items: center; gap: 36px; }
.header-location { color: var(--muted); font-size: 13px; }
.header-link { display: inline-flex; align-items: center; gap: 28px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; font-weight: 650; text-decoration: none; transition: background .2s, border-color .2s; }
.header-link:hover { background: var(--soft); border-color: #99b7b7; }

/* Message d'information */
.hero { background: var(--soft); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 356px; align-items: center; gap: 88px; padding-block: 72px 76px; }
.hero-content { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 24px; color: #705a28; font-size: 11px; font-weight: 750; letter-spacing: 1.8px; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #9d772f; box-shadow: 0 0 0 5px #9d772f12; flex-shrink: 0; }
.hero h1 { margin: 0 0 26px; font-size: clamp(42px, 4.6vw, 66px); font-weight: 550; line-height: 1.08; letter-spacing: -2.8px; }
.hero h1 span { color: var(--teal); }
.hero-explanation, .hero-contact { max-width: 590px; margin: 0 0 16px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.hero-content strong { color: var(--ink); font-weight: 650; }
.hero-thanks { margin: 26px 0 0; color: var(--muted); font-size: 13px; }
.contact-guide { position: relative; padding: 30px; border: 1px solid var(--ink); border-radius: 14px; background: var(--ink); color: var(--white); box-shadow: 0 16px 40px #173c4710; }
.guide-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #b6dbda; font-size: 10px; font-weight: 650; letter-spacing: 1.6px; }
.guide-cross { font-size: 34px; font-weight: 300; line-height: 1; }
.contact-guide h2 { margin: 24px 0 12px; font-size: 34px; font-weight: 500; line-height: 1.15; letter-spacing: -.9px; }
.guide-intro { margin: 0 0 22px; color: #c5dcdf; font-size: 14px; line-height: 1.7; }
.guide-method { display: flex; align-items: flex-start; gap: 14px; padding-block: 15px; border-top: 1px solid #ffffff24; }
.guide-method > .icon { margin-top: 4px; color: #9dd4d1; }
.guide-method h3 { margin: 0 0 3px; font-size: 15px; font-weight: 650; }
.guide-method p { margin: 0; color: #c5dcdf; font-size: 12px; line-height: 1.65; }
.guide-button { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 50px; margin-top: 14px; padding: 12px 18px; border-radius: 6px; background: #e1f0ed; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s; }
.guide-button:hover { background: var(--white); }
.guide-button:focus-visible { outline-color: #b6e5e1; }

/* Coordonnées des centres */
.centres-section { padding-block: 76px 88px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.section-label { margin: 0 0 12px; color: var(--teal); font-size: 11px; font-weight: 750; letter-spacing: 1.8px; }
.section-heading h2 { margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 550; line-height: 1.2; letter-spacing: -1.3px; }
.section-heading > p { margin: 0 0 2px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.centres-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.centre-card { min-width: 0; padding: 26px 24px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.centre-card:focus-within, .centre-card:hover { border-color: #8fb8b7; box-shadow: 0 5px 20px #173c4707; }
.card-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.card-number { color: #6c8085; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.city { padding: 4px 10px; border-radius: 4px; background: var(--soft); color: var(--muted); font-size: 11px; font-weight: 600; }
.centre-card h3 { margin: 22px 0 9px; font-size: 20px; font-weight: 650; line-height: 1.35; letter-spacing: -.5px; }
.centre-card address { min-height: 68px; margin-bottom: 20px; color: var(--muted); font-size: 14px; font-style: normal; line-height: 1.75; }
.card-contacts { border-top: 1px solid var(--line); }
.contact-link { display: flex; align-items: center; gap: 12px; min-height: 80px; padding-block: 16px; border-radius: 5px; text-decoration: none; }
.contact-link + .contact-link { border-top: 1px solid var(--line); }
.contact-icon { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--soft); color: var(--teal); transition: background .2s; }
.contact-icon .icon { width: 18px; height: 18px; }
.contact-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.contact-label { color: var(--muted); font-size: 11px; line-height: 1.5; }
.phone-number { font-size: 20px; font-weight: 650; line-height: 1.4; letter-spacing: -.4px; font-variant-numeric: tabular-nums; }
.email-address { color: var(--teal); font-size: 13px; font-weight: 550; line-height: 1.5; overflow-wrap: anywhere; }
.contact-arrow { margin-left: auto; color: var(--teal); font-size: 18px; flex-shrink: 0; }
.contact-link:hover .contact-icon { background: #d9eeeb; }
.contact-link:hover .phone-number, .contact-link:hover .email-address { text-decoration: underline; text-underline-offset: 4px; }

/* Confidentialité et pied de page */
.privacy-section { padding-block: 30px; border-block: 1px solid var(--line); background: var(--soft); }
.privacy-inner { display: flex; align-items: flex-start; gap: 18px; }
.privacy-icon { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid #c4dbda; border-radius: 50%; color: var(--teal); }
.privacy-inner h2 { margin: 0 0 5px; font-size: 15px; font-weight: 650; line-height: 1.6; }
.privacy-inner p { max-width: 910px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 32px; }
.footer-brand { display: block; font-size: 13px; font-weight: 750; letter-spacing: .5px; }
.footer-caption { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
.footer-inner > p { margin: 0; color: var(--muted); font-size: 11px; }
.footer-inner > p span { margin-inline: 5px; }
.back-to-top { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 12px; text-decoration: none; white-space: nowrap; }
.back-to-top:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; }
  .hero h1 { font-size: 56px; }
  .centre-card { padding-inline: 20px; }
  .contact-link { gap: 9px; }
  .email-link .contact-icon { display: none; }
  .footer-inner { flex-wrap: wrap; gap: 16px 28px; }
}

@media (max-width: 900px) {
  .container { width: calc(100% - 56px); }
  .header-location { display: none; }
  .hero-inner { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-block: 54px; }
  .hero h1 { font-size: 48px; letter-spacing: -2px; }
  .hero-explanation, .hero-contact { font-size: 15px; }
  .contact-guide { padding: 24px; }
  .contact-guide h2 { font-size: 30px; }
  .guide-heading { font-size: 9px; letter-spacing: 1px; }
  .centres-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; }
  .section-heading > p br { display: none; }
  .email-link .contact-icon { display: grid; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 84px; gap: 16px; }
  .brand { gap: 10px; }
  .brand-mark { width: 34px; height: 34px; gap: 3px; }
  .brand-name { font-size: 20px; }
  .brand-name small { margin-top: 7px; font-size: 7px; letter-spacing: 1.5px; }
  .header-link { gap: 12px; padding-inline: 12px; font-size: 12px; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 44px; }
  .hero h1 { font-size: clamp(42px, 9vw, 58px); }
  .eyebrow { font-size: 10px; margin-bottom: 22px; }
  .hero-explanation, .hero-contact { font-size: 16px; }
  .hero-thanks { margin-top: 20px; }
  .contact-guide { padding: 0; border: 0; border-radius: 6px; background: transparent; box-shadow: none; }
  .guide-heading, .contact-guide h2, .guide-intro, .guide-method { display: none; }
  .guide-button { margin: 0; background: var(--ink); color: var(--white); }
  .guide-button:hover { background: #24525d; }
  .guide-button:focus-visible { outline-color: var(--focus); }
  .centres-section { padding-block: 48px 56px; }
  .section-heading { margin-bottom: 26px; }
  .centres-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .centre-card { padding: 24px 22px 10px; }
  .centre-card address { min-height: 0; margin-bottom: 22px; }
  .centre-card h3 { margin-top: 18px; }
  .contact-link { gap: 12px; }
  .contact-icon { width: 38px; height: 38px; }
  .phone-number { font-size: 21px; }
  .email-address { font-size: 14px; }
  .privacy-inner { gap: 14px; }
  .privacy-inner h2 { font-size: 14px; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding-block: 28px 20px; gap: 14px; }
}

@media (max-width: 380px) {
  .container { width: calc(100% - 32px); }
  .brand-name { font-size: 17px; }
  .brand-name small { font-size: 6px; letter-spacing: 1.1px; }
  .brand-mark { width: 30px; height: 30px; }
  .header-link { gap: 8px; padding-inline: 9px; }
  .hero h1 { font-size: 42px; }
  .centre-card { padding-inline: 18px; }
  .email-link .contact-icon { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .skip-link, .header-contact, .contact-guide, .back-to-top { display: none; }
  .container { width: 100%; }
  .hero { background: var(--white); }
  .hero-inner { display: block; padding-block: 28px; }
  .hero h1 { font-size: 36px; }
  .centres-section { padding-block: 28px; }
  .centres-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .centre-card { break-inside: avoid; box-shadow: none; }
  .privacy-section { background: var(--white); }
}
