/* home.css — Page d'accueil Fid & Gest */

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: var(--color-anthracite);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 80% at 70% 50%, rgba(212,160,23,.07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(212,160,23,.04) 0%, transparent 60%);
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    opacity: .4;
    pointer-events: none;
}

.hero__inner {
    padding-top: 100px;
    padding-bottom: var(--space-3xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-safran);
    margin-bottom: var(--space-md);
}

.hero__title {
    color: var(--color-white);
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero__title em {
    font-style: normal;
    color: var(--color-safran);
}

.hero__sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.7);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ── Cartes flottantes Hero ──────────────────────────────────────────────── */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__card-stack {
    position: relative;
    width: 340px;
    height: 300px;
}

.hero__card {
    position: absolute;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    min-width: 220px;
    box-shadow: 0 8px 32px rgba(0,0,0,.2);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}


.hero__card--1 { top: 0;    left: 0; }
.hero__card--2 { top: 90px; right: 0;   background: rgba(212,160,23,.12); border-color: rgba(212,160,23,.3); }
.hero__card--3 { bottom: 0; left: 30px; } 

.hero__card-icon {
    width: 48px; height: 48px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,.8);
    flex-shrink: 0;
}

.hero__card-icon--safran {
    background: rgba(212,160,23,.2);
    color: var(--color-safran);
}

.hero__card-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

.hero__card-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
}

/* ── Wave ────────────────────────────────────────────────────────────────── */
.hero__wave {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    line-height: 0;
}

.hero__wave svg { width: 100%; display: block; }

/* ── Restaurateurs teaser ────────────────────────────────────────────────── */
.resto-teaser__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.resto-teaser__content p {
    color: rgba(255,255,255,.72);
    line-height: 1.8;
    margin-top: var(--space-md);
}

.resto-teaser__icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.resto-icon {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-md);
    color: var(--color-safran);
    transition: all var(--trans);
}

.resto-icon:hover {
    background: rgba(212,160,23,.1);
    border-color: rgba(212,160,23,.3);
}

.resto-icon span {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,.6);
}

/* ── About teaser ───────────────────────────────────────────────────────── */
.about-teaser {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-teaser__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--color-anthracite);
    flex-shrink: 0;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.about-teaser__year {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-safran);
    line-height: 1;
}

.about-teaser__since {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.5);
    margin-top: 4px;
}

.about-teaser__content h2 { margin-bottom: var(--space-md); }
.about-teaser__content p { color: var(--color-text-muted); }

/* ── CTA section ─────────────────────────────────────────────────────────── */
.cta-section { position: relative; overflow: hidden; }
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 100% at 50% 0%, rgba(212,160,23,.08) 0%, transparent 70%);
}
.cta-section .container { position: relative; z-index: 1; }

/* ── Scroll reveal ────────────────────────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transition: opacity 0.6s ease;
}
[data-reveal].revealed {
    opacity: 1;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__sub { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__visual { display: none; }
    .resto-teaser__grid { grid-template-columns: 1fr; }
    .about-teaser { grid-template-columns: 1fr; }
    .about-teaser__badge { margin: 0 auto; }
    .about-teaser__content { text-align: center; }
    .divider-safran { margin-left: auto; margin-right: auto; }
}

@media (max-width: 768px) {
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero__inner { padding-top: 0; padding-bottom: 0; }
    .resto-teaser__icons { grid-template-columns: 1fr 1fr; }
}
