/* @copyright 2026 Benoit Lorent / OST Collective. Proprietary — Nature & Bois SRL. benoit@ostcollective.org */
/* ─── Homepage — Nature & Bois ──────────────────────────────────────────────
   Échelle typo cohérente avec les pages intérieures :
   H1 hero   : clamp(2.5rem, 5.5vw, 4.5rem) — 800 — letter-spacing -0.02em
   H2 section: clamp(1.5rem, 2.5vw, 2.2rem) — 700 — letter-spacing -0.015em
   H3 cards  : 0.82rem — 700 — UPPERCASE — letter-spacing 0.07em
   Corps     : 1rem — 400 — line-height 1.8 — color #555
   Eyebrow   : 0.72rem — 600 — UPPERCASE — letter-spacing 0.14em — #2d6a2d
────────────────────────────────────────────────────────────────────────────── */

/* ── Hero ────────────────────────────────────────────────────────────────── */

.nb-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: #fff;
    background: #1a2e1a;
}

.nb-hero-bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-img, url('/wp-content/uploads/deco/hero-ponton-drone.jpg'));
    background-size: cover;
    background-position: center 60%;
}

.nb-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,25,10,0.25) 0%,
        rgba(10,25,10,0.55) 55%,
        rgba(10,25,10,0.88) 100%
    );
}

.nb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem 5rem;
    width: 100%;
}

.nb-hero-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #a8d08d;
    border: 1px solid rgba(168,208,141,0.5);
    border-radius: 999px;
    padding: 0.3rem 1rem;
    margin-bottom: 1.75rem;
}

.nb-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: #fff;
    margin: 0 0 1.5rem;
    max-width: 800px;
}

.nb-hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    max-width: 520px;
    line-height: 1.8;
    margin: 0 0 2.5rem;
}

.nb-hero-cta {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Accroche ──────────────────────────────────────────────────────────── */

.nb-accroche {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.nb-accroche-texte h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: #1a1a1a;
    margin: 0 0 1.5rem;
}

.nb-accroche-texte p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1rem;
}

.nb-accroche-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.nb-stat {
    background: #f5f5f0;
    border-left: 3px solid #2d6a2d;
    padding: 1.25rem 1.5rem;
    border-radius: 0 3px 3px 0;
}

.nb-stat-chiffre {
    font-size: 2rem;
    font-weight: 800;
    color: #2d6a2d;
    line-height: 1;
    margin-bottom: 0.3rem;
    letter-spacing: -0.02em;
}

.nb-stat-label {
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

/* ── Familles ───────────────────────────────────────────────────────────── */

.nb-familles {
    background: #f5f5f0;
    padding: 6rem 0;
}

.nb-familles-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nb-section-header {
    margin-bottom: 3rem;
}

.nb-section-tag {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #2d6a2d;
    margin-bottom: 0.6rem;
}

.nb-section-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #1a1a1a;
    margin: 0;
}

.nb-familles-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.nb-famille-card {
    background: #fff;
    border-radius: 4px;
    padding: 2rem 1.75rem;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e5e5e0;
    transition: box-shadow 0.2s, transform 0.2s;
    display: block;
}

.nb-famille-card--all {
    background: #f0f5f0;
    border-color: #2d6a2d;
}

.nb-famille-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.nb-famille-icon {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    display: block;
}

.nb-famille-card h3 {
    font-size: 0.82rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.nb-famille-card p {
    font-size: 0.88rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ── Projets récents ────────────────────────────────────────────────────── */

.nb-projets-home {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.nb-projets-home-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.nb-projets-home-header h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #1a1a1a;
    margin: 0;
}

.nb-projets-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── Différenciation ─────────────────────────────────────────────────────── */

.nb-differents {
    position: relative;
    background: #1a2e1a;
    color: #fff;
    padding: 6rem 0;
    overflow: hidden;
}

.nb-differents::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/wp-content/uploads/deco/fagne-aerienne.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
}

.nb-differents-inner {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nb-differents h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin: 0 0 3.5rem;
    color: #fff;
}

.nb-differents-liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nb-differents-liste li {
    border-top: 1px solid rgba(255,255,255,0.18);
    padding-top: 1.5rem;
}

.nb-differents-liste strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #a8d08d;
    letter-spacing: 0.01em;
}

.nb-differents-liste p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.65);
    margin: 0;
    line-height: 1.7;
}

/* ── CTA Contact ─────────────────────────────────────────────────────────── */

.nb-cta-contact {
    text-align: center;
    padding: 6rem 1.5rem;
    max-width: 580px;
    margin: 0 auto;
}

.nb-cta-contact h2 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #1a1a1a;
    margin: 0 0 1rem;
}

.nb-cta-contact p {
    font-size: 1rem;
    color: #555;
    margin: 0 0 2rem;
    line-height: 1.8;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
    .nb-accroche          { grid-template-columns: 1fr; gap: 3rem; }
    .nb-familles-grille   { grid-template-columns: repeat(2, 1fr); }
    .nb-projets-grille    { grid-template-columns: repeat(2, 1fr); }
    .nb-differents-liste  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .nb-hero h1              { letter-spacing: -0.015em; }
    .nb-hero-content         { padding: 4rem 1.5rem 3rem; }
    .nb-familles-grille      { grid-template-columns: 1fr; }
    .nb-projets-grille       { grid-template-columns: 1fr; }
    .nb-differents-liste     { grid-template-columns: 1fr; }
    .nb-accroche-stats       { grid-template-columns: 1fr 1fr; }
    .nb-projets-home-header  { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .nb-accroche             { padding: 3.5rem 1.5rem; }
    .nb-familles             { padding: 3.5rem 0; }
    .nb-projets-home         { padding: 3.5rem 1.5rem; }
    .nb-differents           { padding: 3.5rem 0; }
    .nb-cta-contact          { padding: 3.5rem 1.5rem; }
}
