:root {
    --ink: #183b3a;
    --muted: #5f7773;
    --teal: #0f766e;
    --teal-dark: #095c56;
    --mint: #dff5ed;
    --mint-soft: #f3fbf8;
    --orange: #f28c5b;
    --yellow: #f8cc65;
    --white: #ffffff;
    --border: #dcece7;
    --shadow: 0 18px 45px rgba(19, 74, 67, .10);
    --radius: 1.25rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

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

.container {
    width: min(1120px, calc(100% - 2.5rem));
    margin-inline: auto;
}

.section-padding {
    padding: 5.5rem 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 100;
    padding: .75rem 1rem;
    color: var(--white);
    background: var(--teal-dark);
    border-radius: .5rem;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid rgba(220, 236, 231, .8);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: var(--ink);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: -.02em;
}

.logo-mark {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    color: var(--white);
    background: var(--orange);
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
}

.logo-accent {
    color: var(--orange);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1.45rem;
    font-size: .92rem;
    font-weight: 650;
}

.main-nav a {
    position: relative;
    padding: .3rem 0;
    color: var(--muted);
    text-decoration: none;
}

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

.main-nav a.active::after {
    position: absolute;
    right: 0;
    bottom: -.55rem;
    left: 0;
    height: 2px;
    background: var(--orange);
    content: "";
}

.menu-toggle {
    display: none;
    border: 0;
    color: var(--teal);
    background: transparent;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #effbf7 0%, #ffffff 62%);
}

.hero::after {
    position: absolute;
    right: -8rem;
    bottom: -11rem;
    width: 28rem;
    height: 28rem;
    border: 4rem solid rgba(248, 204, 101, .16);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: 600px;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 3rem;
    padding: 5rem 0 5.5rem;
}

.eyebrow {
    margin: 0 0 .85rem;
    color: var(--orange);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.15;
    letter-spacing: -.04em;
}

h1 {
    max-width: 620px;
    font-size: clamp(3.5rem, 8vw, 6.4rem);
    color: var(--teal-dark);
}

h1 span {
    color: var(--orange);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.35rem;
}

.hero-subtitle {
    max-width: 580px;
    margin: 1.45rem 0 .9rem;
    color: var(--ink);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.4;
}

.hero-text {
    max-width: 590px;
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: .75rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 118, 110, .16);
}

.button-primary {
    color: var(--white);
    background: var(--teal);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--teal-dark);
}

.button-secondary {
    color: var(--teal);
    border-color: var(--teal);
    background: transparent;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    color: var(--white);
    background: var(--teal);
}

.button-light {
    color: var(--teal-dark);
    background: var(--white);
}

.hero-illustration {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.hero-illustration::before {
    position: absolute;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: var(--mint);
    content: "";
}

.sun {
    position: absolute;
    top: 3rem;
    right: 3rem;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 0 0 0 1rem rgba(248, 204, 101, .15);
}

.person-illustration {
    position: relative;
    z-index: 1;
    width: 190px;
    height: 280px;
    transform: rotate(-5deg);
}

.person-head {
    position: absolute;
    top: 0;
    left: 65px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f3bd8d;
}

.person-head::before {
    position: absolute;
    top: -5px;
    left: -3px;
    width: 69px;
    height: 35px;
    border-radius: 50% 50% 25% 25%;
    background: #4b3730;
    content: "";
}

.person-body {
    position: absolute;
    top: 63px;
    left: 50px;
    width: 86px;
    height: 105px;
    border-radius: 42px 42px 18px 18px;
    background: var(--orange);
}

.person-arm,
.person-leg {
    position: absolute;
    display: block;
    border-radius: 999px;
    transform-origin: top center;
}

.person-arm {
    top: 75px;
    width: 20px;
    height: 105px;
    background: #f3bd8d;
}

.person-arm-left {
    left: 44px;
    transform: rotate(40deg);
}

.person-arm-right {
    left: 125px;
    transform: rotate(-55deg);
}

.person-leg {
    top: 156px;
    width: 24px;
    height: 125px;
    background: var(--teal);
}

.person-leg-left {
    left: 67px;
    transform: rotate(28deg);
}

.person-leg-right {
    left: 105px;
    transform: rotate(-35deg);
}

.illustration-card {
    position: absolute;
    z-index: 2;
    padding: .7rem 1rem;
    color: var(--ink);
    background: var(--white);
    border-radius: .8rem;
    box-shadow: var(--shadow);
    font-size: .86rem;
    font-weight: 750;
}

.illustration-card-top {
    top: 5rem;
    left: 0;
    transform: rotate(-5deg);
}

.illustration-card-bottom {
    right: 0;
    bottom: 4rem;
    transform: rotate(4deg);
}

.intro {
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 5rem;
    align-items: center;
}

.heading-line {
    width: 64px;
    height: 4px;
    margin-top: 1.5rem;
    border-radius: 99px;
    background: var(--orange);
}

.intro-text {
    color: var(--muted);
    font-size: 1.08rem;
}

.intro-text p {
    margin: 0 0 1rem;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.pillars {
    background: var(--mint-soft);
}

.center-heading {
    max-width: 680px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.center-heading > p:last-child {
    margin: 1rem auto 0;
    color: var(--muted);
}

.card-grid {
    display: grid;
    gap: 1.35rem;
}

.pillars-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pillar-card {
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--teal);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(19, 74, 67, .04);
    transition: transform .2s ease, box-shadow .2s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.pillar-food {
    border-top-color: var(--orange);
}

.pillar-move {
    border-top-color: var(--teal);
}

.pillar-motivation {
    border-top-color: var(--yellow);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 1.25rem;
    border-radius: 1rem;
    background: var(--mint);
    font-size: 1.5rem;
}

.pillar-food .card-icon {
    background: #fff0e7;
}

.pillar-motivation .card-icon {
    background: #fff8db;
}

.pillar-card p {
    min-height: 108px;
    margin: 1rem 0 1.4rem;
    color: var(--muted);
    font-size: .96rem;
}

.text-link {
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--orange);
}

.starting-point {
    background: var(--white);
}

.start-grid {
    grid-template-columns: repeat(3, 1fr);
}

.start-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 120px;
    padding: 1.3rem 1.4rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 1rem;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.start-card:hover,
.start-card:focus-visible {
    border-color: var(--teal);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.start-number {
    color: var(--orange);
    font-size: 1.6rem;
    font-weight: 850;
}

.start-title {
    flex: 1;
    font-weight: 750;
}

.start-arrow {
    color: var(--teal);
    font-size: 1.3rem;
    font-weight: 800;
}

.call-to-action {
    padding-top: 1rem;
    background: var(--white);
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem clamp(1.5rem, 5vw, 4rem);
    color: var(--white);
    background: var(--teal);
    border-radius: var(--radius);
    overflow: hidden;
}

.cta-box h2 {
    color: var(--white);
}

.cta-box p:not(.eyebrow) {
    max-width: 680px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .85);
}

.health-notice {
    padding: 2rem 0;
    color: var(--ink);
    background: #fffaf0;
    border-top: 1px solid #f7e6b7;
    border-bottom: 1px solid #f7e6b7;
}

.notice-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.notice-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 1.8rem;
    height: 1.8rem;
    color: var(--white);
    background: var(--orange);
    border-radius: 50%;
    font-weight: 800;
}

.notice-inner h2 {
    margin-top: .1rem;
    font-size: 1rem;
    letter-spacing: 0;
}

.notice-inner p {
    max-width: 950px;
    margin: .3rem 0 0;
    color: var(--muted);
    font-size: .9rem;
}

.site-footer {
    padding: 3.5rem 0 1.5rem;
    color: rgba(255, 255, 255, .78);
    background: #123b3a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
}

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

.site-footer p {
    max-width: 360px;
    margin: 1rem 0 0;
    font-size: .92rem;
}

.site-footer h2 {
    margin-bottom: .9rem;
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 0;
}

.site-footer a:not(.site-logo) {
    display: block;
    width: fit-content;
    margin: .35rem 0;
    color: inherit;
    font-size: .9rem;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.footer-bottom p {
    margin: 0;
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 3px;
}

@media (max-width: 850px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 76px;
        right: 1.25rem;
        left: 1.25rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: .75rem 1rem;
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 1rem;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: .65rem 0;
    }

    .main-nav a.active::after {
        right: auto;
        bottom: .35rem;
        width: 2rem;
    }

    .hero-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        padding-top: 4rem;
    }

    .hero-illustration {
        min-height: 330px;
    }

    .intro-grid {
        gap: 2rem;
    }

    .pillars-grid,
    .start-grid {
        grid-template-columns: 1fr;
    }

    .pillar-card p {
        min-height: auto;
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 1.5rem, 1120px);
    }

    .section-padding {
        padding: 4rem 0;
    }

    .hero-grid {
        min-height: auto;
        padding: 3.5rem 0 4rem;
    }

    h1 {
        font-size: clamp(3rem, 17vw, 4.5rem);
    }

    .hero-illustration {
        transform: scale(.86);
    }

    .hero-illustration::before {
        width: 18rem;
        height: 18rem;
    }

    .footer-grid,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-bottom {
        display: grid;
    }

    .button-group {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }
}

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

.footer-social {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    text-align: center;
}

.footer-social h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 0;
}

.footer-social p {
    max-width: 520px;
    margin: 0.5rem auto 1.25rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.social-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 145px;
    padding: 0.65rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
}

.social-icon {
    display: inline-grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    color: #ffffff;
    flex: 0 0 auto;
}

.social-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Couleur de survol par défaut (si aucune classe spécifique) */
.social-link:hover .social-icon,
.social-link:focus-visible .social-icon {
    color: #9db1fc;
}

/* Facebook : bleu officiel (environ #1877F2) */
.social-facebook:hover,
.social-facebook:focus-visible {
    color: #1877f2 !important;
}

.social-facebook:hover .social-icon,
.social-facebook:focus-visible .social-icon {
    color: #1877f2;
}

/* Instagram : dégradé typique (on simule avec une couleur principale #E4405F) */
.social-instagram:hover,
.social-instagram:focus-visible {
    color: #e4405f !important;
}

.social-instagram:hover .social-icon,
.social-instagram:focus-visible .social-icon {
    color: #e4405f;
}
