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

    :root {
      --gold: #c9a84c;
      --gold-light: #e8d5a3;
      --dark: #0a0a08;
      --dark2: #111110;
      --cream: #f0ead8;
      --font-display: 'Cormorant Garamond', Georgia, serif;
      --font-body: 'Montserrat', sans-serif;
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--dark);
      color: var(--cream);
      font-family: var(--font-body);
      overflow-x: hidden;
      cursor: none;
    }

    .hero-content.faded { opacity: 1; }


    /* CUSTOM CURSOR */
    .cursor {
      position: fixed;
      width: 8px; height: 8px;
      background: var(--gold);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transition: transform 0.1s;
    }
    .cursor-ring {
      position: fixed;
      width: 32px; height: 32px;
      border: 1px solid rgba(201,168,76,0.5);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9998;
      transition: all 0.15s ease;
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 22px 40px;
      background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    }
    .nav-logo {
      text-decoration: none;
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .logo-seal {
      width: 56px;
      height: 56px;
      flex-shrink: 0;
      color: var(--gold);
      display: block;
    }
    .logo-seal svg {
      display: block;
      width: 100%;
      height: 100%;
      overflow: visible;
    }
    .logo-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .logo-name {
      font-family: var(--font-display);
      font-size: 1rem;
      font-weight: 300;
      color: var(--cream);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      line-height: 1;
    }
    .logo-tagline {
      font-family: var(--font-body);
      font-size: 0.48rem;
      font-weight: 300;
      color: var(--gold);
      letter-spacing: 0.35em;
      text-transform: uppercase;
    }
    .nav-links {
      display: flex;
      gap: 28px;
      list-style: none;
      align-items: center;
    }
    .nav-links a {
      color: rgba(240,234,216,0.75);
      text-decoration: none;
      font-size: 0.6rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      font-weight: 300;
      white-space: nowrap;
      transition: color 0.3s;
    }
    .nav-links a:hover { color: var(--gold); }

    /* HERO SLIDESHOW */
    .hero {
      position: relative;
      height: 80vh;
      width: 100%;
      overflow: hidden;
      margin-top: 110px;
    }
    .slide {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transform: scale(1);
      transition: opacity 3.5s ease, transform 10s ease;
    }
    .slide.active {
      opacity: 1;
      transform: scale(1.03);
    }

    .slide:nth-child(1)  { background-image: url('images/carroussel/diapo-01.jpg'); background-position: center 35%; }
    .slide:nth-child(2)  { background-image: url('images/carroussel/diapo-02.jpg'); background-position: center; }
    .slide:nth-child(3)  { background-image: url('images/carroussel/diapo-03.jpg'); background-position: center; }
    .slide:nth-child(4)  { background-image: url('images/carroussel/diapo-04.jpg'); background-position: center; }
    .slide:nth-child(5)  { background-image: url('images/carroussel/diapo-05.jpg'); background-position: center; }
    .slide:nth-child(6)  { background-image: url('images/carroussel/diapo-06.jpg'); background-position: center; }
    .slide:nth-child(7)  { background-image: url('images/carroussel/diapo-07.jpg'); background-position: center; }
    .slide:nth-child(8)  { background-image: url('images/carroussel/diapo-08.jpg'); background-position: center 40%; }
    .slide:nth-child(9)  { background-image: url('images/carroussel/diapo-09.jpg'); background-position: center; }
    .slide:nth-child(10) { background-image: url('images/carroussel/diapo-10.jpg'); background-position: top center; }
    .slide:nth-child(11) { background-image: url('images/carroussel/diapo-11.jpg'); background-position: center; }
    .slide:nth-child(12) { background-image: url('images/carroussel/diapo-12.jpg'); background-position: center 40%; }
    .slide:nth-child(13) { background-image: url('images/carroussel/diapo-13.jpg'); background-position: center 25%; }

    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        135deg,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.55) 100%
      );
      z-index: 2;
    }

    .hero-content {
      transition: opacity 2s ease;
      position: absolute;
      bottom: 40px;
      left: 40px;
      z-index: 3;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: 6px;
    }

    .hero-eyebrow {
      font-size: 0.85rem;
      letter-spacing: 0.45em;
      text-transform: uppercase;
      color: var(--gold);
      font-weight: 400;
      margin: 0;
      opacity: 1;
    }
    .hero-name {
      font-family: var(--font-display);
      font-size: 4.2rem;
      font-weight: 300;
      line-height: 1;
      color: var(--cream);
      letter-spacing: 0.05em;
      opacity: 1;
      margin: 0;
    }
    .hero-name em {
      font-style: italic;
      color: var(--gold-light);
    }
    .hero-subtitle {
      font-size: 0.7rem;
      letter-spacing: 0.35em;
      text-transform: uppercase;
      color: rgba(240,234,216,0.65);
      font-weight: 300;
      margin-top: 28px;
      opacity: 0;
      animation: fadeUp 1s ease 1.2s forwards;
    }
    .hero-cta {
      margin-top: 6px;
      opacity: 0;
      animation: fadeUp 1s ease 1.5s forwards;
    }
    .btn-explore {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: transparent;
      border: 1px solid var(--gold);
      color: var(--gold);
      padding: 12px 28px;
      font-family: var(--font-body);
      font-size: 0.72rem;
      letter-spacing: 0.25em;
      text-transform: uppercase;
      text-decoration: none;
      cursor: none;
      transition: all 0.4s ease;
    }
    .btn-explore:hover {
      background: var(--gold);
      color: var(--dark);
    }
    .btn-explore .arrow {
      font-size: 1rem;
      transition: transform 0.3s;
    }
    .btn-explore:hover .arrow { transform: translateX(5px); }

    /* Slide counter */
    .slide-counter {
      position: absolute;
      bottom: 48px;
      right: 52px;
      z-index: 4;
      font-family: var(--font-display);
      font-size: 0.75rem;
      color: rgba(240,234,216,0.4);
      letter-spacing: 0.1em;
    }
    .slide-counter span { color: var(--gold); }

    /* Scroll indicator */
    .scroll-hint {
      position: absolute;
      bottom: 48px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 4;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .scroll-line {
      width: 1px;
      height: 50px;
      background: linear-gradient(to bottom, var(--gold), transparent);
      animation: scrollPulse 2s ease infinite;
    }
    .scroll-text {
      font-size: 0.5rem;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: rgba(240,234,216,0.4);
      writing-mode: vertical-rl;
      margin-top: 8px;
    }

    /* =============================================
       GALERIES
       ============================================= */
    .section-galleries {
      padding: 110px 6vw 220px;
      background: var(--dark2);
    }
    .section-header {
      text-align: center;
      margin-bottom: 60px;
    }
    .section-tag {
      font-size: 0.58rem;
      letter-spacing: 0.5em;
      text-transform: uppercase;
      color: var(--gold);
      display: block;
      margin-bottom: 16px;
    }
    .section-title {
      font-family: var(--font-display);
      font-size: clamp(2.5rem, 5vw, 4.5rem);
      font-weight: 300;
      font-style: italic;
      color: var(--cream);
      line-height: 1.1;
    }

    /* Grille 4 colonnes × 2 rangées — uniforme */
    .galleries-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
    }

    /* La carte EST un lien <a> qui porte la photo en fond */
    .gallery-card {
      position: relative;
      overflow: hidden;
      cursor: none;
      aspect-ratio: 1/1;
      display: block;
      text-decoration: none;
      background-size: cover;
      background-position: center;
    }

    /* Pseudo-élément pour le zoom au survol (la photo) */
    .gallery-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image: inherit;
      background-size: cover;
      background-position: center;
      transition: transform 0.8s ease;
      z-index: 0;
    }
    .gallery-card:hover::before { transform: scale(1.06); }

    /* Photos de couverture des galeries */
    .gallery-card:nth-child(1) { background-image: url('images/oiseaux/oiseaux-1.jpg'); }
    .gallery-card:nth-child(2) { background-image: url('images/mammiferes/mammiferes-1.jpg'); }
    .gallery-card:nth-child(3) { background-image: url('images/insectes/insectes-1.jpg'); }
    .gallery-card:nth-child(4) { background-image: url('images/orchidees/orchidees-1.jpg'); }
    .gallery-card:nth-child(5) { background-image: url('images/paysages/paysages-1.jpg'); }
    .gallery-card:nth-child(6) { background-image: url('images/voielactee/voielactee-1.jpg'); }
    .gallery-card:nth-child(7) { background-image: url('images/nuit/nuit-1.jpg'); }
    .gallery-card:nth-child(8) { background-image: url('images/divers/divers-1.jpg'); }

    .gallery-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, transparent 100%);
      opacity: 0.75;
      transition: opacity 0.4s;
      z-index: 1;
    }
    .gallery-card:hover .gallery-overlay { opacity: 1; }

    .gallery-info {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 22px 20px;
      transform: translateY(6px);
      transition: transform 0.4s;
      z-index: 2;
    }
    .gallery-card:hover .gallery-info { transform: translateY(0); }

    .gallery-number {
      font-size: 0.5rem;
      letter-spacing: 0.3em;
      color: var(--gold);
      text-transform: uppercase;
      display: block;
      margin-bottom: 5px;
    }
    .gallery-name {
      font-family: var(--font-display);
      font-size: clamp(1rem, 1.6vw, 1.5rem);
      font-weight: 300;
      color: var(--cream);
      letter-spacing: 0.02em;
    }
    .gallery-arrow {
      display: inline-block;
      margin-top: 8px;
      font-family: var(--font-body);
      font-size: 0.58rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .gallery-card:hover .gallery-arrow {
      opacity: 1;
      transform: translateY(0);
    }

    /* =============================================
       ABOUT STRIP
       ============================================= */
    .about-strip {
      padding: 120px 10vw;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
      background: var(--dark);
    }
    .about-text .section-tag { text-align: left; }
    .about-title {
      font-family: var(--font-display);
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 300;
      line-height: 1.2;
      margin: 16px 0 28px;
    }
    .about-title em { font-style: italic; color: var(--gold-light); }
    .about-desc {
      color: rgba(240,234,216,0.6);
      font-size: 0.82rem;
      line-height: 2;
      font-weight: 300;
      max-width: 440px;
    }
    .about-img-wrap {
      position: relative;
    }
    .about-img {
      width: 100%;
      aspect-ratio: 4/5;
      object-fit: cover;
      background: url('images/divers/divers-1.jpg') center/cover;
    }
    .about-img-accent {
      position: absolute;
      bottom: -20px;
      right: -20px;
      width: 60%;
      height: 60%;
      border: 1px solid var(--gold);
      z-index: -1;
    }

    /* =============================================
       FOOTER
       ============================================= */
    footer {
      background: var(--dark2);
      border-top: 1px solid rgba(201,168,76,0.15);
      padding: 60px 8vw;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer-logo {
      font-family: var(--font-display);
      font-size: 1.6rem;
      font-weight: 300;
      font-style: italic;
      color: var(--gold-light);
    }
    .footer-links {
      list-style: none;
      display: flex;
      gap: 32px;
    }
    .footer-links a {
      color: rgba(240,234,216,0.4);
      text-decoration: none;
      font-size: 0.6rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      transition: color 0.3s;
    }
    .footer-links a:hover { color: var(--gold); }
    .footer-copy {
      font-size: 0.58rem;
      color: rgba(240,234,216,0.25);
      letter-spacing: 0.1em;
    }

    /* =============================================
       ANIMATIONS
       ============================================= */
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(30px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes scrollPulse {
      0%, 100% { opacity: 0.3; }
      50% { opacity: 1; }
    }

    /* =============================================
       RESPONSIVE — 4 PALIERS
       ============================================= */

    /* --- HAMBURGER MENU --- */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 6px;
      width: 40px;
      height: 40px;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 200;
      padding: 4px;
    }
    .hamburger span {
      display: block;
      width: 26px;
      height: 1px;
      background: var(--cream);
      transition: all 0.35s ease;
      transform-origin: center;
    }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* Menu mobile overlay */
    .nav-mobile-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(10,10,8,0.97);
      z-index: 150;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 40px;
      opacity: 0;
      transition: opacity 0.4s ease;
    }
    .nav-mobile-overlay.open {
      display: flex;
      opacity: 1;
    }
    .nav-mobile-overlay a {
      font-family: var(--font-display);
      font-size: clamp(1.8rem, 6vw, 2.8rem);
      font-weight: 300;
      font-style: italic;
      color: var(--cream);
      text-decoration: none;
      letter-spacing: 0.05em;
      transition: color 0.3s;
    }
    .nav-mobile-overlay a:hover { color: var(--gold); }

    /* ---- GRAND ÉCRAN > 1440px ---- */
    @media (min-width: 1440px) {
      nav { padding: 32px 72px; }
      .nav-links { gap: 52px; }
      .hero { height: 80vh; margin-top: 120px; }
      .hero-name { font-size: 5.5rem; }
      .hero-content { left: 72px; bottom: 60px; }
      .slide-counter { right: 72px; }
      .galleries-grid { gap: 8px; }
    }

    /* ---- TABLETTE 768px – 1024px ---- */
    @media (max-width: 1024px) {
      nav { padding: 22px 36px; }
      .nav-links { gap: 18px; }
      .nav-links a { font-size: 0.54rem; letter-spacing: 0.15em; }

      .hero { height: 70vh; margin-top: 90px; }
      .hero-name { font-size: 3.2rem; }
      .hero-content { left: 36px; bottom: 36px; }
      .slide-counter { right: 36px; bottom: 36px; }
      .scroll-hint { display: none; }

      .section-galleries { padding: 70px 4vw 90px; }
      .section-header { margin-bottom: 44px; }

      /* Grille tablette : 2 colonnes × 4 rangées */
      .galleries-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }

      /* Sur tablette pas de hover fiable : infos visibles */
      .gallery-overlay { opacity: 1; }
      .gallery-info { transform: translateY(0); }
      .gallery-arrow { opacity: 1; transform: translateY(0); }

      .about-strip { padding: 70px 6vw; gap: 50px; }
      footer { padding: 50px 6vw; gap: 28px; }
    }

    /* ---- MOBILE 480px – 768px ---- */
    @media (max-width: 768px) {
      body { cursor: auto; }
      .cursor, .cursor-ring { display: none; }

      nav { padding: 18px 24px; }
      .nav-links { display: none; }
      .hamburger { display: flex; }

      .hero { height: 65vh; margin-top: 72px; }
      .hero-name { font-size: 2.6rem; }
      .hero-eyebrow { font-size: 0.7rem; letter-spacing: 0.3em; }
      .hero-content { left: 24px; bottom: 28px; gap: 4px; }
      .btn-explore { padding: 10px 20px; font-size: 0.65rem; }
      .slide-counter { right: 24px; bottom: 28px; font-size: 0.65rem; }
      .scroll-hint { display: none; }

      .section-galleries { padding: 50px 5vw 70px; }
      .section-header { margin-bottom: 32px; }

      /* Grille mobile : 2 colonnes carrées */
      .galleries-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
      .gallery-card { aspect-ratio: 1/1; }

      .gallery-overlay { opacity: 1; }
      .gallery-info { transform: translateY(0); }
      .gallery-arrow { opacity: 1; transform: translateY(0); }

      .about-strip {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 50px 6vw;
      }
      .about-img-accent { display: none; }
      .about-desc { max-width: 100%; }

      footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 40px 6vw;
      }
      .footer-links { flex-wrap: wrap; justify-content: center; gap: 18px; }
    }

    /* ---- PETIT MOBILE < 480px ---- */
    @media (max-width: 480px) {
      nav { padding: 16px 18px; }
      .logo-seal { width: 42px; height: 42px; }
      .logo-name { font-size: 0.82rem; }

      .hero { height: 60vh; margin-top: 64px; }
      .hero-name { font-size: 2rem; letter-spacing: 0.02em; }
      .hero-eyebrow { font-size: 0.6rem; }
      .hero-content { left: 18px; bottom: 22px; }
      .btn-explore { padding: 9px 16px; font-size: 0.6rem; gap: 8px; }
      .slide-counter { right: 18px; font-size: 0.6rem; }

      .section-galleries { padding: 40px 4vw 60px; }

      /* 1 colonne pleine largeur */
      .galleries-grid { grid-template-columns: 1fr; gap: 3px; }
      .gallery-card { aspect-ratio: 16/9; }

      .about-strip { padding: 40px 5vw; gap: 28px; }
      .about-title { font-size: 2rem; }

      footer { padding: 32px 5vw; }
      .footer-links { gap: 14px; }
    }
