/* =========================================================
   Clôtures Tropardy — Feuille de style principale
   Design responsive : mobile-first, grilles fluides
   ========================================================= */

:root {
  /* Couleurs de marque */
  --red: #e0241d;          /* rouge du logo */
  --red-dark: #b51c16;
  --ink: #1b1e23;          /* anthracite texte */
  --anthracite: #23272e;   /* sections sombres */
  --anthracite-2: #2c313a;
  --grey: #5d6470;
  --grey-light: #8a929e;
  --line: #e4e6ea;
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-soft-2: #eceef1;
  --white: #ffffff;

  /* Typo */
  --font-head: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Mesures */
  --maxw: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 6px 24px rgba(20, 24, 31, .10);
  --shadow-lg: 0 16px 48px rgba(20, 24, 31, .18);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: clamp(15px, 1.4vw, 16.5px);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: .5px;
  text-transform: uppercase;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p { color: var(--grey); }
strong { color: var(--ink); }

/* ---------- Utilitaires ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 40px); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--anthracite); color: #e8eaee; }
.section--dark p { color: #b4bbc6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.text-center { text-align: center; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--grey); }

.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--red);
  display: inline-block;
  margin-bottom: 14px;
}
.section-head { max-width: 640px; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; }

/* Accent barre sous les titres */
.title-bar::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  background: var(--red);
  border-radius: 2px;
  margin-top: 18px;
}
.center .title-bar::after { margin-inline: auto; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(224,36,29,.28); }
.btn--primary:hover { background: var(--red-dark); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--lg { padding: 17px 34px; font-size: 1.02rem; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(20,24,31,.08); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 500;
  font-size: .95rem;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--ink);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px;
  height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover { color: var(--red); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { font-family: var(--font-head); font-weight: 500; color: var(--ink); letter-spacing: .5px; white-space: nowrap; }
.nav-phone span { color: var(--red); }

.burger {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 8px;
  background: #fff; position: relative;
}
.burger span, .burger::before, .burger::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 22px; height: 2px; background: var(--ink); border-radius: 2px;
  transform: translate(-50%, -50%); transition: .3s var(--ease);
}
.burger::before { transform: translate(-50%, -8px); }
.burger::after { transform: translate(-50%, 6px); }
.burger span { width: 22px; }
body.menu-open .burger span { opacity: 0; }
body.menu-open .burger::before { transform: translate(-50%, -50%) rotate(45deg); }
body.menu-open .burger::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex; align-items: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,24,31,.30) 0%, rgba(20,24,31,.20) 35%, rgba(20,24,31,.86) 100%);
}
.hero__inner { padding-block: clamp(40px, 8vw, 90px); max-width: 760px; }
.hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hero h1 .accent { color: #fff; display: block; }
.hero__tagline {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 2px;
  font-weight: 300; font-size: clamp(1rem, 2.4vw, 1.5rem); color: #fff;
  margin-top: 10px; opacity: .95;
}
.hero__sub { margin-top: 22px; color: #e7eaef; font-size: clamp(1rem, 1.7vw, 1.18rem); max-width: 560px; }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badge {
  position: absolute; top: clamp(24px, 5vw, 48px); right: clamp(18px, 5vw, 48px);
  width: clamp(86px, 12vw, 122px); aspect-ratio: 1; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-content: center; text-align: center;
  font-family: var(--font-head); line-height: 1; box-shadow: var(--shadow-lg); z-index: 1;
  transform: rotate(-8deg);
}
.hero__badge b { font-size: clamp(1.7rem, 3vw, 2.4rem); display: block; margin-top: 2px; }
.hero__badge small { font-size: .62rem; letter-spacing: 1.5px; text-transform: uppercase; display: block; }

/* Bandeau sous-hero (page intérieure) */
.pagehero {
  position: relative; color: #fff; padding-block: clamp(70px, 12vw, 130px) clamp(40px, 7vw, 70px);
  display: flex; align-items: flex-end; min-height: 320px; overflow: hidden;
}
.pagehero__media { position: absolute; inset: 0; z-index: -2; }
.pagehero__media img { width: 100%; height: 100%; object-fit: cover; }
.pagehero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,24,31,.45), rgba(20,24,31,.82)); }
.pagehero h1 { color: #fff; }
.pagehero p { color: #dfe3e9; margin-top: 12px; max-width: 620px; }
.breadcrumb { font-size: .85rem; letter-spacing: .5px; margin-bottom: 14px; color: #c9ced7; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--red); }

/* ============ POINTS FORTS (4 atouts) ============ */
.strengths { background: var(--ink); color: #fff; }
.strengths__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.strength {
  padding: clamp(34px, 4vw, 52px) clamp(22px, 3vw, 38px);
  border-right: 1px solid rgba(255,255,255,.10);
  position: relative;
}
.strength:last-child { border-right: 0; }
.strength__num {
  font-family: var(--font-head); font-size: 1rem; color: var(--red);
  letter-spacing: 2px; font-weight: 600; margin-bottom: 14px; display: block;
}
.strength h3 { color: #fff; margin-bottom: 8px; font-size: 1.18rem; }
.strength p { color: #aab1bd; font-size: .96rem; }

/* ============ CATÉGORIES (3 items) ============ */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 28px); }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: clamp(320px, 42vw, 460px); display: flex; align-items: flex-end;
  color: #fff; box-shadow: var(--shadow); isolation: isolate;
}
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .7s var(--ease);
}
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,24,31,.18) 0%, rgba(20,24,31,.05) 32%, rgba(20,24,31,.93) 100%); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__body { padding: clamp(24px, 3vw, 34px); width: 100%; }
.cat-card h3 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cat-card p { color: #dde1e7; margin-top: 6px; font-size: .95rem; }
.cat-card__link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
  font-size: .9rem; color: #fff;
}
.cat-card__link i { transition: transform .25s var(--ease); }
.cat-card:hover .cat-card__link i { transform: translateX(6px); }

/* ============ À PROPOS ============ */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about__media .stamp {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--red); color: #fff; border-radius: var(--radius);
  padding: 18px 24px; font-family: var(--font-head); box-shadow: var(--shadow-lg);
}
.about__media .stamp b { font-size: 2.4rem; display: block; line-height: 1; }
.about__media .stamp small { letter-spacing: 1px; text-transform: uppercase; font-size: .72rem; }
.about__body p { margin-top: 16px; }
.about__body p:first-of-type { margin-top: 22px; }
.about__sign { margin-top: 26px; }

/* ============ BANDE CTA ============ */
.cta-band { position: relative; color: #fff; overflow: hidden; text-align: center; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(20,24,31,.84); }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d3d8df; max-width: 560px; margin: 16px auto 30px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Intro texte de page catégorie (SEO + lisibilité) */
.cat-intro { max-width: 860px; margin-bottom: clamp(34px, 5vw, 56px);
  border-left: 4px solid var(--red); padding-left: clamp(18px, 2.5vw, 28px); }
.cat-intro p { font-size: clamp(1.02rem, 1.6vw, 1.16rem); color: var(--grey); }
.cat-intro strong { color: var(--ink); font-weight: 600; }

/* ============ GALERIES ============ */
.gallery-section { margin-top: clamp(40px, 6vw, 72px); scroll-margin-top: 100px; }
.gallery-section:first-of-type { margin-top: 0; }
.gallery-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.gallery-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.gallery-head .count { color: var(--grey-light); font-size: .9rem; font-family: var(--font-head); letter-spacing: 1px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4/3; background: var(--bg-soft-2); cursor: zoom-in;
  box-shadow: 0 2px 8px rgba(20,24,31,.06);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,24,31,.5));
  opacity: 0; transition: opacity .3s;
}
.gallery__item .zoom {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: grid; place-content: center; color: var(--ink);
  opacity: 0; transform: translateY(8px); transition: .3s var(--ease);
}
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover .zoom { opacity: 1; transform: translateY(0); }

/* Sous-nav par catégorie (ancres) */
.subnav { position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: thin; }
.subnav a {
  flex-shrink: 0; font-family: var(--font-head); text-transform: uppercase;
  letter-spacing: .6px; font-size: .85rem; color: var(--grey);
  padding: 8px 14px; border-radius: 6px; white-space: nowrap; transition: .2s;
}
.subnav a:hover { color: var(--red); background: var(--bg-soft); }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(13,15,18,.94); display: none;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox__btn {
  position: absolute; background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 54px; height: 54px; border-radius: 50%; font-size: 1.6rem;
  display: grid; place-content: center; transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255,255,255,.25); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__caption { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: #cfd4db; font-size: .9rem; }

/* ============ CONTACT / DEVIS ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.info-list { margin-top: 10px; }
.info-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item:last-child { border-bottom: 0; }
.info-item .ic {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 10px;
  background: rgba(224,36,29,.1); color: var(--red);
  display: grid; place-content: center;
}
.info-item h4 { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .5px; font-size: 1rem; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--grey); font-size: .98rem; }
.info-item a:hover { color: var(--red); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 7px; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); background: var(--bg-soft); transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 3px rgba(224,36,29,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: .82rem; color: var(--grey-light); margin-top: 14px; text-align: center; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; margin-top: 30px; border: 1px solid var(--line); }
.map-embed iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ============ FOOTER ============ */
.site-footer { background: var(--anthracite); color: #c2c8d1; padding-top: clamp(50px, 7vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(26px, 4vw, 50px); }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; letter-spacing: 1px; }
.footer-brand img { height: 54px; margin-bottom: 18px; background: #fff; padding: 8px 10px; border-radius: 8px; }
.footer-brand p { color: #9aa2ae; font-size: .95rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #c2c8d1; transition: color .2s; }
.footer-col a:hover { color: var(--red); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; color: #c2c8d1; font-size: .95rem; }
.footer-contact i { color: var(--red); flex-shrink: 0; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a {
  width: 42px; height: 42px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: grid; place-content: center; color: #fff; transition: .25s;
}
.socials a:hover { background: var(--red); transform: translateY(-2px); }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid rgba(255,255,255,.10);
  padding-block: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: .85rem; color: #8a929e;
}
.footer-bottom a:hover { color: var(--red); }

/* SVG icônes (currentColor) */
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-item .ic .icon, .footer-contact .icon, .socials .icon { width: 20px; height: 20px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .strengths__grid { grid-template-columns: repeat(2, 1fr); }
  .strength:nth-child(2) { border-right: 0; }
  .strength:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.10); }
  .cats { grid-template-columns: 1fr; }
  .cat-card { min-height: 300px; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  .nav-links, .nav-phone { display: none; }
  .burger { display: block; }
  .nav-mobile-cta { display: none; }

  /* Menu mobile plein écran */
  .mobile-menu {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 90;
    background: #fff; transform: translateX(100%); transition: transform .35s var(--ease);
    display: flex; flex-direction: column; padding: 24px clamp(18px,5vw,40px);
    overflow-y: auto; visibility: hidden;
  }
  body.menu-open .mobile-menu { transform: translateX(0); visibility: visible; }
  body.menu-open { overflow: hidden; }
  .mobile-menu a {
    font-family: var(--font-head); text-transform: uppercase; letter-spacing: 1px;
    font-size: 1.3rem; padding: 18px 4px; border-bottom: 1px solid var(--line); color: var(--ink);
  }
  .mobile-menu a.active { color: var(--red); }
  .mobile-menu a.btn { margin-top: 26px; justify-content: center; border-bottom: 0; color: #fff; }
  .mobile-menu .m-contact { margin-top: auto; padding-top: 24px; color: var(--grey); font-size: .95rem; }
  .mobile-menu .m-contact a { font-family: var(--font-body); font-size: 1rem; text-transform: none; letter-spacing: 0; border: 0; padding: 4px 0; color: var(--red); display: block; }
}
@media (min-width: 861px) { .mobile-menu { display: none; } }

@media (max-width: 560px) {
  .strengths__grid { grid-template-columns: 1fr; }
  .strength { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.10); }
  .strength:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; justify-content: center; }
  .about__media .stamp { left: 50%; transform: translateX(-50%); bottom: -18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* Apparition au scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =========================================================
   PROPOSITIONS DE STYLE (thèmes interchangeables)
   Pilotés par l'attribut [data-theme] sur <html>.
   ========================================================= */

/* ---- Proposition 2 : Élégance naturelle (terracotta & sable, serif) ---- */
:root[data-theme="t2"] {
  --red: #bf4a2c;  --red-dark: #9b3a21;
  --ink: #2a2420;  --anthracite: #2c2620;  --anthracite-2: #38302a;
  --grey: #6c6358;  --grey-light: #9b9286;  --line: #e9e2d6;
  --bg: #fffdf9;  --bg-soft: #f6f1e8;  --bg-soft-2: #ece4d5;
  --font-head: "Fraunces", Georgia, serif;
  --radius: 14px;  --radius-lg: 22px;
}
[data-theme="t2"] h1, [data-theme="t2"] h2,
[data-theme="t2"] h3, [data-theme="t2"] h4 { text-transform: none; letter-spacing: 0; font-weight: 600; }
[data-theme="t2"] .hero h1 { letter-spacing: -.5px; }
[data-theme="t2"] .btn { border-radius: 999px; }
[data-theme="t2"] .nav-links a, [data-theme="t2"] .subnav a { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 600; }
[data-theme="t2"] .gallery__item, [data-theme="t2"] .field input,
[data-theme="t2"] .field select, [data-theme="t2"] .field textarea { border-radius: 12px; }
[data-theme="t2"] .hero__badge { border-radius: 50%; }
[data-theme="t2"] .theme-color { } /* placeholder */
[data-theme="t2"] meta { } /* noop */

/* ---- Proposition 3 : Moderne industriel (encre & rouge vif, grotesk, angles nets) ---- */
:root[data-theme="t3"] {
  --red: #ff3b24;  --red-dark: #df2c16;
  --ink: #101317;  --anthracite: #14181d;  --anthracite-2: #1d222a;
  --grey: #59616c;  --grey-light: #889099;  --line: #e1e5ea;
  --bg: #ffffff;  --bg-soft: #eef1f4;  --bg-soft-2: #e1e6eb;
  --font-head: "Space Grotesk", sans-serif;
  --radius: 3px;  --radius-lg: 5px;
}
[data-theme="t3"] h1, [data-theme="t3"] h2,
[data-theme="t3"] h3, [data-theme="t3"] h4 { letter-spacing: -.5px; font-weight: 600; }
[data-theme="t3"] .btn { border-radius: 2px; }
[data-theme="t3"] .gallery__item, [data-theme="t3"] .field input,
[data-theme="t3"] .field select, [data-theme="t3"] .field textarea,
[data-theme="t3"] .form, [data-theme="t3"] .map-embed { border-radius: 3px; }
[data-theme="t3"] .hero__badge { border-radius: 5px; transform: rotate(0deg); }
[data-theme="t3"] .nav-links a, [data-theme="t3"] .subnav a { letter-spacing: .3px; }

/* ---- Sélecteur de démo (à retirer après choix du style) ---- */
.theme-switch {
  position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 300; display: flex; align-items: center; gap: 12px;
  background: rgba(20,24,31,.92); color: #fff; backdrop-filter: blur(8px);
  padding: 8px 10px 8px 18px; border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0,0,0,.32); font-family: "Inter", sans-serif;
  max-width: calc(100vw - 24px);
}
.theme-switch__label { font-size: .78rem; letter-spacing: .5px; color: #c7cdd6; white-space: nowrap; }
.theme-switch__btns { display: flex; gap: 4px; }
.theme-switch button {
  border: 0; background: rgba(255,255,255,.10); color: #fff;
  font: 600 .82rem "Inter", sans-serif; padding: 8px 14px; border-radius: 999px;
  transition: background .2s, color .2s; white-space: nowrap;
}
.theme-switch button:hover { background: rgba(255,255,255,.20); }
.theme-switch button.active { background: var(--red); color: #fff; }
@media (max-width: 560px) {
  .theme-switch { gap: 8px; padding: 7px 8px 7px 12px; }
  .theme-switch__label { display: none; }
  .theme-switch button { padding: 8px 12px; font-size: .78rem; }
}
@media print { .theme-switch { display: none; } }
