/* =========================================
   Design Tokens
   ========================================= */
:root {
    --navy: #0D2B1E;
    --navy-mid: #1B4A34;
    --accent: #1E7A4E;
    --accent-hover: #196640;
    --text: #1A2B24;
    --text-secondary: #586E62;
    --bg: #FFFFFF;
    --bg-alt: #F4F7F5;
    --border: #DCE8E1;
    --white: #FFFFFF;

    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

    --radius: 6px;
    --radius-lg: 12px;
    --shadow: 0 2px 12px rgba(13, 43, 30, 0.08);
    --shadow-md: 0 4px 20px rgba(13, 43, 30, 0.14);

    --container: 1160px;
    --section-pad: 5rem;
    --nav-height: 72px;
}

/* =========================================
   Reset & Base
   ========================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

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

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover { color: var(--accent-hover); }

a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

ul, ol { list-style: none; }
address { font-style: normal; }
h1, h2, h3 { line-height: 1.25; }
h1, h2 { font-family: var(--font-serif); }

/* =========================================
   Layout
   ========================================= */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-alt); }

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.625rem, 3vw, 2rem);
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.section-intro {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.75;
}

.section-cta {
    margin-top: 2.5rem;
    text-align: center;
}

/* =========================================
   Navigation
   ========================================= */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: var(--nav-height);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

#navbar.scrolled { box-shadow: var(--shadow); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
    gap: 1.5rem;
}

.nav-brand {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-brand:hover { color: var(--accent); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex-wrap: nowrap;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    padding: 0.45rem 0.7rem;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.nav-links a:hover {
    background: var(--bg-alt);
    color: var(--navy);
}

.nav-links a.active { color: var(--accent); }

.nav-lang {
    margin-left: 0.5rem;
}

.nav-lang a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.3rem 0.65rem !important;
}

.nav-lang a:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    background: transparent !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.4;
}

.btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border-color: var(--border);
}

.btn-secondary:hover {
    background: var(--bg-alt);
    color: var(--navy);
}

.btn-light {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-light:hover {
    background: #EAEEED;
    color: var(--navy);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.btn-link {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    font-size: 0.9375rem;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: var(--font-sans);
}

.btn-link:hover { color: var(--accent-hover); }

/* =========================================
   Hero
   ========================================= */
.hero {
    background: linear-gradient(140deg, #071812 0%, #0D2B1E 50%, #1B4A34 100%);
    color: var(--white);
    padding: calc(var(--nav-height) + 5rem) 0 5rem;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.hero-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-body {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    line-height: 1.75;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-image img {
    width: 100%;
    max-width: 360px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    object-position: top center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

/* =========================================
   Réassurance
   ========================================= */
.reassurance {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.75rem 0;
}

.reassurance-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.reassurance-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.5;
}

.reassurance-item::before {
    content: '';
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.4rem;
}

/* =========================================
   À propos
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
}

.about-text .lead {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1.25rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.bio-extended p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.bio-extended {
    margin-top: 0.25rem;
}

.bio-toggle {
    margin-top: 0.75rem;
}

.about-credentials {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
}

.about-credentials > h3 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.09em;
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
}

.credentials-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.credentials-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.credentials-list li:first-child { padding-top: 0; }
.credentials-list li:last-child { border-bottom: none; padding-bottom: 0; }

.credential-year {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--accent);
}

.credential-text {
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.5;
}

.languages {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.languages h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-family: var(--font-sans);
}

.languages p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* =========================================
   Consultations
   ========================================= */
.consult-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.consult-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.375rem 1.5rem;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.consult-card:hover {
    box-shadow: var(--shadow);
    border-color: #BEC9D9;
}

.consult-card.highlight {
    border-left: 3px solid var(--accent);
}

.consult-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
    font-family: var(--font-sans);
}

.consult-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================================
   Two-column sections
   ========================================= */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.two-col-text h2 {
    font-size: clamp(1.625rem, 3vw, 2rem);
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.two-col-text .lead {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 1rem;
}

.two-col-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.two-col-text .btn { margin-top: 0.75rem; }

.placeholder-image {
    background: var(--bg-alt);
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

/* =========================================
   Pathologies
   ========================================= */
.patho-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.patho-card {
    padding: 1.375rem 1.5rem;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--border);
}

.patho-card h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 0.4rem;
    font-family: var(--font-sans);
}

.patho-card p {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =========================================
   Informations pratiques
   ========================================= */
.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.info-block h3 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--navy);
    margin-bottom: 1rem;
    font-family: var(--font-sans);
}

.info-block address {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.85;
    margin-bottom: 0.75rem;
}

.info-block p {
    font-size: 0.9375rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.link-external {
    font-size: 0.875rem;
}

.contact-link {
    color: var(--text);
    font-weight: 500;
}

.contact-link:hover { color: var(--accent); }

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.hours-table td {
    padding: 0.3rem 0;
    color: var(--text);
    vertical-align: top;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--text-secondary);
    padding-left: 0.5rem;
}

.info-note {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.75rem !important;
}

/* =========================================
   FAQ
   ========================================= */
.faq-list {
    max-width: 740px;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    text-align: left;
    gap: 1rem;
    font-family: var(--font-sans);
    line-height: 1.5;
}

.faq-question::after {
    content: '+';
    font-size: 1.375rem;
    color: var(--accent);
    flex-shrink: 0;
    line-height: 1;
    font-weight: 300;
    transition: transform 0.25s;
}

.faq-question[aria-expanded="true"]::after {
    transform: rotate(45deg);
}

.faq-question:hover { color: var(--navy); }

.faq-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
    border-radius: 2px;
}

.faq-answer { padding-bottom: 1.25rem; }

.faq-answer p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.faq-answer a { color: var(--accent); }

/* =========================================
   Contact section
   ========================================= */
.contact-inner {
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
}

.contact-inner h2 {
    font-size: clamp(1.625rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-inner > p:not(.contact-note) {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.contact-note {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.65;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background: #071812;
    color: rgba(255, 255, 255, 0.6);
    padding: 2.5rem 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-left p {
    font-size: 0.875rem;
    margin-bottom: 0.4rem;
}

.footer-left strong {
    color: rgba(255, 255, 255, 0.85);
}

.footer-left address { font-size: 0.8125rem; }

.footer-right {
    text-align: right;
}

.footer-right p {
    font-size: 0.875rem;
    margin-bottom: 0.35rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.footer a:hover { color: var(--white); }

.footer-legal {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.3);
    min-height: 1em;
}

/* =========================================
   Responsive — 1024px
   ========================================= */
@media (max-width: 1024px) {
    .info-grid { grid-template-columns: 1fr 1fr; }
    .patho-grid { grid-template-columns: repeat(2, 1fr); }
    .reassurance-list { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   Responsive — 768px
   ========================================= */
@media (max-width: 768px) {
    :root { --section-pad: 3.5rem; }

    /* Mobile nav */
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 1.5rem 1.25rem;
        gap: 0.1rem;
        box-shadow: var(--shadow);
    }

    .nav-links.open { display: flex; }
    .nav-links a { width: 100%; }
    .nav-lang { margin-left: 0; width: auto; }
    .nav-toggle { display: flex; }

    /* Hero */
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-image { order: -1; }

    .hero-image img { max-width: 220px; }

    .hero-body { margin: 0 auto 2.5rem; }
    .hero-actions { justify-content: center; }

    /* Grids */
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .two-col { grid-template-columns: 1fr; gap: 2rem; }
    .consult-grid { grid-template-columns: 1fr 1fr; }

    /* Footer */
    .footer-right { text-align: left; }
    .footer-inner { flex-direction: column; gap: 1.25rem; }
}

/* =========================================
   Responsive — 480px
   ========================================= */
@media (max-width: 480px) {
    .consult-grid { grid-template-columns: 1fr; }
    .patho-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .reassurance-list { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: center; }
    .contact-actions { flex-direction: column; align-items: center; }
    .btn { text-align: center; }
}
