/* =========================
   Hero
   ========================= */
.home-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-6);
    text-align: center;
    padding: var(--space-8) 0 var(--space-6);
}

#imageContainer {
    margin: 0 auto;
    width: 200px;
}

.profile-image {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 35%;
    display: block;
}

.home-hero__name {
    font-size: 2.6rem;
    line-height: 1.1;
    margin: 0 0 var(--space-2);
    color: var(--color-text-main);
}

.home-hero h1 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.home-hero__lead {
    font-size: var(--text-lg);
    max-width: 36rem;
    margin: 0 auto var(--space-3);
}

.home-hero__place {
    color: var(--color-text-muted);
    margin: 0 auto var(--space-4);
    max-width: 36rem;
}

.home-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-2) var(--space-4);
    list-style: none;
    padding: 0;
    margin: 0 auto var(--space-2);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.home-trust li {
    display: flex;
    align-items: center;
}

.home-trust .google-rating {
    margin: 0;
}

.home-trust .google-rating--compact {
    justify-content: center;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
    margin-top: var(--space-6);
    width: 100%;
    max-width: var(--button-max-width);
    margin-left: auto;
    margin-right: auto;
}

.hero-cta .main-btn {
    margin: 0;
    width: 100%;
    max-width: none;
    text-decoration: none;
    color: var(--color-text-main);
}

.hero-cta__phone {
    background: transparent;
    border: 2px solid var(--color-primary);
}

.hero-cta__phone:hover {
    background: var(--color-primary-light);
}

@media (min-width: 520px) {
    .hero-cta {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        max-width: none;
    }

    .hero-cta .main-btn {
        width: auto;
        min-width: 12.5rem;
    }
}

.home-section-lead {
    max-width: 42rem;
    margin: 0 auto var(--space-8);
    color: var(--color-text-muted);
}

/* =========================
   Pour qui
   ========================= */
.home-audience__grid,
.home-offers__grid,
.home-process__grid {
    display: grid;
    gap: var(--space-6);
    width: 100%;
}

.home-audience__grid {
    grid-template-columns: 1fr;
}

.home-card,
.home-offer,
.home-process__step {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.home-card h3,
.home-offer h3,
.home-process__step h3 {
    margin-bottom: var(--space-3);
}

.home-card p {
    margin-bottom: var(--space-4);
}

/* =========================
   Offres + tarifs
   ========================= */
.home-offers__group {
    margin-bottom: var(--space-2);
}

.home-offers__group-meta {
    color: var(--color-text-muted);
    margin-bottom: var(--space-6);
}

.home-offers__grid {
    grid-template-columns: 1fr;
}

.home-offer {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    border-color: var(--degrade-abricot-4);
}

.home-offer p {
    margin: 0;
}

.home-offer__eyebrow {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-offer__price {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-bold);
}

.home-offer--featured {
    background: linear-gradient(180deg, #fff8e8 0%, #fff 42%);
    border-width: 2px;
    border-color: var(--color-primary);
}

.home-offer--soin {
    border-color: var(--degrade-pomme-4);
}

.home-offer--muted {
    border-color: var(--degrade-ocean-3);
    opacity: 0.96;
}

.home-offer__ctas {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin-top: var(--space-2);
}

.home-offer__ctas .main-btn {
    margin: 0;
    width: 100%;
    max-width: none;
}

.home-offer__more {
    text-decoration: underline;
    font-size: var(--text-sm);
    align-self: flex-start;
}

.home-offers__note {
    margin-top: var(--space-6);
}

.home-offers__grid--two {
    margin-top: 0;
}

/* =========================
   Déroulement
   ========================= */
.home-process__grid {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-8);
    grid-template-columns: 1fr;
}

.home-process__step {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.home-process__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

.home-process .main-btn {
    margin-top: 0;
}

/* =========================
   Qui je suis
   ========================= */
.home-about p {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.home-about__proof {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    margin: var(--space-6) 0;
}

.home-about__certs {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    max-width: 42rem;
    width: 100%;
}

.home-about__certs li {
    padding-left: var(--space-4);
    border-left: 4px solid var(--color-primary);
}

.home-final {
    text-align: center;
}

.home-final p {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.home-final .hero-cta {
    margin-top: var(--space-8);
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   Transition paysage
   ========================= */
#transition_numerologie > div {
    background-position: center center;
    background-image: url("/assets/img/puy-de-dome-small.jpg");
    background-image: -webkit-image-set(
        url("/assets/img/puy-de-dome-small.avif") type("image/avif"),
        url("/assets/img/puy-de-dome-small.webp") type("image/webp")
    );
    background-image: image-set(
        url("/assets/img/puy-de-dome-small.avif") type("image/avif"),
        url("/assets/img/puy-de-dome-small.webp") type("image/webp")
    );
}

#transition_numerologie > div::before {
    background-color: rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    #transition_numerologie > div {
        background-image: url("/assets/img/puy-de-dome-medium.jpg");
        background-image: -webkit-image-set(
            url("/assets/img/puy-de-dome-medium.avif") type("image/avif"),
            url("/assets/img/puy-de-dome-medium.webp") type("image/webp")
        );
        background-image: image-set(
            url("/assets/img/puy-de-dome-medium.avif") type("image/avif"),
            url("/assets/img/puy-de-dome-medium.webp") type("image/webp")
        );
    }

    .home-audience__grid,
    .home-offers__grid,
    .home-offers__grid--two,
    .home-process__grid {
        grid-template-columns: 1fr 1fr;
    }

    .home-offer__ctas {
        flex-direction: row;
    }

    .home-offer__ctas .main-btn {
        width: auto;
        flex: 1;
    }

    .home-about__proof {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: var(--space-10);
        text-align: left;
    }

    .home-about__certs {
        margin: 0;
        flex: 1;
        max-width: 28rem;
    }
}

@media (min-width: 1024px) {
    main.container {
        padding-top: 0 !important;
    }

    .home-hero {
        padding-top: var(--space-10);
    }

    .home-hero h1 {
        font-size: var(--text-3xl);
    }

    .home-hero__name {
        font-size: 3.4rem;
    }

    .home-card,
    .home-offer,
    .home-process__step,
    .home-about,
    .home-audience,
    .home-offers,
    .home-others,
    .home-process {
        text-align: left;
    }

    .home-section-lead,
    .home-offers__note,
    .home-hero__lead,
    .home-hero__place {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .home-audience h2,
    .home-offers h2,
    .home-others h2,
    .home-process h2,
    .home-about h2,
    .home-final h2,
    .home-offers__group,
    .home-offers__group-meta {
        text-align: center;
    }
}

@media (min-width: 1200px) {
    #transition_numerologie > div {
        background-image: url("/assets/img/puy-de-dome-large.jpg");
        background-image: -webkit-image-set(
            url("/assets/img/puy-de-dome-large.avif") type("image/avif"),
            url("/assets/img/puy-de-dome-large.webp") type("image/webp")
        );
        background-image: image-set(
            url("/assets/img/puy-de-dome-large.avif") type("image/avif"),
            url("/assets/img/puy-de-dome-large.webp") type("image/webp")
        );
    }

    .home-process__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 1500px) {
    .home-hero {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: center;
        gap: var(--space-10);
        text-align: left;
        min-height: calc(100vh - 12rem);
    }

    #imageContainer {
        width: var(--width-img-medium);
        margin: 0;
    }

    .home-hero__content {
        max-width: 38rem;
    }

    .home-hero__lead,
    .home-hero__place {
        margin-left: 0;
        text-align: left;
    }

    .home-trust {
        justify-content: flex-start;
        margin-left: 0;
    }

    .home-trust .google-rating--compact {
        justify-content: flex-start;
    }

    .home-hero .hero-cta {
        justify-content: flex-start;
        margin-left: 0;
    }
}
