/* home.css — Page d'accueil BF Fiduciaire SA */

/* ─── Hero ───────────────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: var(--color-dark);
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/hero-geneva.webp');
    background-size: cover;
    background-position: center 40%;
    opacity: 0.22;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(44,62,80,0.95) 45%,
        rgba(44,62,80,0.55) 100%
    );
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding-block: 4rem;
}
.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-gold);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.hero__eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-gold);
    flex-shrink: 0;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    white-space: pre-line;
}
.hero__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 480px;
}
.hero__btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero__badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 2;
    background: rgba(255,255,255,0.06);
    border: 0.5px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    backdrop-filter: blur(4px);
    text-decoration: none;
    transition: border-color var(--transition);
}
.hero__badge:hover { border-color: rgba(201,169,110,0.5); }
.hero__badge-icon { color: var(--color-gold); font-size: 1.1rem; flex-shrink: 0; }
.hero__badge-name {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.88);
    letter-spacing: 0.04em;
    display: block;
}
.hero__badge-sub {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    display: block;
}

/* ─── Section services aperçu ────────────────────────────────────────────────── */
.home-services { padding-block: var(--space-lg); }
.home-services__footer {
    margin-top: 2rem;
    text-align: center;
}

/* ─── Section À propos ───────────────────────────────────────────────────────── */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-block: var(--space-lg);
}
.about-section__img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #D6E4EE;
}
.about-section__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-section__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark-mid);
    font-size: 0.85rem;
    text-align: center;
    padding: 1rem;
}
.about-section__text h2 { margin-bottom: 0.25rem; }
.about-section__text .section-eyebrow { margin-bottom: 0.5rem; }
.about-section__text p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}
.about-section__text .btn { margin-top: 0.5rem; }

/* ─── Section contact rapide ─────────────────────────────────────────────────── */
.home-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.home-contact__map {
    min-height: 280px;
    background: #D6E4EE;
}
.home-contact__info {
    background: var(--color-dark);
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}
.home-contact__title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}
.home-contact__sub {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.5rem;
}
.home-contact__sub::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 1px;
    background: var(--color-gold);
}
.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}
.contact-info-item__icon {
    color: var(--color-gold);
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
}
.contact-info-item__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.38);
    display: block;
    margin-bottom: 0.1rem;
}
.contact-info-item__value {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    line-height: 1.5;
}
.contact-info-item a { color: inherit; }
.contact-info-item a:hover { color: var(--color-gold); }

/* ─── Carte Leaflet ──────────────────────────────────────────────────────────── */
#map { width: 100%; height: 100%; min-height: 280px; }

/* ─── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .about-section { grid-template-columns: 1fr; gap: 2rem; }
    .about-section__img { aspect-ratio: 16/7; }
    .home-contact { grid-template-columns: 1fr; }
    .home-contact__map { min-height: 220px; }
}
@media (max-width: 600px) {
    .hero { min-height: 420px; }
    .hero__badge { display: none; }
}
