/**
 * hero.css — Section Hero
 */

/* -------------------------
   Section
------------------------- */
.section-hero {
    overflow: hidden;
    background-color: var(--color-bg);
    padding-bottom: var(--section-padding-x);
}


/* -------------------------
   Inner layout — mobile : colonne
------------------------- */
.section-hero__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    padding-inline: var(--container-padding);
}

/* -------------------------
   Contenu texte
------------------------- */
.section-hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width:100%;
    gap: var(--space-md);
}

.section-hero__overtitle {
    font-family: var(--font-primary);
    font-size: var(--font-size-6xl);
    font-weight: var(--font-weight-black);
    line-height: var(--line-height-tight);
    color: var(--color-black);
    margin-bottom: 0;
}

.section-hero__title {
    font-family: var(--font-primary);
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-snug);
    text-transform: uppercase;
    margin-block:20px;
}

.section-hero__highlight {
    background-color: var(--color-lime);
    padding-inline: 6px;
}

/* -------------------------
   Bloc avis Google
------------------------- */
.section-hero__reviews {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px 20px;
    background-color: var(--color-white);
    border: 2px solid var(--color-black);
    border-radius: var(--radius-full);
    text-decoration: none;
    color: var(--color-black);
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    margin-block:var(--space-sm);
}

.section-hero__reviews:hover {
    border-color: var(--color-blue);
    box-shadow: var(--shadow-sm);
}

.section-hero__reviews-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.section-hero__star {
    flex-shrink: 0;
}

.section-hero__star--full path {
    fill: #FBBC04;
    stroke: #FBBC04;
    stroke-width: 1;
}

.section-hero__star--empty path {
    fill: var(--color-white);
    stroke: #FBBC04;
    stroke-width: 1;
}

.section-hero__star--half .section-hero__star-bg {
    fill: var(--color-white);
    stroke: #FBBC04;
    stroke-width: 1;
}

.section-hero__star--half .section-hero__star-fill {
    fill: #FBBC04;
    stroke: none;
}

.section-hero__reviews-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-regular);
    white-space: nowrap;
}

.section-hero__reviews-logo {
    height: 16px;
    width: auto;
    vertical-align: middle;
}

/* -------------------------
   Visuels
------------------------- */
.section-hero__visuals {
    display: flex;
    width:100%;
    align-items: flex-end;
}

.section-hero__illustration {
    top: 0;
    right: 0;
    width: 100%;
}

.section-hero__illustration-img {
    width: 100%;
    height: auto;
}


/* -------------------------
   Widget (remplace l'illustration)
------------------------- */
.section-hero__visuals--widget {
    align-items: center;
    justify-content: center;
}

.section-hero__widget {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
}

.section-hero__widget iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none;
    border-radius: var(--radius-lg, 16px);
}

/* -------------------------
   Modifier — inversé (texte à droite)
------------------------- */

@media (min-width: 768px) {

    .section-hero__visuals {
        width: 60%;
        margin: auto;
    }

    .section-hero__title {
        font-size: var(--font-size-6xl);
    }

    .section-hero__content {
        gap: var(--space-sm);
        min-width: 0;
    }

}



/* -------------------------
   Desktop 1024px
------------------------- */
@media (min-width: 1024px) {
    .section-hero__inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        padding-inline: var(--space-sm);
    }

    .section-hero__content {
        width:45%;
        gap: var(--space-sm);
        min-width: 0;
        padding-block: var(--section-padding);
    }

    .section-hero__overtitle {
    font-size: clamp(4.5rem, 5.5vw, 8rem);
}

    .section-hero__title {
        font-size: var(--font-size-6xl);
    }

    .section-hero__visuals {
        justify-content: flex-end;
        width:55%;
    }


    /* Modifier — inversé */
    .section-hero--inversed .section-hero__inner {
        flex-direction: row-reverse;
    }
}
