/* Dentiste J. Cordonnier — feuille de style (mobile d'abord). */

@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600 700; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-weight: 500 700; font-display: swap; src: url("../fonts/lora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/lora-latin-500-italic.woff2") format("woff2"); }

:root {
  --petrole: #1d4e57;
  --petrole-2: #256270;
  --petrole-fonce: #133840;
  --sauge: #8db3a8;
  --sauge-pale: #e7f0ec;
  --sable: #f6f1e8;
  --sable-2: #efe7d8;
  --cuivre: #b3653d;
  --cuivre-texte: #9a4f2a;
  --ligne: #e2dccf;
  --texte: #26343a;
  --texte-doux: #56656b;
  --blanc: #fff;
  --alerte: #b4401b;
  --alerte-pale: #fdf1ea;
  --titre: "Lora", Georgia, "Times New Roman", serif;
  --corps: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ombre: 0 12px 32px -14px rgba(19, 56, 64, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--blanc); color: var(--texte); font-family: var(--corps); font-size: 1.0625rem; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrole-2); text-underline-offset: .18em; }
a:hover { color: var(--cuivre-texte); }
h1, h2, h3 { font-family: var(--titre); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--petrole-fonce); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
table { border-collapse: collapse; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.12em; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 50rem; }
.center { text-align: center; }
.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; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--petrole); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--cuivre); outline-offset: 3px; border-radius: 4px; }

/* Boutons et liens */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.4em; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--petrole); color: #fff; }
.btn-primary:hover { background: var(--petrole-fonce); color: #fff; }
.btn-ghost { border-color: var(--petrole); color: var(--petrole); background: transparent; }
.btn-ghost:hover { background: var(--petrole); color: #fff; }
.btn-white { background: #fff; color: var(--petrole-fonce); }
.btn-white:hover { background: var(--sable); color: var(--petrole-fonce); }
.btn-alert { background: var(--alerte); color: #fff; }
.btn-alert:hover { background: #963413; color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--petrole-2); }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }
.eyebrow { display: inline-flex; align-items: center; gap: .45em; margin: 0 0 .6em; font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cuivre-texte); }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { border-color: var(--ligne); box-shadow: 0 6px 20px -16px rgba(19, 56, 64, .5); }
.header-inner { display: flex; align-items: center; gap: .75rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; color: var(--petrole-fonce); }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--petrole); color: #fff; font-size: 1.45rem; }
.brand-mark .ico { stroke-width: 1.5; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-kicker { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--cuivre-texte); }
.brand-name { font-family: var(--titre); font-weight: 600; font-size: 1.35rem; }
.header-call { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sauge-pale); color: var(--petrole); font-size: 1.2rem; }
.nav-toggle { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: var(--petrole-fonce); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
.nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--ligne); box-shadow: 0 16px 30px -20px rgba(19, 56, 64, .45); display: none; }
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: .5rem var(--gutter) 1.2rem; }
.nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--ligne); color: var(--texte); text-decoration: none; font-weight: 600; }
.nav a[aria-current="page"] { color: var(--cuivre-texte); }
.nav-cta a { margin-top: 1rem; border: 0; border-radius: 999px; background: var(--petrole); color: #fff; text-align: center; }

@media (min-width: 960px) {
  .header-call, .nav-toggle { display: none; }
  .nav { position: static; display: block; background: none; border: 0; box-shadow: none; }
  .nav ul { display: flex; align-items: center; gap: .3rem; padding: 0; }
  .nav a { border: 0; padding: .5rem .85rem; border-radius: 999px; font-size: .98rem; }
  .nav a:hover { background: var(--sauge-pale); color: var(--petrole-fonce); }
  .nav a[aria-current="page"] { background: var(--sable); color: var(--petrole-fonce); }
  .nav-cta { margin-left: .6rem; }
  .nav-cta a { margin: 0; padding: .55rem 1.15rem; display: inline-flex; align-items: center; gap: .45em; }
  .nav-cta a:hover { background: var(--petrole-fonce); color: #fff; }
}

/* Accueil — hero */
.hero { position: relative; background: linear-gradient(180deg, var(--sable) 0%, #faf7f1 100%); padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(5rem, 11vw, 8.5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; right: -12vw; top: -18vw; width: 52vw; height: 52vw; border-radius: 50%; background: radial-gradient(circle, rgba(141, 179, 168, .35), rgba(141, 179, 168, 0) 70%); pointer-events: none; }
.hero-inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero-kicker { display: inline-block; margin: 0 0 1rem; padding: .3rem .85rem; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); font-size: .85rem; font-weight: 700; color: var(--petrole); letter-spacing: .04em; }
.hero h1 { max-width: 16ch; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--petrole-2); }
.hero-lead { max-width: 36rem; font-size: 1.18rem; color: var(--texte-doux); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 1rem; }
.hero-note { font-size: .95rem; color: var(--texte-doux); }
.hero-note a { font-weight: 700; }
.hero-card { background: #fff; border-radius: calc(var(--radius) + 6px); padding: .6rem; box-shadow: var(--ombre); border: 1px solid var(--ligne); }
.hero-place { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1rem; border-radius: var(--radius); text-decoration: none; color: var(--texte); transition: background .2s; }
.hero-place + .hero-place { border-top: 1px dashed var(--ligne); }
.hero-place:hover { background: var(--sauge-pale); color: var(--texte); }
.hero-place-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--sable); color: var(--petrole); font-size: 1.6rem; }
.hero-place-name { display: block; font-family: var(--titre); font-weight: 600; font-size: 1.3rem; color: var(--petrole-fonce); }
.hero-place-addr { display: block; font-size: .95rem; color: var(--texte-doux); }
.hero-place-go { color: var(--cuivre); font-size: 1.3rem; transition: transform .2s; }
.hero-place:hover .hero-place-go { transform: translateX(4px); }
.hero-card-foot { display: flex; align-items: center; gap: .5em; margin: .3rem; padding: .8rem 1rem; border-radius: var(--radius); background: var(--petrole); color: #fff; font-weight: 600; font-size: .95rem; }
.hero-landscape { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(60px, 10vw, 150px); }
.hero-landscape .l1 { fill: var(--sauge); opacity: .35; }
.hero-landscape .l2 { fill: #fff; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.25fr .9fr; gap: 4rem; }
}

/* Sections */
.section { padding: clamp(3.2rem, 8vw, 5.5rem) 0; }
.section-sand { background: var(--sable); }
.section-head { max-width: 44rem; margin-bottom: 2.4rem; }
.section-head p:last-child { color: var(--texte-doux); font-size: 1.1rem; }
.section-more { margin-top: 2rem; }

/* Grille des soins (accueil) */
.soins-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
@media (min-width: 700px) { .soins-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } }
@media (min-width: 1100px) { .soins-grid { grid-template-columns: repeat(5, 1fr); } .soin { padding: 1.35rem; } }
.soin { display: block; height: 100%; padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--ligne); background: #fff; text-decoration: none; color: var(--texte); transition: border-color .2s, box-shadow .2s, transform .2s; }
.soin:hover { color: var(--texte); border-color: var(--sauge); box-shadow: var(--ombre); transform: translateY(-3px); }
.soin h3 { margin: 1rem 0 .4rem; }
@media (max-width: 699px) { .soin { padding: 1.1rem; } .soin h3 { font-size: 1.02rem; } .soin p { font-size: .9rem; line-height: 1.5; } .soin-icon { width: 44px; height: 44px; font-size: 1.3rem; } }
.soin p { margin: 0; color: var(--texte-doux); font-size: .98rem; }
.soin-icon, .quick-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sauge-pale); color: var(--petrole); font-size: 1.55rem; }

/* À propos */
.about-grid { display: grid; gap: 2.5rem; align-items: center; }
.prose p { max-width: 40rem; }
.checklist { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--petrole) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 70% no-repeat; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.facts li { display: flex; align-items: center; gap: 1.2rem; padding: 1.3rem 1.5rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--ligne); }
.facts strong { font-family: var(--titre); font-size: 2.6rem; line-height: 1; color: var(--petrole); min-width: 3.2ch; }
.facts span { color: var(--texte-doux); }
.facts a { font-weight: 700; white-space: nowrap; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; } }

/* Encarts rapides */
.quick-grid { display: grid; gap: 1.2rem; }
.quick { padding: 1.8rem; border-radius: var(--radius); background: var(--sauge-pale); }
.quick h2 { font-size: 1.35rem; margin-top: 1rem; }
.quick .quick-icon { background: #fff; }
.quick p { color: var(--texte-doux); }
.quick--alert { background: var(--alerte-pale); }
.quick--alert .quick-icon { color: var(--alerte); }
.quick--alert .link-arrow { color: var(--alerte); }
@media (min-width: 800px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } }

/* Bandeau d'appel */
.cta-band { background: var(--petrole); color: #fff; padding: clamp(2.4rem, 6vw, 3.6rem) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); }
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-title { font-family: var(--titre); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; margin: 0 0 .2em; }
.cta-text { margin: 0; color: rgba(255, 255, 255, .82); }

/* En-tête des pages intérieures */
.page-hero { background: var(--sable); padding: clamp(2.2rem, 6vw, 3.8rem) 0 clamp(2rem, 5vw, 3rem); border-bottom: 1px solid var(--ligne); }
.crumbs { font-size: .9rem; color: var(--texte-doux); margin-bottom: .9rem; }
.crumbs a { color: var(--texte-doux); }
.page-lead { max-width: 42rem; font-size: 1.15rem; color: var(--texte-doux); margin: 0; }
.page-lead a { font-weight: 700; }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.toc a { padding: .35rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--ligne); text-decoration: none; font-size: .92rem; font-weight: 600; color: var(--petrole); }
.toc a:hover { border-color: var(--petrole); color: var(--petrole-fonce); }

/* Page Soins */
.soins-list { display: grid; gap: 0; }
.soin-detail { display: grid; gap: 1rem 2rem; padding: 2.2rem 0; border-top: 1px solid var(--ligne); }
.soin-detail:first-child { border-top: 0; padding-top: 0; }
.soin-detail-head { display: flex; align-items: center; gap: 1rem; }
.soin-num { font-family: var(--titre); font-size: 1rem; font-weight: 600; color: var(--cuivre-texte); }
.soin-detail-body p { max-width: 40rem; }
.soin-points { list-style: none; margin: 0; padding: 1.2rem 1.4rem; background: var(--sable); border-radius: var(--radius); display: grid; gap: .5rem; align-self: start; font-size: .98rem; }
.soin-points li { position: relative; padding-left: 1.3rem; }
.soin-points li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--cuivre); }
@media (min-width: 900px) {
  .soin-detail { grid-template-columns: 5.5rem 1fr 17rem; }
  .soin-detail-head { flex-direction: column; align-items: flex-start; }
}

/* Page Cabinets */
.place-grid { display: grid; gap: 2rem; align-items: stretch; }
.place-info h2 { margin-bottom: .4em; }
.place-info > p { color: var(--texte-doux); max-width: 34rem; }
.place-facts { margin: 1.6rem 0 0; display: grid; gap: 1rem; }
.place-facts > div { padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius); }
.place-facts dt { display: flex; align-items: center; gap: .5em; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cuivre-texte); margin-bottom: .35rem; }
.place-facts dd { margin: 0; }
.place-facts address { margin-bottom: .3rem; font-size: 1.08rem; }
.big-phone { font-family: var(--titre); font-size: 1.7rem; font-weight: 600; text-decoration: none; color: var(--petrole-fonce); }
.big-phone:hover { color: var(--cuivre-texte); }
.hours-rdv { margin: 0; }
.hours-rdv .ico { margin-right: .35em; color: var(--petrole); }
.hours-rdv a { font-weight: 700; }
.hours { width: 100%; }
.hours th, .hours td { text-align: left; padding: .3rem 0; border-bottom: 1px dashed var(--ligne); font-weight: 400; }
.hours th { font-weight: 600; padding-right: 1rem; }
.hours .is-closed td { color: var(--texte-doux); }
.map { min-height: 320px; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--sauge-pale); border: 1px solid var(--ligne); position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-load { position: absolute; inset: 0; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; border: 0; cursor: pointer; font: inherit; color: var(--petrole-fonce); background:
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(29, 78, 87, .07) 38px 39px),
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(29, 78, 87, .07) 38px 39px), var(--sauge-pale); }
.map-load strong { font-size: 1.1rem; }
.map-load small { color: var(--texte-doux); }
.map-load .map-note { font-size: .8rem; margin-top: .4rem; }
.map-pin { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--petrole); color: #fff; font-size: 1.7rem; margin-bottom: .5rem; box-shadow: 0 10px 22px -10px rgba(19, 56, 64, .7); transition: transform .2s; }
.map-load:hover .map-pin { transform: translateY(-4px); }
@media (min-width: 900px) {
  .place-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; }
  .place-grid--flip .place-info { order: 2; }
  .map { min-height: 100%; }
}

/* Page Infos patients */
.info-grid { display: grid; gap: 1.4rem; }
.card { padding: clamp(1.5rem, 4vw, 2.2rem); background: #fff; border: 1px solid var(--ligne); border-radius: calc(var(--radius) + 4px); }
.card h2 { font-size: 1.55rem; }
.card .quick-icon { margin-bottom: 1rem; }
.card-note { font-size: .95rem; color: var(--texte-doux); margin: 0; }
.card-alert { border-color: #f1cdb9; background: var(--alerte-pale); }
.card-alert .quick-icon { background: #fff; color: var(--alerte); }
.card-alert .eyebrow { color: var(--alerte); }
@media (min-width: 850px) { .info-grid { grid-template-columns: 1fr 1fr; } }

.faq { display: grid; gap: .7rem; }
.faq details { background: #fff; border: 1px solid var(--ligne); border-radius: var(--radius); padding: 0 1.3rem; }
.faq details[open] { border-color: var(--sauge); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 2rem 1.05rem 0; position: relative; font-weight: 700; color: var(--petrole-fonce); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--cuivre); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--texte-doux); }

/* Pied de page */
.site-footer { background: var(--petrole-fonce); color: rgba(255, 255, 255, .78); padding: 3.5rem 0 1.5rem; font-size: .98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #f3c9ae; }
.footer-grid { display: grid; gap: 2rem; }
.footer-name { font-family: var(--titre); font-size: 1.5rem; color: #fff; margin-bottom: .4rem; }
.footer-name span { font-weight: 600; }
.footer-phone { display: flex; align-items: center; gap: .5em; font-size: 1.2rem; font-weight: 700; }
.footer-title { font-family: var(--corps); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sauge); margin-bottom: .8rem; }
.site-footer .link-arrow { color: #fff; font-size: .95rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.footer-links a { text-decoration: none; }
.footer-copy { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: rgba(255, 255, 255, .6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

@media print {
  .site-header, .nav-toggle, .cta-band, .map, .hero-landscape { display: none !important; }
  body { font-size: 11pt; }
}
