/* ==========================================================================
   L'Artisan Sellier — sections.css
   Sections spéciales : page-hero, marquee, cta-band, sections sombres
   Consolidé depuis mu-plugins/v6-fixes*.css (oct 2026)
   ========================================================================== */

/* --- 1. PAGE-HERO — layout unifié (toutes pages, structure HTML variable) --- */
.page-hero {
  background: var(--color-cream, #f5efe6);
  color: var(--color-ink, #1a1410);
  padding: 1.75rem 0 1.5rem !important;
  position: relative;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: stretch;
}
/* Contact : forcer padding-top car la classe wp-block-group met 0 */
.wp-block-group.page-hero {
  padding-top: 2.5rem !important;
  padding-bottom: 2rem !important;
}
.page-hero > .container,
.page-hero > div,
.page-hero > .wp-block-group,
.page-hero > div.wp-block-group {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  grid-template-areas:
    "bc bc"
    "ey lead"
    "h1 lead";
  gap: 0.5rem 3rem;
  align-items: start;
  box-sizing: border-box;
}
/* Place chaque enfant dans sa zone */
.page-hero .breadcrumb,
.page-hero p.breadcrumb,
.page-hero > div > .breadcrumb,
.page-hero > div > p.breadcrumb {
  grid-area: bc;
  margin: 0 !important;
}
.page-hero .hero-eyebrow,
.page-hero .eyebrow,
.page-hero span.hero-eyebrow,
.page-hero p.hero-eyebrow {
  grid-area: ey;
  margin: 0 !important;
}
.page-hero h1,
.page-hero h1.wp-block-heading {
  grid-area: h1;
  margin: 0 !important;
}
.page-hero .lead,
.page-hero p.lead,
.page-hero p.wp-block-paragraph.lead {
  grid-area: lead;
  align-self: center;
  margin: 0 !important;
}
/* Si .page-hero contient un wp-block-group qui contient un AUTRE wp-block-group
   (cas Contact), on doit appliquer la grille au 2e niveau aussi */
.page-hero > div > .wp-block-group {
  display: contents;
}
/* Le container doit toujours avoir une largeur max avec padding */
.page-hero .container,
.page-hero > div,
.page-hero > .wp-block-group,
.page-hero > div.wp-block-group {
  width: 100%;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
/* Si la structure est plate (pas de container), on utilise un grid direct */
.page-hero:not(:has(.container)):not(:has(> div)) {
  display: block;
}

/* Breadcrumb (toujours en haut, pleine largeur) */
.page-hero .breadcrumb,
.page-hero p.breadcrumb,
.page-hero > div > .breadcrumb,
.page-hero > div > p.breadcrumb,
.page-hero .wp-block-group .breadcrumb,
.page-hero .wp-block-group p.breadcrumb {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  /* Si la grille force un alignement bizarre, on override */
  justify-self: stretch !important;
  align-self: start !important;
  text-align: left !important;
  max-width: none !important;
  color: #5a4536;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  opacity: 0.75;
  font-weight: 500;
}
.page-hero .breadcrumb a,
.page-hero p.breadcrumb a {
  color: #c2542a;
  text-decoration: none;
  transition: color 0.2s;
}
.page-hero .breadcrumb a:hover,
.page-hero p.breadcrumb a:hover {
  color: #a8431e;
  text-decoration: underline;
}

/* Eyebrow (optionnel, au-dessus du H1) */
.page-hero .hero-eyebrow,
.page-hero .eyebrow,
.page-hero span.hero-eyebrow,
.page-hero p.hero-eyebrow {
  grid-column: 1 / 2;
  justify-self: start !important;
  text-align: left !important;
  color: #c2542a;
  font-size: 0.8rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem !important;
  display: block;
  width: auto !important;
}

/* H1 — colonne gauche */
.page-hero h1,
.page-hero h1.wp-block-heading {
  grid-column: 1 / 2;
  justify-self: start !important;
  text-align: left !important;
  color: var(--color-ink, #1a1410);
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem) !important;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.75rem !important;
  max-width: 18ch;
  letter-spacing: -0.01em;
  width: auto !important;
}
.page-hero h1 em {
  color: #c2542a;
  font-style: italic;
}

/* Lead — colonne droite */
.page-hero .lead,
.page-hero p.lead,
.page-hero p.wp-block-paragraph.lead {
  grid-column: 2 / 3;
  justify-self: start !important;
  text-align: left !important;
  color: #3a2c20;
  font-size: 1.05rem !important;
  line-height: 1.55;
  margin: 0 !important;
  font-weight: 400;
  max-width: 50ch;
  align-self: center;
  width: auto !important;
}

/* Mobile : tout empile verticalement */
@media (max-width: 880px) {
  .page-hero { padding: 2rem 0 1.5rem; }
  .page-hero .container,
  .page-hero > div {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .page-hero .hero-eyebrow,
  .page-hero .eyebrow,
  .page-hero span.hero-eyebrow,
  .page-hero p.hero-eyebrow {
    grid-column: 1 / -1;
    margin-bottom: 0.25rem;
  }
  .page-hero h1,
  .page-hero h1.wp-block-heading {
    grid-column: 1 / -1;
    font-size: 1.75rem !important;
    margin-bottom: 0.5rem;
  }
  .page-hero .lead,
  .page-hero p.lead,
  .page-hero p.wp-block-paragraph.lead {
    grid-column: 1 / -1;
    font-size: 0.95rem;
  }
}


/* --- 2. HERO VISUEL + QUOTE (home) --- */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
}
.quote {
  position: absolute !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  left: auto !important;
  background: #3e2614;
  color: #f5efe6;
  padding: 1.5rem !important;
  border-radius: 8px;
  max-width: 320px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: 0 20px 40px -12px rgba(46, 29, 16, 0.5);
  z-index: 2;
}

/* --- 3. MARQUEE (bandeau défilant) --- */
.marquee {
  background: linear-gradient(90deg, #2e1d10 0%, #3e2614 50%, #2e1d10 100%);
  color: #f5efe6;
  padding: 1.25rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(232, 176, 75, 0.2);
  border-bottom: 1px solid rgba(232, 176, 75, 0.2);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: marquee-scroll 38s linear infinite;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  width: max-content;
}
.marquee-track > span {
  padding: 0 2rem;
  color: rgba(245, 239, 230, 0.85);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 2rem;
}
.marquee-track > span::after {
  content: '◆';
  color: #e8b04b;
  font-size: 0.7rem;
  margin-left: 2rem;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* --- 4. CTA-BAND --- */
.cta-band {
  padding: 4rem 0;
  background: linear-gradient(135deg, #2e1d10 0%, #3e2614 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200' opacity='0.05'%3E%3Cpath fill='%23e8b04b' d='M100 0L120 60L200 80L140 120L160 200L100 160L40 200L60 120L0 80L80 60Z'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.cta-band .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #f5efe6;
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  flex: 1;
  min-width: 280px;
}
.cta-band h2 em { color: #e8b04b; font-style: italic; }
.cta-band p {
  color: rgba(245, 239, 230, 0.85);
  font-size: 1rem;
  margin: 0.5rem 0 0;
  max-width: 50ch;
}
.cta-band .btn {
  background: #e8b04b;
  color: #1a1410;
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}
.cta-band .btn:hover {
  background: #c2542a;
  color: white;
  transform: translateY(-2px);
}

/* --- 5. SECTIONS SOMBRES (process, cta, materials) --- */
.section.process,
section.process {
  background: #2e1d10;
  color: #f5efe6;
  padding: 5rem 0;
}
.section.process h2,
section.process h2 { color: #f5efe6; }
.section.process h2 em,
section.process h2 em { color: #e8b04b; font-style: italic; }
.section.process .eyebrow,
section.process .eyebrow { color: #e8b04b; }
.section.process .lead,
section.process .lead,
.section.process p,
section.process p { color: rgba(245, 239, 230, 0.9); }

/* Variantes sombres pour section-head (toutes sections avec background foncé) */
.dark .section-head h2,
.process-section .section-head h2,
.testi-section .section-head h2,
section[style*="--color-leather"] .section-head h2,
section[style*="#2e1d10"] .section-head h2,
section[style*="#3e2614"] .section-head h2,
.cta-band .section-head h2 {
  color: #f5efe6;
}
.dark .section-head h2 em,
.process-section .section-head h2 em,
.testi-section .section-head h2 em { color: #e8b04b; }
.dark .section-head .eyebrow,
.process-section .section-head .eyebrow,
.testi-section .section-head .eyebrow,
section[style*="--color-leather"] .section-head .eyebrow,
section[style*="#2e1d10"] .section-head .eyebrow,
section[style*="#3e2614"] .section-head .eyebrow,
.cta-band .section-head .eyebrow,
.cta-band .eyebrow { color: #e8b04b; }
section[style*="--color-leather"] .section-head .lead,
section[style*="#2e1d10"] .section-head .lead,
section[style*="#3e2614"] .section-head .lead,
.cta-band .section-head .lead { color: rgba(245, 239, 230, 0.9); }

/* Bordures claires dans sections sombres */
.dark *, .dark *::before, .dark *::after,
section[style*="--color-leather"] *,
section[style*="#2e1d10"] *,
section[style*="#3e2614"] *,
.process *, .testi-section *, .cta-band * {
  border-color: rgba(245, 239, 230, 0.15);
}

/* Texte clair dans toutes les sections sombres (corrige le bug "li invisibles") */
.dark p, .dark span, .dark li, .dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6, .dark strong, .dark a, .dark small,
section[style*="--color-leather"] p,
section[style*="--color-leather"] li,
section[style*="--color-leather"] span,
section[style*="--color-leather"] small,
section[style*="--color-leather"] a,
section[style*="#2e1d10"] p,
section[style*="#2e1d10"] li,
section[style*="#2e1d10"] span,
section[style*="#2e1d10"] a,
section[style*="#3e2614"] p,
section[style*="#3e2614"] li,
section[style*="#3e2614"] span,
section[style*="#3e2614"] a,
.process p, .process li, .process span,
.testi-section p, .testi-section li,
.cta-band p, .cta-band li, .cta-band span, .cta-band a {
  color: rgba(245, 239, 230, 0.92);
}
.dark a, .cta-band a { color: #e8b04b; }

/* --- 6. FOOTER --- */
.site-footer {
  background: #1a1410;
  color: rgba(245, 239, 230, 0.9);
  padding: 4rem 0 2rem;
}
.site-footer h3, .site-footer h4 {
  color: #e8b04b;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  margin: 0 0 1rem;
}
.site-footer a {
  color: rgba(245, 239, 230, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer a:hover { color: #e8b04b; }
.site-footer p, .site-footer small, .site-footer span {
  color: rgba(245, 239, 230, 0.85);
}




/* ==========================================================================
   NOUVEAU DESIGN ENTÊTES (Page Hero v2)
   Refonte visuelle : fond texturé, eyebrow pill, H1 expressif, séparateur
   ========================================================================== */

/* Fond avec gradient + texture cuir subtile + ligne cuivre décorative */
.page-hero {
  background:
    linear-gradient(135deg, rgba(194, 84, 42, 0.04) 0%, transparent 40%),
    linear-gradient(180deg, #f5efe6 0%, #ebe0cf 100%) !important;
  color: var(--color-ink, #1a1410);
  padding: 1.75rem 0 1.5rem !important;
  position: relative;
  overflow: hidden;
  min-height: 0;
  display: block !important;
  align-items: stretch;
}

/* Texture cuir via SVG inline (subtil) */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><defs><pattern id='p' width='60' height='60' patternUnits='userSpaceOnUse'><circle cx='30' cy='30' r='1' fill='%23a8431e' fill-opacity='0.05'/><circle cx='10' cy='10' r='1' fill='%23a8431e' fill-opacity='0.05'/><circle cx='50' cy='50' r='1' fill='%23a8431e' fill-opacity='0.05'/></pattern></defs><rect width='60' height='60' fill='url(%23p)'/></svg>");
  pointer-events: none;
  z-index: 0;
}

/* Bande verticale décorative à droite (cuir/cuivre) */
.page-hero::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg,
    transparent 0%,
    #c2542a 10%,
    #c2542a 30%,
    #e8b04b 50%,
    #c2542a 70%,
    #c2542a 90%,
    transparent 100%);
  opacity: 0.4;
}

/* Container interne : composition à 2 colonnes */
.page-hero > .container,
.page-hero > div,
.page-hero > .wp-block-group,
.page-hero > div.wp-block-group {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, auto);
  grid-template-areas:
    "bc bc"
    "ey badge"
    "h1 badge"
    "lead badge"
    "cta badge";
  gap: 0.5rem 2rem;
  align-items: start;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Breadcrumb (toujours en haut, pleine largeur) */
.page-hero .breadcrumb,
.page-hero p.breadcrumb,
.page-hero > div > .breadcrumb,
.page-hero > div > p.breadcrumb,
.page-hero .wp-block-group .breadcrumb,
.page-hero .wp-block-group p.breadcrumb {
  grid-area: bc;
  margin: 0 !important;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #5a4536 !important;
  font-weight: 600;
  opacity: 1;
}
.page-hero .breadcrumb a,
.page-hero p.breadcrumb a {
  color: #c2542a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}
.page-hero .breadcrumb a:hover,
.page-hero p.breadcrumb a:hover {
  color: #8a3818;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-hero .breadcrumb span,
.page-hero p.breadcrumb span {
  color: #a89b88;
  margin: 0 0.5rem;
}

/* Eyebrow en PILL (badge avec icône) */
.page-hero .hero-eyebrow,
.page-hero .eyebrow,
.page-hero span.hero-eyebrow,
.page-hero p.hero-eyebrow {
  grid-area: ey;
  justify-self: start !important;
  text-align: left !important;
  background: #3e2614;
  color: #e8b04b !important;
  padding: 0.5rem 1rem 0.5rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #3e2614;
  width: auto !important;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-eyebrow::before,
.page-hero .eyebrow::before,
.page-hero span.hero-eyebrow::before,
.page-hero p.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #c2542a;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(194, 84, 42, 0.2);
}

/* H1 EXPRESSIF (colonne gauche, grande typographie) */
.page-hero h1,
.page-hero h1.wp-block-heading {
  grid-area: h1;
  color: #1a1410 !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem) !important;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 !important;
  max-width: 18ch;
  letter-spacing: -0.02em;
  position: relative;
}
.page-hero h1 em {
  color: #c2542a;
  font-style: italic;
  font-weight: 600;
  position: relative;
  display: inline-block;
}
.page-hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 0.08em;
  left: 0;
  right: 0;
  height: 0.15em;
  background: linear-gradient(90deg, #c2542a 0%, #e8b04b 50%, transparent 100%);
  opacity: 0.5;
  border-radius: 2px;
  z-index: -1;
}

/* Lead avec typographie soignée (colonne gauche) */
.page-hero .lead,
.page-hero p.lead,
.page-hero p.wp-block-paragraph.lead {
  grid-area: lead;
  justify-self: start !important;
  text-align: left !important;
  color: #2c1f15 !important;
  font-size: 1.05rem !important;
  line-height: 1.55;
  margin: 0.25rem 0 0 !important;
  font-weight: 400;
  max-width: 50ch;
  font-family: 'Inter', system-ui, sans-serif;
}

/* BADGE SECTION (numéro + label, colonne droite) */
.page-hero::before-badges { /* placeholder pour le sélecteur */ }
.page-hero .section-badge {
  grid-area: badge;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3e2614 0%, #5a3a24 100%);
  color: #e8b04b;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  box-shadow: 0 8px 24px rgba(62, 38, 20, 0.2);
  position: relative;
  margin-left: 2rem;
  padding: 0.5rem;
  line-height: 1.2;
}
.page-hero .section-badge::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(232, 176, 75, 0.4);
  border-radius: 50%;
}
.page-hero .section-badge .num {
  display: none; /* Numéro masqué car jugé inutile par l'utilisateur */
}
.page-hero .section-badge .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #e8b04b !important;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

/* Séparateur ondulé en bas de l'entête (transition vers section suivante) */
.page-hero + section {
  position: relative;
}
.page-hero + section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 30px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 30' preserveAspectRatio='none'><path d='M0,0 C360,30 1080,30 1440,0 L1440,30 L0,30 Z' fill='%23f5efe6'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 2;
  pointer-events: none;
}

/* Mobile : tout empile verticalement, badge caché */
@media (max-width: 880px) {
  .page-hero { padding: 2.5rem 0 3rem !important; }
  .page-hero > .container,
  .page-hero > div,
  .page-hero > .wp-block-group,
  .page-hero > div.wp-block-group {
    grid-template-columns: 1fr;
    grid-template-areas:
      "bc"
      "ey"
      "h1"
      "lead"
      "cta";
    gap: 0.75rem;
  }
  .page-hero .section-badge { display: none; }
  .page-hero h1,
  .page-hero h1.wp-block-heading {
    font-size: 1.85rem !important;
  }
  .page-hero .lead,
  .page-hero p.lead {
    font-size: 0.95rem !important;
  }
}

/* --- 1b. HERO (home) - réduit le padding-top (était 192px dans v6) --- */
.hero {
  padding-top: 3rem !important;
  padding-bottom: 2.5rem !important;
  min-height: 0 !important;
}
@media (min-width: 1100px) {
  .hero {
    padding-top: 4rem !important;
  }
}

/* --- 1c. MAIN - supprime le margin-top 70px (vient de Twenty Twenty-Five) --- */
main.wp-block-group,
.entry-content {
  margin-top: 0 !important;
}

/* --- 1d. WP-BLOCK-GROUP qui suit le main - supprime le padding-top 70px --- */
main > .wp-block-group.alignfull.has-global-padding,
main > .wp-block-group.alignfull {
  padding-top: 0 !important;
}

/* --- 1e. HERO - remonte le hero dans son container parent --- */
main > .wp-block-group.alignfull > .entry-content,
.entry-content > .wp-block-group:first-child:not(.page-hero) {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


/* --- 1f. PAGE-HERO cleanup - supprime les <p> Gutenberg vides --- */
.page-hero p:empty,
.page-hero p:has(> br:only-child),
.page-hero p[style*="height:0"],
.page-hero p[style*="min-height:0"] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
}

/* --- 1g. Padding cohérent pour tous les page-hero (alignement vertical) --- */
.page-hero,
.wp-block-group.page-hero {
  padding-top: 1.75rem !important;
  padding-bottom: 1.5rem !important;
  min-height: 0 !important;
}
@media (max-width: 880px) {
  .page-hero { padding-top: 2rem !important; padding-bottom: 2rem !important; }
}


/* === AMÉLIORATIONS HERO HOME (Octobre 2026) === */

/* Hero : équilibre texte/visuel + effets visuels */
.hero {
  background: linear-gradient(180deg, #f5efe6 0%, #ece2d3 100%);
  position: relative;
  overflow: hidden;
}
/* Citation dans le hero mieux positionnée */
.hero .quote {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-left: 4px solid #c2542a;
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 4px 16px rgba(62, 38, 20, 0.1);
  font-style: italic;
  max-width: 320px;
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
}
.hero .quote cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #5a4536;
  font-style: normal;
  font-weight: 500;
}

/* Hero CTA buttons */
.hero .btn,
.hero .button {
  margin-top: 1.5rem;
  margin-right: 0.75rem;
}

/* Hero texte d'accroche */
.hero p.hero-eyebrow,
.hero .eyebrow {
  display: inline-block;
  background: rgba(194, 84, 42, 0.1);
  color: #a8431e;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(194, 84, 42, 0.2);
}

/* Hero h1 avec sous-titre */
.hero h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.05;
  color: #1a1410;
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}
.hero h1 em {
  color: #c2542a;
  font-style: italic;
  position: relative;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  bottom: 0.05em;
  left: 0;
  right: 0;
  height: 0.12em;
  background: linear-gradient(90deg, #c2542a 0%, #e8b04b 100%);
  opacity: 0.4;
  z-index: -1;
}

/* Hero visual : ratio + ombre */
.hero-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(62, 38, 20, 0.2);
  transform: rotate(-0.5deg);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-visual:hover {
  transform: rotate(0deg) scale(1.01);
}

/* Decorative element au-dessus du hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3e2614 0%, #c2542a 50%, #e8b04b 100%);
  z-index: 1;
}

/* Hero mobile : tout empile */
@media (max-width: 880px) {
  .hero {
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
  }
  .hero .container,
  .hero > div {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .hero .quote {
    position: static !important;
    max-width: 100% !important;
    margin-top: 1rem;
  }
  .hero-visual {
    transform: none;
  }
}


/* Contact : forcer padding-top pour aligner avec les autres entêtes */
.wp-block-group.page-hero,
section.wp-block-group.page-hero,
.page-hero.wp-block-group {
  padding-top: 1.75rem !important;
  padding-bottom: 1.5rem !important;
}
