/* =================================================================
   Radiologie Meise — feuille de styles
   Design : médical moderne épuré (teal/cyan + blanc)
   ================================================================= */

/* ---------- Design tokens ---------- */
:root {
    --teal-900: #134e4a;
    --teal-800: #115e59;
    --teal-700: #0e7490;
    --teal-600: #0891b2;
    --teal-500: #06b6d4;
    --teal-100: #cffafe;
    --teal-50:  #ecfeff;

    --ink:      #0f172a;
    --ink-soft: #334155;
    --muted:    #556070;
    --line:     #e2e8f0;
    --bg:       #ffffff;
    --bg-soft:  #f6fafb;
    --bg-tint:  #f0fbfc;

    --primary:        var(--teal-700);
    --primary-strong: var(--teal-800);

    --radius:    16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
    --shadow:    0 10px 30px -12px rgba(14,116,144,.25);
    --shadow-lg: 0 24px 60px -20px rgba(14,116,144,.35);

    --maxw: 1140px;
    --gap: clamp(1rem, 3vw, 2rem);

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-head: "Fraunces", Georgia, "Times New Roman", serif;

    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--ink-soft);
    background: var(--bg);
    line-height: 1.65;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-strong); }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.container-narrow { max-width: 760px; }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: .6rem; }
.section-sub { color: var(--muted); font-size: 1.06rem; }
.eyebrow {
    display: inline-block; font-family: var(--font-body); font-weight: 600;
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--teal-700); margin-bottom: .7rem;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
    --b: var(--primary);
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .72rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1; cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-strong); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--primary); border-color: var(--line); }
.btn-ghost:hover { background: var(--teal-50); border-color: var(--teal-100); color: var(--primary-strong); transform: translateY(-2px); }

.badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100);
    padding: .4rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
    margin-bottom: 1.25rem;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 0 4px rgba(6,182,212,.18); }

/* ---------- Skip link ---------- */
.skip-link {
    position: absolute; left: 1rem; top: -60px; z-index: 200;
    background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 8px;
    transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--ink); }
.brand-mark { flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.brand-sub { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .35rem; align-items: center; }
.main-nav a {
    color: var(--ink-soft); font-weight: 500; font-size: .94rem;
    padding: .5rem .75rem; border-radius: 8px; transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--teal-50); color: var(--primary-strong); }

.header-actions { display: flex; align-items: center; gap: .6rem; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-current {
    display: inline-flex; align-items: center; gap: .25rem;
    background: transparent; border: 1.5px solid var(--line); border-radius: 999px;
    padding: .45rem .7rem; font-weight: 600; font-size: .82rem; color: var(--ink-soft);
}
.lang-current:hover { border-color: var(--teal-100); background: var(--teal-50); }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + .5rem); min-width: 160px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow-lg); padding: .35rem; opacity: 0; visibility: hidden;
    transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 50;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu a { display: flex; gap: .5rem; align-items: center; padding: .5rem .65rem; border-radius: 8px; color: var(--ink-soft); font-size: .9rem; }
.lang-menu a:hover { background: var(--teal-50); }
.lang-menu a[aria-current] { color: var(--primary); font-weight: 600; background: var(--teal-50); }
.lang-code { font-weight: 700; font-size: .72rem; color: var(--teal-700); width: 22px; }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; border-radius: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(1200px 500px at 85% -10%, var(--teal-50), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, var(--bg-tint), transparent 55%); }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero-title { font-size: clamp(2.2rem, 6vw, 3.7rem); color: var(--ink); margin-bottom: 1.1rem; }
.hero-subtitle { font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--ink-soft); max-width: 32ch; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.4rem; }
.hero-phone { color: var(--muted); font-size: .98rem; }
.hero-phone a { font-weight: 700; font-size: 1.05rem; }
.hero-visual { position: relative; }

/* Photo d'origine du cabinet, mise en valeur */
.hero-photo-wrap { position: relative; padding: 1.4rem 1.4rem 2.2rem; }
.hero-photo-blob { position: absolute; inset: 0 -4% 6% 2%; border-radius: 42% 58% 56% 44% / 50% 46% 54% 50%; background: linear-gradient(150deg, var(--teal-100), var(--bg-tint)); filter: blur(2px); z-index: 0; animation: blobpulse 12s ease-in-out infinite; }
@keyframes blobpulse { 0%,100% { border-radius: 42% 58% 56% 44% / 50% 46% 54% 50%; } 50% { border-radius: 56% 44% 42% 58% / 46% 54% 50% 50%; } }
.hero-photo-dots { position: absolute; right: 0; top: 0; width: 120px; height: 120px; z-index: 0;
    background-image: radial-gradient(var(--teal-500) 1.6px, transparent 1.6px); background-size: 16px 16px; opacity: .35; }
.hero-photo { position: relative; z-index: 1; margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; aspect-ratio: 448 / 337; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-chip { position: absolute; left: -.2rem; bottom: .4rem; z-index: 2; display: flex; align-items: center; gap: .7rem;
    background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border: 1px solid var(--line);
    padding: .65rem .95rem; border-radius: 14px; box-shadow: var(--shadow); animation: floaty 7s ease-in-out infinite; }
.hero-photo-chip-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); flex: none; }
.hero-photo-chip-icon svg { width: 20px; height: 20px; }
.hero-photo-chip-text { display: flex; flex-direction: column; line-height: 1.25; }
.hero-photo-chip-text strong { color: var(--ink); font-family: var(--font-head); font-size: .98rem; }
.hero-photo-chip-text em { font-style: normal; color: var(--muted); font-size: .8rem; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Quick bar ---------- */
.quickbar { margin-top: -2.2rem; position: relative; z-index: 5; padding-bottom: 1rem; }
.quickbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.quickcard {
    display: flex; gap: .85rem; align-items: center; background: #fff;
    border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.15rem;
    box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; color: var(--ink-soft);
}
a.quickcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.quickcard-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.quickcard-icon svg { width: 22px; height: 22px; }
.quickcard > div { display: flex; flex-direction: column; min-width: 0; }
.quickcard-t { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.quickcard-v { font-weight: 600; color: var(--ink); font-size: .95rem; }

/* ---------- Cards grid (services) ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.6rem;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.service-card::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--teal-600), var(--teal-500)); transform: scaleX(1); transform-origin: left; opacity: .3; transition: opacity .3s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.service-card:hover::after { opacity: 1; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--teal-50); color: var(--teal-700); margin-bottom: 1.1rem; }
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.service-card p { color: var(--muted); font-size: .96rem; }

/* ---------- Preparation ---------- */
.prep-layout { display: grid; grid-template-columns: 1.3fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.steps { display: flex; flex-direction: column; gap: 1.1rem; counter-reset: step; }
.step { display: flex; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; }
.step-num { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--teal-700), var(--teal-500)); color: #fff; font-weight: 700; font-family: var(--font-head); }
.step h3 { font-size: 1.08rem; margin-bottom: .25rem; }
.step p { color: var(--muted); font-size: .94rem; }
.bring-card { background: linear-gradient(165deg, var(--teal-700), var(--teal-800)); color: #fff; border-radius: var(--radius-lg); padding: 1.8rem 1.7rem; box-shadow: var(--shadow); position: sticky; top: 84px; }
.bring-card h3 { color: #fff; display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem; font-size: 1.25rem; }
.bring-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.16); }
.bring-icon svg { width: 18px; height: 18px; }
.bring-list { display: flex; flex-direction: column; gap: .7rem; }
.bring-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .98rem; color: rgba(255,255,255,.92); }
.bring-list svg { width: 19px; height: 19px; flex: none; margin-top: 2px; color: var(--teal-100); }

/* ---------- About ---------- */
.about-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about-text h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .75rem; }
.about-text p { margin-bottom: 1rem; color: var(--ink-soft); }
.doctor-chip { display: inline-flex; align-items: center; gap: .8rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; padding: .6rem 1.1rem .6rem .6rem; margin-top: .5rem; }
.doctor-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--teal-50); color: var(--teal-700); }
.doctor-avatar svg { width: 22px; height: 22px; }
.doctor-chip strong { display: block; color: var(--ink); font-family: var(--font-head); }
.doctor-chip em { font-style: normal; color: var(--muted); font-size: .88rem; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-points li { display: flex; gap: .8rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.point-icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.point-icon svg { width: 22px; height: 22px; }
.about-points strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.02rem; margin-bottom: .15rem; }
.about-points span { color: var(--muted); font-size: .9rem; }

/* ---------- Access ---------- */
.access-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: stretch; }
.access-info { display: flex; flex-direction: column; gap: 1.1rem; }
.access-item { display: flex; gap: .9rem; }
.access-icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.access-icon svg { width: 23px; height: 23px; }
.access-item strong { display: block; color: var(--ink); font-family: var(--font-head); margin-bottom: .15rem; }
.access-item span { color: var(--muted); font-size: .95rem; }
.access-info .btn { align-self: flex-start; margin-top: .4rem; }
.access-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 360px; }
.access-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Documents ---------- */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.1rem; }
.doc-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.doc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); }
.doc-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.doc-icon svg { width: 24px; height: 24px; }
.doc-body { display: flex; flex-direction: column; min-width: 0; }
.doc-body strong { color: var(--ink); font-family: var(--font-head); }
.doc-body span { color: var(--muted); font-size: .9rem; }
.doc-ext { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--teal-700); background: var(--teal-50); padding: .3rem .55rem; border-radius: 6px; }

/* ---------- Contact ---------- */
.section-contact { background:
    linear-gradient(180deg, var(--bg-soft), var(--bg)); }
.contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.5rem, 4vw, 2.5rem); align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.contact-methods li { display: flex; gap: .85rem; align-items: center; }
.cm-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); }
.cm-icon svg { width: 22px; height: 22px; }
.cm-t { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.contact-methods a { font-weight: 600; color: var(--ink); }
.contact-methods a:hover { color: var(--primary); }

.hours-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-sm); }
.hours-card h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.1rem; margin-bottom: .9rem; }
.hours-card h3 .cm-icon { width: 34px; height: 34px; }
.hours-card h3 .cm-icon svg { width: 18px; height: 18px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: .42rem 0; text-align: left; font-size: .94rem; }
.hours-table th { font-weight: 500; color: var(--ink-soft); }
.hours-table td { text-align: right; color: var(--ink); font-weight: 600; }
.hours-table tr + tr { border-top: 1px dashed var(--line); }
.hours-table tr.is-closed td { color: var(--muted); font-weight: 500; }
.hours-note { margin-top: .9rem; font-size: .85rem; color: var(--teal-700); background: var(--teal-50); padding: .5rem .75rem; border-radius: 8px; display: inline-block; }

/* Form */
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.contact-form-wrap > h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label, .field-check span { font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.field input, .field textarea {
    width: 100%; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(6,182,212,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field.has-error input, .field.has-error textarea { border-color: #ef4444; background: #fef2f2; }
.field-check { display: flex; gap: .5rem; }
.field-check label { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.field-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }
.field-check span { font-weight: 500; color: var(--muted); }
.field-check.has-error span { color: #b91c1c; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.form-required { font-size: .82rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: .6rem; align-items: center; padding: .85rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-weight: 500; font-size: .95rem; }
.form-alert svg { width: 20px; height: 20px; flex: none; }
.form-alert-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-alert-err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.form-live:empty { display: none; }
.form-live { margin-top: .4rem; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Bannière cookies (RGPD) ---------- */
.cookie-banner {
    position: fixed; inset: auto 0 0 0; z-index: 1000;
    background: var(--bg); border-top: 1px solid var(--line);
    box-shadow: 0 -10px 30px -18px rgba(15,23,42,.35);
    padding-block: .9rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: .7rem 1.5rem; flex-wrap: wrap;
}
.cookie-banner-text { margin: 0; font-size: .9rem; color: var(--ink-soft); max-width: 64ch; }
.cookie-banner-text a { font-weight: 600; white-space: nowrap; }
.cookie-banner-actions { display: flex; gap: .6rem; flex-shrink: 0; }
@media (max-width: 560px) {
    .cookie-banner-actions { width: 100%; }
    .cookie-banner-actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.78); margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.1fr; gap: 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; font-family: var(--font-head); }
.footer-brand .brand-mark { margin-bottom: 1rem; }
.footer-tagline { font-size: .95rem; margin-bottom: .8rem; max-width: 34ch; }
.footer-disclaimer { font-size: .82rem; color: rgba(255,255,255,.72); max-width: 36ch; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.78); font-size: .94rem; }
.footer-links li, .footer-contact li { margin-bottom: .55rem; font-size: .94rem; }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-hours { width: 100%; border-collapse: collapse; }
.footer-hours th, .footer-hours td { padding: .25rem 0; font-size: .86rem; text-align: left; font-weight: 400; }
.footer-hours td { text-align: right; color: #fff; }
.footer-appt { margin-top: .8rem; font-size: .8rem; color: var(--teal-100); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.3rem; font-size: .85rem; color: rgba(255,255,255,.6); }
.footer-meta a { color: rgba(255,255,255,.8); }
.footer-meta a:hover { color: #fff; }
.footer-meta span { margin-inline: .4rem; }

/* ---------- Legal page ---------- */
.legal-page h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.legal-body h2 { font-size: 1.2rem; margin-top: 1.8rem; margin-bottom: .4rem; }
.legal-body p { color: var(--ink-soft); }

/* ---------- Reveal animation (progressive enhancement) ---------- */
/* Le contenu est visible par défaut ; il n'est masqué que si JS est présent (classe .js). */
.reveal { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .cards-grid { grid-template-columns: repeat(2, 1fr); }
    .quickbar-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    .main-nav {
        position: fixed; inset: 72px 0 auto 0; background: #fff; margin: 0;
        border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
        max-height: 0; overflow: hidden; visibility: hidden;
        transition: max-height .35s var(--ease), visibility .35s; z-index: 90;
    }
    .main-nav.open { max-height: 80vh; visibility: visible; }
    .main-nav ul { flex-direction: column; align-items: stretch; padding: .75rem; gap: .15rem; }
    .main-nav a { padding: .85rem 1rem; font-size: 1.02rem; }
    .nav-toggle { display: flex; order: 3; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; max-width: 460px; margin-inline: auto; }
    .prep-layout, .about-layout, .access-layout, .contact-layout { grid-template-columns: 1fr; }
    .bring-card { position: static; }
    .about-text { text-align: left; }
    .access-map { min-height: 300px; }
}
@media (max-width: 560px) {
    .cards-grid, .quickbar-grid, .about-points, .field-row { grid-template-columns: 1fr; }
    .quickbar { margin-top: 0; }
    /* En-tête compact pour téléphones : le bandeau ne doit jamais déborder */
    .header-inner { gap: .5rem; }
    .brand-mark { width: 34px; height: 34px; }
    .brand-sub { display: none; }
    .brand-name { font-size: .98rem; }
    .header-actions { gap: .35rem; }
    .header-cta span { display: none; }        /* bouton d'appel en icône seule (lien tel:) */
    .header-cta { padding: .6rem; min-width: 44px; min-height: 44px; justify-content: center; }
    .header-cta svg { margin: 0; }
    .lang-current { padding: .5rem .6rem; min-height: 44px; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .footer-brand { grid-column: auto; }
    .form-footer { flex-direction: column-reverse; align-items: stretch; }
    .form-footer .btn { width: 100%; justify-content: center; }
}
@media (max-width: 360px) {
    /* Très petits écrans : on retire le bouton d'appel de l'en-tête (présent en grand dans le hero) */
    .header-cta { display: none; }
    .container { padding-inline: .9rem; }
}

/* ---------- Motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .reveal, .js .reveal { opacity: 1 !important; transform: none !important; }
    .hero-photo-blob, .hero-photo-chip { animation: none; }
}
:focus-visible { outline: 3px solid var(--teal-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- A11y helper ---------- */
.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; }

/* ---------- Form field errors & privacy note ---------- */
.field-error { display: none; font-size: .82rem; color: #b91c1c; font-weight: 500; margin-top: .1rem; }
.field.has-error .field-error,
.field-check.has-error .field-error { display: block; }
.field-check .field-error { margin-left: 1.6rem; }
.form-privacy { font-size: .82rem; color: var(--muted); border-left: 3px solid var(--teal-100); padding-left: .85rem; }
.hero-or { color: var(--muted); }
.hero-or a { font-weight: 600; }

/* ---------- Safety callout (prep) ---------- */
.safety-callout { display: flex; gap: 1rem; align-items: flex-start; margin-top: 1.6rem; background: #fff7ed; border: 1px solid #fed7aa; border-left: 4px solid #f59e0b; border-radius: var(--radius); padding: 1.1rem 1.3rem; }
.safety-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #ffedd5; color: #b45309; }
.safety-icon svg { width: 22px; height: 22px; }
.safety-callout strong { display: block; color: var(--ink); font-family: var(--font-head); margin-bottom: .2rem; }
.safety-callout p { color: var(--ink-soft); font-size: .94rem; margin: 0; }

/* ---------- FAQ (accordéon natif) ---------- */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--teal-100); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.3rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.04rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--primary-strong); }
.faq-chevron { flex: none; color: var(--teal-700); transition: transform .25s var(--ease); }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.3rem 1.2rem; }
.faq-answer p { color: var(--ink-soft); margin: 0; }

/* ---------- Ligne horaires (remplace le tableau jour par jour) ---------- */
.hours-line { margin: 0; font-size: 1rem; font-weight: 500; color: var(--teal-800); background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius-sm); padding: .75rem 1rem; }
.footer-hours-line { margin: 0; font-size: .94rem; color: var(--teal-100); }

/* ---------- Carte « Téléphone » à deux numéros (tél + GSM) ---------- */
.quickcard-phones a { color: var(--ink); }
.quickcard-phones a:hover { color: var(--primary); }
