:root {
    --noir: #000000;
    --terracotta: #E27250;
    --dore: #FFD700;
    --creme: #FAF6EF;
    --creme-fonce: #F0E9DC;
    --gris-texte: #5B564E;
    --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: var(--noir);
    background: var(--creme);
    line-height: 1.5;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 24px;
}

/* NAV */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(250, 246, 239, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.nav__logo {
    display: flex;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    align-items: center;
}
.nav__logo img{
    display: initial;
    height:70px;
}
.nav__logo span { color: var(--terracotta); }
.nav__links {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    font-weight: 600;
}
.nav__cta {
    background: var(--noir);
    color: #fff;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background:
    radial-gradient(ellipse at top right, rgba(226,114,80,0.15), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(255,215,0,0.12), transparent 50%),
    var(--creme);
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--noir);
    color: var(--dore);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.hero h1 em {
    font-style: normal;
    color: var(--terracotta);
}
.hero p.lead {
    font-size: 1.15rem;
    color: var(--gris-texte);
    max-width: 46ch;
    margin-bottom: 2.2rem;
}
.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s ease, opacity 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--terracotta); color: #fff; }
.btn--dark { background: var(--noir); color: #fff; }
.btn--outline { background: transparent; color: var(--noir); border: 1.5px solid var(--noir); }

.hero__visual {
    position: relative;
    aspect-ratio: 4 / 5;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    background-size: cover;
    background-position: center;
}
.hero__visual--gradient {
    background-image: linear-gradient(160deg, var(--noir) 0%, #1a1a1a 60%, var(--terracotta) 140%);
}
.hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 35%, rgba(0,0,0,0.6) 100%);
}
.hero__visual--gradient::after {
    background: radial-gradient(circle at 30% 20%, rgba(255,215,0,0.25), transparent 45%),
                linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.35) 100%);
}
.hero__card {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    padding: 1.4rem;
    color: #fff;
    width: 100%;
}
.hero__card strong { color: var(--dore); display: block; font-size: 1.6rem; margin-bottom: 0.2rem; }
.hero__card span { font-size: 0.85rem; opacity: 0.8; }

/* SECTION GENERIQUE */
section { padding: 6rem 0; }
.section__eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terracotta);
    margin-bottom: 0.8rem;
}
.section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    max-width: 20ch;
    margin-bottom: 1rem;
}
.section__lead {
    color: var(--gris-texte);
    max-width: 60ch;
    font-size: 1.05rem;
}
.section__header { margin-bottom: 3rem; }

/* PRESENTATION */
.presentation { background: #fff; }
.presentation__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.value-card {
    background: var(--creme);
    border-radius: var(--radius);
    padding: 2rem;
}
.value-card__icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--noir);
    color: var(--dore);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}
.value-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.value-card p { color: var(--gris-texte); font-size: 0.95rem; }

/* FEATURES */
.features { background: var(--creme-fonce); }
.features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.feature-item {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.8rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.feature-item__badge {
    flex-shrink: 0;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--terracotta);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
}
.feature-item h4 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.feature-item p { color: var(--gris-texte); font-size: 0.9rem; }

/* ACCOMPAGNEMENT */
.accompagnement {
    background: var(--noir);
    color: #fff;
}
.accompagnement .section__eyebrow { color: var(--dore); }
.accompagnement .section__lead { color: rgba(255,255,255,0.7); }
.accompagnement__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    counter-reset: step;
}
.step {
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 1.6rem;
    position: relative;
}
.step::before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--terracotta);
    font-weight: 800;
    margin-bottom: 1rem;
}
.step h4 { margin-bottom: 0.4rem; }
.step p { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--terracotta), #c65a3a);
    border-radius: 28px;
    color: #fff;
    padding: 4rem;
    text-align: center;
    margin: 0 24px;
    max-width: 1132px;
    margin-inline: auto;
}
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 1rem; }
.cta p { max-width: 50ch; margin: 0 auto 2rem; opacity: 0.92; }
.cta-form {
    display: flex;
    gap: 0.75rem;
    max-width: 420px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.cta-form input {
    flex: 1;
    min-width: 220px;
    padding: 0.9rem 1.2rem;
    border-radius: 999px;
    border: none;
    font-size: 0.95rem;
}
.cta-form button {
    background: var(--noir);
    color: var(--dore);
}
.cta__note { font-size: 0.8rem; opacity: 0.75; margin-top: 1rem; }

/* FOOTER */
footer {
    padding: 4rem 0 2rem;
    text-align: center;
    color: var(--gris-texte);
    font-size: 0.85rem;
}
footer .footer__logo { font-weight: 800; font-size: 1.1rem; color: var(--noir); margin-bottom: 0.5rem; }
footer .footer__logo span { color: var(--terracotta); }
footer .footer__links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
footer .footer__links button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--gris-texte);
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
footer .footer__links button:hover { color: var(--noir); }

/* MODAL (mentions légales / CGU) */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal.is-open { display: flex; }
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}
.modal__panel {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 680px;
    width: 100%;
    max-height: 82vh;
    overflow-y: auto;
    padding: 2rem;
}
.modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.modal__header h3 { font-size: 1.4rem; font-weight: 800; }
.modal__close {
    background: var(--creme-fonce);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    color: var(--noir);
    flex-shrink: 0;
}
.modal__close:hover { background: var(--terracotta); color: #fff; }
.modal__body { color: var(--gris-texte); font-size: 0.95rem; line-height: 1.7; }
.modal__body p { margin-bottom: 1em; }
.modal__body h1, .modal__body h2, .modal__body h3 { color: var(--noir); margin: 1.2em 0 0.5em; }

/* REVEAL ANIMATION */
[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 860px) {
    .nav__links { display: none; }
    .hero { min-height: auto; align-items: flex-start; padding-top: 120px; }
    .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero__visual { aspect-ratio: 4 / 3; }
    .presentation__grid { grid-template-columns: 1fr; }
    .features__grid { grid-template-columns: 1fr; }
    .accompagnement__steps { grid-template-columns: 1fr 1fr; }
    .cta { padding: 2.5rem 1.5rem; }
}
