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

    :root {
      --cream: #f5f0e8;
      --warm-white: #faf8f4;
      --charcoal: #2a2520;
      --stone: #8c8075;
      --brick: #9b4a2e;
      --gold: #b89a6a;
      --light-stone: #d4cec4;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Montserrat', sans-serif;
      background-color: var(--warm-white);
      color: var(--charcoal);
      font-weight: 300;
      letter-spacing: 0.02em;
    }

    /* ─── HEADER ─── */
    header {
      position: relative;
      height: 100vh;
      min-height: 600px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      background-color: var(--charcoal);
      overflow: hidden;
    }

    .header-bg {
      position: absolute;
      inset: 0;
      background-image: url('images/01_ecole_batiment.jpg');
      background-size: cover;
      background-position: center 40%;
      opacity: 0.35;
      filter: grayscale(30%);
    }

    .header-content {
      position: relative;
      z-index: 1;
      padding: 2rem;
      animation: fadeUp 1.4s ease both;
    }

    .header-eyebrow {
      font-family: 'Montserrat', sans-serif;
      font-weight: 400;
      font-size: 0.7rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 1.5rem;
    }

    header h1 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 40px;
      font-size: 60px;
      color: var(--cream);
      line-height: 1.05;
      letter-spacing: 0.04em;
    }

    header h1 em {
      font-style: italic;
      color: var(--gold);
    }

    .header-sub {
      margin-top: 2rem;
      font-size: 0.75rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--light-stone);
      font-weight: 300;
    }

    .header-logo {
      margin-top: 1.4rem;
      margin-bottom: 0.5rem;
      display: block;
    }

    .header-portrait {
      border-radius: 50%;
      border: 2px solid var(--gold);
      margin-bottom: 1.2rem;
      display: block;
      margin-left: auto;
      margin-right: auto;
      object-fit: cover;
    }

    .header-line {
      width: 60px;
      height: 1px;
      background: var(--gold);
      margin: 1.8rem auto;
    }

    .header-dates {
      font-family: 'Cormorant Garamond', serif;
      font-style: italic;
      color: var(--light-stone);
      font-size: 1.1rem;
      letter-spacing: 0.15em;
    }

    .scroll-hint {
      position: absolute;
      bottom: 1.2rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      color: var(--stone);
      font-size: 0.65rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      animation: pulse 2.5s ease-in-out infinite;
      z-index: 1;
    }

    .scroll-hint::after {
      content: '';
      width: 1px;
      height: 36px;
      background: linear-gradient(to bottom, var(--gold), transparent);
    }

    /* ─── INTRO ─── */
    .intro {
      max-width: 680px;
      margin: 0 auto;
      padding: 6rem 2rem;
      text-align: center;
      animation: fadeUp 1s ease both;
    }

    .intro-label {
      font-size: 0.65rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 2rem;
    }

    .intro p {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(1.2rem, 2.5vw, 1.55rem);
      font-weight: 300;
      line-height: 1.75;
      color: var(--charcoal);
    }

    .intro p em {
      font-style: italic;
      color: var(--brick);
    }

    .divider {
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--light-stone), transparent);
      margin: 0 auto;
    }

    /* ─── GALLERY ─── */
    .gallery-section {
      padding: 5rem 2rem 7rem;
      max-width: 1400px;
      margin: 0 auto;
    }

    .section-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .section-label {
      font-size: 0.65rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: var(--gold);
      display: block;
      margin-bottom: 1rem;
    }

    .section-header h2 {
      font-family: 'Cormorant Garamond', serif;
      font-weight: 300;
      font-size: clamp(2rem, 4vw, 3rem);
      color: var(--charcoal);
      letter-spacing: 0.05em;
    }

    /* Masonry grid */
    .gallery-grid {
      columns: 3;
      column-gap: 1.2rem;
      gap: 1.2rem;
    }

    @media (max-width: 900px) { .gallery-grid { columns: 2; } }
    @media (max-width: 540px) { .gallery-grid { columns: 1; } }

    .gallery-item {
      break-inside: avoid;
      margin-bottom: 1.2rem;
      position: relative;
      overflow: hidden;
      cursor: pointer;
    }

    .gallery-item img {
      width: 100%;
      display: block;
      transition: transform 0.6s ease, filter 0.4s ease;
      filter: sepia(8%) contrast(1.02);
    }

    .gallery-item:hover img {
      transform: scale(1.04);
      filter: sepia(0%) contrast(1.05);
    }

    .gallery-item-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(42,37,32,0.7) 0%, transparent 55%);
      opacity: 0;
      transition: opacity 0.4s ease;
      display: flex;
      align-items: flex-end;
      padding: 1.2rem;
    }

    .gallery-item:hover .gallery-item-overlay {
      opacity: 1;
    }

    .gallery-item-label {
      font-size: 0.65rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--cream);
    }

    /* ─── LIGHTBOX ─── */
    .lightbox {
      position: fixed;
      inset: 0;
      background: rgba(20, 17, 14, 0.96);
      z-index: 1000;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 2rem;
    }

    .lightbox.active {
      display: flex;
      animation: fadeIn 0.3s ease;
    }

    .lightbox-inner {
      position: relative;
      max-width: 90vw;
      max-height: 88vh;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .lightbox-inner img {
      max-width: 100%;
      max-height: 80vh;
      object-fit: contain;
      display: block;
      box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    }

    .lightbox-caption {
      margin-top: 1.2rem;
      font-size: 0.65rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--stone);
      text-align: center;
    }

    .lightbox-close {
      position: fixed;
      top: 1.5rem;
      right: 2rem;
      background: none;
      border: none;
      color: var(--cream);
      font-size: 2rem;
      cursor: pointer;
      line-height: 1;
      opacity: 0.6;
      transition: opacity 0.2s;
      font-weight: 100;
    }
    .lightbox-close:hover { opacity: 1; }

    .lightbox-nav {
      position: fixed;
      top: 50%;
      transform: translateY(-50%);
      background: none;
      border: 1px solid rgba(255,255,255,0.15);
      color: var(--cream);
      font-size: 1.2rem;
      cursor: pointer;
      padding: 1rem 1.2rem;
      opacity: 0.5;
      transition: opacity 0.2s, border-color 0.2s;
    }
    .lightbox-nav:hover { opacity: 1; border-color: var(--gold); }
    .lightbox-nav.prev { left: 1rem; }
    .lightbox-nav.next { right: 1rem; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--charcoal);
      color: var(--stone);
      text-align: center;
      padding: 4rem 2rem;
    }

    footer .footer-name {
      font-family: 'Cormorant Garamond', serif;
      font-size: 1.8rem;
      color: var(--cream);
      font-weight: 300;
      letter-spacing: 0.1em;
      margin-bottom: 0.6rem;
    }

    footer .footer-sub {
      font-size: 0.65rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 2rem;
    }

    footer .footer-line {
      width: 40px;
      height: 1px;
      background: var(--stone);
      margin: 0 auto 1.5rem;
    }

    footer p {
      font-size: 0.72rem;
      line-height: 1.9;
      letter-spacing: 0.05em;
      color: var(--stone);
    }

    /* ─── ANIMATIONS ─── */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(24px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeIn {
      from { opacity: 0; }
      to   { opacity: 1; }
    }
    @keyframes pulse {
      0%, 100% { opacity: 0.4; }
      50% { opacity: 0.9; }
    }

    .reveal {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
      opacity: 1;
      transform: translateY(0);
    }
