/* =============================================================
   LAURIOL PROTECTIONS SOLAIRES — Feuille de style principale
   Design premium · Dual mode · Mobile-first · Vanilla CSS
   ============================================================= */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, picture, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- VARIABLES (DARK par défaut) ---------- */
:root {
  --primary: #0A5C3E;
  --primary-light: #147A54;
  --primary-dark: #073F2A;
  --gold: #C9A44C;
  --gold-light: #E5BF66;
  --gold-dark: #A6842E;
  --ink: #0D0D0D;

  /* DARK MODE */
  --bg: #0F1513;
  --bg-elevated: #141B18;
  --bg-overlay: rgba(10, 14, 13, 0.75);
  --text: #F0EDE4;
  --text-muted: rgba(240, 237, 228, 0.75);
  --text-subtle: rgba(240, 237, 228, 0.55);
  --border: rgba(201, 164, 76, 0.18);
  --border-strong: rgba(201, 164, 76, 0.4);
  --card: #141B18;
  --card-hover: #1A221F;

  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  --radius-sm: 0.5rem;
  --radius: 0.875rem;
  --radius-lg: 1.5rem;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.15);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  --shadow-gold: 0 10px 40px rgba(201, 164, 76, 0.2);

  --transition: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  --easing: cubic-bezier(0.16, 1, 0.3, 1);

  --container-max: 1280px;
  --container-px: clamp(1.25rem, 4vw, 6rem);
  --section-py: clamp(2.25rem, 5.5vw, 4.5rem);

  --header-h: 80px;
}

/* LIGHT MODE */
[data-theme="light"] {
  --bg: #F7F3EA;
  --bg-elevated: #FFFFFF;
  --bg-overlay: rgba(247, 243, 234, 0.85);
  --text: #1A1F1D;
  --text-muted: rgba(26, 31, 29, 0.75);
  --text-subtle: rgba(26, 31, 29, 0.55);
  --border: rgba(10, 92, 62, 0.15);
  --border-strong: rgba(10, 92, 62, 0.35);
  --card: #FFFFFF;
  --card-hover: #FBF8F1;
  --shadow-sm: 0 2px 10px rgba(10, 14, 13, 0.06);
  --shadow: 0 10px 40px rgba(10, 14, 13, 0.1);
  --shadow-gold: 0 10px 40px rgba(201, 164, 76, 0.25);
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  transition: background-color 300ms ease, color 300ms ease;
}

/* ---------- CONTAINERS & TYPOGRAPHY ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-px); width: 100%; }
.section { padding-block: var(--section-py); }
.section-header { max-width: 820px; margin: 0 auto 4rem; text-align: center; }
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.section-title .accent { color: var(--gold); font-style: italic; }
.section-lead { font-size: 1.125rem; color: var(--text-muted); max-width: 640px; margin: 0 auto; }
.section-footer { text-align: center; margin-top: 3rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 1.125rem 2.25rem; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ink);
  border-color: var(--gold);
}
.btn-primary:hover { box-shadow: var(--shadow-gold); transform: translateY(-2px); }
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 600ms;
  z-index: -1;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { background: var(--bg-elevated); border-color: var(--gold); }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }

/* ---------- SKIP LINK & ACCESSIBILITY ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 0.75rem 1.5rem; font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { left: 1rem; top: 1rem; border-radius: var(--radius-sm); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-overlay);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), background-color var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--border); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand-logo-wrap { display: inline-flex; align-items: center; }
.brand-logo { width: auto; max-width: 64px; height: 48px; object-fit: contain; display: block; }
.brand-logo-text {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: var(--gold);
  font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 1.75rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; color: var(--text); letter-spacing: 0.02em; }
.brand-tag { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 0.25rem; }

.main-nav { display: none; }
.nav-list { display: flex; gap: 2rem; align-items: center; }
.nav-list > li > a {
  position: relative; font-size: 0.9375rem; font-weight: 500;
  color: var(--text); padding: 0.5rem 0; display: inline-flex; align-items: center; gap: 0.25rem;
  transition: color var(--transition);
}
.nav-list > li > a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--gold);
  transition: width var(--transition);
}
.nav-list > li > a:hover { color: var(--gold); }
.nav-list > li > a:hover::after { width: 100%; }
.has-submenu { position: relative; }
.submenu {
  position: absolute; top: 100%; left: -1rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.75rem;
  min-width: 280px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all var(--transition);
}
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.submenu li a {
  display: block; padding: 0.625rem 0.875rem; border-radius: var(--radius-sm);
  font-size: 0.875rem; color: var(--text-muted);
  transition: all var(--transition);
}
.submenu li a:hover { background: var(--bg); color: var(--gold); }

.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text); border: 1px solid var(--border);
  transition: all var(--transition);
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-sun { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.header-actions .btn { display: none; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text);
  transition: all var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .nav-toggle { display: none; }
  .header-actions .btn { display: inline-flex; }
}

/* Mobile nav overlay */
@media (max-width: 1023.98px) {
  .main-nav {
    display: none;
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg); padding: 2rem var(--container-px); overflow-y: auto;
    z-index: 99;
  }
  .main-nav.open { display: block; }
  .nav-list { flex-direction: column; gap: 0.5rem; align-items: stretch; }
  .nav-list > li > a { font-size: 1.125rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none; padding: 0 0 0 1rem;
    display: none;
  }
  .has-submenu.open .submenu { display: block; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding: 5rem 0 7rem;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.75) 60%, var(--bg) 100%);
}
[data-theme="light"] .hero-overlay {
  background: linear-gradient(180deg, rgba(247, 243, 234, 0.2) 0%, rgba(247, 243, 234, 0.5) 60%, var(--bg) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 960px; text-align: center;
}
.hero-eyebrow {
  display: inline-block; padding: 0.375rem 1rem;
  border: 1px solid var(--gold); border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 5.5rem); line-height: 1.05;
  color: #FFFFFF; margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
[data-theme="light"] .hero-title { color: var(--ink); text-shadow: none; }
.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9); max-width: 680px;
  margin: 0 auto 2.5rem; line-height: 1.6;
}
[data-theme="light"] .hero-subtitle { color: var(--text-muted); }
.hero-cta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  margin-bottom: 4rem;
}
.hero-trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  max-width: 760px; margin: 0 auto; padding-top: 3rem;
  border-top: 1px solid rgba(201, 164, 76, 0.2);
}
.trust-item { text-align: center; }
.trust-chiffre {
  display: block; font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600;
  color: var(--gold); line-height: 1;
}
.trust-label { display: block; font-size: 0.8125rem; color: rgba(255, 255, 255, 0.8); margin-top: 0.5rem; }
[data-theme="light"] .trust-label { color: var(--text-muted); }
@media (min-width: 640px) { .hero-trust { grid-template-columns: repeat(4, 1fr); } }

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 2px solid var(--gold);
  border-radius: 12px; z-index: 2;
}
.hero-scroll span {
  display: block; width: 3px; height: 8px; background: var(--gold);
  margin: 6px auto 0; border-radius: 2px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce { 0%,100%{transform:translateY(0); opacity:1} 50%{transform:translateY(14px); opacity:0} }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 700ms var(--easing), transform 700ms var(--easing); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--transition);
  text-decoration: none; color: inherit;
}
.service-card:hover {
  transform: translateY(-6px); border-color: var(--gold);
  box-shadow: var(--shadow);
}
.service-card-img {
  aspect-ratio: 4/3; overflow: hidden; position: relative;
}
.service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms var(--easing);
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; gap: 0.75rem; }
.service-card-title {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600;
  color: var(--text); line-height: 1.2;
}
.service-card-intro { color: var(--text-muted); font-size: 0.9375rem; flex: 1; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--gold); font-weight: 600; font-size: 0.875rem;
  letter-spacing: 0.05em; margin-top: 0.5rem;
}
.service-card-link svg { transition: transform var(--transition); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

/* ---------- ABOUT ---------- */
.about-grid {
  display: grid; gap: 3rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.about-img { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-img img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  background: var(--bg); color: var(--text);
  padding: 1.25rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border-strong);
  display: flex; align-items: center; gap: 1rem;
}
.badge-num { font-family: var(--font-serif); font-size: 3rem; font-weight: 600; color: var(--gold); line-height: 1; }
.badge-txt { font-size: 0.8125rem; line-height: 1.3; color: var(--text-muted); }

.about-content .section-title { text-align: left; }
.about-content p { color: var(--text-muted); margin-bottom: 1.25rem; font-size: 1.0625rem; }
.about-content p strong { color: var(--text); }
.about-list { display: flex; flex-direction: column; gap: 0.75rem; margin: 2rem 0; }
.about-list li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: var(--text-muted); font-size: 0.9375rem;
}
.about-list li svg {
  flex-shrink: 0; color: var(--gold); margin-top: 2px;
  background: var(--bg-elevated); padding: 4px; border-radius: 50%;
  width: 28px; height: 28px; border: 1px solid var(--border);
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 3/4; background: var(--card);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms var(--easing);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.25rem 1rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  color: #FFF;
  display: flex; flex-direction: column; gap: 0.25rem;
  transform: translateY(1rem); opacity: 0;
  transition: all var(--transition);
}
.gallery-item:hover figcaption { transform: translateY(0); opacity: 1; }
.gallery-cat {
  font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--gold); font-weight: 600;
}
.gallery-item strong { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 500; }
.gallery-item figcaption span:last-child { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- REVIEWS ---------- */
.reviews-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.review-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 1rem;
  transition: all var(--transition);
}
.review-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.review-stars { display: flex; gap: 0.25rem; }
.review-card blockquote {
  font-family: var(--font-serif); font-size: 1.125rem;
  font-style: italic; line-height: 1.6; color: var(--text);
  flex: 1;
}
.review-card footer { font-size: 0.875rem; color: var(--text-muted); }
.review-card footer strong { color: var(--text); }

/* ---------- ZONES ---------- */
.zones-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .zones-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.zones-content .section-title { text-align: left; }
.zones-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: 2rem; }
.zone-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius);
}
.zone-code {
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600;
  color: var(--gold);
}
.zone-name { font-weight: 500; }
.zones-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: all var(--transition);
}
.faq-item[open] { border-color: var(--gold); }
.faq-item summary {
  padding: 1.25rem 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 500; font-size: 1.0625rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { transition: transform var(--transition); color: var(--gold); flex-shrink: 0; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.5rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- CTA FINAL ---------- */
.section-cta { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }
.section-cta .container { text-align: center; }
.cta-inner h2 {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 600;
  color: #FFF; margin-bottom: 1rem;
}
.cta-inner p { color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; font-size: 1.125rem; }
.section-cta .btn-ghost { color: #FFF; border-color: rgba(255, 255, 255, 0.35); }
.section-cta .btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #FFF; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--bg-elevated); border-top: 1px solid var(--border);
  padding-top: 4rem;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  padding-bottom: 3rem;
}
.footer-logo { width: 56px; height: 56px; margin-bottom: 1rem; }
.footer-title {
  font-family: var(--font-serif); font-size: 1.375rem; font-weight: 600;
  color: var(--text); margin-bottom: 0.5rem;
}
.footer-tagline { color: var(--text-muted); font-style: italic; margin-bottom: 1rem; }
.footer-small { font-size: 0.8125rem; color: var(--text-subtle); line-height: 1.5; }
.footer-col h4 {
  font-size: 0.875rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold); margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--text-muted); font-size: 0.9375rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-col address { font-style: normal; color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }
.footer-col address a { color: var(--text); transition: color var(--transition); }
.footer-col address a:hover { color: var(--gold); }
.open-status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 1rem; padding: 0.5rem 0.875rem;
  border-radius: 999px; font-size: 0.8125rem; font-weight: 500;
  background: var(--card);
}
.open-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.open-status.is-open .dot { background: #4ADE80; box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2); }
.open-status.is-closed .dot { background: #F87171; }
.open-status.is-closed { color: var(--text-muted); }

.hours-list { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.875rem; }
.hours-list div { display: flex; justify-content: space-between; gap: 1rem; color: var(--text-muted); }
.hours-list dt { font-weight: 500; color: var(--text); }

.footer-bottom { border-top: 1px solid var(--border); padding: 1.75rem 0; }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem; font-size: 0.8125rem; color: var(--text-subtle);
}
.footer-bottom-inner nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom-inner nav a { color: var(--text-muted); transition: color var(--transition); }
.footer-bottom-inner nav a:hover { color: var(--gold); }
.socials { display: flex; gap: 0.75rem; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all var(--transition);
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- FLOATING CTA ---------- */
.cta-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 98;
  display: flex; flex-direction: column; gap: 0.75rem;
}
@media (min-width: 1024px) { .cta-float { display: none; } }
.cta-float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.cta-float-btn:hover { transform: scale(1.08); }
.cta-phone { background: var(--primary); color: #FFF; }
.cta-devis { background: var(--gold); color: var(--ink); }

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed; bottom: 1.25rem; left: 1.25rem; right: 1.25rem; z-index: 99;
  max-width: 500px; margin: 0 auto;
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
}
.cookie-banner p { flex: 1; font-size: 0.875rem; color: var(--text-muted); margin: 0; min-width: 220px; }
.cookie-banner p a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: flex-end; }
.cookie-banner { opacity: 0; transform: translateY(14px); transition: opacity 300ms var(--easing), transform 300ms var(--easing); }
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); }
.cookie-banner.is-hiding { opacity: 0; transform: translateY(14px); pointer-events: none; }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed; bottom: 1.25rem; left: 1.25rem; z-index: 97;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg-elevated); color: var(--gold);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  opacity: 0; transform: translateY(20px);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { border-color: var(--gold); transform: translateY(-2px); }
@media (max-width: 1023.98px) { .back-to-top { display: none; } }

/* ---------- GENERIC FORMS ---------- */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 500;
  color: var(--text); margin-bottom: 0.5rem;
}
.form-control {
  width: 100%; padding: 0.875rem 1rem;
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text);
  transition: all var(--transition);
  font-size: 0.9375rem;
}
.form-control:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.18);
}
textarea.form-control { resize: vertical; min-height: 130px; }
.form-required { color: var(--gold); }
.form-help { font-size: 0.8125rem; color: var(--text-muted); margin-top: 0.375rem; }
.form-success {
  background: rgba(74, 222, 128, 0.1); border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 1rem; border-radius: var(--radius-sm); color: #4ADE80;
}
.form-error {
  background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.3);
  padding: 1rem; border-radius: var(--radius-sm); color: #F87171;
}

/* ---------- PAGE GENERIC ---------- */
.page-header {
  padding-top: 6rem; padding-bottom: 4rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-header .eyebrow { color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.8rem; font-weight: 600; margin-bottom: 1rem; }
.page-header h1 { font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 600; margin-bottom: 1rem; line-height: 1.1; }
.page-header p { max-width: 640px; margin: 0 auto; color: var(--text-muted); font-size: 1.125rem; }
.breadcrumb { display: flex; gap: 0.5rem; align-items: center; justify-content: center; font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--gold); }

/* ---------- UTILITIES ---------- */
.grid-2 { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.grid-3 { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.tag {
  display: inline-block; padding: 0.25rem 0.75rem;
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: 999px; font-size: 0.75rem; font-weight: 500;
  color: var(--text-muted); letter-spacing: 0.04em;
}
.tag-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- PRINT ---------- */
@media print {
  .site-header, .site-footer, .cta-float, .cookie-banner, .back-to-top { display: none !important; }
  body { background: #FFF !important; color: #000 !important; }
  * { box-shadow: none !important; }
}

/* =============================================================
   HERITAGE ATELIER — Couche Stitch "Material You" premium
   Philosophie : No-Line Rule · Surface nesting · Glassmorphism
   Italic Cormorant · Forest Shadow · Asymmetric bento
   ============================================================= */

:root {
  /* Surface hierarchy (tonal layering — empilement papier sur pierre) */
  --surface:                  #0F1513;
  --surface-container-lowest: #0B100E;
  --surface-container-low:    #121815;
  --surface-container:        #151C19;
  --surface-container-high:   #19211D;
  --surface-container-highest:#1D2622;
  --on-surface:               #F0EDE4;
  --on-surface-variant:       rgba(240, 237, 228, 0.72);
  --outline-variant:          rgba(201, 164, 76, 0.15);

  /* Forest Shadow — ombre ambiante teintée on_surface, pas de gris synthétique */
  --forest-shadow:        0 20px 40px rgba(15, 21, 19, 0.18);
  --forest-shadow-soft:   0 10px 24px rgba(15, 21, 19, 0.12);
  --forest-shadow-strong: 0 28px 56px rgba(15, 21, 19, 0.28);

  /* Glassmorphism tokens (nav flottante, modals) */
  --glass-bg: rgba(15, 21, 19, 0.72);
  --glass-blur: 24px;
}

[data-theme="light"] {
  /* Ivoire méditerranéen chaud */
  --surface:                  #FDF9F0;
  --surface-container-lowest: #FFFFFF;
  --surface-container-low:    #F7F3EA;
  --surface-container:        #F3EEE2;
  --surface-container-high:   #EFE9DA;
  --surface-container-highest:#EBE3D0;
  --on-surface:               #1C1C16;
  --on-surface-variant:       rgba(28, 28, 22, 0.68);
  --outline-variant:          rgba(10, 92, 62, 0.14);

  --forest-shadow:        0 20px 40px rgba(15, 21, 19, 0.06);
  --forest-shadow-soft:   0 10px 24px rgba(15, 21, 19, 0.04);
  --forest-shadow-strong: 0 28px 56px rgba(15, 21, 19, 0.10);

  --glass-bg: rgba(253, 249, 240, 0.80);

  /* Ivoire chaud remplace #F7F3EA comme base */
  --bg: #FDF9F0;
  --bg-overlay: rgba(253, 249, 240, 0.80);
  --card: #FFFFFF;
  --card-hover: #F7F3EA;
}

/* Harmonisation dark mode sur --surface */
:root { --bg: var(--surface); --bg-elevated: var(--surface-container); --card: var(--surface-container); --card-hover: var(--surface-container-high); }
[data-theme="light"] { --bg-elevated: var(--surface-container-low); }

/* ---------- GLASSMORPHISM NAV ---------- */
.site-header {
  background: var(--glass-bg);
  -webkit-backdrop-filter: saturate(160%) blur(var(--glass-blur));
  backdrop-filter: saturate(160%) blur(var(--glass-blur));
  border-bottom-color: transparent !important;
}
.site-header.scrolled {
  background: var(--glass-bg);
  box-shadow: var(--forest-shadow-soft);
}

/* ---------- NO-LINE RULE — surfaces sans bordure ---------- */
.service-card,
.review-card,
.faq-item,
.zone-item,
.about-badge,
.hours-list + .open-status,
.cookie-banner {
  border-color: transparent !important;
  background: var(--surface-container-low);
  box-shadow: var(--forest-shadow-soft);
}
[data-theme="light"] .service-card,
[data-theme="light"] .review-card,
[data-theme="light"] .faq-item,
[data-theme="light"] .zone-item,
[data-theme="light"] .about-badge {
  background: var(--surface-container-lowest);
}
.service-card:hover,
.review-card:hover {
  box-shadow: var(--forest-shadow) !important;
  transform: translateY(-6px);
  border-color: transparent !important;
}
.faq-item[open] {
  background: var(--surface-container);
  border-color: transparent !important;
}

/* ---------- TRUST NUMBERS — Italic Cormorant jewelry ---------- */
.trust-chiffre {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.02em;
}

/* ---------- SECTION TITLES — italic accent ciselé ---------- */
.section-title .accent,
.hero-title em,
.cta-inner h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -0.015em;
}

/* ---------- ABOUT BADGE — 40 années asymétrique ---------- */
.about-img { overflow: visible; }
.about-img > img {
  border-radius: var(--radius-lg);
  box-shadow: var(--forest-shadow);
}
.about-badge {
  position: absolute;
  right: -1.25rem; bottom: -1.5rem; left: auto;
  padding: 1.5rem 1.75rem;
  background: var(--surface-container-lowest);
  border-radius: var(--radius);
  box-shadow: var(--forest-shadow-strong);
  display: flex; align-items: center; gap: 1.25rem;
  min-width: 200px;
}
.badge-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3.5rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 0.9;
}
.badge-txt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  line-height: 1.35;
}
@media (min-width: 900px) {
  .about-badge { right: -2rem; bottom: -2rem; padding: 1.75rem 2rem; }
  .badge-num { font-size: 4rem; }
}

/* ---------- BENTO SERVICES — asymétrie éditoriale ---------- */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
  }
  .services-grid > .service-card:nth-child(1) {
    grid-column: span 2;
  }
  .services-grid > .service-card:nth-child(1) .service-card-img {
    aspect-ratio: 16/9;
  }
  .services-grid > .service-card:nth-child(2) {
    margin-top: 3rem;
  }
  .services-grid > .service-card:nth-child(5) {
    margin-top: 3rem;
  }
  .services-grid > .service-card:nth-child(7) {
    grid-column: span 2;
  }
  .services-grid > .service-card:nth-child(7) .service-card-img {
    aspect-ratio: 16/9;
  }
}

/* ---------- SERVICE CARD — No-Line + sharper radius ---------- */
.service-card {
  border-radius: var(--radius);
}
.service-card-img { border-radius: 0; }

/* ---------- BUTTONS — Seal of Quality (Heritage variant) ---------- */
.btn-primary {
  border-radius: 0.375rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: var(--forest-shadow-soft);
}
.btn-primary:hover {
  box-shadow: var(--forest-shadow);
  transform: translateY(-4px);
}
.btn-primary.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--ink);
}
.btn-ghost { border-radius: 0.375rem; }
.btn-outline { border-radius: 0.375rem; }

/* ---------- HERITAGE TIMELINE — composant signature ---------- */
.heritage-timeline {
  position: relative;
  display: flex; flex-direction: column; gap: 2.5rem;
  padding: 2rem 0 2rem 2.5rem;
  margin: 3rem 0;
}
.heritage-timeline::before {
  content: '';
  position: absolute; top: 0; bottom: 0; left: 0.35rem;
  width: 1px;
  background: var(--outline-variant);
}
.heritage-timeline > li {
  position: relative;
  padding-left: 1.25rem;
}
.heritage-timeline > li::before {
  content: '';
  position: absolute;
  left: -2.15rem; top: 0.45rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--bg);
}
.timeline-year {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.875rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.timeline-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- SECTION CTA — immersive forest room ---------- */
.section-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.08) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }

/* ---------- OPEN STATUS — live pulse ---------- */
.open-status.is-open .dot {
  background: #4ADE80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.20);
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.20); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.08); }
}

/* ---------- GALLERY — ken burns premium ---------- */
.gallery-item {
  border-radius: var(--radius);
  box-shadow: var(--forest-shadow-soft);
}
.gallery-item:hover {
  box-shadow: var(--forest-shadow);
}

/* ---------- ZONES — No-Line + chiffre italique or ---------- */
.zone-code {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
}
.zones-map {
  border-radius: var(--radius-lg);
  box-shadow: var(--forest-shadow);
}

/* ---------- FLOATING CTA — Forest Shadow ---------- */
.cta-float-btn {
  box-shadow: var(--forest-shadow-strong);
  border-radius: 0.75rem;
}

/* ---------- PAGE HEADER — no solid border ---------- */
.page-header {
  background: var(--surface-container-low);
  border-bottom-color: transparent;
}
[data-theme="light"] .page-header {
  background: var(--surface-container);
}

/* ---------- FOOTER — layering propre ---------- */
.site-footer {
  background: var(--surface-container-low);
  border-top-color: transparent;
}
[data-theme="light"] .site-footer {
  background: var(--surface-container);
}
.footer-bottom { border-top-color: var(--outline-variant); }

/* ---------- FORMS — Architectural (bottom border focus) ---------- */
.form-control {
  background: var(--surface-container-low);
  border-radius: 0.375rem;
}
[data-theme="light"] .form-control { background: var(--surface-container-lowest); }
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 76, 0.15);
}

/* ---------- TAG ---------- */
.tag { background: var(--surface-container); border-color: transparent; }

/* ---------- REVEAL TUNING ---------- */
.reveal { transition: opacity 800ms var(--easing), transform 800ms var(--easing); }

/* ---------- HERO TITLE — warm drop shadow natural ---------- */
.hero-title { text-shadow: 0 2px 30px rgba(15, 21, 19, 0.35); }
[data-theme="light"] .hero-title { text-shadow: 0 1px 2px rgba(253, 249, 240, 0.5); }

/* =============================================================
   HORIZONTAL SCROLL — pin-scrub "wow effect"
   ============================================================= */
.section-horizon {
  position: relative;
  padding: 0;
  background: var(--surface-container-low);
  overflow: visible; /* doit rester visible pour que sticky fonctionne */
}
[data-theme="light"] .section-horizon { background: var(--surface-container); }

.horizon-intro {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.horizon-intro .section-title .accent { font-family: var(--font-serif); font-style: italic; font-weight: 500; }

.horizon {
  position: relative;
  /* La hauteur dynamique est calculée par JS (track width + viewport) */
  height: 300vh; /* fallback si JS absent */
}

.horizon-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.horizon-track {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 60ms linear;
}

.horizon-slide {
  flex: 0 0 auto;
  width: clamp(280px, 42vw, 560px);
  height: clamp(380px, 70vh, 640px);
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow-forest, 0 20px 40px rgba(15,21,19,0.12));
  background: var(--surface-container);
  isolation: isolate;
}

.horizon-slide-img,
.horizon-slide picture,
.horizon-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 900ms var(--easing);
}
.horizon-slide:hover img { transform: scale(1.04); }

.horizon-slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,21,19,0) 35%, rgba(15,21,19,0.88) 100%);
  z-index: 2;
  pointer-events: none;
}

.horizon-slide-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: clamp(1.25rem, 2vw, 2rem);
  color: #F7F3EA;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.horizon-slide-cat {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
}
.horizon-slide-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  line-height: 1.15;
  color: #F7F3EA;
  margin: 0;
}
.horizon-slide-meta {
  font-size: 0.875rem;
  color: rgba(247, 243, 234, 0.82);
}

/* Slide "cover" intro — première carte différente */
.horizon-slide.horizon-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark, #083F2A) 100%);
  color: #F7F3EA;
  text-align: center;
}
.horizon-slide.horizon-cover::after { display: none; }
.horizon-slide.horizon-cover .horizon-cover-inner {
  position: relative; z-index: 3;
  padding: clamp(1.5rem, 3vw, 3rem);
}
.horizon-slide.horizon-cover .horizon-cover-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem; display: block;
}
.horizon-slide.horizon-cover h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 500;
  margin: 0 0 0.75rem;
  line-height: 1.1;
}
.horizon-slide.horizon-cover p {
  font-size: 0.9375rem;
  color: rgba(247, 243, 234, 0.82);
  max-width: 34ch;
  margin: 0 auto;
}

/* Progress bar */
.horizon-progress {
  position: absolute;
  left: 50%;
  bottom: 2.5vh;
  transform: translateX(-50%);
  width: min(320px, 40vw);
  height: 2px;
  background: var(--outline-variant);
  border-radius: 2px;
  overflow: hidden;
  z-index: 4;
}
.horizon-progress-bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 80ms linear;
}

/* ---- MOBILE FALLBACK : scroll horizontal natif (≤ 900px) ---- */
@media (max-width: 900px) {
  .horizon {
    height: auto;
  }
  .horizon-sticky {
    position: relative;
    top: auto;
    height: auto;
    overflow: visible;
    padding: 1rem 0 2rem;
  }
  .horizon-track {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0.5rem clamp(1rem, 4vw, 2rem) 1.5rem;
    transform: none !important;
    transition: none;
    scrollbar-width: thin;
  }
  .horizon-track::-webkit-scrollbar { height: 4px; }
  .horizon-track::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
  .horizon-slide {
    scroll-snap-align: start;
    width: 78vw;
    height: 60vh;
    min-height: 380px;
  }
  .horizon-progress { display: none; }
}

/* Préférence réduite du mouvement */
@media (prefers-reduced-motion: reduce) {
  .horizon { height: auto; }
  .horizon-sticky { position: relative; top: auto; height: auto; }
  .horizon-track {
    overflow-x: auto;
    transform: none !important;
    scroll-snap-type: x mandatory;
  }
  .horizon-slide { scroll-snap-align: start; }
  .horizon-progress { display: none; }
}

