:root {
    --teal: #11a08e;
    --teal-dark: #0d8576;
    --teal-light: #e8f6f3;
    --red-cross: #d63031;
    --text: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --bg: #f8fafa;
    --border: #dfe6e9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0 2rem;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 72px;
}

.nav-logo {
    justify-self: start;
}

.nav-logo img {
    height: 40px;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--teal);
}

.nav-phone {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--teal);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: background 0.2s;
}

.nav-phone svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.nav-phone:hover {
    background: var(--teal-dark);
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    grid-column: 3;
    justify-self: end;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Hero */
.hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(165deg, var(--teal-light) 0%, var(--white) 60%);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-badge {
    display: inline-block;
    background: var(--teal);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: var(--text);
}

.hero h1 span {
    color: var(--teal);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.hero-locations {
    font-weight: 600;
    color: var(--text) !important;
    font-size: 1.05rem !important;
}

.hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    display: block;
    margin: 0 auto;
}

/* Hero centre (pages Feurs / Yssingeaux) */
.hero-centre {
    text-align: center;
    padding: 8rem 2rem 3rem;
}

.hero-centre .hero-content {
    max-width: 700px;
}

.hero-centre p {
    max-width: 500px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

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

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 550px;
    margin: 0 auto;
}

/* About */
.about {
    background: var(--bg);
}

.about-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    text-align: center;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--teal-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.about-feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--teal);
}

.about-feature h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Prise en charge */
.prise-en-charge-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.prise-en-charge-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.prise-en-charge-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.prise-en-charge-card.oui {
    border-color: var(--teal);
}

.prise-en-charge-card.oui h3 {
    color: var(--teal);
}

.prise-en-charge-card.non h3 {
    color: var(--text-light);
}

.prise-en-charge-card ul {
    list-style: none;
    padding: 0;
}

.prise-en-charge-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border);
}

.prise-en-charge-card ul li:last-child {
    border-bottom: none;
}

.prise-en-charge-card.oui ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
}

.prise-en-charge-card.non ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 8px;
    height: 8px;
    background: var(--text-light);
    border-radius: 50%;
}

/* Centres cards */
.centres-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.centre-card {
    display: block;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.centre-card:hover {
    border-color: var(--teal);
    box-shadow: 0 4px 20px rgba(17, 160, 142, 0.1);
}

.centre-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.centre-address {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.centre-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text);
    font-weight: 500;
}

.centre-link {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.95rem;
}

/* Hours & Info */
.info {
    background: var(--bg);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.info-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--border);
}

.info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.info-card h3 svg {
    width: 24px;
    height: 24px;
    color: var(--teal);
}

.hours-table {
    width: 100%;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border);
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row .day {
    font-weight: 500;
}

.hours-row .time {
    color: var(--teal);
    font-weight: 600;
}

.hours-row.closed .time {
    color: var(--text-light);
}

.info-detail {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.info-detail:last-child {
    margin-bottom: 0;
}

.info-detail svg {
    width: 20px;
    height: 20px;
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-detail p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-detail strong {
    display: block;
    margin-bottom: 0.2rem;
}

.info-notice {
    background: var(--teal-light);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.9rem;
    color: var(--teal-dark);
    font-weight: 500;
}

.info-notice.warning {
    background: #fff3cd;
    color: #856404;
    margin-top: 1.5rem;
}

.info-notice svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Contact CTA */
.cta {
    background: var(--teal);
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.cta p {
    font-size: 1.05rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: var(--white);
    color: var(--teal);
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.cta-phone svg {
    width: 24px;
    height: 24px;
}

/* Footer */
footer {
    background: var(--text);
    color: rgba(255,255,255,0.6);
    padding: 2.5rem 2rem;
    text-align: center;
    font-size: 0.85rem;
}

footer .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-logo {
    height: 36px;
    margin-bottom: 1rem;
    display: inline-block;
}

footer p {
    margin-bottom: 0.3rem;
}

.footer-legal {
    margin-top: 1rem !important;
    font-size: 0.8rem;
}

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

.footer-legal a {
    color: inherit;
}

/* Map */
.map-container {
    margin-top: 2rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.map-container iframe {
    width: 100%;
    height: 250px;
    border: none;
    display: block;
}

/* Mentions légales */
.mentions-legales h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.mentions-legales h2:first-child {
    margin-top: 0;
}

.mentions-legales p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.8rem;
}

.mentions-legales a {
    color: var(--teal);
    text-decoration: none;
}

/* Mobile */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 0;
        border-bottom: 1px solid var(--border);
        gap: 0;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .nav-links.open a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.open li:last-child a {
        border-bottom: none;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        text-align: center;
    }

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

    .about-grid-3 {
        grid-template-columns: 1fr;
    }

    .prise-en-charge-grid {
        grid-template-columns: 1fr;
    }

    .centres-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 600px) {
    .nav-phone span.phone-text {
        display: none;
    }

    .hero h1 {
        font-size: 1.6rem;
    }
}
