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

  :root {
    --sand: #C8A96E;
    --sand-light: #E8D5A8;
    --sand-dim: #8A7245; 
    --cream: #F2E8D5;
    --ink: #0C0905;
    --ink-mid: #1A140D;
    --ink-soft: #2A2018;
    --ocean: #0F2433;
    --copper: #A0521A;
    --white: #FAF7F2;
    --gray: #7A6E60;
    --coral: #D97757;
    --sand-yellow: #f7d579;
    --sand-verylight: #f3f0ec;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Jost', sans-serif;
    background: #2A1F12;
    color: var(--cream);
    overflow-x: hidden;
    font-weight: 300; /* Poids de base plus léger pour une esthétique plus élégante */
  }

  /* ───── GRAIN OVERLAY ───── */
  body::before {
    content: '';
    position: fixed;
    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='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
  }

  /* ───── NAV ───── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 2rem; /* Ajustez selon la hauteur souhaitée de votre nav */
    gap: 1.5rem;
  }

  .nav-logo {
    display: flex;
    align-items: center;
    gap: 0.55rem; /* léger écart pour équilibre */
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    color: var(--sand);
    text-decoration: none;
    /*text-transform: uppercase;*/
    font-weight: 400;
  }

  .nav-logo img {
    height: 56px; /* réduit pour alignement texte */
    width: auto;
    display: block;
    transform: translateY(-3px); /* remonte légèrement */
  }

  .nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    font-weight: normal;
  }

  .nav-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand-dim);
    display: block;
    margin-top: 0.2rem; /* petit espace entre le nom et le sous-titre */
    font-weight: normal;
  }

  .nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem; /* espace entre les liens */
    list-style: none;
    white-space: nowrap;
  }

  .nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.3s;
    font-weight: 400;
  }

  .nav-links a:hover { opacity: 1; color: var(--sand); }

  .nav-contact a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 1;
    transition: opacity 0.3s;
    font-weight: 400;
  }

/* Sélecteur de langue — élément direct de nav, toujours visible
  .lang-selector {
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }
 
  .lang-selector a {
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 400;
    transition: opacity 0.3s;
  }
 
  .lang-selector .sep {
    font-family: 'Jost', sans-serif;
    color: var(--ink-soft);
    opacity: 0.5;
    transition: opacity 0.3s;
  }

  .lang-selector a.active {
    font-weight: 600;
    opacity: 1;
  }
 
  .lang-selector a:not(.active) {
    opacity: 0.6;
  }
 
  .lang-selector a:hover {
    opacity: 1;
    color: var(--sand);
  }

  /* ───── HERO ───── */

#hero {
  position: relative;
  height: 100dvh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 5rem;
  padding-right: 5rem;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  flex: 1; /* Prend tout l'espace disponible */
  display: flex;
  flex-direction: column;
  padding-bottom: 10dvh; /* Pousse le contenu vers le haut */
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
  /*filter: saturate(0.5);*/
}

/* Overlay pour assurer la lisibilité du texte

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.165) 100%,
    rgba(0, 0, 0, 0.363) 100%
  );
}

  /* Cinematic letterbox lines */

  /*#hero::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 80px;
  background: var(--ink);
  z-index: 2;
}*/

  /* Le titre principal*/

  /* Le conteneur titre sous-titre pour stabiliser la structure */

.hero-main-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    
    /* Force le maintien sur une ligne quoi qu'il arrive */
    flex-wrap: nowrap; 
    white-space: nowrap; 
    
    width: 100%;
    max-width: 100vw; /* Empêche de dépasser la largeur de l'écran */
    min-height: 8rem; /* Hauteur minimale pour éviter les sauts de ligne */
    overflow: visible; /* On laisse le texte respirer */
    margin-bottom: auto;    /* marge du bas */
}

.hero-title, .hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 8vw, 6rem); /* Ajusté pour la fluidité */
  font-weight: 400;
  line-height: 0.95;
  color: var(--ink-soft);
  margin: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero-subtitle {
  font-style: italic;
}

/* L'esperluette avec sa typo spécifique */

.hero-amp {
    font-family: 'Cormorant Garamond', serif; /* La typo élégante */
    font-size: clamp(3rem, 11vw, 8rem);
    color: var(--sand-dim);
    font-style: italic; /* Important pour le style Garamond */
    font-weight: 300;
    line-height: 1;
    margin: 0;
}

/* Animation pour les titres */

#changing-title, #changing-subtitle, #changing-amp {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Empêche les changements brusques de mise en page */
.hero-title, .hero-subtitle {
    display: inline-block;
}

.fade-hidden {
    opacity: 0;
}

.hero-title, .hero-subtitle, .hero-amp {
    transition: opacity 0.5s ease-in-out;
}

.fade-out { opacity: 0; }

/* Indicateur de scroll (optionnel, mais recommandé pour l'UX) */
.hero-scroll {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--sand-dim, #c8a96e), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}


  /* ───── SECTION COMMONS ───── */
  section {
    padding: 7rem 5rem;
    position: relative;
  }

  .section-label {
    font-size: 0.62rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 300;
  }

  .section-label::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--sand);
  }
    h2.section-label {
    font-weight: normal;    /* Enlève le gras */
    font-size: 0.62rem;        /* Remet la taille d'un texte normal */
    margin: 0;              /* Enlève les espaces automatiques */
    font-family: inherit;   /* Force à utiliser la même police que le reste */
    padding-bottom: 0.5rem;
}
  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 1.5rem;
  }

  .section-title em { font-style: italic; color: var(--sand); }

  .divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(200,169,110,0.3), transparent);
    margin: 0;
  }

  /* ───── INTRO ───── */
  #intro {
    background: var(--ink-mid);
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 6rem;
    align-items: center;
  }

  .intro-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(242,232,213,0.75);
    margin-bottom: 1.5rem;
  }

  .intro-text p strong {
    color: var(--sand);
    font-weight: 500;
  }

  .intro-visual {
  position: relative;
  aspect-ratio: 3/2;
  height: auto;
  width: 100%;
}

  .intro-frame {
    position: absolute;
    inset: 0;
    border: none;
    border-radius: 2px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--ink-soft) 0%, #1A2535 50%, var(--ink-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .intro-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .intro-link-img {
    cursor: pointer !important;
    transition: transform 0.4s ease, filter 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.intro-link-img:hover {
    transform: scale(1.02); /* Très léger zoom */
    filter: brightness(1.02); /* L'image s'éclaire un peu au survol */
}

/* On s'assure que le lien ne crée pas de bordure bleue par défaut */
.intro-frame a {
    text-decoration: none;
    outline: none;
    display: block;
}

  .intro-caption {
    position: absolute;
    left: 1.3rem;
    bottom: 1.3rem;
    background: rgba(12, 9, 5, 0.7);
    border: 1px solid rgba(200, 169, 110, 0.4);
    color: var(--cream);
    padding: 0.55rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 2px;
    z-index: 2;
  }

  .photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.4;
  }

  .photo-placeholder svg { width: 48px; height: 48px; }
  .photo-placeholder span {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand);
  }

  .intro-frame-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border-top: 1px solid rgba(200,169,110,0.4);
    border-right: 1px solid rgba(200,169,110,0.4);
  }

  .intro-frame-accent2 {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-bottom: 1px solid rgba(200,169,110,0.4);
    border-left: 1px solid rgba(200,169,110,0.4);
  }

  .stat-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(200,169,110,0.15);
  }

  .stat { display: flex; flex-direction: column; gap: 0.3rem; }

  .stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--sand);
    line-height: 1;
  }

  .stat-label {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
  }

  /* ───── LIGHTBOX ───── */

#light {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center; 
}

#light-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease;
  cursor: pointer !important;
  pointer-events: auto; /* Indispensable pour que le clic soit détecté */
  user-select: none;
  -webkit-user-drag: none;
}
#light-slideshow img.active {
  opacity: 1;
}

  /* ───── SERVICES ───── */
  #services { background: var(--ink); }

  .services-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
    align-items: end;
  }

  .services-intro {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(242,232,213,0.6);
  }

  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    /*background: rgba(200,169,110,0.1);
    border: 1px solid rgba(200,169,110,0.1);*/
  }

  .service-card {
    background: var(--ink-mid);  /* au lieu de var(--ink) */
    padding: 2.5rem 2rem;
    transition: background 0.4s;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
  }

  .service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100%;
    /*background: rgba(12,9,5,0.1);*/
    transform: scaleX(1);
    transition: transform 0.4s;
  }

  .service-card:hover { background: var(--ink-soft); }
  .service-card:hover::before { transform: scaleX(1); }

  .service-icon {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: rgba(200,169,110,0.3);
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-style: italic;
  }

  h3.service-title {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 1rem;
    font-weight: 500;
  }

  .service-desc {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(242,232,213,0.55);
  }

  .service-list {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  .service-list a { color: var(--sand-dim); transition: color 0.3s; } .service-list a:hover { color: var(--sand-light); }

  .service-list li {
    font-size: 0.8rem;
    color: rgba(242,232,213,0.45);
    padding-left: 1rem;
    position: relative;
    line-height: 1.6;
  }

  .service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--sand-dim);
    font-size: 0.7rem;
  }

  /* ───── FOUNDER ───── */
  #founder {
    background: linear-gradient(135deg, var(--ocean) 0%, var(--ink-mid) 100%);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: center;
  }

  .founder-visual {
    position: relative;
    height: 1000px;
  }

  .founder-frame {
    position: absolute;
    inset: 0;
    border: none !important;
    outline: none !important;
    overflow: hidden;
    background: transparent !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .founder-name-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: linear-gradient(to top, rgba(12,9,5,0.9) 0%, transparent 100%);
    padding: 2rem 1.5rem 1rem;
  }

  .founder-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--cream);
  }

  .founder-role {
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand);
    margin-top: 0.3rem;
  }

  /*.founder-content { }*/

  .founder-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: var(--sand-light);
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 300;
  }

  .skill-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(200,169,110,0.1);
  }

  .skill-item:last-child { border-bottom: none; margin-bottom: 0; }

  .skill-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: rgba(200,169,110,0.25);
    font-weight: 300;
    line-height: 1;
    padding-top: 2px;
  }

  h2.skill-title {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .skill-desc {
    font-size: 0.88rem;
    line-height: 1.75;
    color: rgba(242,232,213,0.55);
  }

  .lang-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }

  .lang-pill {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border: 1px solid rgba(200,169,110,0.3);
    color: var(--sand-dim);
    border-radius: 20px;
    font-weight: 400;
  }

/* ───── WHY ME? ───── */





/* ───── PORTFOLIO / MAGAZINE GRID ───── */

/* --- FILTRES --- */
.portfolio-filters { display: flex; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.filter-btn {
  background: none; border: 1px solid rgba(200, 169, 110, 0.2); color: var(--gray);
  padding: 0.6rem 1.5rem; font-family: 'Jost', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; transition: 0.3s;
}
.filter-btn.active, .filter-btn:hover { border-color: var(--sand); color: var(--sand); }

/* --- GRILLE MAGAZINE --- */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 250px;
    gap: 15px;
    grid-auto-flow: dense;
}

.portfolio-item.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item { position: relative; overflow: hidden; background: var(--ink-soft); cursor: pointer; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.portfolio-item:hover img { transform: scale(1.05); filter: brightness(1.1); }

/* --- LIGHTBOX (VISIONNEUSE) --- */

.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
}
.lightbox.active {
    display: flex;}
/*.lightbox-container { position: relative; max-width: 90vw; max-height: 85vh; display: flex; flex-direction: column; align-items: center; }
#lightbox-img { max-width: 100%; max-height: 75vh; object-fit: contain; cursor: pointer; border: 1px solid rgba(200, 169, 110, 0.2); } */
#lightbox-caption { margin-top: 20px; color: var(--sand); letter-spacing: 0.3em; text-transform: uppercase; font-size: 0.7rem; }

/* Supprime le liseré blanc et les bordures parasites de la visionneuse */
#lightbox-img {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: block; /* Supprime l'espace blanc résiduel sous l'image */
    background-color: transparent !important;
    cursor: pointer; /* Indique visuellement qu'on peut cliquer */

    /* Assure que l'image ne dépasse pas de l'écran */
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

/* On s'assure aussi que le conteneur n'a pas de fond blanc qui dépasse */
.lightbox-container {
    background: transparent !important;
    padding: 0;
    border: none !important;
}

/* Flèches étroites et discrètes */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: #fff;
    border: none;
    font-size: 3rem; /* Chevrons bien visibles */
    padding: 10px 20px;
    cursor: pointer;
    z-index: 1001;
    transition: background 0.3s;
    user-select: none;
    gap: 0.5rem; /* gère l'écart entre les flèches et l'image */
}

.lightbox-nav:hover { color: var(--sand-light); background: rgba(0, 0, 0, 0); }
.lightbox-nav.left { left: 0; }
.lightbox-nav.right { right: 0; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: var(--sand); font-size: 2.5rem; cursor: pointer; z-index: 3002; }

/* Responsive : affichage réduit */
@media (max-width: 768px) 
{.lightbox-nav {
        font-size: 2rem; /* Chevrons plus petits sur mobile */
        padding: 5px 5px; /* Chevrons plus petits sur mobile */
        background: rgba(0, 0, 0, 0); /* Plus sombre sur mobile pour le contraste */
        align-items: inherit; /* Permet de garder les flèches alignées avec l'image */
        /* gap: 0.5rem;  gère l'écart entre les flèches et l'image sur mobile */
    }
    .lightbox-nav.left { left: 5px; }
    .lightbox-nav.right { right: 5px; }
}

/* Style du copyright dans la visionneuse */
.lightbox-copyright {
    display: block;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5); /* Gris translucide */
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 10px;
    font-family: var(--font-main);
}

/* Désactive la sélection de texte sur toute la visionneuse */
#lightbox {
    -webkit-user-select: none; 
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* On s'assure que les zones cliquables ne créent pas de "halo" bleu sur mobile */
.lightbox-container, 
.lightbox-nav,
#lightbox-img {
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

/* Le crédit photo reste propre et non sélectionnable */
.lightbox-copyright {
    user-select: none;
    pointer-events: none; /* Le clic passe à travers pour toucher le container */
}

/* ───── CASH REBATE ───── */
  #rebate {
    background: var(--ink);
    text-align: center;
    padding: 8rem 3rem;
  }

  .rebate-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 300;
    color: var(--ink-soft);
    line-height: 1;
    position: relative;
    display: inline-block;
    margin-bottom: -1rem;
  }

  .rebate-number span {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sand);
    font-size: clamp(6rem, 15vw, 12rem);
    -webkit-text-stroke: 1px var(--sand-dim);
    color: transparent;
  }

  .rebate-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-style: italic;
    color: var(--cream);
    font-weight: 300;
    margin-bottom: 1rem;
  }

  .rebate-desc {
    font-size: 0.9rem;
    color: rgba(242,232,213,0.5);
    max-width: 480px;
    margin: 0 auto 3rem;
    line-height: 1.9;
  }

  .rebate-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .rebate-pill {
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(200,169,110,0.3);
    color: var(--sand-dim);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 2px;
  }

  /* ───── CONTACT ───── */

  #contact {
    background: var(--ink-mid);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    padding-bottom: 8rem;
  }

  .contact-headline {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--cream);
    margin-bottom: 1.5rem;
  }

  .contact-headline em { font-style: italic; color: var(--sand); }

  .contact-text {
    font-size: 0.9rem;
    line-height: 1.9;
    color: rgba(242,232,213,0.55);
    margin-bottom: 3rem;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .contact-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-decoration: none;
    transition: gap 0.3s;
  }

  .contact-link:hover { gap: 2rem; }

  .contact-link-label {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand-dim);
    min-width: 80px;
    font-weight: 400;
  }

  .contact-link-value {
    font-size: 0.9rem;
    color: var(--cream);
    opacity: 0.7;
    transition: opacity 0.3s;
  }

  .contact-link:hover .contact-link-value { opacity: 1; color: var(--sand-light); }

  .contact-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(200,169,110,0.4);
    color: var(--sand);
    text-decoration: none;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 400;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }

  .contact-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--sand);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
  }

  .contact-cta:hover { color: var(--ink); border-color: var(--sand); }
  .contact-cta:hover::before { transform: translateX(0); }

  .contact-right {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(200,169,110,0.08);
    border: 1px solid rgba(200,169,110,0.08);
  }

  .info-block {
    background: var(--ink-mid);
    padding: 2rem 2.5rem;
    transition: background 0.3s;
  }

  .info-block:hover { background: var(--ink-soft); }

  .info-block-title {
    font-size: 0.62rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--sand);
    margin-bottom: 0.7rem;
    font-weight: 400;
  }

  .info-block-text {
    font-size: 0.88rem;
    color: rgba(242,232,213,0.6);
    line-height: 1.7;
  }

  /* ───── FOOTER ───── */
  footer {
    background: var(--ink);
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(200,169,110,0.1);
  }

  .footer-txt { text-decoration: none;}

  .footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: var(--sand);
    text-transform: uppercase;
    font-weight: 400;
  }

  .footer-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray);
    font-weight: 300;
  }

  .footer-copy {
    font-size: 0.8rem;
    color: rgba(154, 140, 123, 0.5);
  }

  /* ───── ANIMATIONS ───── */
  .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* ───── TICKER ───── */
  /*.ticker-wrap {
  overflow: hidden;
  background: var(--ink-soft);
  border-top: 1px solid rgba(200,169,110,0.12);
  border-bottom: 1px solid rgba(200,169,110,0.12);
  height: 58px;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: ticker-scroll 35s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  color: var(--sand-light);
  letter-spacing: 0.1em;
  padding: 0 1.5rem;
}
.ticker-sep { color: var(--sand-dim); font-size: 0.55rem; opacity: 0.7; }
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}*/


/* ───── LIGHT MODE (THÈME CLAIR) ───── */

@media (max-width: 1100px) {
  /*.intro-visual, .founder-visual {
    height: 350px;
  }*/
  #intro, #light {
    gap: 3rem;
  }
}
body.light-mode .contact-link-value {
  color: var(--ink);
}
body.light-mode {
  background: var(--sand-verylight);
  color: #1A140D;
}
body.light-mode .hero-bg img {
  opacity: 1;
}
/*body.light-mode .service-card {
  background: #E8D5A8;
}*/
body.light-mode footer {
  background: var(--sand-verylight);
}
body.light-mode #intro {
  background: var(--sand-verylight);
  color: var(--ink);
}
body.light-mode .intro-text p {
  color: rgba(12,9,5,0.75);
}
body.light-mode .section-title {
  color: var(--ink);
}
body.light-mode .section-label {
  color: var(--sand-dim);
}
body.light-mode #services {
  background: var(--sand-verylight);
}
body.light-mode .services-intro {
  color: rgba(12,9,5,0.7);
}
body.light-mode #portfolio {
  background: var(--sand-verylight) !important;
}
body.light-mode #contact {
  background: var(--sand-verylight) !important;
}
body.light-mode .contact-headline,
body.light-mode .contact-text {
  color: var(--ink);
}
body.light-mode #hero::before {
  background: var(--sand-verylight);
}
body.light-mode .intro-frame {
  background: var(--sand-verylight);
}

/* ───── RESPONSIVE ───── */

  @media (max-width: 1024px) {
    nav { padding: 0.3rem 1.5rem; }
    .nav-links { display: none; }
  }

  @media (max-width: 768px) {



    section { padding: 5rem 1.5rem; }

    #intro, #light, #founder, #contact { grid-template-columns: 1fr; gap: 3rem; }

    .services-header { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .portfolio-item:first-child { grid-row: auto; }
    footer { flex-direction: column; gap: 1rem; text-align: center; }
    
    .stat-row { gap: 2rem; }
    .rebate-number { font-size: clamp(5rem, 20vw, 8rem); }

/* Ajustements spécifiques pour le hero sur mobile */

    #hero { padding: 2rem 1rem; min-height: auto; padding-bottom: 12rem; height: 100dvh; min-height: 100dvh; width: 100%; display: flex;}

    .hero-main-title {
    flex-wrap: wrap;
    justify-content: flex-start; 
    flex-direction: column;
    gap: 0.1rem;
    }
    .hero-title, .hero-subtitle {
    /* Taille ajustée pour ne pas saturer l'écran mobile */
    font-size: clamp(4rem, 10vw, 3rem);
    }
    .hero-amp {
    /* L'esperluette un peu plus discrète sur petit écran */
    font-size: clamp(5.5rem, 12vw, 4rem);
    }
}

/* --- PROTECTION ANTI-PDF / IMPRESSION --- */

/* --- Sécurité pour toutes les images du site (Optionnel mais conseillé) --- */
img {
    border-style: none;
    vertical-align: middle;
}

/* Empêche la sélection et le vol facile, mais PERMET le clic */
.portfolio-item img, #lightbox-img {
    user-select: none;
    -webkit-user-drag: none;
    /* On enlève pointer-events: none car il bloque la navigation au clic */
    pointer-events: auto; 
}

/* On utilise une autre méthode pour protéger l'image dans la lightbox : l'overlay */
.lightbox-container {
    position: relative;
    cursor: pointer;
}

/* Cette astuce crée un bouclier invisible au-dessus de l'image */
.lightbox-container::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
}

/* On réactive les clics uniquement sur les conteneurs pour que la lightbox fonctionne */
.portfolio-item, .lightbox-container {
    cursor: pointer;
}

@media print {
    /* Cache complètement le portfolio et la visionneuse à l'impression */
    #portfolio, 
    .lightbox, 
    .portfolio-grid,
    img {
        display: none !important;
    }

    /* Optionnel : Affiche un message à la place si on essaie d'imprimer */
    body::before {
        content: "Le contenu de ce site est protégé. L'impression est désactivée.";
        display: block;
        text-align: center;
        padding: 20px;
        color: black;
    }
}
/* Désactive l'enregistrement facile via le glisser-déposer ou l'aspiration */
img {
    pointer-events: auto; /* Permet les clics normaux */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}
