/* ============================================
   GROUPE BATINOV — Promotion Immobilière
   Palette charte graphique :
   Vert Rolex #006039 · Or brossé #A37E2C
   Travertin #FBF9F4 · Gris anthracite #1E2522
   ============================================ */

:root {
    --forest: #006039;
    --forest-dark: #004f2f;
    --forest-deep: #00301d;
    --gold: #a37e2c;
    --gold-light: #c5a059;
    --cream: #fbf9f4;
    --paper: #ffffff;
    --ink: #1e2522;
    --ink-soft: #4b524e;
    --line: rgba(0, 96, 57, 0.12);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    --serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

img, svg { display: block; max-width: 100%; }

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}
.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: pulse 1.6s ease-in-out infinite;
}
.preloader-logo svg {
    width: 70px;
    height: 84px;
}
.preloader-logo span {
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: 0.4em;
    color: var(--forest);
    font-weight: 500;
}
.preloader-logo .preloader-subtitle {
    font-family: var(--sans);
    font-size: 9px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-top: -8px;
}
@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 24px 0;
    transition: all 0.4s var(--ease);
}
.nav.scrolled {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    box-shadow: 0 1px 0 var(--line);
}
.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--paper);
    transition: color 0.4s var(--ease);
}
.nav.scrolled .nav-logo { color: var(--forest); }
.nav-logo-svg {
    width: 38px;
    height: 46px;
    fill: currentColor;
    transition: fill 0.4s var(--ease);
}
.nav-logo-img {
    height: 85px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: filter 0.4s var(--ease);
}
.nav.scrolled .nav-logo-img {
    height: 55px;
    filter: none;
}
.nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.nav-logo-title {
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: 0.18em;
    font-weight: 500;
}
.nav-logo-subtitle {
    font-size: 9px;
    letter-spacing: 0.32em;
    opacity: 0.75;
    margin-top: 4px;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    color: var(--paper);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.08em;
    position: relative;
    padding: 6px 0;
    transition: color 0.4s var(--ease);
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease);
}
.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Sous-menu dropdown */
.nav-links li {
    position: relative;
}
.nav-links li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.nav-caret {
    width: 12px;
    height: 12px;
    stroke-width: 2;
    transition: transform 0.3s var(--ease);
}
.has-submenu:hover .nav-caret {
    transform: rotate(180deg);
}
.nav-submenu {
    position: absolute;
    top: 100%;
    left: -20px;
    min-width: 260px;
    background: var(--paper);
    padding: 14px 0;
    box-shadow: 0 24px 50px -12px rgba(0, 96, 57, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease);
    list-style: none;
    border-top: 2px solid var(--gold);
    z-index: 110;
}
.has-submenu:hover .nav-submenu,
.has-submenu:focus-within .nav-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-submenu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
}
.nav-submenu li { display: block; }
.nav-submenu a {
    display: block !important;
    padding: 12px 26px !important;
    color: var(--ink) !important;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: none;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), padding 0.3s var(--ease);
    font-family: var(--serif);
    font-weight: 500;
    font-size: 16px;
}
.nav-submenu a::after {
    display: none !important;
}
.nav-submenu a:hover {
    background: var(--cream);
    color: var(--forest) !important;
    padding-left: 32px !important;
}
.nav-submenu-sep {
    height: 1px;
    background: var(--line);
    margin: 8px 22px;
}
.nav-submenu-eyebrow {
    display: block;
    padding: 8px 26px 6px;
    font-size: 9px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-family: var(--sans);
    font-weight: 600;
}

.nav-cta {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--paper);
    padding: 12px 22px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    font-family: var(--sans);
    font-weight: 500;
}
.nav-cta:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--paper);
}
.nav.scrolled .nav-cta {
    border-color: var(--forest);
    color: var(--forest);
}
.nav.scrolled .nav-cta:hover {
    background: var(--forest);
    color: var(--paper);
}
.nav-burger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-burger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--paper);
    transition: all 0.3s var(--ease);
}
.nav.scrolled .nav-burger span { background: var(--ink); }

/* ============================================
   HERO SLIDER
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--forest-deep);
}
.slider {
    position: absolute;
    inset: 0;
}
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.4s var(--ease), visibility 1.4s var(--ease);
    transform: scale(1.05);
}
.slide.active {
    opacity: 1;
    visibility: visible;
    animation: kenBurns 9s ease-out forwards;
}
@keyframes kenBurns {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.15); }
}
.slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 48, 29, 0.65) 0%, rgba(0, 48, 29, 0.35) 50%, rgba(0, 48, 29, 0.7) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.5) 100%);
}
.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--paper);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s var(--ease) 0.3s, transform 1s var(--ease) 0.3s;
}
.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}
.slide-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 32px;
    font-weight: 400;
}
.slide-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}
.slide-title {
    font-family: var(--serif);
    font-size: clamp(48px, 7vw, 104px);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
    max-width: 900px;
}
.slide-title em {
    font-style: italic;
    color: var(--gold-light);
    font-weight: 300;
}
.slide-text {
    font-size: 18px;
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
}
.slide-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 36px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    font-family: var(--sans);
}
.btn-primary {
    background: var(--forest);
    color: var(--paper);
}
.btn-primary:hover {
    background: var(--gold);
    color: var(--paper);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--paper);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--paper);
}
.btn-outline {
    background: transparent;
    color: var(--forest);
    border: 1px solid var(--forest);
}
.btn-outline:hover {
    background: var(--forest);
    color: var(--paper);
}
.btn-full { width: 100%; }

/* Slider navigation */
.slider-nav {
    position: absolute;
    bottom: 80px;
    right: 80px;
    z-index: 5;
    display: flex;
    gap: 12px;
}
.slider-arrow {
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--paper);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    border-radius: 50%;
}
.slider-arrow:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.05);
}
.slider-arrow svg {
    width: 20px;
    height: 20px;
}

.slider-pagination {
    position: absolute;
    bottom: 100px;
    left: 80px;
    z-index: 5;
    display: flex;
    gap: 14px;
}
.slider-dot {
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}
.slider-dot.active {
    background: rgba(255, 255, 255, 0.3);
}
.slider-dot.active::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform-origin: left;
    animation: progress 7s linear forwards;
}
@keyframes progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.slider-counter {
    position: absolute;
    top: 50%;
    right: 80px;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: right center;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--paper);
    font-size: 12px;
    letter-spacing: 0.2em;
    opacity: 0.7;
}
.slider-counter-divider {
    width: 60px;
    height: 1px;
    background: var(--paper);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--paper);
    font-size: 10px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    opacity: 0.8;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--paper);
    position: relative;
    overflow: hidden;
}
.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ============================================
   SECTIONS — Typo commune
   ============================================ */
section { padding: 140px 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    letter-spacing: 0.36em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 500;
}
.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--gold);
}
.section-title {
    font-family: var(--serif);
    font-size: clamp(46px, 5.6vw, 80px);
    line-height: 1.05;
    font-weight: 400;
    color: var(--forest);
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}
.section-title.light { color: var(--paper); }
.section-title em {
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
}
.section-intro {
    font-size: 18px;
    color: var(--ink-soft);
    max-width: 640px;
    font-weight: 300;
    line-height: 1.65;
}
.section-intro.light {
    color: rgba(255, 255, 255, 0.7);
}
.section-header {
    margin-bottom: 80px;
    max-width: 720px;
}
.section-header.center {
    margin: 0 auto 80px;
    text-align: center;
}
.section-header.center .eyebrow {
    justify-content: center;
}
.section-header.center .section-intro {
    margin: 0 auto;
}

.lead {
    font-family: var(--serif);
    font-size: clamp(30px, 2.8vw, 38px);
    line-height: 1.4;
    color: var(--ink);
    font-weight: 400;
    margin-bottom: 24px;
    font-style: italic;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    background: var(--cream);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}
.about-visual {
    position: relative;
    height: 640px;
}
.about-image {
    position: absolute;
    background-size: cover;
    background-position: center;
}
.about-image-1 {
    top: 0;
    left: 0;
    width: 70%;
    height: 75%;
}
.about-image-2 {
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border: 12px solid var(--cream);
}
.about-badge {
    position: absolute;
    bottom: 60px;
    left: -40px;
    width: 180px;
    height: 180px;
    background: var(--forest);
    color: var(--paper);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 30px 60px -20px rgba(0, 96, 57, 0.4);
}
.about-badge-year {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 4px;
}
.about-badge-number {
    font-family: var(--serif);
    font-size: 52px;
    line-height: 1;
    color: var(--gold-light);
    font-weight: 500;
}
.about-badge-label {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 8px;
    opacity: 0.85;
}
.about-content p {
    color: var(--ink-soft);
    margin-bottom: 20px;
    line-height: 1.75;
    font-size: 16px;
}
/* Le chapô .lead est dans .about-content : on force sa taille (sinon .about-content p l'emporte) */
.about-content .lead {
    font-size: clamp(20px, 1.7vw, 24px);
    line-height: 1.5;
}
.about-stats {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-number {
    font-family: var(--serif);
    font-size: 48px;
    color: var(--forest);
    font-weight: 500;
    line-height: 1;
}
.stat-label {
    margin-top: 8px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* ============================================
   PROGRAMS
   ============================================ */
.programs {
    background: var(--paper);
}
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
.program {
    position: relative;
    height: 480px;
    overflow: hidden;
    cursor: pointer;
}
.program-large {
    grid-column: span 2;
    height: 580px;
}
.program-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.4s var(--ease);
}
.program:hover .program-image {
    transform: scale(1.05);
}
.program-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0, 48, 29, 0.85) 100%);
    transition: background 0.6s var(--ease);
}
.program:hover .program-overlay {
    background: linear-gradient(180deg, rgba(0, 48, 29, 0.2) 0%, rgba(0, 48, 29, 0.9) 100%);
}
.program-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: var(--paper);
    z-index: 2;
}
.program-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--gold);
    color: var(--paper);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 500;
}
.program-title {
    font-family: var(--serif);
    font-size: 36px;
    line-height: 1.1;
    margin-bottom: 8px;
    font-weight: 400;
}
.program-large .program-title { font-size: 48px; }
.program-location {
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 18px;
}
.program-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 24px;
    font-weight: 300;
}
.program-meta .dot {
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
}
.program-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--paper);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.program-link:hover {
    color: var(--gold-light);
    gap: 18px;
}
.program-link svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}
.programs-cta {
    margin-top: 60px;
    text-align: center;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    background: var(--forest-deep);
    color: var(--paper);
    position: relative;
    overflow: hidden;
}
.services::before {
    content: '';
    position: absolute;
    top: -300px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(163, 126, 44, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.service {
    background: var(--forest-deep);
    padding: 56px 44px;
    transition: background 0.5s var(--ease);
    position: relative;
}
.service:hover {
    background: var(--forest-dark);
}
.service-number {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 36px;
}
.service-icon {
    width: 40px;
    height: 40px;
    color: var(--gold);
    margin-bottom: 28px;
}
.service h3 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 16px;
    color: var(--paper);
    line-height: 1.2;
}
.service p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   SIMULATEUR DE CRÉDIT
   ============================================ */
.simulator {
    background: var(--paper);
}
.simulator-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 80px;
    align-items: center;
}
.simulator-intro .section-title { margin-bottom: 24px; }
.simulator-intro .section-intro { margin-bottom: 36px; }
.simulator-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}
.simulator-perks li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--ink-soft);
    font-weight: 400;
}
.perk-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.simulator-card {
    background: var(--cream);
    padding: 48px;
    border-top: 4px solid var(--gold);
    box-shadow: 0 30px 60px -30px rgba(0, 96, 57, 0.18);
}
.simulator-field {
    margin-bottom: 28px;
}
.simulator-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}
.simulator-label label {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 500;
}
.simulator-value {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--forest);
    font-weight: 500;
}
.simulator-field input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--gold) 0%, var(--gold) 50%, rgba(0, 96, 57, 0.15) 50%);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.simulator-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--forest);
    border-radius: 50%;
    border: 3px solid var(--paper);
    box-shadow: 0 4px 12px rgba(0, 96, 57, 0.35);
    cursor: pointer;
    transition: transform 0.2s var(--ease);
}
.simulator-field input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}
.simulator-field input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--forest);
    border-radius: 50%;
    border: 3px solid var(--paper);
    box-shadow: 0 4px 12px rgba(0, 96, 57, 0.35);
    cursor: pointer;
}

.simulator-result {
    margin-top: 36px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.simulator-result-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    font-size: 14px;
    color: var(--ink-soft);
}
.simulator-result-label {
    letter-spacing: 0.04em;
}
.simulator-result-value {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--forest);
    font-weight: 500;
}
.simulator-result-main {
    background: var(--forest);
    color: var(--paper);
    padding: 20px 24px;
    margin: 16px -24px;
    border-radius: 2px;
}
.simulator-result-main .simulator-result-label {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 500;
}
.simulator-result-main .simulator-result-value {
    font-size: 30px;
    color: var(--paper);
}
.simulator-cta {
    margin-top: 24px;
}
.simulator-disclaimer {
    margin-top: 18px;
    font-size: 11px;
    line-height: 1.55;
    color: var(--ink-soft);
    opacity: 0.75;
    font-style: italic;
}

/* ============================================
   QUOTE
   ============================================ */
.quote {
    background: var(--cream);
    padding: 160px 0;
    text-align: center;
}
.quote .container {
    max-width: 920px;
}
.quote-mark {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin: 0 auto 40px;
    opacity: 0.7;
}
.quote-text {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.35;
    color: var(--forest);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 48px;
}
.quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.quote-author::before {
    content: '';
    width: 50px;
    height: 1px;
    background: var(--gold);
}
.quote-name {
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    background: var(--paper);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}
.contact-content p {
    color: var(--ink-soft);
    margin-bottom: 48px;
    line-height: 1.75;
}
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding-top: 48px;
    border-top: 1px solid var(--line);
}
.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-label {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}
.contact-value {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--forest);
    line-height: 1.5;
}
.contact-form {
    background: var(--cream);
    padding: 56px 48px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    margin-bottom: 24px;
}
.form-group label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    transition: border-color 0.3s var(--ease);
    resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--forest);
}
.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006039' stroke-width='1.5'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 16px;
    appearance: none;
}

.contact-map {
    grid-column: 1 / -1;
    margin-top: 80px;
    overflow: hidden;
    border-top: 4px solid var(--gold);
    box-shadow: 0 30px 60px -30px rgba(0, 96, 57, 0.25);
}
.contact-map iframe {
    display: block;
    filter: grayscale(0.15) contrast(1.05);
    transition: filter 0.5s var(--ease);
}
.contact-map:hover iframe {
    filter: grayscale(0) contrast(1);
}

/* ============================================
   BOUTON WHATSAPP FLOTTANT
   ============================================ */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 90;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    animation: whatsappPulse 2.4s ease-in-out infinite;
}
.whatsapp-fab::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid #25D366;
    opacity: 0;
    animation: whatsappRing 2.4s ease-out infinite;
    pointer-events: none;
}
.whatsapp-fab:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0, 0, 0, 0.2);
}
.whatsapp-fab svg {
    width: 34px;
    height: 34px;
}
.whatsapp-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(8px);
    background: var(--forest-deep);
    color: var(--paper);
    font-size: 12px;
    letter-spacing: 0.08em;
    padding: 10px 16px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    font-weight: 500;
}
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: var(--forest-deep);
}
.whatsapp-fab:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}
@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 4px 10px rgba(0, 0, 0, 0.15); }
    50% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.65), 0 4px 10px rgba(0, 0, 0, 0.15); }
}
@keyframes whatsappRing {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.6); }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--forest-deep);
    color: var(--paper);
    padding: 100px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}
.footer-logo {
    width: 44px;
    height: 52px;
    fill: var(--gold);
}
.footer-title {
    display: block;
    font-family: var(--serif);
    font-size: 20px;
    letter-spacing: 0.18em;
    margin-bottom: 4px;
}
.footer-subtitle {
    display: block;
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.6;
}
.footer-col h4 {
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    font-weight: 500;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s var(--ease);
}
.footer-col a:hover {
    color: var(--gold-light);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.08em;
}

/* ============================================
   ANIMATIONS au scroll
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .nav-links, .nav-cta { display: none; }
    .nav-burger { display: flex; }
    .slide-content { padding: 0 40px; }
    .slider-nav { right: 40px; bottom: 60px; }
    .slider-pagination { left: 40px; bottom: 80px; }
    .slider-counter { right: 40px; }
    .about-grid, .contact-grid, .simulator-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-visual { height: 500px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .container { padding: 0 24px; }
    .nav-container { padding: 0 24px; }
}

/* ============================================
   PAGE HERO — Sous-pages
   ============================================ */
.page-hero {
    position: relative;
    height: 60vh;
    min-height: 480px;
    overflow: hidden;
    background: var(--forest-deep);
    display: flex;
    align-items: flex-end;
}
.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: kenBurns 12s ease-out forwards;
}
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0,48,29,0.35) 0%, rgba(0,48,29,0) 30%, rgba(0,48,29,0.85) 100%),
        linear-gradient(135deg, rgba(0,48,29,0.45) 0%, rgba(0,48,29,0.15) 50%, rgba(0,48,29,0.55) 100%);
}
.page-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 140px 80px 100px;
    color: var(--paper);
}
.page-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 11px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 28px;
    font-weight: 400;
}
.page-hero-eyebrow::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--gold);
}
.page-hero-title {
    font-family: var(--serif);
    font-size: clamp(44px, 6vw, 84px);
    line-height: 1.05;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    max-width: 900px;
}
.page-hero-title em {
    font-style: italic;
    color: var(--gold-light);
    font-weight: 300;
}
.page-hero-sub {
    font-size: 17px;
    line-height: 1.65;
    max-width: 620px;
    color: rgba(255,255,255,0.82);
    font-weight: 300;
}
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 28px;
}
.breadcrumb a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.3s var(--ease);
}
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb-sep {
    width: 18px;
    height: 1px;
    background: rgba(255,255,255,0.35);
}
.breadcrumb-current { color: var(--gold-light); }

/* Nav force solide pour pages internes */
.nav.solid {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
}
.nav.solid .nav-logo,
.nav.solid .nav-links a { color: var(--ink); }
.nav.solid .nav-logo-img { filter: none; }
.nav.solid .nav-cta {
    border-color: var(--forest);
    color: var(--forest);
}
.nav.solid .nav-burger span { background: var(--ink); }

/* ============================================
   VALEURS — Cards 3-col
   ============================================ */
.values {
    background: var(--paper);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.value-card {
    padding: 56px 44px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 0.4s var(--ease);
    position: relative;
}
.value-card:hover {
    background: var(--cream);
}
.value-card-num {
    font-family: var(--serif);
    font-size: 14px;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 32px;
}
.value-card-icon {
    width: 44px;
    height: 44px;
    color: var(--forest);
    margin-bottom: 28px;
    stroke-width: 1;
}
.value-card h3 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 14px;
    color: var(--forest);
    line-height: 1.2;
}
.value-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   TIMELINE — Histoire
   ============================================ */
.timeline {
    background: var(--cream);
}
.timeline-list {
    display: grid;
    gap: 32px;
    margin-top: 60px;
    position: relative;
}
.timeline-list::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
}
.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 48px;
    align-items: start;
    position: relative;
    padding-left: 0;
}
.timeline-year {
    font-family: var(--serif);
    font-size: 32px;
    color: var(--gold);
    font-weight: 500;
    line-height: 1;
    position: relative;
}
.timeline-year::after {
    content: '';
    position: absolute;
    right: -28px;
    top: 14px;
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--cream);
    z-index: 1;
}
.timeline-body h3 {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--forest);
    font-weight: 500;
    margin-bottom: 10px;
}
.timeline-body p {
    font-size: 15px;
    color: var(--ink-soft);
    line-height: 1.7;
    max-width: 640px;
}

/* ============================================
   ÉQUIPE
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.team-card {
    display: flex;
    flex-direction: column;
}
.team-photo {
    aspect-ratio: 3/4;
    background: var(--cream) center/cover no-repeat;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.team-photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,48,29,0.4) 100%);
}
.team-card h3 {
    font-family: var(--serif);
    font-size: 22px;
    color: var(--forest);
    font-weight: 500;
    margin-bottom: 4px;
}
.team-role {
    font-size: 11px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    font-weight: 500;
}
.team-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.7;
    font-weight: 300;
}

/* ============================================
   LISTE PROJETS — Cards larges
   ============================================ */
.projects-list {
    background: var(--paper);
}
.projects-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink-soft);
    padding: 12px 24px;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    font-family: var(--sans);
    font-weight: 500;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--paper);
}
.projects-list-grid {
    display: grid;
    gap: 60px;
}
.project-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: var(--cream);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.project-row:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 80px -30px rgba(0, 96, 57, 0.25);
}
.project-row:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}
.project-row:nth-child(even) .project-row-image {
    order: 2;
}
.project-row-image {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.project-row-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(0,96,57,0.1));
    transition: opacity 0.4s var(--ease);
}
.project-row-body {
    padding: 56px 56px 56px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: var(--gold);
    color: var(--paper);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 24px;
    width: fit-content;
}
.status-pill--encours {
    background: var(--forest);
}
.status-pill::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--paper);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.project-row h2 {
    font-family: var(--serif);
    font-size: clamp(32px, 3.4vw, 44px);
    color: var(--forest);
    line-height: 1.1;
    font-weight: 400;
    margin-bottom: 8px;
}
.project-row-loc {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 24px;
}
.project-row p {
    color: var(--ink-soft);
    line-height: 1.75;
    margin-bottom: 28px;
    font-size: 15px;
}
.project-row-meta {
    display: flex;
    gap: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.project-row-meta div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.project-row-meta span:first-child {
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}
.project-row-meta span:last-child {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--forest);
    font-weight: 500;
}
.project-row-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--forest);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
    transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.project-row:hover .project-row-link {
    color: var(--gold);
    gap: 20px;
}
.project-row-link svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

/* ============================================
   FICHE TECHNIQUE — Projet détail
   ============================================ */
.fiche {
    background: var(--paper);
    padding: 100px 0;
}
.fiche-banner {
    background: var(--forest);
    color: var(--paper);
    padding: 28px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 80px;
    border-left: 4px solid var(--gold);
    flex-wrap: wrap;
}
.fiche-banner-text {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    letter-spacing: 0.04em;
}
.fiche-banner-text svg {
    width: 22px;
    height: 22px;
    color: var(--gold-light);
    flex-shrink: 0;
}
.fiche-banner em {
    font-style: italic;
    color: var(--gold-light);
}
.fiche-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.fiche-item {
    padding: 36px 32px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.fiche-item-label {
    display: block;
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
    font-weight: 500;
}
.fiche-item-value {
    font-family: var(--serif);
    font-size: 26px;
    color: var(--forest);
    font-weight: 500;
    line-height: 1.2;
}
.fiche-item-sub {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--ink-soft);
    font-family: var(--sans);
}

/* ============================================
   GALERIE PLANS
   ============================================ */
.gallery {
    background: var(--cream);
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.gallery-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}
.gallery-item {
    background: var(--paper);
    cursor: zoom-in;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -20px rgba(0, 96, 57, 0.15);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 60px -20px rgba(0, 96, 57, 0.25);
}
.gallery-item-img {
    aspect-ratio: 4/3;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--paper);
    transition: transform 0.6s var(--ease);
}
.gallery-item.fit-cover .gallery-item-img {
    background-size: cover;
}
.gallery-item:hover .gallery-item-img {
    transform: scale(1.03);
}
.gallery-item-label {
    padding: 18px 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--paper);
}
.gallery-item-label span:first-child {
    font-family: var(--serif);
    font-size: 17px;
    color: var(--forest);
}
.gallery-item-label span:last-child {
    font-size: 10px;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

/* Placeholder 3D à venir */
.gallery-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--forest) 0%, var(--forest-dark) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--paper);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.gallery-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent 0 30px, rgba(163,126,44,0.06) 30px 31px);
}
.gallery-placeholder svg {
    width: 56px;
    height: 56px;
    color: var(--gold);
    margin-bottom: 24px;
    opacity: 0.8;
}
.gallery-placeholder h4 {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--gold-light);
    margin-bottom: 10px;
}
.gallery-placeholder p {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    max-width: 280px;
    font-weight: 300;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 48, 29, 0.94);
    backdrop-filter: blur(20px);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.lightbox.open {
    display: flex;
    opacity: 1;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    background: var(--paper);
}
.lightbox-close {
    position: absolute;
    top: 28px;
    right: 28px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--paper);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}
.lightbox-close:hover {
    background: var(--gold);
    border-color: var(--gold);
}
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--paper);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}
.lightbox-nav:hover { background: var(--gold); border-color: var(--gold); }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }
.lightbox-counter {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--paper);
    font-size: 12px;
    letter-spacing: 0.24em;
    opacity: 0.7;
}

/* ============================================
   PROJECT MAP
   ============================================ */
.project-map {
    padding: 0;
}
.project-map-frame {
    height: 520px;
    overflow: hidden;
    border-top: 4px solid var(--gold);
    box-shadow: 0 30px 60px -30px rgba(0,96,57,0.25);
}
.project-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.15) contrast(1.05);
    transition: filter 0.5s var(--ease);
}
.project-map-frame:hover iframe {
    filter: grayscale(0) contrast(1);
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
    background: var(--forest-deep);
    color: var(--paper);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(163,126,44,0.08), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(163,126,44,0.06), transparent 50%);
    pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; max-width: 820px; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 {
    font-family: var(--serif);
    font-size: clamp(36px, 4.5vw, 60px);
    line-height: 1.1;
    color: var(--paper);
    margin-bottom: 24px;
    font-weight: 400;
}
.cta-band h2 em {
    font-style: italic;
    color: var(--gold-light);
    font-weight: 300;
}
.cta-band p {
    font-size: 17px;
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    max-width: 620px;
    margin: 0 auto 48px;
    font-weight: 300;
}
.cta-band-actions {
    display: inline-flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================================
   CONTACT QUICK CARDS
   ============================================ */
.quick-contact {
    background: var(--paper);
}
.quick-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.quick-card {
    background: var(--cream);
    padding: 48px 36px;
    text-decoration: none;
    color: inherit;
    border-top: 3px solid var(--gold);
    transition: transform 0.4s var(--ease), background 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.quick-card:hover {
    transform: translateY(-6px);
    background: var(--paper);
    box-shadow: 0 30px 60px -30px rgba(0,96,57,0.25);
}
.quick-card-icon {
    width: 42px;
    height: 42px;
    color: var(--forest);
    stroke-width: 1.2;
}
.quick-card h3 {
    font-family: var(--serif);
    font-size: 24px;
    color: var(--forest);
    font-weight: 500;
}
.quick-card p {
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.65;
    font-weight: 300;
}
.quick-card-value {
    font-family: var(--serif);
    font-size: 18px;
    color: var(--gold);
    font-weight: 500;
    margin-top: auto;
}

/* ============================================
   RESPONSIVE — additions
   ============================================ */
@media (max-width: 1024px) {
    .page-hero-content { padding: 0 40px 80px; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .project-row,
    .project-row:nth-child(even) { grid-template-columns: 1fr; }
    .project-row:nth-child(even) .project-row-image { order: 0; }
    .project-row-body { padding: 40px; }
    .fiche-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-contact-grid { grid-template-columns: 1fr; }
    .timeline-list::before { left: 60px; }
    .timeline-item { grid-template-columns: 70px 1fr; gap: 32px; }
    .timeline-year { font-size: 24px; }
    .timeline-year::after { right: -18px; }
}

@media (max-width: 640px) {
    section { padding: 80px 0; }
    .page-hero { height: 70vh; min-height: 420px; }
    .page-hero-content { padding: 0 24px 60px; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .gallery-grid,
    .gallery-grid.cols-2 { grid-template-columns: 1fr; }
    .fiche-grid { grid-template-columns: 1fr; }
    .fiche-banner { padding: 20px; }
    .project-row-body { padding: 32px 24px; }
    .project-row-meta { gap: 20px; }
    .cta-band { padding: 80px 0; }
    .cta-band-actions .btn { width: 100%; }
    .lightbox-prev { left: 12px; }
    .lightbox-next { right: 12px; }
    .lightbox-nav { width: 44px; height: 44px; }
}

@media (max-width: 640px) {
    /* legacy bloc — conservé */
    .slide-text { font-size: 16px; }
    .slide-actions { flex-direction: column; align-items: stretch; }
    .btn { padding: 16px 24px; font-size: 11px; }
    .slider-nav { right: 24px; bottom: 90px; }
    .slider-arrow { width: 48px; height: 48px; }
    .slider-pagination { left: 24px; bottom: 30px; }
    .slider-counter { display: none; }
    .about-image-1 { width: 100%; height: 100%; }
    .about-image-2, .about-badge { display: none; }
    .about-visual { height: 400px; }
    .about-stats { grid-template-columns: 1fr; gap: 24px; }
    .programs-grid { grid-template-columns: 1fr; }
    .program-large { grid-column: span 1; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; }
    .contact-form { padding: 32px 24px; }
    .contact-map { margin-top: 40px; }
    .contact-map iframe { height: 320px; }
    .simulator-card { padding: 32px 24px; }
    .simulator-result-main { margin: 16px -16px; padding: 18px 20px; }
    .simulator-result-main .simulator-result-value { font-size: 24px; }
    .whatsapp-fab { width: 54px; height: 54px; bottom: 20px; right: 20px; }
    .whatsapp-fab svg { width: 30px; height: 30px; }
    .whatsapp-tooltip { display: none; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .scroll-indicator { display: none; }
}
