/* ============================================================
   SERENITY WELLNESS — Feuille de style principale
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
/* ── Thème sombre (défaut) ────────────────────────────────── */
:root {
  --black:      #022035;
  --black-soft: #032848;
  --black-mid:  #043560;
  --gold:       #c6ad77;
  --gold-light: #d9c49a;
  --gold-dark:  #9e8a55;
  --white:      #ebe7d7;
  --white-dim:  rgba(235, 231, 215, 0.70);
  --white-faint:rgba(235, 231, 215, 0.15);}

/* ── Thème clair ──────────────────────────────────────────── */
:root[data-theme="light"] {
  --black:      #fafafa;
  --black-soft: #f0ece0;
  --black-mid:  #e8e2d0;
  --gold:       #8a6e3a;
  --gold-light: #a07840;
  --gold-dark:  #6b5228;
  --white:      #1a1a2e;
  --white-dim:  rgba(26, 26, 46, 0.72);
  --white-faint:rgba(26, 26, 46, 0.12);}

/* Reprise variables après le bloc thème */
:root {

  --font-title: 'Cormorant Garamond', Georgia, serif;
  --font-body:  'Montserrat', 'Helvetica Neue', sans-serif;

  --max-width: 1280px;
  --section-pad: clamp(80px, 10vw, 140px);
  --nav-h: 80px;

  --transition: .45s cubic-bezier(.25,.46,.45,.94);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Layout helpers ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}
section { padding: var(--section-pad) 0; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: .02em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2.2rem); }
h4 { font-size: clamp(1.1rem, 1.8vw, 1.5rem); }

.overline {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.lead {
  font-size: clamp(.95rem, 1.4vw, 1.1rem);
  line-height: 1.9;
  color: var(--white-dim);
  max-width: 68ch;
}

/* ── Divider ────────────────────────────────────────────────── */
.gold-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 2rem 0;
}
.gold-line--center { margin: 2rem auto; display: block; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 1rem 2.4rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  z-index: 0;
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { color: var(--black); }
.btn-primary span { position: relative; z-index: 1; }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--white-faint);
  color: var(--white-dim);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition);
}
.nav.scrolled {
  background: rgba(2,32,53,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(198,173,119,.12);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav__logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.footer__logo-img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.footer__logo:hover .footer__logo-img { opacity: 1; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.5vw, 2.6rem);
}
.nav__link {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }
.nav__cta {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .65rem 1.6rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  transition: var(--transition);
}
.nav__cta:hover { background: var(--gold); color: var(--black); }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav__burger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--white);
  transition: var(--transition);
}
.nav__burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.menu-open .nav { background: rgba(2,32,53,.97); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(198,173,119,.15); }

/* mobile menu — voir section MENU MOBILE REFONTE */

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(198,173,119,.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(198,173,119,.04) 0%, transparent 50%),
    linear-gradient(160deg, #012234 0%, #022035 40%, #011828 100%);
}
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2,32,53,.72);
  z-index: 1;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(198,173,119,.012) 2px,
    rgba(198,173,119,.012) 3px
  );
  z-index: 2;
}
.hero__content {
  position: relative;
  z-index: 5;
  max-width: 820px;
}
.hero__title {
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 2rem;
  color: var(--white);
}
.hero__title em { color: var(--gold); font-style: normal; }
.hero__sub {
  font-size: clamp(.9rem, 1.3vw, 1rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 3rem;
  font-weight: 400;
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white-faint);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { opacity: .4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(.6); }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT / DUO
═══════════════════════════════════════════════════════════════ */
.about {
  position: relative;
  background: var(--black);
}
.about__header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 5rem);
}
.about__header .gold-line { margin: 1.5rem auto; }

.about__duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  margin-bottom: clamp(3rem, 5vw, 5rem);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.about__portrait-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  border: 1px solid rgba(198,173,119,.15);
  margin-bottom: 1.2rem;
}
.about__portrait-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(20%);
  transition: transform .8s cubic-bezier(.25,.46,.45,.94), filter .5s ease;
}
.about__portrait:hover .about__portrait-img img {
  transform: scale(1.04);
  filter: grayscale(0%);
}
.about__portrait-info {
  text-align: center;
  padding-top: .8rem;
  border-top: 1px solid rgba(198,173,119,.12);
}
.about__portrait-info strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: .3rem;
}
.about__portrait-info span {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

.about__text {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.about__text p { margin-bottom: 1.6rem; color: var(--white-dim); line-height: 1.9; }

/* ═══════════════════════════════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════════════════════════════ */
.services { background: var(--black-soft); }
.services__header { text-align: center; margin-bottom: clamp(3rem, 6vw, 6rem); }
.services__header .overline { display: flex; justify-content: center; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
}
.service-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.service-card__bg {
  position: absolute;
  inset: 0;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.service-card:hover .service-card__bg { transform: scale(1.06); }

/* Individual card gradients */
.service-card--sauna .service-card__bg {
  background: linear-gradient(135deg, #011e33 0%, #033050 40%, #022035 100%);
}
.service-card--hammam .service-card__bg {
  background: linear-gradient(135deg, #011828 0%, #022035 40%, #022035 100%);
}
.service-card--spa .service-card__bg {
  background: linear-gradient(135deg, #011828 0%, #022035 40%, #022035 100%);
}
.service-card--vestiaire .service-card__bg {
  background: linear-gradient(135deg, #011828 0%, #022035 40%, #022035 100%);
}
.service-card--douche .service-card__bg {
  background: linear-gradient(135deg, #011828 0%, #022035 40%, #022035 100%);
}
.service-card--sel .service-card__bg {
  background: linear-gradient(135deg, #011828 0%, #022035 40%, #022035 100%);
}
.service-card--equip .service-card__bg {
  background: linear-gradient(135deg, #011828 0%, #022035 40%, #022035 100%);
}

/* Glow overlay */
.service-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 30%, rgba(198,173,119,.09) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover .service-card__glow { opacity: 1; }

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,32,53,.95) 0%, rgba(2,32,53,.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem;
  transition: var(--transition);
}
.service-card__number {
  font-family: var(--font-title);
  font-size: .85rem;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: .5rem;
  opacity: .6;
}
.service-card__title {
  font-family: var(--font-title);
  font-size: 1.65rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .6rem;
  line-height: 1.2;
}
.service-card__sub {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}
.service-card:hover .service-card__sub { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   RÉFÉRENCES
═══════════════════════════════════════════════════════════════ */
.references { background: var(--black); }
.references__header { text-align: center; margin-bottom: clamp(3rem, 6vw, 6rem); }
.references__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid rgba(198,173,119,.1);
}
.ref-item {
  padding: 2.8rem 2.4rem;
  border: 1px solid rgba(198,173,119,.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.ref-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 120% at 50% 100%, rgba(198,173,119,.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.ref-item:hover::before { opacity: 1; }
.ref-item:hover { border-color: rgba(198,173,119,.2); }
.ref-item__name {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: .4rem;
  line-height: 1.2;
}
.ref-item__type {
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════════════
   PARTENAIRES
═══════════════════════════════════════════════════════════════ */
.partners { background: var(--black-soft); }
.partners__header { text-align: center; margin-bottom: clamp(3rem, 5vw, 5rem); }
.partners__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.partner-item {
  padding: 1.2rem 2rem;
  border: 1px solid rgba(198,173,119,.08);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: brightness(0.6);
}
.partner-item:hover {
  border-color: rgba(198,173,119,.25);
  filter: brightness(1);
}
.partner-item img {
  height: 38px;
  width: auto;
  max-width: 180px;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT / FORM
═══════════════════════════════════════════════════════════════ */
#contact { background: var(--black); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(4rem, 8vw, 10rem);
  align-items: start;
}
.contact__info h2 { margin-bottom: 1.2rem; }
.contact__info p { color: var(--white-dim); margin-bottom: 2rem; }
.contact__detail {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  margin-bottom: 1.5rem;
}
.contact__detail-label {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact__detail-value { font-size: .9rem; color: var(--white-dim); }

/* Form */
.form { display: grid; gap: 1.6rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.form__group { display: flex; flex-direction: column; gap: .5rem; }
.form__label {
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.form__input,
.form__select,
.form__textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(198,173,119,.2);
  padding: .75rem 0;
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 300;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus { border-bottom-color: var(--gold); }
.form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c6ad77' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
}
.form__select option { background: var(--black-mid); color: var(--white); }
.form__textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form__submit { margin-top: .4rem; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--black-mid);
  border-top: 1px solid rgba(198,173,119,.2);
  padding: clamp(2.5rem, 4vw, 4rem) 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__logo {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--white-dim);
}
.footer__logo span { color: var(--gold); }
.footer__copy {
  font-size: .65rem;
  letter-spacing: .1em;
  color: rgba(235,231,215,.25);
}
.footer__links {
  display: flex;
  gap: 2rem;
}
.footer__links a {
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(235,231,215,.3);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════════
   PRODUCT PAGE — SPECIFIC
═══════════════════════════════════════════════════════════════ */
.product-hero {
  position: relative;
  height: 92vh;
  min-height: 580px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(3rem, 6vw, 7rem);
}
.product-hero__bg {
  position: absolute;
  inset: 0;
}
.product-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,32,53,1) 0%, rgba(2,32,53,.55) 45%, rgba(2,32,53,.2) 100%);
}
.product-hero__content { position: relative; z-index: 1; }
.product-hero__title {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.product-hero__accroche {
  max-width: 600px;
  font-size: clamp(.95rem, 1.3vw, 1.1rem);
  color: var(--white-dim);
  line-height: 1.8;
}

/* Hero bg variants */
.product-hero--sauna .product-hero__bg {
  background: radial-gradient(ellipse 100% 80% at 60% 40%, #2a1a08 0%, #011828 35%, #022035 70%);
}
.product-hero--hammam .product-hero__bg {
  background: radial-gradient(ellipse 100% 80% at 40% 50%, #022035 0%, #011828 35%, #022035 70%);
}
.product-hero--spa .product-hero__bg {
  background: radial-gradient(ellipse 100% 80% at 55% 45%, #022035 0%, #011828 35%, #022035 70%);
}
.product-hero--vestiaire .product-hero__bg {
  background: radial-gradient(ellipse 100% 80% at 50% 40%, #022035 0%, #011828 35%, #022035 70%);
}
.product-hero--douche .product-hero__bg {
  background: radial-gradient(ellipse 100% 80% at 45% 50%, #022035 0%, #011828 35%, #022035 70%);
}
.product-hero--sel .product-hero__bg {
  background: radial-gradient(ellipse 100% 80% at 60% 40%, #022035 0%, #011828 35%, #022035 70%);
}
.product-hero--equip .product-hero__bg {
  background: radial-gradient(ellipse 100% 80% at 50% 40%, #022035 0%, #011828 35%, #022035 70%);
}

/* Description section */
.product-desc { background: var(--black); }
.product-desc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 8vw, 10rem);
  align-items: start;
}
.product-desc__text p {
  color: var(--white-dim);
  margin-bottom: 1.6rem;
  font-size: .95rem;
  line-height: 1.85;
}
.product-desc__aside {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.product-desc__aside-visual {
  aspect-ratio: 3/4;
  background:
    radial-gradient(ellipse 80% 80% at 50% 30%, rgba(198,173,119,.1) 0%, transparent 60%),
    linear-gradient(170deg, #012234 0%, #022035 60%);
  border: 1px solid rgba(198,173,119,.1);
  position: relative;
  overflow: hidden;
}
.product-desc__aside-visual::before {
  content: '';
  position: absolute;
  top: 20%; left: 15%;
  width: 70%; height: 60%;
  border: 1px solid rgba(198,173,119,.08);
}

/* Pillars */
.pillars { background: var(--black-soft); }
.pillars__header { text-align: center; margin-bottom: clamp(3rem, 6vw, 6rem); }
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pillar {
  padding: clamp(2.5rem, 4vw, 4rem) clamp(2rem, 3vw, 3rem);
  background: var(--black);
  border: 1px solid rgba(198,173,119,.06);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pillar::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .6s cubic-bezier(.25,.46,.45,.94);
}
.pillar:hover::after { width: 100%; }
.pillar:hover { border-color: rgba(198,173,119,.15); }
.pillar__num {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(198,173,119,.12);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.pillar__title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}
.pillar__text { font-size: .88rem; color: var(--white-dim); line-height: 1.8; }

/* Pour qui */
.pour-qui { background: var(--black); }
.pour-qui__header { text-align: center; margin-bottom: clamp(3rem, 6vw, 6rem); }
.pour-qui__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 3vw, 3rem);
}
.pq-card {
  padding: clamp(2rem, 3.5vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
  border: 1px solid rgba(198,173,119,.1);
  background: var(--black-soft);
  transition: var(--transition);
}
.pq-card:hover { border-color: rgba(198,173,119,.3); background: var(--black-mid); }
.pq-card__icon {
  width: 40px; height: 1px;
  background: var(--gold);
  margin-bottom: 1.8rem;
}
.pq-card__title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
}
.pq-card__text { font-size: .88rem; color: var(--white-dim); line-height: 1.8; }

/* CTA banner */
.cta-banner {
  background: var(--black-soft);
  text-align: center;
  padding: clamp(5rem, 9vw, 10rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(198,173,119,.06) 0%, transparent 60%);
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner h2 { margin-bottom: 1.2rem; }
.cta-banner p { color: var(--white-dim); margin-bottom: 2.5rem; max-width: 50ch; margin-left: auto; margin-right: auto; }

/* ═══════════════════════════════════════════════════════════════
   ANIMATIONS (Intersection Observer)
═══════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up--delay-1 { transition-delay: .1s; }
.fade-up--delay-2 { transition-delay: .2s; }
.fade-up--delay-3 { transition-delay: .3s; }
.fade-up--delay-4 { transition-delay: .4s; }
.fade-up--delay-5 { transition-delay: .5s; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__visual { max-width: 500px; margin: 0 auto; }
  .contact__grid { grid-template-columns: 1fr; }
  .product-desc__grid { grid-template-columns: 1fr; }
  .product-desc__aside { position: static; }
}

@media (max-width: 768px) {
  .nav__menu { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
.nav__mobile.open ~ * .nav__burger,
.nav__mobile.open + .nav__burger { display: none; }

  .services__grid { grid-template-columns: 1fr; }
  .pillars__grid { grid-template-columns: 1fr; gap: 1px; }
  .pour-qui__grid { grid-template-columns: 1fr; }
  .references__grid { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .about__names { flex-direction: column; gap: 1.5rem; }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .references__grid { grid-template-columns: 1fr; }
  .partners__grid { gap: 1rem; }
}

/* ═══════════════════════════════════════════════════════════════
   NAV DROPDOWN
═══════════════════════════════════════════════════════════════ */
.nav__dropdown { position: relative; }
.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(2,32,53,.97);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(198,173,119,.15);
  min-width: 220px;
  padding: .6rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
  z-index: 100;
}
.nav__dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown-menu li a {
  display: block;
  padding: .65rem 1.4rem;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(235,231,215,.6);
  transition: color .2s, background .2s;
}
.nav__dropdown-menu li a:hover {
  color: var(--gold);
  background: rgba(198,173,119,.06);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER ÉTENDU
═══════════════════════════════════════════════════════════════ */
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 3rem;
}
.footer__nav {
  display: flex;
  gap: 4rem;
  justify-content: center;
}
.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer__nav-title {
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 1;
  margin-bottom: .6rem;
}
.footer__nav-col a {
  font-size: .68rem;
  letter-spacing: .1em;
  color: rgba(235,231,215,.75);
  transition: color var(--transition);
}
.footer__nav-col a:hover { color: var(--gold); }
.footer__copy {
  font-size: .62rem;
  letter-spacing: .1em;
  color: rgba(235,231,215,.55);
  align-self: end;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   FORMULAIRE PAGE PRODUIT
═══════════════════════════════════════════════════════════════ */
.product-contact {
  background: var(--black-soft);
  position: relative;
  overflow: hidden;
}
.product-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 100% at 50% 100%, rgba(198,173,119,.05) 0%, transparent 60%);
}
.product-contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}
.product-contact__text h2 { margin-bottom: .8rem; }
.product-contact__text .lead { margin-top: 1.2rem; }
.product-contact__form { display: grid; gap: 1.4rem; }

@media (max-width: 768px) {
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer__nav { flex-direction: column; gap: 2rem; }
  .footer__nav-col { align-items: center; }
  .product-contact__inner { grid-template-columns: 1fr; }
  .nav__dropdown-menu { left: 0; transform: translateY(-6px); }
  .nav__dropdown-menu.open { transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   MENU MOBILE — REFONTE COMPLÈTE
═══════════════════════════════════════════════════════════════ */
.nav__mobile {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: #022035;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  padding: 0;
  overflow-y: auto;
}
.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  z-index: 999;
}

/* Header du menu mobile */
.nav__mobile-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1.2rem;
  height: var(--nav-h);
  border-bottom: 1px solid rgba(198,173,119,.1);
  flex-shrink: 0;
}
.nav__mobile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(198,173,119,.3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer !important;
}
.nav__mobile-close:hover,
.nav__mobile-close:active { background: rgba(198,173,119,.15); }

/* Liens du menu mobile */
.nav__mobile-links {
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  flex: 1;
}
.nav__mobile-item {
  display: block;
  padding: 1rem 1.8rem;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(235,231,215,.7);
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: color .2s;
  border-bottom: 1px solid rgba(198,173,119,.06);
}
.nav__mobile-item:hover { color: var(--gold); }
.nav__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__mobile-toggle svg {
  transition: transform .25s ease;
  opacity: .5;
}
.nav__mobile-toggle.open svg { transform: rotate(180deg); opacity: 1; }
.nav__mobile-toggle.open { color: var(--gold); }

/* Sous-menu mobile */
.nav__mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  background: rgba(0,0,0,.15);
}
.nav__mobile-submenu.open { max-height: 400px; }
.nav__mobile-submenu li a {
  display: block;
  padding: .75rem 1.8rem .75rem 2.6rem;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(198,173,119,.7);
  border-bottom: 1px solid rgba(198,173,119,.04);
  transition: color .2s, background .2s;
}
.nav__mobile-submenu li a:hover {
  color: var(--gold);
  background: rgba(198,173,119,.05);
}

/* CTA mobile */
.nav__mobile-cta {
  margin: 1.5rem;
  text-align: center;
  font-size: .72rem !important;
  padding: .9rem 1.6rem !important;
}

/* Close button = réutilise le burger mais ouvert */


/* ═══════════════════════════════════════════════════════════════
   RÉFÉRENCES — CARDS PHOTO
═══════════════════════════════════════════════════════════════ */
.ref-item--photo {
  position: relative;
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: default;
  padding: 0;
  border: none;
}
.ref-item--photo::before { display: none; }
.ref-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,32,53,.92) 0%, rgba(2,32,53,.3) 60%, transparent 100%);
  transition: var(--transition);
}
.ref-item--photo:hover .ref-item__overlay {
  background: linear-gradient(to top, rgba(2,32,53,.95) 0%, rgba(2,32,53,.5) 60%, rgba(2,32,53,.1) 100%);
}
.ref-item__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem;
}
.ref-item__content .ref-item__name {
  font-size: 1.2rem;
  margin-bottom: .4rem;
}

/* Image scale au hover */
.ref-item--photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: transform .8s cubic-bezier(.25,.46,.45,.94);
  z-index: -1;
}

/* Téléphone bloc portrait */
.about__phone {
  display: block;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--gold);
  margin-top: .4rem;
  transition: color var(--transition);
  text-decoration: none;
}
.about__phone:hover { color: var(--gold-light); }

/* Inputs 16px minimum sur mobile pour éviter le zoom iOS */
@media (max-width: 768px) {
  .form__input,
  .form__select,
  .form__textarea {
    font-size: 16px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   THEME TOGGLE
═══════════════════════════════════════════════════════════════ */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  border: 1px solid rgba(198,173,119,.35);
  background: rgba(198,173,119,.1);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle::before {
  content: '';
  position: absolute;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform var(--transition);
}
:root[data-theme="light"] .theme-toggle::before {
  transform: translateX(16px);
}
.theme-toggle:hover {
  border-color: var(--gold);
  background: rgba(198,173,119,.2);
}

/* Transition douce changement de thème */
body {
  transition: background-color .4s ease, color .4s ease;
}

/* ── Thème clair : corrections de lisibilité ─────────────── */

/* Textes sur images (hero, product-hero) : toujours blancs */
:root[data-theme="light"] .hero__title,
:root[data-theme="light"] .hero__sub,
:root[data-theme="light"] .hero__content .btn-primary,
:root[data-theme="light"] .product-hero__title,
:root[data-theme="light"] .product-hero__accroche,
:root[data-theme="light"] .product-hero .overline {
  color: #ebe7d7;
}

/* Overlays hero plus opaques en mode clair */
:root[data-theme="light"] .hero__bg {
  background: linear-gradient(160deg, #e8e2d0 0%, #f0ece0 40%, #fafafa 100%);
}
:root[data-theme="light"] .hero__bg img {
  opacity: 0.25;
}

/* Scroll indicator */
:root[data-theme="light"] .hero__scroll { color: rgba(26,26,46,.35); }
:root[data-theme="light"] .hero__scroll-line {
  background: linear-gradient(to bottom, var(--gold), transparent);
}

/* Nav en thème clair */
:root[data-theme="light"] .nav.scrolled {
  background: rgba(250,250,250,.95);
  border-bottom: 1px solid rgba(138,110,58,.15);
}
:root[data-theme="light"] .nav__logo-img { filter: invert(1) sepia(1) saturate(0.5) hue-rotate(0deg); }

/* Footer thème clair */
:root[data-theme="light"] .footer {
  background: #e0d8c4;
  border-top: 1px solid rgba(138,110,58,.2);
}
:root[data-theme="light"] .footer__nav-col a { color: rgba(26,26,46,.65); }
:root[data-theme="light"] .footer__nav-col a:hover { color: var(--gold); }
:root[data-theme="light"] .footer__copy { color: rgba(26,26,46,.4); }

/* Cartes service — texte toujours lisible sur photo */
:root[data-theme="light"] .service-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.15) 60%, transparent 100%);
}
:root[data-theme="light"] .service-card__title { color: #fff; }
:root[data-theme="light"] .service-card__number,
:root[data-theme="light"] .service-card__sub { color: #c6ad77; }

/* Refs cards — texte toujours blanc sur photo */
:root[data-theme="light"] .ref-item__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}
:root[data-theme="light"] .ref-item__name { color: #fff; }
:root[data-theme="light"] .ref-item__type { color: #c6ad77; }

/* Product hero overlay plus marqué */
:root[data-theme="light"] .product-hero__overlay {
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.25) 100%);
}

/* CTA banner */
:root[data-theme="light"] .cta-banner h2,
:root[data-theme="light"] .cta-banner p { color: var(--white); }

/* Logos partenaires */
:root[data-theme="light"] .partner-item img { filter: brightness(0) saturate(100%); }
:root[data-theme="light"] .partner-item:hover img { filter: brightness(0) sepia(1) saturate(3) hue-rotate(5deg); }

/* Mobile nav thème clair */
:root[data-theme="light"] .nav__mobile {
  background: rgba(250,250,250,.98);
}
:root[data-theme="light"] .nav__mobile-item { color: rgba(26,26,46,.75); }
:root[data-theme="light"] .nav__mobile-submenu { background: rgba(0,0,0,.05); }
:root[data-theme="light"] .nav__mobile-submenu li a { color: rgba(138,110,58,.9); }

/* Burger thème clair */
:root[data-theme="light"] .nav__burger span { background: var(--white); }

/* ── Thème clair : corrections v2 ────────────────────────── */

/* Logo : version sombre en thème clair */
:root[data-theme="light"] .nav__logo-img,
:root[data-theme="light"] .footer__logo-img {
  filter: brightness(0) saturate(100%);
}

/* Piliers / cards — bordures et fonds visibles */
:root[data-theme="light"] .pillar {
  background: #fff;
  border-color: rgba(138,110,58,.15);
}
:root[data-theme="light"] .pillar:hover { border-color: rgba(138,110,58,.35); }
:root[data-theme="light"] .pillar__num { color: rgba(138,110,58,.2); }
:root[data-theme="light"] .pillar__title { color: #1a1a2e; }
:root[data-theme="light"] .pillar__text { color: rgba(26,26,46,.7); }

/* Pour qui cards */
:root[data-theme="light"] .pq-card {
  background: #fff;
  border-color: rgba(138,110,58,.15);
}
:root[data-theme="light"] .pq-card:hover { background: #fafafa; border-color: rgba(138,110,58,.3); }
:root[data-theme="light"] .pq-card__title { color: #1a1a2e; }
:root[data-theme="light"] .pq-card__text { color: rgba(26,26,46,.7); }

/* Product hero — plus de luminosité sur le texte */
:root[data-theme="light"] .product-hero__title { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.5); }
:root[data-theme="light"] .product-hero__accroche { color: rgba(255,255,255,.88); }

/* Description texte sur pages produits */
:root[data-theme="light"] .product-desc__text p { color: rgba(26,26,46,.75); }

/* Aside visuel pages produits */
:root[data-theme="light"] .product-desc__aside-visual {
  border-color: rgba(138,110,58,.2);
}

/* Formulaire thème clair */
:root[data-theme="light"] .form__input,
:root[data-theme="light"] .form__select,
:root[data-theme="light"] .form__textarea {
  color: #1a1a2e;
  border-bottom-color: rgba(138,110,58,.3);
}
:root[data-theme="light"] .form__input:focus,
:root[data-theme="light"] .form__select:focus,
:root[data-theme="light"] .form__textarea:focus {
  border-bottom-color: var(--gold);
}
:root[data-theme="light"] .form__label { color: var(--gold); }
:root[data-theme="light"] .form__select option { background: #fff; color: #1a1a2e; }

/* Gold line visible */
:root[data-theme="light"] .gold-line { background: var(--gold); }

/* About section */
:root[data-theme="light"] .about__text p { color: rgba(26,26,46,.72); }
:root[data-theme="light"] .about__portrait-info strong { color: #1a1a2e; }

/* Section contact */
:root[data-theme="light"] .contact__info p { color: rgba(26,26,46,.72); }
:root[data-theme="light"] .contact__detail-value { color: rgba(26,26,46,.72); }

/* CTA product contact */
:root[data-theme="light"] .product-contact { background: #f0ece0; }
:root[data-theme="light"] .product-contact__text .lead { color: rgba(26,26,46,.7); }

/* ── Thème clair : corrections v3 ────────────────────────── */

/* Overlines (petites capitales) — assez foncées */
:root[data-theme="light"] .overline { color: #7a5f2e; }

/* Hero textes */
:root[data-theme="light"] .hero__title em { color: #7a5f2e; }
:root[data-theme="light"] .hero__title { color: #1a1a2e; }

/* Titres h2, h3 en thème clair */
:root[data-theme="light"] h1,
:root[data-theme="light"] h2,
:root[data-theme="light"] h3,
:root[data-theme="light"] h4 { color: #1a1a2e; }

/* Lead / texte secondaire */
:root[data-theme="light"] .lead { color: rgba(26,26,46,.75); }

/* About phone */
:root[data-theme="light"] .about__phone { color: #7a5f2e; }
:root[data-theme="light"] .about__portrait-info span { color: #7a5f2e; }

/* Services section */
:root[data-theme="light"] .services { background: #e8e2d0; }

/* Partners section */
:root[data-theme="light"] .partners { background: #f0ece0; }
:root[data-theme="light"] .partner-item { border-color: rgba(26,26,46,.15); }
:root[data-theme="light"] .partner-item:hover { border-color: rgba(122,95,46,.4); }

/* References section */
:root[data-theme="light"] .references { background: #fafafa; }

/* Nav CTA */
:root[data-theme="light"] .nav__cta {
  border-color: #7a5f2e;
  color: #7a5f2e;
}
:root[data-theme="light"] .nav__cta:hover { background: #7a5f2e; color: #fff; }

/* Nav links */
:root[data-theme="light"] .nav__link { color: rgba(26,26,46,.7); }
:root[data-theme="light"] .nav__link:hover { color: #1a1a2e; }
:root[data-theme="light"] .nav__link::after { background: #7a5f2e; }

/* Dropdown */
:root[data-theme="light"] .nav__dropdown-menu {
  background: rgba(250,250,250,.98);
  border-color: rgba(122,95,46,.2);
}
:root[data-theme="light"] .nav__dropdown-menu li a { color: rgba(26,26,46,.7); }
:root[data-theme="light"] .nav__dropdown-menu li a:hover { color: #7a5f2e; background: rgba(122,95,46,.06); }

/* Btn primary thème clair */
:root[data-theme="light"] .btn-primary { border-color: #7a5f2e; color: #7a5f2e; }
:root[data-theme="light"] .btn-primary::before { background: #7a5f2e; }
:root[data-theme="light"] .btn-primary:hover { color: #fff; }

/* Scroll indicator hero */
:root[data-theme="light"] .hero__scroll { color: rgba(26,26,46,.4); }

/* About visual quote */
:root[data-theme="light"] .about__portrait-img {
  border-color: rgba(122,95,46,.2);
}
:root[data-theme="light"] .about__portrait-img img {
  filter: grayscale(20%);
}

/* Contact details */
:root[data-theme="light"] .contact__detail-label { color: #7a5f2e; }

/* Theme toggle thème clair */
:root[data-theme="light"] .theme-toggle {
  border-color: rgba(122,95,46,.4);
  background: rgba(122,95,46,.1);
}
:root[data-theme="light"] .theme-toggle::before { background: #7a5f2e; }

/* ── Thème clair : Hero + Nav ─────────────────────────────── */

/* Hero : fond clair avec photo plus visible */
:root[data-theme="light"] .hero__bg {
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(122,95,46,.04) 0%, transparent 60%),
    linear-gradient(160deg, #f0ece0 0%, #ebe7d7 40%, #fafafa 100%);
}
:root[data-theme="light"] .hero__bg img {
  opacity: 0.45;
  mix-blend-mode: multiply;
}
:root[data-theme="light"] .hero__bg::after {
  display: none;
}

/* Hero textes — lisibles sur fond clair */
:root[data-theme="light"] .hero__title { color: #1a1a2e; }
:root[data-theme="light"] .hero__title em { color: #7a5f2e; }
:root[data-theme="light"] .hero__sub { color: rgba(26,26,46,.6); }

/* Nav thème clair : visible dès le début (pas transparent) */
:root[data-theme="light"] .nav {
  background: rgba(250,250,250,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122,95,46,.1);
}
/* Au scroll : légèrement plus opaque */
:root[data-theme="light"] .nav.scrolled {
  background: rgba(250,250,250,.97);
  border-bottom-color: rgba(122,95,46,.18);
}

/* ── Thème clair : Hero v4 + Nav v4 ──────────────────────── */

/* Hero : fond clair pur, sans photo (photo trop sombre) */
:root[data-theme="light"] .hero__bg {
  background: linear-gradient(160deg, #f5f0e4 0%, #ebe7d7 50%, #f0ece0 100%);
}
:root[data-theme="light"] .hero__bg img {
  display: none; /* Photo masquée en thème clair */
}
:root[data-theme="light"] .hero__bg::after { display: none; }

/* Hero textes — foncés sur fond clair */
:root[data-theme="light"] .hero__title {
  color: #1a1a2e;
}
:root[data-theme="light"] .hero__title em {
  color: #7a5f2e;
}
:root[data-theme="light"] .hero__sub {
  color: rgba(26,26,46,.55);
}
:root[data-theme="light"] .hero__scroll {
  color: rgba(26,26,46,.35);
}

/* Nav thème clair : transparente au départ, textes NOIRS lisibles */
:root[data-theme="light"] .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}
/* Liens, logo, CTA : noirs dès le départ */
:root[data-theme="light"] .nav__link {
  color: rgba(26,26,46,.8);
}
:root[data-theme="light"] .nav__link:hover { color: #1a1a2e; }
:root[data-theme="light"] .nav__cta {
  border-color: rgba(26,26,46,.4);
  color: rgba(26,26,46,.8);
}
:root[data-theme="light"] .nav__cta:hover {
  background: #1a1a2e;
  color: #fff;
  border-color: #1a1a2e;
}
:root[data-theme="light"] .nav__logo-img {
  filter: brightness(0) saturate(100%);
}
:root[data-theme="light"] .nav__burger span {
  background: #1a1a2e;
}

/* Nav au scroll : fond blanc + ombre légère */
:root[data-theme="light"] .nav.scrolled {
  background: rgba(250,250,250,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(122,95,46,.12);
}
/* Au scroll, liens gardent la même couleur (déjà lisibles) */

/* ── Thème clair : Hero v5 — photo + overlay clair ───────── */
:root[data-theme="light"] .hero__bg img {
  display: block; /* Photo réactivée */
  opacity: 0.18;  /* Très légère, juste une texture */
  filter: grayscale(30%) brightness(1.1);
}
:root[data-theme="light"] .hero__bg {
  background: linear-gradient(160deg, #f2ece0 0%, #ebe7d7 50%, #f5f0e6 100%);
}

/* ── Thème clair : Hero v6 — photo présente + textes blancs ─ */
:root[data-theme="light"] .hero__bg img {
  display: block;
  opacity: 0.55;
  filter: grayscale(20%);
}
:root[data-theme="light"] .hero__bg {
  background: linear-gradient(160deg, #1c1a18 0%, #111111 40%, #0d0d0d 100%);
}
/* Overlay sombre pour lisibilité */
:root[data-theme="light"] .hero__bg::after {
  display: block;
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(2,20,35,.45);
}
/* Textes en blanc sur la photo sombre */
:root[data-theme="light"] .hero__title { color: #ebe7d7; }
:root[data-theme="light"] .hero__title em { color: #c6ad77; }
:root[data-theme="light"] .hero__sub { color: rgba(235,231,215,.65); }
:root[data-theme="light"] .hero__scroll { color: rgba(235,231,215,.35); }

/* ── Thème clair : Hero textes blancs uniquement ─────────── */
:root[data-theme="light"] .hero__title { color: #ebe7d7 !important; }
:root[data-theme="light"] .hero__title em { color: #c6ad77 !important; }
:root[data-theme="light"] .hero__sub { color: rgba(235,231,215,.65) !important; }

/* ── Thème clair : Hero FINAL (priorité max) ─────────────── */
:root[data-theme="light"] .hero__bg {
  background: linear-gradient(160deg, #f2ece0 0%, #ebe7d7 50%, #f5f0e6 100%) !important;
}
:root[data-theme="light"] .hero__bg img {
  display: block !important;
  opacity: 0.55 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}
:root[data-theme="light"] .hero__bg::after {
  display: block !important;
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: rgba(235,225,200,.35) !important;
}
:root[data-theme="light"] .hero__title { color: #ebe7d7 !important; }
:root[data-theme="light"] .hero__title em { color: #c6ad77 !important; }
:root[data-theme="light"] .hero__sub { color: rgba(235,231,215,.65) !important; }

/* ── Icônes lune / soleil dans le theme toggle ────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: auto;
  padding: 5px 10px;
  border-radius: 20px;
}
.theme-toggle::before { display: none; } /* Supprimer l'ancien bullet */

.theme-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .3s ease, transform .3s ease;
}

/* Thème sombre : montrer la lune, cacher le soleil */
.theme-icon--sun { opacity: 0.3; transform: scale(0.8); }
.theme-icon--moon { opacity: 1; transform: scale(1); }

/* Thème clair : montrer le soleil, cacher la lune */
:root[data-theme="light"] .theme-icon--sun { opacity: 1; transform: scale(1); }
:root[data-theme="light"] .theme-icon--moon { opacity: 0.3; transform: scale(0.8); }

/* Couleur des icônes selon le thème */
.theme-icon--moon { color: var(--gold); }
.theme-icon--sun { color: var(--gold); }
:root[data-theme="light"] .theme-icon--moon { color: rgba(26,26,46,.4); }
:root[data-theme="light"] .theme-icon--sun { color: #7a5f2e; }
