/* Même feuille de styles pour WordPress et la version HTML/CSS. */
/* Pour revenir a la police precedente : --font-main: var(--font-system); */
:root { --font-system: 'Segoe UI', Arial, sans-serif; --font-main: 'Nunito Sans', var(--font-system); --cream: #faf9f5; --ink: #253e35; --green: #35634e; --muted: #626b64; --line: #e2e5dc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-main); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid #ad562c; outline-offset: 5px; }
.container { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
h1 { font-size: clamp(44px, 5vw, 64px); letter-spacing: -2.4px; line-height: 1.09; font-weight: 600; margin: 0 0 21px; }
h2 { font-size: 32px; font-weight: 600; line-height: 1.25; letter-spacing: -.9px; margin: 0; }
h3 { font-size: 20px; line-height: 1.35; margin: 0 0 12px; font-weight: 600; }
address { font-style: normal; }
.skip-link { position: absolute; top: -100px; left: 20px; background: #fff; padding: 12px; z-index: 99999; }
.skip-link:focus { top: 10px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-content { min-height: 104px; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding-block: 18px; }
.language-switcher { position: relative; flex: 0 0 auto; z-index: 10; font-size: 14px; }
.language-switcher summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 7px; cursor: pointer; color: var(--green); list-style: none; }
.language-switcher summary::-webkit-details-marker { display: none; }
.language-switcher summary:focus-visible { outline: 3px solid #ad562c; outline-offset: 5px; }
.language-switcher summary svg { width: 18px; height: 18px; }
.language-switcher ul { position: absolute; right: 0; top: 100%; min-width: 145px; margin: 6px 0 0; padding: 6px; list-style: none; background: var(--cream); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 4px 12px #253e3514; }
.language-switcher li a { display: block; min-height: 44px; padding: 9px 12px; border-radius: 4px; }
.language-switcher li a:hover, .language-switcher li a[aria-current="page"] { background: #eff1e9; color: var(--green); }
.language-switcher li a[aria-current="page"] { font-weight: 700; }
.brand { font-family: var(--font-system); display: flex; gap: 10px; align-items: center; font-size: 27px; font-weight: 750; letter-spacing: -1px; line-height: 1.2; }
.brand-heart { font-size: 48px; color: var(--green); line-height: 1; }
.brand-caption { display: block; margin-top: 7px; font-size: 10px; letter-spacing: 1.6px; font-weight: 600; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 54px; max-width: 100%; padding: 14px 24px; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: #fff; font-size: 16px; font-weight: 600; transition: background .2s; }
.button:hover { background: #244c39; }
.button span { font-size: 21px; flex-shrink: 0; }
.button-secondary { color: var(--green); background: transparent; }
.button-secondary:hover { color: #fff; }
.inline-phone, .emergency-phone { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.inline-phone:hover, .emergency-phone:hover, .resource-link:hover { text-decoration-thickness: 2px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 64px; }
.hero-copy, .doctor-info, .emergency-column, .practical-grid > *, .access-card { min-width: 0; overflow-wrap: break-word; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 1.7px; margin: 0 0 22px; }
.title-dot { color: #c27c55; }
.hero-subtitle { font-family: Georgia, serif; font-size: 26px; font-style: italic; margin: 0 0 18px; }
.hero-description { max-width: 480px; color: var(--muted); font-size: 16px; margin: 0 0 17px; }
.hero-welcome { color: var(--green); margin-bottom: 24px; }
/* Illustration abstraite : aucune photographie fictive du cabinet. */
.hero-art { height: 455px; position: relative; background: #e4e9e0; border-radius: 48% 48% 12px 12px; overflow: hidden; }
.hero-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.art-sun { position: absolute; top: 24px; right: 52px; color: #ba7953; font-size: 108px; line-height: 1; }
.art-spark { position: absolute; top: 107px; left: 41px; font-size: 50px; color: #647d60; }
.arch { position: absolute; border-radius: 160px 160px 0 0; }
.arch-outer { width: 264px; height: 320px; left: 50%; transform: translateX(-50%) rotate(-8deg); bottom: 40px; background: #c98766; }
.arch-middle { inset: 31px 31px 0; background: #e5b78e; }
.arch-inner { inset: 31px 31px 0; background: #f7f0dd; }
.plant { position: absolute; height: 165px; width: 3px; background: #627c5c; right: 49px; bottom: 37px; transform: rotate(17deg); }
.plant span { position: absolute; width: 37px; height: 64px; background: #7f9674; border-radius: 0 90% 0 90%; right: 1px; top: 14px; }
.plant span:nth-child(2) { left: 2px; top: 45px; transform: scaleX(-1); }
.plant span:nth-child(3) { top: 80px; }
.plant span:nth-child(4) { width: 25px; height: 45px; top: -24px; right: -9px; }
.art-caption { position: absolute; bottom: 66px; left: 23px; background: #fffdf5; display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 15px 20px; font-size: 13px; transform: rotate(-4deg); }
.heart { font-size: 38px; color: #a25e40; line-height: 1; }
.art-bottom { position: absolute; bottom: 17px; width: 100%; text-align: center; font-size: 9px; letter-spacing: 1.5px; }
/* Les urgences restent un bloc de texte directement sur le fond de la page. */
.emergency-section { border-top: 1px solid var(--line); padding-block: 34px 52px; }
.emergency-columns { margin-top: 25px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.emergency-column > h3 { margin-bottom: 20px; font-size: 23px; color: var(--green); }
.emergency-item + .emergency-item { margin-top: 24px; }
.emergency-item h4 { margin: 0 0 6px; font-size: 18px; line-height: 1.4; font-weight: 650; }
.emergency-item p { margin: 0; font-size: 17px; line-height: 1.75; color: var(--muted); }
.emergency-phone { padding-inline: 2px; }
.phone-group { white-space: nowrap; }
.emergency-item-vital p { color: var(--ink); }
.emergency-item-vital .emergency-phone { font-size: 22px; }
.cabinet-section { background: #eff1e9; border-block: 1px solid var(--line); }
.cabinet-content { padding-block: 34px; }
.cabinet-content h2 { font-size: 27px; }
.care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin-top: 24px; }
.care-grid h3 { font-size: 18px; margin-bottom: 7px; }
.care-grid p { margin: 0; font-size: 15px; color: var(--muted); }
.team-section { padding-block: 62px; }
.section-heading { margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 23px; }
.doctor-card { display: flex; border: 1px solid var(--line); border-radius: 12px; background: #fffefa; }
.doctor-info { display: grid; grid-template-rows: auto 1fr auto auto; gap: 12px; padding: 26px; width: 100%; }
.doctor-info > h3, .doctor-info > p { margin: 0; }
.doctor-info > h3 { font-size: 22px; line-height: 1.3; }
.doctor-role { font-size: 10px; letter-spacing: 1.6px; color: var(--green); font-weight: 700; }
.doctor-languages { font-size: 14px; }
.doctor-consultations { font-size: 14px; color: var(--muted); }
.doctor-badge { display: inline-block; margin-top: 9px; color: var(--green); }
@supports (grid-template-rows: subgrid) {
    .doctor-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; }
    .doctor-info { grid-row: span 4; grid-template-rows: subgrid; }
}
.practical-section { padding-block: 0 62px; }
.practical-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; margin-top: 28px; }
.practical-coordinates address { color: var(--muted); margin-bottom: 22px; }
.email-link { display: inline-block; max-width: 100%; min-height: 44px; padding-block: 8px; color: var(--green); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.practical-email-title { margin-top: 22px; }
.practical-phone { font-size: 21px; font-weight: 600; }
.opening-hours table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.opening-hours th, .opening-hours td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.opening-hours th:first-child { padding-left: 0; }
.opening-hours th:last-child, .opening-hours td:last-child { padding-right: 0; }
.opening-hours thead th { color: var(--ink); font-weight: 600; }
.opening-hours tbody th { font-weight: 500; }
.opening-hours td { white-space: nowrap; }
.access-section { padding-bottom: 50px; }
.access-address { color: var(--muted); margin-block: 16px 20px; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px; margin-top: 28px; align-items: start; }
.access-grid-single { grid-template-columns: 1fr; }
.access-card { padding: 30px; border: 1px solid var(--line); border-radius: 12px; }
.access-card-transit { background: #f1f3eb; }
.access-card h3 { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 21px; }
.access-icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border-radius: 50%; color: var(--green); background: #e8ede2; }
.access-icon svg { width: 28px; height: 28px; }
.access-card p { font-size: 16px; line-height: 1.75; color: var(--muted); margin: 0 0 12px; }
.access-card strong { color: var(--ink); }
.access-method h4 { margin: 0 0 10px; font-size: 18px; line-height: 1.4; font-weight: 600; }
.access-method > p:last-child { margin-bottom: 0; }
.access-method + .access-method { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.parking-figure { margin: 24px 0 0; }
.parking-plan { display: block; max-width: 460px; margin-inline: auto; }
.parking-plan img { display: block; width: 100%; height: auto; border-radius: 6px; cursor: zoom-in; }
.plan-enlarge { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 8px; color: var(--green); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }
.further-info { border-top: 1px solid var(--line); padding-block: 28px 34px; }
.further-info h2 { font-size: 23px; }
.further-info p { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.resource-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-block: 10px; color: var(--green); font-size: 15px; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.site-footer { border-top: 1px solid var(--line); padding-block: 26px; font-size: 14px; color: var(--muted); }
.footer-coordinates { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-brand { color: var(--ink); font-size: 19px; font-weight: 600; margin: 0 0 8px; }
.footer-coordinates > p { margin: 0; }
.cabinet-page { padding-block: 50px; }
.cabinet-page h1 { font-size: clamp(36px, 5vw, 60px); }
.cabinet-page a:not(.button) { text-decoration: underline; text-underline-offset: 4px; }
/* Tablettes. */
@media (max-width: 950px) {
    .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { gap: 30px; padding-block: 48px; }
    .hero-art { height: 410px; }
    .art-sun { right: 25px; }
    .emergency-columns, .practical-grid { gap: 32px; }
    .doctor-info { padding: 20px; }
    .access-card { padding: 24px; }
}
@media (max-width: 800px) {
    .team-grid { grid-template-columns: 1fr; gap: 18px; }
    .doctor-card { display: block; grid-row: auto; }
    .doctor-info { grid-row: auto; grid-template-rows: auto; }
}
/* Téléphones. Aucun masquage du débordement : la grille s’adapte réellement. */
@media (max-width: 640px) {
    .container { width: calc(100% - 36px); }
    .header-content { min-height: 92px; }
    .hero { grid-template-columns: 1fr; gap: 30px; padding-block: 34px; }
    h1 { font-size: clamp(36px, 9.5vw, 52px); letter-spacing: -1.3px; }
    h2 { font-size: 28px; }
    .hero-subtitle { font-size: 24px; }
    .hero .button { width: 100%; }
    .hero-art { height: 330px; max-width: 420px; width: 100%; margin-inline: auto; }
    .arch-outer { height: 250px; width: 220px; bottom: 30px; }
    .art-sun { font-size: 78px; top: 18px; right: 30px; }
    .art-spark { top: 70px; left: 25px; }
    .art-caption { bottom: 50px; left: 17px; padding: 12px 16px; }
    .art-bottom { font-size: 8px; letter-spacing: 1px; }
    .plant { right: 28px; }
    .emergency-section { padding-block: 28px 34px; }
    .emergency-columns { grid-template-columns: 1fr; gap: 28px; }
    .emergency-column > h3 { font-size: 22px; }
    .care-grid { grid-template-columns: 1fr; gap: 18px; }
    .care-grid > div + div { border-top: 1px solid var(--line); padding-top: 18px; }
    .cabinet-content { padding-block: 28px; }
    .team-section { padding-block: 36px; }
    .practical-section { padding-bottom: 36px; }
    .practical-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 24px; }
    .opening-hours table { font-size: clamp(13px, 3.5vw, 15px); }
    .opening-hours th, .opening-hours td { padding: 9px 6px; }
    .opening-hours th:first-child { padding-left: 0; }
    .opening-hours th:last-child, .opening-hours td:last-child { padding-right: 0; }
    .access-section { padding-bottom: 34px; }
    .access-grid { grid-template-columns: 1fr; gap: 18px; }
    .access-card { padding: 20px; }
    .access-directions { width: 100%; gap: 16px; }
    .footer-coordinates { flex-direction: column; align-items: flex-start; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .button { transition: none; }
}
