/* Marion Godefroy - Diététicienne Nutritionniste */

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/fonts/roboto-latin-ext.woff2) format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/fonts/roboto-latin.woff2) format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --coral: #da5653;
    --coral-dark: #b8403d;
    --coral-tint: #fbefee;
    --ink: #2b2d33;
    --muted: #5f6368;
    --bg: #faf6f2;
    --surface: #ffffff;
    --line: #ece4dd;
    --slate: #2f3640;
    --link: #b8403d;
    --radius: 14px;
    --shadow: 0 2px 14px rgba(60, 40, 30, .07);
    --shadow-lg: 0 10px 28px rgba(60, 40, 30, .12);
    --max: 1140px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 16.5px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--coral); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-weight: 500; line-height: 1.25; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(22px, 3vw, 28px); }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--coral-dark); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 8px; }
.hidden { display: none; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center-text { text-align: center; }
.accent { color: var(--link); font-weight: 500; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; vertical-align: -.18em; flex: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 20px; border-radius: 10px; border: 2px solid transparent;
    font: inherit; font-weight: 500; line-height: 1.3; text-decoration: none; cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral-dark); color: #fff; }
.btn-primary:hover { background: var(--coral); color: #fff; }
.btn-ghost { border-color: var(--coral-dark); color: var(--link); background: transparent; }
.btn-ghost:hover { background: var(--coral-dark); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 17px; }
.btn-sm { padding: 6px 14px; font-size: 14px; margin-top: 8px; }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- Top bar ---------- */
.topbar { background: var(--slate); color: #fff; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar-phone:hover { text-decoration: underline; }
.doctolib-btn { display: inline-flex; align-items: center; gap: 8px; background: #0596de; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.4; transition: background .2s; }
.doctolib-btn:hover { background: #047fbc; color: #fff; }
.doctolib-btn img { height: 15px; width: auto; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 56px; height: 56px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 22px; font-weight: 500; color: var(--link); }
.brand-text small { font-size: 12.5px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; }

.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.main-nav a {
    display: block; padding: 8px 14px; border-radius: 8px;
    color: var(--ink); font-weight: 500; font-size: 15px; text-decoration: none;
}
.main-nav a:hover { background: var(--coral-tint); color: var(--link); }
.main-nav .active a { color: var(--link); background: var(--coral-tint); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); cursor: pointer; padding: 0; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--link); border-radius: 2px; position: relative; margin: 0 auto; transition: transform .2s, background .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Page layout ---------- */
.container.page { padding-top: 32px; padding-bottom: 56px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.layout-side { position: sticky; top: 112px; }

.card, .info-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 36px 40px;
    border: 1px solid var(--line);
}
.card > :last-child { margin-bottom: 0; }
.card h1 { position: relative; padding-bottom: 16px; margin-bottom: 24px; }
.card h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--coral); }
.prose h2 { margin-top: 1.4em; }
.prose h1 + h2 { margin-top: 0; }
.lead { font-size: 19px; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 500; color: var(--link); margin-bottom: 12px; }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }

.illustration { border-radius: var(--radius); margin: 24px 0; width: 100%; }

.section { margin-top: 56px; }
.section:first-child { margin-top: 0; }
.section-title { text-align: center; margin-bottom: 28px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; margin-bottom: 1.5em; }
.split-photo { grid-template-columns: 340px minmax(0, 1fr); align-items: start; }
.profile-photo img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }

/* ---------- Hero ---------- */
.hero {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; align-items: center;
    background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
    padding: 48px; background-image: radial-gradient(circle at 100% 0, var(--coral-tint), transparent 55%);
}
.hero h1 { margin-bottom: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-photo img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; max-width: 340px; margin: 0 auto; aspect-ratio: 350 / 503; object-fit: cover; }

/* ---------- Service cards ---------- */
.cards { --cols: 3; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; padding: 0; margin: 0 0 28px; }
.cards > .service-card { flex: 0 0 calc((100% - (var(--cols) - 1) * 20px) / var(--cols)); }
.service-card {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
    box-shadow: var(--shadow); border-top: 4px solid var(--coral); transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.service-card h3 { margin-bottom: 8px; }
.service-card h3 a { text-decoration: none; color: inherit; }
.service-card h3 a:hover { color: var(--link); }
.service-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Carousel (scroll-snap) ---------- */
.carousel { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--line); }
.carousel .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .track img { flex: 0 0 100%; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; scroll-snap-align: center; }
.carousel-btn {
    position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
    border: none; background: rgba(255, 255, 255, .88); color: #2b2d33; cursor: pointer; display: grid; place-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
.carousel-btn .icon { width: 24px; height: 24px; }

/* ---------- Prices ---------- */
.price-group { text-align: center; color: var(--muted); text-transform: uppercase; letter-spacing: 1.5px; font-size: 16px; margin: 28px 0 16px; }
.prices { display: grid; gap: 20px; margin-bottom: 12px; }
.prices-3 { grid-template-columns: repeat(3, 1fr); }
.prices-2 { grid-template-columns: repeat(2, 1fr); }
.price-card { text-align: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); transition: transform .2s, box-shadow .2s; }
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.price-label { background: var(--coral-dark); color: #fff; margin: 0; padding: 16px 12px 0; text-transform: uppercase; letter-spacing: .6px; font-size: 14px; font-weight: 500; }
.price { background: var(--coral-dark); color: #fff; margin: 0; padding: 0 12px 16px; font-size: 44px; font-weight: 500; line-height: 1.3; }
.price-desc { margin: 0; padding: 20px 12px; min-height: 84px; display: grid; place-items: center; font-size: 17px; }
.payment { display: flex; justify-content: center; gap: 14px; }
.payment img { height: 30px; width: auto; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: var(--surface); }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--link); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--link); }
.faq-item p { padding: 0 20px; margin: 0 0 16px; color: var(--muted); }

/* ---------- Forms ---------- */
.form-card { max-width: 640px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 500; margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
    border-radius: 10px; padding: 11px 14px; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(218, 86, 83, .22); }
.g-recaptcha { margin: 20px 0; }
.alert { border-radius: var(--radius); padding: 14px 20px; margin-bottom: 20px; font-weight: 500; }
.alert p { margin: 0; }
.alert-success { background: #e6f4ea; color: #1e5e32; }
.alert-danger { background: #fdeaea; color: #8a1f1f; }
/* ---------- Info panel ---------- */
.info-card { padding: 8px 24px; }
.info-block { padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: none; }
.info-block h2 { font-size: 15px; text-transform: uppercase; letter-spacing: 1px; color: var(--link); margin: 0 0 12px; }
.info-block p { margin: 0 0 6px; font-size: 15px; }
.info-block .icon { color: var(--coral); margin-right: 4px; }
.info-block .btn .icon { color: #fff; margin: 0; }
.social img { width: 40px; height: 40px; border-radius: 10px; }
.hours { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14.5px; }
.hours li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.hours li span:first-child { color: var(--muted); }
address { font-style: normal; font-size: 14.5px; line-height: 1.55; margin-bottom: 16px; }
address:last-child { margin-bottom: 0; }
address .btn { display: flex; width: fit-content; }
.section .info-card { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; padding: 8px 32px; }
.section .info-block { border-bottom: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: #cfd3d8; padding: 36px 0 20px; font-size: 14.5px; line-height: 1.8; }
.site-footer a { color: #fff; }
.site-footer strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-links { text-align: right; }
.footer-copy { margin: 24px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: #9aa0a8; }

/* ---------- Mobile CTA ---------- */
.mobile-cta { display: none; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .carousel .track { scroll-behavior: auto; }
    * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .layout { grid-template-columns: 1fr; }
    .layout-side { position: static; }
    .hero { grid-template-columns: 1fr; padding: 32px; gap: 28px; }
    .hero-photo { order: -1; }
    .hero-photo img { max-width: 220px; }
    .cards { --cols: 2; }
    .section .info-card { grid-template-columns: 1fr; }
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; padding: 8px 20px 16px; }
    .main-nav a { padding: 12px 14px; }
}
@media (max-width: 767px) {
    body { font-size: 16px; padding-bottom: 72px; }
    .topbar { display: none; }
    .header-inner { min-height: 72px; }
    .brand img { width: 44px; height: 44px; }
    .brand-text strong { font-size: 18px; }
    .brand-text small { font-size: 10px; letter-spacing: .6px; }
    .container.page { padding-top: 20px; }
    .card { padding: 26px 20px; }
    .split, .split-photo { grid-template-columns: 1fr; }
    .profile-photo img { max-width: 260px; margin: 0 auto; }
    .cards { --cols: 1; }
    .prices-3, .prices-2 { grid-template-columns: 1fr; }
    .hero { padding: 24px 20px; border-radius: 18px; }
    .footer-grid { grid-template-columns: 1fr; gap: 14px; }
    .footer-links { text-align: left; }
    .mobile-cta {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0, 0, 0, .1);
    }
    .mobile-cta .btn { padding: 11px 8px; }
}
.brand img { border-radius: 12px; }
