/* Passé Coloré — multi-page site styles (v2)
 * Palette + typo inherited from variantes 3/4
 * v2: polaroid hero, drag-to-reveal slider, hover-swap cards
 */

:root {
  --tc: #C1694F;
  --tc-dark: #9E4B35;
  --umber: #6B4226;
  --sienna: #A0522D;
  --burnt: #8B4513;
  --parch: #F3EBD8;
  --parch-deep: #E8DCC6;
  --clay: #D4B896;
  --cream: #FAF6EE;
  --ink: #3B2F24;
  --ink-l: #6B5D4F;
  --sage: #7A8B6F;
  --sage-l: #9AAF8A;
  --sw: 0 4px 16px rgba(107, 66, 38, 0.08);
  --swl: 0 8px 28px rgba(107, 66, 38, 0.12);
  --fr: 0 0 0 3px rgba(193, 105, 79, 0.4);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

html { overflow-x: hidden; }
/* Hide both scrollbars (html + body) — keep scrolling functional but
   visually clean. Setting overflow-x on body would force body's
   overflow-y to "auto" implicitly, which is exactly the second-scrollbar
   problem we want to avoid, so we leave body's x-overflow unset and rely
   on html alone. */
html, body {
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge legacy */
}
html::-webkit-scrollbar,
body::-webkit-scrollbar { display: none; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-color: var(--parch);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='700' viewBox='0 0 800 700'%3E%3Cpath d='M-10,40 C60,28 130,55 210,38 S340,52 430,35 S560,50 650,42 S780,30 810,45' fill='none' stroke='%23C1694F' stroke-width='1.6' opacity='0.06' stroke-linecap='round'/%3E%3Cpath d='M-10,160 C50,148 150,172 250,155 S380,168 480,152 S600,165 710,158 S810,150 810,162' fill='none' stroke='%23D4B896' stroke-width='2.2' opacity='0.05' stroke-linecap='round'/%3E%3Cpath d='M-10,300 C70,288 160,312 260,295 S400,308 500,292 S630,305 730,298 S810,310 810,302' fill='none' stroke='%236B4226' stroke-width='1.4' opacity='0.05' stroke-linecap='round'/%3E%3Cpath d='M-10,440 C60,428 170,452 270,435 S410,448 510,432 S640,445 740,438 S810,425 810,442' fill='none' stroke='%237A8B6F' stroke-width='1' opacity='0.04' stroke-linecap='round'/%3E%3Cpath d='M-10,575 C70,562 160,585 260,570 S400,582 500,568 S640,580 740,572 S810,565 810,578' fill='none' stroke='%23C1694F' stroke-width='1.2' opacity='0.04' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: 100% auto;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='5' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 250px 250px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--fr); border-radius: 4px; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--umber);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 em, h2 em { font-style: italic; color: var(--tc); font-weight: 700; }

.script { font-family: 'Caveat', cursive; font-weight: 700; color: var(--sienna); }
.label { font-family: 'Nunito', sans-serif; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--sage); }

/* ── NAV ─────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(150%) blur(14px);
  background: rgba(243, 235, 216, 0.85);
  border-bottom: 1px solid rgba(107, 66, 38, 0.08);
}
.nav-inner { position: relative; }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-brand-text { display: flex; flex-direction: column; gap: 2px; line-height: 1; }
.nav-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--umber);
  line-height: 1;
}
.nav-brand-name em { font-style: italic; color: var(--tc); }
.nav-brand-loc {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--sage);
  text-transform: uppercase;
}

/* Brand mark — shared between nav, footer, and any inline use */
.brand-seal {
  width: 112px;
  height: 112px;
  flex-shrink: 0;
  color: var(--umber);
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-brand:hover .brand-seal { transform: rotate(-6deg) scale(1.04); }
.brand-seal--lg { width: 180px; height: 180px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  padding: 9px 16px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink-l);
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s;
}
.nav-link:hover { color: var(--umber); background: rgba(193, 105, 79, 0.06); }
.nav-link.active { color: var(--tc); background: rgba(193, 105, 79, 0.1); }

.nav-cta {
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--tc);
  color: var(--cream);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(193, 105, 79, 0.25);
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--tc-dark); transform: translateY(-1px); }

/* Hamburger button — hidden by default on desktop */
.nav-burger {
  display: none;
  width: 42px; height: 42px;
  padding: 0;
  border: 1px solid var(--clay);
  border-radius: 12px;
  background: var(--cream);
  color: var(--umber);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.nav-burger:hover { border-color: var(--tc); color: var(--tc); }
.nav-burger-icon { width: 22px; height: 14px; position: relative; display: inline-block; }
.nav-burger-icon::before,
.nav-burger-icon::after,
.nav-burger-icon span {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.2s, top 0.3s, bottom 0.3s;
}
.nav-burger-icon::before { top: 0; }
.nav-burger-icon span    { top: 50%; margin-top: -1px; }
.nav-burger-icon::after  { bottom: 0; }
/* Open state — animate to "X" */
.nav-burger[aria-expanded="true"] .nav-burger-icon::before { top: 50%; margin-top: -1px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-icon span    { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-icon::after  { bottom: 50%; margin-bottom: -1px; transform: rotate(-45deg); }

@media (max-width: 780px) {
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
  }
  .nav-brand { gap: 8px; flex: 1; min-width: 0; }
  .nav-burger { display: inline-flex; }
  /* Hide the "Devis gratuit" pill on mobile — burger menu + sticky CTA cover this */
  .nav-cta { display: none; }

  /* Slide-down panel below the nav */
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 14px 16px;
    background: rgba(243, 235, 216, 0.98);
    backdrop-filter: saturate(150%) blur(14px);
    border-bottom: 1px solid rgba(107, 66, 38, 0.08);
    box-shadow: 0 8px 24px rgba(59, 47, 36, 0.06);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s;
    z-index: 90;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { display: block; }
  .nav-link {
    display: block;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid transparent;
  }
  .nav-link.active {
    background: rgba(193, 105, 79, 0.10);
    border-color: rgba(193, 105, 79, 0.18);
    color: var(--tc);
  }

  .nav-brand-loc { display: none; }
  .brand-seal { width: 52px; height: 52px; }
  .nav-brand-name { font-size: 22px; }
}

/* Smaller phones: hide the secondary "Devis gratuit" pill — burger keeps it */
@media (max-width: 480px) {
  .nav-cta { padding: 8px 12px; font-size: 12px; }
}

/* ── LAYOUT ─────────────────────────────────────────── */

.page { max-width: 1280px; margin: 0 auto; padding: 24px 20px 32px; position: relative; z-index: 2; }
.page-narrow { max-width: 900px; margin: 0 auto; padding: 24px 20px 32px; position: relative; z-index: 2; }

.section { margin: 40px 0; }
.section-title { font-size: 32px; margin-bottom: 6px; }
.section-sub { font-family: 'Caveat', cursive; font-size: 20px; color: var(--sienna); margin-bottom: 24px; }
.center { text-align: center; }

/* ── OFFER CARDS — three-temps block ─────────────── */
.offers .grid-3 { gap: 22px; margin-top: 28px; }
.offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: 16px;
  padding: 36px 26px 28px;
  border: 1px solid rgba(212, 184, 150, 0.4);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--sw);
}
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--swl);
  border-color: var(--clay);
}
.offer-num {
  position: absolute;
  top: 14px;
  right: 22px;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 26px;
  color: var(--clay);
  opacity: 0.55;
  letter-spacing: 1px;
}
.offer-tag {
  position: absolute;
  bottom: 18px;
  right: 22px;
  font-family: 'Nunito', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--sage);
  background: rgba(122, 139, 111, 0.14);
  padding: 4px 9px;
  border-radius: 10px;
}
.offer-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--umber);
  margin-bottom: 10px;
}
.offer-desc {
  color: var(--ink-l);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.offer-link {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: 19px;
  color: var(--tc);
  border-bottom: 1px dashed var(--clay);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.3s, border-color 0.3s;
}
.offer-card:hover .offer-link {
  color: var(--sienna);
  border-bottom-color: var(--tc);
}

/* ── BUTTONS ────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  letter-spacing: 0.3px;
}
.btn-primary { background: var(--tc); color: var(--cream); box-shadow: 0 4px 14px rgba(193, 105, 79, 0.3); }
.btn-primary:hover { background: var(--tc-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(193, 105, 79, 0.4); }
.btn-ghost { background: var(--cream); color: var(--umber); border: 1.5px solid var(--clay); }
.btn-ghost:hover { border-color: var(--tc); color: var(--tc); }

/* ── HERO (polaroid stacking) ───────────────────────── */

.hero-v2 {
  margin: 0 -20px 16px;
  padding: 24px 20px 28px;
  position: relative;
  overflow: hidden;
}
.hero-grid { align-items: stretch; }
.hero-text { display: flex; flex-direction: column; }

/* Trust row nested inside hero-text — pushed to the bottom of the column so it
   aligns visually with the bottom edge of the polaroid stack on the right.
   Smaller, lighter integration than the standalone home-page version. */
.hero-trust {
  margin: 0;
  margin-top: auto;
  padding-top: 28px;
  justify-content: flex-start;
  gap: 14px;
}
.hero-trust .trust-badge {
  width: 120px;
  height: 120px;
  border-style: solid;
  border-color: rgba(212, 184, 150, 0.6);
  background: rgba(250, 246, 238, 0.6);
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 14px rgba(59, 47, 36, 0.08);
}
.hero-trust .trust-num { font-size: 26px; line-height: 1; }
.hero-trust .trust-lbl { font-size: 15px; line-height: 1.15; padding: 0 6px; }

@media (max-width: 780px) {
  .hero-trust { justify-content: center; padding-top: 24px; }
}
.hero-grid {
  /* Hero stays tighter than the rest of the site so the whole composition
     (eyebrow + title + polaroid + CTA) fits above the fold on a typical
     laptop without scrolling. */
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  color: var(--sienna);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
  align-self: flex-start;
  width: fit-content;
  padding: 9px 18px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  background: rgba(250, 246, 238, 0.6);
}
.hero-title {
  font-size: 60px;
  margin: 14px 0;
  line-height: 1.02;
}
.hero-lead {
  font-size: 17px;
  color: var(--ink-l);
  margin-bottom: 28px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stack {
  position: relative;
  aspect-ratio: 4 / 5;
  perspective: 1000px;
}
.polaroid {
  position: absolute;
  background: var(--cream);
  padding: 12px 12px 40px;
  border-radius: 4px;
  box-shadow: 0 12px 36px rgba(59, 47, 36, 0.22), 0 4px 12px rgba(59, 47, 36, 0.14);
  overflow: hidden;
}
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; display: block; }
.polaroid-caption {
  position: absolute;
  bottom: 10px;
  left: 14px;
  right: 14px;
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: var(--umber);
  text-align: center;
  line-height: 1;
}
.polaroid-main {
  top: 0; left: 0;
  width: 82%;
  transform: rotate(-1.5deg);
  z-index: 2;
}
.polaroid-avant {
  top: 8%;
  right: 0;
  width: 38%;
  transform: rotate(6deg);
  z-index: 3;
  padding: 8px 8px 28px;
  box-shadow: 0 10px 28px rgba(59, 47, 36, 0.28);
}
.polaroid-avant .polaroid-caption { font-size: 13px; bottom: 7px; }
.polaroid-avant::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(-12deg);
  width: 40px;
  height: 14px;
  background: rgba(193, 105, 79, 0.4);
  border-radius: 1px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.hero-pin {
  position: absolute;
  bottom: 4%;
  left: 12%;
  font-family: 'Caveat', cursive;
  color: var(--tc);
  font-size: 20px;
  transform: rotate(-4deg);
  opacity: 0.7;
  pointer-events: none;
}

/* (Mobile/tablet hero rules consolidated in the Hero v3 block at the bottom of this file.) */

/* ── TRUST BADGES ───────────────────────────────────── */

.trust-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 16px 0 28px;
}
.trust-badge {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px dashed var(--clay);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  transition: all 0.3s;
}
.trust-badge:hover { border-color: var(--tc); transform: scale(1.05) rotate(-2deg); box-shadow: var(--sw); }
.trust-num { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 22px; color: var(--umber); line-height: 1; }
.trust-lbl { font-family: 'Caveat', cursive; font-size: 16px; font-weight: 600; color: var(--sienna); line-height: 1.2; margin-top: 2px; letter-spacing: 0.2px; }

/* ── GRID ───────────────────────────────────────────── */

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 780px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid-2 { grid-template-columns: 1fr; } }

/* ── DRAG-TO-REVEAL SLIDER (Accueil featured) ───────── */

.ba-slider {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sw);
  cursor: col-resize;
  user-select: none;
  touch-action: none;
  background: var(--parch-deep);
}
.ba-side {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-side-after { z-index: 1; }
.ba-side-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.1s linear;
}
.ba-slider.dragging .ba-side-before { transition: none; }
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--cream);
  z-index: 3;
  transform: translateX(-50%);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
  transition: left 0.1s linear;
  pointer-events: none;
}
.ba-slider.dragging .ba-handle { transition: none; }
.ba-handle::after {
  content: '⇔';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  background: var(--cream);
  color: var(--tc);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--tc);
}
.ba-label {
  position: absolute;
  bottom: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Caveat', cursive;
  font-size: 15px;
  font-weight: 700;
  z-index: 4;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.ba-label-before { left: 12px; background: rgba(59, 47, 36, 0.65); color: var(--cream); }
.ba-label-after  { right: 12px; background: rgba(250, 246, 238, 0.85); color: var(--umber); }

.ba-meta {
  margin-top: 14px;
  text-align: center;
}
.ba-meta-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--umber);
}
.ba-meta-tag {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 18px;
  font-weight: 700;
  color: var(--tc);
  padding: 3px 14px;
  border: 1px solid var(--clay);
  border-radius: 20px;
  margin-top: 4px;
  letter-spacing: 0.2px;
}

/* ── RÉALISATION CARD (v2 — hover swap) ───────────── */

.real-card {
  background: var(--cream);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--sw);
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid rgba(212, 184, 150, 0.3);
  position: relative;
}
.real-card:hover { transform: translateY(-4px); box-shadow: var(--swl); }
/* Gallery card image — less tall than the original 4/5 so the grid
   doesn't dominate a wide-screen layout. */
.real-card-img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--parch-deep);
}
.real-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.real-card-img .img-avant { opacity: 0; }
.real-card.show-avant .img-avant,
.real-card:hover .img-avant { opacity: 1; }
.real-card-img .img-apres { opacity: 1; }
.real-card.show-avant .img-apres,
.real-card:hover .img-apres { opacity: 0; }

.real-card-hint {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  border-radius: 16px;
  background: rgba(250, 246, 238, 0.9);
  backdrop-filter: blur(6px);
  font-family: 'Caveat', cursive;
  font-size: 13px;
  color: var(--umber);
  z-index: 4;
  pointer-events: none;
  transition: all 0.3s;
}
.real-card:hover .real-card-hint,
.real-card.show-avant .real-card-hint {
  background: var(--umber);
  color: var(--cream);
}

.real-card-body { padding: 16px; }
.real-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--umber);
  margin-bottom: 4px;
}
.real-card-tag {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 17px;
  font-weight: 700;
  color: var(--tc);
  padding: 2px 12px;
  border: 1px solid var(--clay);
  border-radius: 20px;
  letter-spacing: 0.2px;
}

/* ── RÉALISATION CARD — VARIANT "SPLIT" (diagonal avant/après) ── */

.real-card-split { background: var(--cream); border-radius: 14px; overflow: hidden; box-shadow: var(--sw); border: 1px solid rgba(212, 184, 150, 0.3); transition: all 0.3s; cursor: pointer; }
.real-card-split:hover { transform: translateY(-4px); box-shadow: var(--swl); }
.real-card-split-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--parch-deep);
}
.real-card-split-img .side {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.real-card-split-img .side-avant {
  clip-path: polygon(0 0, 45% 0, 35% 100%, 0 100%);
  filter: saturate(0.65);
}
.real-card-split-img .side-apres {
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 35% 100%);
}
.real-card-split-img .split-label {
  position: absolute;
  top: 12px;
  padding: 3px 10px;
  border-radius: 14px;
  font-family: 'Caveat', cursive;
  font-size: 13px;
  font-weight: 700;
  z-index: 3;
}
.real-card-split-img .split-label-a { left: 12px; background: rgba(59,47,36,0.7); color: var(--cream); }
.real-card-split-img .split-label-b { right: 12px; background: rgba(250,246,238,0.85); color: var(--umber); }

/* ── FINITION SWATCH ────────────────────────────────── */

.swatch-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 680px) {
  .swatch-row { grid-template-columns: repeat(2, 1fr); }
}
.swatch {
  cursor: pointer;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--sw);
  border: 2px solid transparent;
  transition: all 0.25s;
  background: var(--cream);
}
.swatch img { width: 100%; height: 100%; object-fit: cover; }
.swatch:hover { transform: translateY(-2px) rotate(-1deg); box-shadow: var(--swl); }
.swatch.active { border-color: var(--tc); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(193, 105, 79, 0.35); }
.swatch-name {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 6px 10px;
  background: linear-gradient(to top, rgba(59, 47, 36, 0.85), transparent);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* ── PROCESS STEPS ──────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  background: var(--cream);
  padding: 24px 20px;
  border-radius: 14px;
  border: 1px solid rgba(212, 184, 150, 0.35);
  position: relative;
  text-align: center;
}
.step-num {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--tc);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 32px; margin: 10px 0 8px; }
.step-title { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 700; color: var(--umber); margin-bottom: 4px; }
.step-desc { font-size: 13px; color: var(--ink-l); line-height: 1.5; }
@media (max-width: 680px) { .steps { grid-template-columns: repeat(2, 1fr); } }

/* ── SERVICE BLOCK ──────────────────────────────────── */

.service {
  background: var(--cream);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid rgba(212, 184, 150, 0.35);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  align-items: center;
}
.service-icon { font-size: 64px; text-align: center; opacity: 0.85; }
.service-tagline { font-family: 'Caveat', cursive; font-size: 22px; color: var(--tc); margin-bottom: 6px; }
.service-title { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; color: var(--umber); margin-bottom: 10px; }
.service-desc { color: var(--ink); margin-bottom: 12px; }
.service-price { font-family: 'Caveat', cursive; color: var(--sienna); font-size: 17px; }
@media (max-width: 680px) { .service { grid-template-columns: 1fr; padding: 24px; gap: 16px; } .service-icon { font-size: 48px; } }

/* ── FOOTER ─────────────────────────────────────────── */

.footer {
  margin-top: 32px;
  padding: 24px 20px 20px;
  border-top: 1px solid rgba(107, 66, 38, 0.12);
  text-align: center;
  color: var(--ink-l);
  font-size: 13px;
}
.footer a { color: var(--sienna); text-decoration: none; }
.footer a:hover { color: var(--tc); }
.footer-brand {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 70px 20px 30px;
  margin-bottom: 6px;
}
/* Soft warm-beige (clay) elephant silhouette — tinted via mask, sits on the cream footer bg */
.footer-brand::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 880px;
  height: 540px;
  transform: translate(-50%, -50%);
  background-color: var(--clay);
  -webkit-mask-image: url('./img/brand/elephant-mark-512.png?v=8');
  mask-image: url('./img/brand/elephant-mark-512.png?v=8');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  filter: blur(12px);
  opacity: 0.75;
  z-index: -1;
  pointer-events: none;
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--umber);
  letter-spacing: 0.5px;
}
.footer-brand-name em { font-style: italic; color: var(--tc); }
.footer-brand-sub {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--sage);
  text-transform: uppercase;
  margin-top: 4px;
}
@media (max-width: 680px) {
  .footer-brand::before { width: 540px; height: 360px; filter: blur(10px); opacity: 0.70; }
  .footer-brand-name { font-size: 40px; }
  .footer-brand-sub { font-size: 11px; letter-spacing: 2px; }
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 18px 0 8px;
  position: relative;
  z-index: 1;
}
.footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--umber);
  color: var(--umber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(59, 47, 36, 0.18), 0 1px 3px rgba(59, 47, 36, 0.10);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.footer-social a svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}
.footer-social a:hover {
  background: var(--tc);
  border-color: var(--tc);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(193, 105, 79, 0.35), 0 2px 5px rgba(59, 47, 36, 0.15);
}

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

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(59, 47, 36, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 95vw;
  max-height: 90vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--umber);
  border: none;
  cursor: pointer;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-family: 'Caveat', cursive;
  color: var(--cream);
  opacity: 0.7;
  font-size: 16px;
}

/* ── SCROLL PROGRESS BAR ──────────────────────────── */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--tc), var(--sienna));
  z-index: 200;
  transition: width 0.1s ease-out;
  pointer-events: none;
}

/* ── STICKY CTA BAR (mobile only) ─────────────────── */

.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 99;
  padding: 12px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(243, 235, 216, 0.97) 30%, var(--parch));
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar button {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--tc);
  color: var(--cream);
  border: none;
  border-radius: 14px;
  padding: 14px 20px;
  font: 700 13px/1 'Nunito', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 -4px 16px rgba(193, 105, 79, 0.3);
  cursor: pointer;
}
@media (max-width: 780px) { .sticky-cta-bar { display: block; } }

/* ── ÉVÉNEMENTS / AGENDA ──────────────────────────── */

.events-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}
.event-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--cream);
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(212, 184, 150, 0.4);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.3s;
}
.event-item:hover { transform: translateX(3px); border-color: var(--tc); box-shadow: var(--sw); }
.event-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  padding: 8px 4px;
  background: var(--parch);
  border-radius: 10px;
  border: 1px dashed var(--clay);
}
.event-day {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 26px;
  color: var(--umber);
  line-height: 1;
}
.event-month {
  font-family: 'Caveat', cursive;
  font-size: 14px;
  color: var(--tc);
  margin-top: 2px;
}
.event-info { flex: 1; min-width: 0; }
.event-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--umber);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.event-meta {
  font-size: 12.5px;
  color: var(--ink-l);
}
.event-badge {
  display: inline-block;
  font-family: 'Caveat', cursive;
  font-size: 13px;
  font-weight: 700;
  padding: 1px 9px;
  border-radius: 12px;
}
.event-badge-live { background: var(--tc); color: var(--cream); }
.event-badge-soon { background: var(--sage); color: var(--cream); }
.event-badge-new  { background: rgba(196, 149, 74, 0.9); color: var(--cream); }

.events-empty {
  background: var(--cream);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px dashed var(--clay);
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.events-empty-icon { font-size: 32px; margin-bottom: 10px; }
.events-empty-text {
  color: var(--ink-l);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* ── EVENT CARDS — variante3 horizontal style ─────── */
.ev-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}
.ev-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--cream);
  border-radius: 14px;
  padding: 16px 20px;
  border-left: 4px solid var(--tc);
  box-shadow: var(--sw);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}
.ev-item:hover {
  transform: translateX(4px);
  box-shadow: var(--swl);
}
.ev-item:nth-child(2) { border-left-color: var(--sage); }
.ev-item:nth-child(3) { border-left-color: var(--sienna); }

.ev-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
}
.ev-day {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--umber);
  line-height: 1;
}
.ev-month {
  font-family: 'Caveat', cursive;
  font-size: 15px;
  color: var(--tc);
  margin-top: 2px;
}
.ev-info { flex: 1; min-width: 0; }
.ev-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--umber);
  line-height: 1.25;
  margin-bottom: 4px;
}
.ev-meta {
  font-size: 12px;
  color: var(--ink-l);
}
.ev-badge {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.ev-live { background: rgba(193, 105, 79, 0.14); color: var(--tc); }
.ev-soon { background: rgba(122, 139, 111, 0.14); color: var(--sage); }

.ev-foot {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-l);
  font-style: italic;
}
.ev-foot a {
  color: var(--tc);
  font-weight: 600;
  text-decoration: none;
  font-style: normal;
}
.ev-foot a:hover { text-decoration: underline; }

/* ── DERNIER ÉPISODE ──────────────────────────────── */

.episode-card {
  background: var(--umber);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--swl);
  color: var(--cream);
  display: block;
  text-decoration: none;
  transition: all 0.35s;
  max-width: 720px;
  margin: 0 auto;
}
.episode-card:hover { transform: translateY(-3px); box-shadow: 0 16px 44px rgba(107, 66, 38, 0.3); }
.episode-video {
  position: relative;
  height: 240px;
  background: linear-gradient(145deg, #4a2f1f, var(--umber), var(--sienna));
  display: flex;
  align-items: center;
  justify-content: center;
}
.episode-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--tc);
  color: var(--cream);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 11px;
  border-radius: 6px;
}
.episode-play {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(250, 246, 238, 0.15);
  border: 2px solid rgba(250, 246, 238, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.episode-card:hover .episode-play { background: var(--tc); border-color: var(--tc); transform: scale(1.08); }
.episode-play svg { width: 26px; height: 26px; color: var(--cream); margin-left: 4px; }
.episode-body { padding: 20px 24px 24px; }
.episode-series {
  font-size: 11px;
  color: var(--clay);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.episode-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 21px;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 6px;
}
.episode-title em { color: var(--tc); font-style: italic; }
.episode-desc {
  font-size: 13.5px;
  color: rgba(250, 246, 238, 0.72);
  line-height: 1.55;
}

/* ── TESTIMONIALS (slider) ────────────────────────── */

.testimonials {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}
.testimonials-track {
  overflow: hidden;
  position: relative;
  min-height: 180px;
}
.testimonials-inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 10px;
}
.testimonial-card {
  background: var(--cream);
  border-radius: 16px;
  padding: 26px 28px;
  box-shadow: var(--sw);
  border: 1px solid rgba(212, 184, 150, 0.4);
  text-align: center;
  position: relative;
}
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tc), transparent);
  opacity: 0.4;
}
.testimonial-stars {
  color: var(--tc);
  font-size: 15px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 14px;
}
.testimonial-author {
  font-family: 'Caveat', cursive;
  font-size: 16px;
  color: var(--sienna);
  font-weight: 700;
}
.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clay);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  padding: 0;
}
.testimonial-dot.active { background: var(--tc); transform: scale(1.4); }
.testimonial-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px solid var(--clay);
  color: var(--umber);
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 2px;
  transition: all 0.25s;
}
.testimonial-arrow:hover {
  background: var(--tc);
  border-color: var(--tc);
  color: var(--cream);
  transform: scale(1.08);
}

/* ── FAQ (accordion) ──────────────────────────────── */

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 720px; margin: 0 auto; }
.faq-item {
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid rgba(212, 184, 150, 0.4);
  transition: box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}
.faq-item:hover { border-color: var(--clay); box-shadow: var(--sw); }
.faq-item[open] { border-color: var(--tc); box-shadow: var(--sw); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--umber);
  gap: 14px;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 20px; height: 20px;
  color: var(--tc);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid var(--tc);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); background: var(--tc); color: var(--cream); }
.faq-answer {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--ink);
  opacity: 0.85;
  line-height: 1.65;
}

/* ── MARQUEE (finitions banner) ────────────────────── */

.marquee {
  display: block;
  position: relative;
  margin: 16px -20px 32px;
  padding: 14px 0;
  background: linear-gradient(90deg, var(--cream) 0%, var(--parch-deep) 50%, var(--cream) 100%);
  border-top: 1px solid rgba(212, 184, 150, 0.5);
  border-bottom: 1px solid rgba(212, 184, 150, 0.5);
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  transition: filter 0.3s ease, box-shadow 0.3s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee:hover {
  filter: brightness(1.05);
  box-shadow: 0 6px 24px rgba(193, 105, 79, 0.18);
}
.marquee:focus-visible {
  outline: 2px solid var(--tc);
  outline-offset: 2px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
  gap: 12px;
  padding: 0 6px;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  position: relative;
  isolation: isolate;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  font-weight: 700;
  color: var(--cream);
  padding: 8px 26px;
  white-space: nowrap;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7), 0 0 14px rgba(0, 0, 0, 0.4);
  box-shadow: 0 2px 10px rgba(59, 47, 36, 0.18);
}
/* Very light wash so the marble texture stays vibrant; text relies on text-shadow for contrast */
.marquee-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(59, 47, 36, 0.10);
  border-radius: inherit;
  z-index: -1;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
/* When .hero-stack appears inside the home grid (not the hero), give it room to breathe */
.ba-stack {
  aspect-ratio: 4 / 5;
  max-width: 100%;
  margin-bottom: 14px;
}
.ba-stack .polaroid-main {
  transform: rotate(-1deg);
}
/* In the home avant/après grid, anchor "avant" polaroid to bottom-right
   for visual contrast with the hero (where "avant" sits top-right). */
.ba-stack .polaroid-avant {
  top: auto;
  bottom: 4%;
  right: 4%;
  transform: rotate(-5deg);
}

/* ── DEVIS MODAL ───────────────────────────────────── */

.devis-modal {
  position: fixed;
  inset: 0;
  background: rgba(59, 47, 36, 0.65);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.2s ease;
}
.devis-modal.open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.devis-modal-inner {
  background: var(--parch);
  border-radius: 20px;
  padding: 36px 32px 32px;
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 184, 150, 0.4);
  animation: popIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }

.devis-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--umber);
  border: 1px solid var(--clay);
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.devis-close:hover { background: var(--tc); color: var(--cream); border-color: var(--tc); }

.devis-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--umber);
  margin-bottom: 5px;
  margin-top: 12px;
}
.devis-input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--clay);
  border-radius: 10px;
  background: var(--cream);
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s;
}
.devis-input:focus { outline: none; border-color: var(--tc); }
textarea.devis-input { resize: vertical; min-height: 70px; }

/* ── Honeypot (hidden from users + bots that ignore CSS) ─── */
.lead-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── Canal radio (devis) ─── */
.lead-canal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 4px;
}
.lead-canal-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--clay);
  border-radius: 12px;
  background: var(--cream);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}
.lead-canal-opt input { accent-color: var(--tc); margin: 0; }
.lead-canal-opt:has(input:checked) {
  border-color: var(--tc);
  background: rgba(193, 105, 79, 0.06);
  box-shadow: 0 4px 12px rgba(193, 105, 79, 0.18);
}
.lead-canal-icon { font-size: 20px; line-height: 1; }
.lead-canal-label { font-family: 'Cormorant Garamond', serif; font-weight: 700; color: var(--umber); }
.lead-canal-label em {
  display: block;
  font-family: 'Caveat', cursive;
  font-style: normal;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--tc);
}
@media (max-width: 480px) {
  .lead-canal-row { grid-template-columns: 1fr; }
}

/* ── Chip row (expo type / espace) ─── */
.lead-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.lead-chip {
  position: relative;
  padding: 8px 14px;
  border: 1.5px solid var(--clay);
  border-radius: 999px;
  background: var(--cream);
  font-size: 13px;
  font-weight: 600;
  color: var(--umber);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.lead-chip input { position: absolute; opacity: 0; pointer-events: none; }
.lead-chip:hover { border-color: var(--tc); color: var(--tc); }
.lead-chip:has(input:checked) {
  background: var(--tc);
  border-color: var(--tc);
  color: var(--cream);
  box-shadow: 0 4px 12px rgba(193, 105, 79, 0.28);
}

/* ── Photo picker ─── */
.lead-photos {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 4px;
}
.lead-photos-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 18px;
  border: 2px dashed var(--clay);
  border-radius: 12px;
  background: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--umber);
  cursor: pointer;
  transition: all 0.2s;
}
.lead-photos-add:hover {
  border-color: var(--tc);
  color: var(--tc);
  background: rgba(193, 105, 79, 0.04);
}
.lead-photos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.lead-photos-grid:empty { display: none; }
.lead-photo-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--parch-deep);
  border: 1px solid rgba(212, 184, 150, 0.5);
}
.lead-photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lead-photo-remove {
  position: absolute;
  top: 6px; right: 6px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(59, 47, 36, 0.85);
  color: var(--cream);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}
.lead-photo-remove:hover { background: var(--tc); }

/* ── Submit button states ─── */
.lead-submit { position: relative; }
.lead-submit-spinner {
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(250, 246, 238, 0.35);
  border-top-color: var(--cream);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.lead-submit.is-loading { color: transparent; cursor: wait; }
.lead-submit.is-loading .lead-submit-spinner {
  opacity: 1;
  animation: leadSpin 0.7s linear infinite;
}
.lead-submit:disabled { opacity: 0.85; }
@keyframes leadSpin { to { transform: rotate(360deg); } }

/* ── Error message ─── */
.lead-error {
  margin: 12px 0 0;
  padding: 0;
  font-size: 13px;
  color: var(--tc-dark);
  text-align: center;
  min-height: 1px;
}
.lead-error:empty { display: none; }

/* ── Success stage ─── */
.lead-stage-success { text-align: center; padding: 20px 8px 12px; }
.lead-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(122, 139, 111, 0.18);
  border: 2px solid var(--sage);
  color: var(--sage);
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: leadPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes leadPop {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

/* ════════════════════════════════════════════════════
   MOBILE POLISH — phones (<=540px)
   ════════════════════════════════════════════════════ */

/* Reserve space for the sticky CTA bar so it never covers content */
@media (max-width: 780px) {
  body { padding-bottom: 84px; }
}

/* ════════════════════════════════════════════════════════════════════
   HERO v3 — phones AND tablets portrait (≤780px)
   Centered, polaroid-first visual anchor, single column.
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 780px) {
  .hero-v2 {
    margin: 0 0 8px;
    padding: 12px 0 16px;
    overflow: visible;
    text-align: center;
  }
  .hero-grid {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    grid-template-columns: none;
  }
  .hero-text { display: contents; }
  .hero-eyebrow {
    order: 1;
    align-self: center;
    margin: 0 0 2px;
    font-size: 12.5px;
    padding: 6px 14px;
  }
  .hero-title {
    order: 2;
    font-size: clamp(34px, 7vw, 44px);
    line-height: 1.02;
    margin: 0;
    text-align: center;
  }
  .hero-stack {
    order: 3;
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4 / 5;
    align-self: center;
    margin: 6px 0 4px;
  }
  .hero-cta {
    order: 4;
    width: 100%;
    max-width: 360px;
    flex-direction: column;
    gap: 8px;
    margin: 4px auto 0;
  }
  .hero-cta .btn {
    flex: none;
    width: 100%;
    padding: 13px 18px;
  }
  .hero-cta .btn-ghost { padding: 11px 16px; }
  .hero-lead {
    order: 5;
    font-size: 15px;
    line-height: 1.55;
    margin: 8px auto 0;
    color: var(--ink-l);
    text-align: center;
    max-width: 380px;
  }
  .hero-trust {
    order: 6;
    padding-top: 6px;
    margin: 0;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-pin { font-size: 17px; bottom: 2%; left: 6%; }
}

@media (max-width: 540px) {
  /* Tighter layout */
  .page,
  .page-narrow { padding: 18px 16px 24px; }
  .section { margin: 32px 0; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 17px; margin-bottom: 18px; }

  /* Hero — phone-specific tightening on top of the 780 block */
  .hero-title { font-size: 36px; }
  .hero-lead { font-size: 14px; }
  .hero-cta .btn { font-size: 14px; }
  .hero-cta .btn-ghost { font-size: 13px; }
  .hero-stack { max-width: 280px; }
  .hero-trust .trust-badge { width: 84px; height: 84px; }
  .hero-trust .trust-num { font-size: 19px; }
  .hero-trust .trust-lbl { font-size: 12px; }

  /* Grids: collapse to single column on phone */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; gap: 18px; }

  /* Offer cards — single column, tighter padding */
  .offers .grid-3 { gap: 16px; margin-top: 22px; }
  .offer-card { padding: 26px 22px 22px; }
  .offer-num { top: 12px; right: 18px; font-size: 22px; }
  .offer-tag { bottom: 14px; right: 18px; }
  .offer-title { font-size: 22px; }
  .offer-desc { font-size: 14px; margin-bottom: 14px; }

  /* Avant/Après stacks — give them breathing room */
  .ba-stack { max-width: 360px; margin: 0 auto 14px; }
  .ba-meta-title { font-size: 19px; }

  /* Events horizontal cards — smaller date column */
  .ev-item { gap: 14px; padding: 14px 16px; }
  .ev-date { width: 48px; }
  .ev-day { font-size: 24px; }
  .ev-month { font-size: 13px; }
  .ev-title { font-size: 16px; }
  .ev-meta { font-size: 11.5px; }
  .ev-badge { font-size: 9px; padding: 2px 7px; margin-left: 4px; }

  /* Marquee — full bleed */
  .marquee { margin: 12px -16px 24px; }
  .marquee-item { font-size: 18px; padding: 7px 20px; }

  /* Footer — tighter elephant background */
  .footer-brand { padding: 50px 16px 22px; }
  .footer-brand::before {
    width: 380px;
    height: 260px;
    filter: blur(8px);
    opacity: 0.65;
  }
  .footer-brand-name { font-size: 34px; }
  .footer-brand-sub { font-size: 10px; letter-spacing: 1.5px; }

  /* Buttons */
  .btn { padding: 12px 22px; font-size: 13.5px; }
}

/* Very small phones (iPhone SE, ~360px) */
@media (max-width: 380px) {
  .hero-title { font-size: 32px; }
  .nav-link { padding: 5px 8px; font-size: 12.5px; }
  .nav-cta { padding: 8px 12px; font-size: 12px; }
  .nav-brand-name { font-size: 20px; }
  .brand-seal { width: 50px; height: 50px; }
  .hero-trust .trust-badge { width: 84px; height: 84px; }
}
