/* =============================================================================
   com_commerces — fiche.css
   Styles spécifiques à la page fiche d'un commerce
   ============================================================================= */

/* Réutilise les variables définies dans liste.css
   Si liste.css n'est pas chargé sur cette page, on redéfinit */
:root {
    --cc-green: #1D9E75;
    --cc-green-light: #e8f7f2;
    --cc-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.fiche-hero {
    position: relative;
    max-height: 550px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.fiche-hero__cover {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    display: block;
    filter: brightness(.75);
}

.fiche-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 60%);
    border-radius: 12px;
}

.fiche-hero h1 {
    font-size: 55px;
    /*clamp(1.4rem, 3vw, 2rem);
    text-shadow: 0 1px 4px rgba(0,0,0,.5);*/
}

.fiche-hero__logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #fff;
    border-radius: 20px;
    padding: 3px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.fiche-hero .fa-solid.fa-map-location {
  color: lightgray;
  font-size: 20px;
}

.badge.zone {
  font-size: 15px;
}



/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.fiche-section__title {
    color: var(--cc-green);
    font-weight: 600;
    border-bottom: 2px solid var(--cc-green-light);
    padding-bottom: .4rem;
    margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Offre spéciale
   -------------------------------------------------------------------------- */
.fiche-offre {
    background: var(--cc-green-light);
    border-color: var(--cc-green) !important;
    border-radius: 10px;
}

.fiche-offre .fiche-section__title {
    color: var(--cc-green);
    border-color: var(--cc-green);
}

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */
.fiche-galerie__img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
    transition: transform .2s ease, opacity .2s;
}

.fiche-galerie__img:hover {
    transform: scale(1.03);
    opacity: .9;
}

/* --------------------------------------------------------------------------
   Vidéos
   -------------------------------------------------------------------------- */
.fiche-videos .ratio {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--cc-shadow);
}

/* --------------------------------------------------------------------------
   Carte mini
   -------------------------------------------------------------------------- */
#fiche-map {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: var(--cc-shadow);
}

/* --------------------------------------------------------------------------
   Sidebar cards
   -------------------------------------------------------------------------- */
.fiche-sidebar .card {
    border-radius: 10px;
    box-shadow: var(--cc-shadow);
}

.fiche-sidebar .card-header {
    background: var(--cc-green-light);
    border-bottom: 1px solid rgba(29, 158, 117, .2);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Réseaux sociaux
   -------------------------------------------------------------------------- */
.fiche-reseaux a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color .15s, color .15s;
}

.fiche-reseaux a:hover {
    background-color: var(--cc-green);
    border-color: var(--cc-green);
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb-item a {
    color: var(--cc-green);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 576px) {

    .fiche-hero,
    .fiche-hero__cover {
        max-height: 250px;
    }

    .fiche-hero__logo {
        width: 50px;
        height: 50px;
    }

    .fiche-galerie__img {
        height: 120px;
    }
}

h2 {
    font-family: 'Inter', sans-serif;
    font-size: 70px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1px !important;
    text-decoration: none;
}