/* ==========================================================================
   Bannière de la page « À propos » (views/about/index.php)
   Même principe que la bannière de l'accueil (home.css, section 3) : pleine
   largeur, remontée sous le header fixe qui reste transparent tant que la page
   est en haut (site-header.css, sélecteur body:has(.about-hero)), voile dégradé,
   logo rond, titre, sous-titre et boutons. Les couleurs viennent des mêmes
   réglages que la bannière d'accueil.
   ========================================================================== */

.about-hero {
    padding: 0;
}

.about-banner {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-height: clamp(420px, 68vh, 640px);
    margin-top: calc(-1 * (var(--site-header-height, 72px) + var(--safe-area-top, 0px)));
    overflow: hidden;
    background-color: var(--about-primary, #0B1B34);
    background-position: center;
    background-size: cover;
    color: #fff;
}

.about-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.about-banner-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: calc(var(--site-header-height, 72px) + 2rem) max(1.5rem, 5vw) 3rem;
}

.about-banner-badge-image {
    display: block;
    width: clamp(110px, 14vw, 180px);
    height: clamp(110px, 14vw, 180px);
    margin-bottom: 1rem;
    object-fit: contain;
}

.about-banner-eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--about-secondary, #C9A24B);
}

.about-banner-title {
    max-width: 32ch;
    margin: 0 0 0.5rem;
    font-size: clamp(1.8rem, 3.4vw, 2.9rem);
    font-weight: 800;
    line-height: 1.15;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.about-banner-subtitle {
    max-width: 52ch;
    margin: 0 0 0.9rem;
    font-size: 1.05rem;
    opacity: 0.95;
}

.about-banner-location {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 1.4rem;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.9);
}

.about-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border: none;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.about-btn-outline {
    border: 1.5px solid currentColor;
}

.about-banner-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.about-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.about-social-link:hover {
    background: var(--about-secondary, #C9A24B);
    color: #0B1B34;
    transform: translateY(-2px);
}

/* Tablette */
@media (max-width: 1024px) {
    .about-banner {
        min-height: clamp(380px, 60vh, 540px);
    }

    .about-btn {
        min-height: 44px;
    }
}

/* Téléphone : contenu centré, boutons pleine largeur empilés (comme l'accueil) */
@media (max-width: 640px) {
    .about-banner {
        min-height: clamp(420px, 76vh, 600px);
        align-items: center;
    }

    @supports (height: 1svh) {
        .about-banner {
            min-height: clamp(420px, 76svh, 600px);
        }
    }

    .about-banner-overlay {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.8) 100%);
    }

    .about-banner-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: calc(var(--site-header-height, 64px) + 1.25rem) 1.25rem calc(2rem + env(safe-area-inset-bottom, 0px));
    }

    .about-banner-badge-image {
        width: 104px;
        height: 104px;
        margin-bottom: 0.75rem;
    }

    .about-banner-title {
        max-width: 20ch;
        font-size: clamp(1.6rem, 7vw, 2.1rem);
    }

    .about-banner-title {
        line-height: 1.2;
        text-wrap: balance;
        text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
    }

    .about-banner-subtitle {
        max-width: 30ch;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
        line-height: 1.5;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    }

    /* Comme l'accueil : les deux boutons côte à côte, chacun sur la moitié de la
       largeur ; un libellé trop long passe sur deux lignes. */
    .about-banner-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 400px;
        gap: 0.6rem;
    }

    .about-banner-actions .about-btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 48px;
        padding: 0.6rem 0.5rem;
        font-size: 0.9rem;
        line-height: 1.2;
        text-align: center;
    }

    /* Pas de décollement au survol sur écran tactile. */
    .about-banner-actions .about-btn:hover {
        transform: none;
        box-shadow: none;
    }

    .about-banner-social {
        justify-content: center;
    }
}

/* Petits téléphones (320-359px) */
@media (max-width: 359px) {
    .about-banner-badge-image { width: 92px; height: 92px; }
    .about-banner-title { font-size: 1.45rem; }
    .about-banner-content { padding-left: 1rem; padding-right: 1rem; }
    .about-banner-actions { gap: 0.5rem; }
    .about-banner-actions .about-btn { padding: 0.5rem 0.35rem; font-size: 0.8rem; }
}

/* Téléphone en paysage : on compacte, boutons côte à côte. */
@media (max-width: 900px) and (max-height: 500px) and (orientation: landscape) {
    .about-banner { min-height: 360px; }
    .about-banner-content { padding-top: calc(var(--site-header-height, 56px) + 0.75rem); padding-bottom: 1.25rem; }
    .about-banner-badge-image { width: 72px; height: 72px; margin-bottom: 0.4rem; }
    .about-banner-subtitle { margin-bottom: 0.9rem; }
    .about-banner-actions { flex-direction: row; max-width: none; width: auto; }
    .about-banner-actions .about-btn { width: auto; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .about-btn,
    .about-social-link {
        transition: none;
    }
}

/* ==========================================================================
   « Pièces coup de cœur » : pleine largeur sous les deux colonnes, 5 colonnes
   de produits sur ordinateur (4 sur petit ordinateur, 3 tablette, 2 mobile).
   ========================================================================== */
.about-featured {
    margin-top: 2.5rem;
}

.about-featured .about-featured-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1279px) {
    .about-featured .about-featured-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .about-featured .about-featured-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 639px) {
    .about-featured .about-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
}
