/* Accueil uniquement. */
.section-home {
    --section-accent: var(--accent);
}

.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
}

.hero h1 {
    margin: 12px 0;
    font-size: 48px;
    line-height: 1.02;
}

.hero p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.65;
}

.home-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    min-height: 650px;
    margin: -34px calc(50% - 50vw) 0;
    padding: clamp(4rem, 9vw, 8rem) max(18px, calc((100vw - 1144px)/2));
    overflow: hidden;
    color: #fff;
    background: radial-gradient(circle at 82% 12%, rgba(197, 148, 63, .24), transparent 32%), linear-gradient(135deg, #35261c, #5a402c);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(25, 19, 15, .35), rgba(25, 19, 15, .05));
}

.home-hero::after {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    right: -150px;
    top: -180px;
    z-index: -1;
    border-radius: 50%;
    background: rgba(216, 191, 159, .2);
    filter: blur(10px);
}

.home-hero-content {
    max-width: 760px;
}

.home-eyebrow {
    display: inline-flex;
    padding: .45rem .8rem;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-eyebrow.dark {
    color: var(--primary-dark);
    border-color: var(--light-brown);
    background: var(--card-soft);
}

.home-hero h1 {
    max-width: 760px;
    margin: 1.3rem 0;
    font-size: clamp(2.7rem, 6vw, 5.6rem);
    line-height: .96;
    letter-spacing: -.06em;
}

.home-hero-content>p {
    max-width: 680px;
    color: #e8dfd7;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    line-height: 1.7;
}

.home-actions,
.home-reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.home-actions {
    margin: 2rem 0;
}

.home-primary {
    background: var(--section-accent);
}

.home-primary:hover {
    background: #a9782d;
}

.home-hero .btn.secondary {
    background: rgba(255, 255, 255, .12);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .25);
}

.home-reassurance {
    color: #d9d0c8;
    font-size: .9rem;
}

.home-note {
    justify-self: end;
    max-width: 360px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 28px;
    background: rgba(255, 253, 249, .11);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
    backdrop-filter: blur(14px);
    transform: rotate(1.5deg);
}

.home-note-icon {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border-radius: 16px;
    background: var(--accent);
    font: 800 2rem Georgia, serif;
}

.home-note h2 {
    font-size: 1.7rem;
}

.home-note p {
    color: #e8dfd7;
    line-height: 1.65;
}

.home-mini-equation {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(0, 0, 0, .25);
    font: italic 1.6rem Georgia, serif;
    text-align: center;
}

.home-section {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.home-section-heading {
    max-width: 660px;
    margin: 0 auto 2.7rem;
    text-align: center;
}

.home-section-heading>span,
.home-final>span {
    color: var(--accent);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
    font-size: .78rem;
}

.home-section-heading h2,
.home-audience h2,
.home-final h2 {
    margin: .55rem 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.home-section-heading p,
.home-feature p,
.home-audience p {
    color: var(--muted);
    line-height: 1.7;
}

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

.home-feature {
    padding: 2rem;
    border: 1px solid color-mix(in srgb, var(--section-accent) 16%, var(--border));
    border-radius: 24px;
    background: var(--card);
    box-shadow: 0 15px 45px rgba(71, 55, 40, .05);
}

.home-feature>span {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 14px;
    background: #f3e6d5;
    color: var(--primary-dark);
    font-size: 1.35rem;
}

.home-feature:nth-child(2)>span {
    background: #f8edcf;
    color: #8c6728;
}

.home-feature:nth-child(3)>span {
    background: #edf3eb;
    color: var(--green);
}

.home-feature h3 {
    margin: 1.2rem 0 .3rem;
    font-size: 1.25rem;
}

.home-audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-bottom: clamp(4rem, 8vw, 7rem);
    overflow: hidden;
    border-radius: 30px;
    background: var(--border);
}

.home-audience>div {
    padding: clamp(2rem, 5vw, 4rem);
    background: var(--card);
}

.home-audience h2 {
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-dark);
    font-weight: 850;
    text-decoration: none;
}

.home-final {
    margin-bottom: 3rem;
    padding: clamp(3rem, 7vw, 6rem);
    border: 1px solid var(--border);
    border-radius: 32px;
    text-align: center;
    background: linear-gradient(135deg, #f2e3d1, #fbf3df);
}

.home-final h2 {
    max-width: 750px;
    margin: .7rem auto 1.8rem;
}

@media(max-width:800px) {

    .hero,
    .home-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero h1 {
        font-size: 36px;
    }

    .home-note {
        display: none;
    }

    .home-feature-grid,
    .home-audience {
        grid-template-columns: 1fr;
    }

    .home-hero h1 {
        font-size: clamp(2.6rem, 13vw, 4.3rem);
    }

    .home-reassurance {
        display: grid;
        gap: .5rem;
    }
}

html[data-theme="dark"] .home-feature,
html[data-theme="dark"] .home-audience>div {
    background: var(--card);
}

html[data-theme="dark"] .home-final {
    background: linear-gradient(135deg, #352a23, #2b241e);
}