/*
Theme Name: Mômes Curieux
Theme URI: https://momescurieux.com
Author: Mômes Curieux
Description: Thème officiel Mômes Curieux v4 — ateliers & activités créatives pour enfants. 100% personnalisable via Elementor Pro et le Customizer WordPress.
Version: 4.1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: momes-curieux
Tags: elementor, custom-colors, custom-logo, custom-menu, featured-images, full-width-template
*/

/* ==========================================================
   1. VARIABLES — TOUT MODIFIER ICI
   Chaque variable CSS peut aussi être écrasée dans :
   Apparence → Personnaliser → Mômes Curieux → Couleurs
   ========================================================== */
:root {
  /* ── Couleurs principales (tirées du logo) ── */
  --rose:        #D2B3A8;   /* brun rosé principal */
  --rose-d:      #B8907F;   /* rose foncé / hover */
  --rose-l:      #E8CCC2;   /* rose poudré clair */
  --rose-ll:     #F0E9E5;   /* rose très pâle */
  --gold:        #E7B477;   /* doré des oreilles */
  --gold-l:      #F0CFA0;   /* doré clair */
  --terracotta:  #C4704A;   /* terracotta accent */
  --beige:       #EEE4DA;   /* beige chaud */
  --beige-d:     #DDD0C8;   /* beige foncé / bordures */

  /* ── Neutres ── */
  --warm-white:  #FAF6F3;   /* fond de page */
  --cream:       #F5EEE8;   /* sections alternées */
  --text:        #4A3B35;   /* texte principal */
  --text-mid:    #7A6660;   /* texte secondaire */
  --text-light:  #A89490;   /* texte discret */
  --border:      #E4D8D2;   /* bordures */
  --white:       #FFFFFF;

  /* ── Polices ── */
  --serif:  'Playfair Display', Georgia, serif;
  --sans:   'Nunito', 'DM Sans', sans-serif;

  /* ── Layout ── */
  --max:    1280px;
  --pad:    clamp(20px, 5vw, 72px);
  --radius: 4px;           /* border-radius global — 0 = carré, 12px = arrondi */
  --shadow: 0 4px 28px rgba(74,59,53,.09);
  --shadow-hover: 0 8px 40px rgba(74,59,53,.14);

  /* ── Transitions ── */
  --t: .25s cubic-bezier(.4,0,.2,1);

  /* ── Header ── */
  --header-h: 72px;
}

/* ==========================================================
   2. RESET & BASE
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  overflow-x: hidden;
  background-color: var(--warm-white);
  background-image: url('images/background.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay léger sur fond — lisibilité garantie */
body::before {
  content: '';
  position: fixed; inset: 0;
  background: rgba(250,246,243,.82);
  pointer-events: none;
  z-index: 0;
}

/* Tout le contenu passe au-dessus de l'overlay */
.site-header, .elementor-section, .elementor-container,
main, .site-footer, .newsletter, [class*="elementor"] { position: relative; z-index: 1; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button, input, textarea, select { font-family: var(--sans); }

/* ==========================================================
   3. TYPOGRAPHIE
   ========================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.t-label {
  font-family: var(--sans);
  font-size: 10px; font-weight: 600;
  letter-spacing: .32em; text-transform: uppercase;
  color: var(--rose); display: block; margin-bottom: 12px;
}
.t-serif       { font-family: var(--serif); font-weight: 400; }
.t-serif em    { font-style: italic; color: var(--rose); }
.t-sans        { font-family: var(--sans); }

/* ==========================================================
   4. BOUTONS — Modifiables via Elementor "Style global"
   ========================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  border: none; cursor: pointer; border-radius: var(--radius);
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  padding: 13px 28px; line-height: 1; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { flex-shrink: 0; transition: transform var(--t); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--rose); color: #fff; box-shadow: 0 3px 14px rgba(210,179,168,.4); }
.btn-primary:hover { background: var(--rose-d); box-shadow: 0 6px 22px rgba(210,179,168,.5); }

.btn-terra { background: var(--terracotta); color: #fff; box-shadow: 0 3px 14px rgba(196,112,74,.3); }
.btn-terra:hover { background: var(--text); }

.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 3px 14px rgba(231,180,119,.4); }
.btn-gold:hover { background: var(--text); }

.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); padding: 12px 26px; }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

.btn-outline { background: transparent; border: 1.5px solid var(--rose); color: var(--rose); }
.btn-outline:hover { background: var(--rose); color: #fff; }

.btn-dark { background: var(--text); color: var(--cream); }
.btn-dark:hover { background: var(--rose); color: #fff; }

.btn-sm { padding: 9px 18px; font-size: 10px; }
.btn-lg { padding: 16px 36px; font-size: 12px; }

/* ==========================================================
   5. HEADER
   ========================================================== */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250,246,243,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t), background var(--t);
  height: var(--header-h);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(210,179,168,.2); }
/* Header transparent sur la home — activé via JS si .home */
.home .site-header.is-transparent {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.home .site-header.is-transparent .header-nav a,
.home .site-header.is-transparent .header-actions a { color: var(--text); }

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  gap: 16px;
}

/* Nav gauche */
.header-nav { display: flex; align-items: center; gap: 4px; }
.header-nav > a, .header-nav > .menu-item > a {
  font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-mid);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color var(--t), background var(--t);
  white-space: nowrap;
  display: block;
}
.header-nav > a:hover,
.header-nav > .menu-item > a:hover,
.header-nav > .menu-item.current-menu-item > a { color: var(--rose); background: rgba(210,179,168,.08); }

/* Sous-menu dropdown */
.header-nav .menu-item { position: relative; }
.header-nav .sub-menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 200px;
  background: rgba(250,246,243,.98);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 6px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--t), transform var(--t), visibility var(--t);
  z-index: 100;
}
.header-nav .menu-item:hover > .sub-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.header-nav .sub-menu a {
  display: block; padding: 9px 12px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: none;
  color: var(--text-mid);
  border-radius: calc(var(--radius) - 1px);
  transition: background var(--t), color var(--t);
}
.header-nav .sub-menu a:hover { background: var(--cream); color: var(--rose); }

/* Logo centre */
.site-branding { text-align: center; }
.site-branding a { display: inline-flex; flex-direction: column; align-items: center; }
.logo-img { height: 48px; width: auto; object-fit: contain; transition: opacity var(--t), height var(--t); }
.logo-img:hover { opacity: .85; }
.scrolled .logo-img { height: 40px; }

/* Brand fallback texte */
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 700; letter-spacing: .04em; color: var(--text); }
.brand-tagline { font-size: 8px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-light); margin-top: 3px; }

/* Actions droite */
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.header-actions a {
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-mid); transition: color var(--t); white-space: nowrap;
}
.header-actions a:hover { color: var(--rose); }
.cart-link { display: flex; align-items: center; gap: 6px; color: var(--text) !important; }
.cart-badge {
  background: var(--gold); color: #fff;
  min-width: 18px; height: 18px; border-radius: 9px;
  font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
  transition: transform var(--t);
}
.cart-link:hover .cart-badge { transform: scale(1.15); }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; border-radius: var(--radius); transition: background var(--t); }
.burger:hover { background: var(--rose-ll); }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--text); transition: all .3s; border-radius: 2px; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Tiroir mobile */
.mobile-drawer {
  display: none;
  position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(250,246,243,.98);
  backdrop-filter: blur(20px);
  z-index: 490;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer nav { padding: 12px var(--pad) 32px; }
.mobile-drawer nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 0; font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-mid); border-bottom: 1px solid var(--border); transition: color var(--t);
}
.mobile-drawer nav a:last-child { border-bottom: none; }
.mobile-drawer nav a:hover { color: var(--rose); }
.mob-sep { padding: 18px 0 6px; font-size: 9px; letter-spacing: .28em; text-transform: uppercase; color: var(--text-light); display: block; }

/* ==========================================================
   6. HERO
   ========================================================== */
.hero {
  position: relative; min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: transparent;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(150deg, rgba(240,233,229,.88) 0%, rgba(250,246,243,.75) 45%, rgba(238,228,218,.82) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(240,233,229,.7) 0%, rgba(250,246,243,.55) 100%);
}
.hero-body {
  position: relative; z-index: 2; text-align: center;
  padding: 80px clamp(20px,6vw,100px) 100px;
  max-width: 780px; margin: 0 auto;
  animation: fadeUp .9s ease .1s both;
}
.hero-logo { display: block; margin: 0 auto 28px; height: 120px; width: auto; object-fit: contain; filter: drop-shadow(0 4px 16px rgba(210,179,168,.35)); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 10px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 20px;
}
.hero-kicker::before, .hero-kicker::after { content: ''; display: block; width: 22px; height: 1px; background: var(--rose); opacity: .6; }
.hero-title {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(40px,5.5vw,72px); line-height: 1.1; color: var(--text); margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--rose); font-weight: 400; }
.hero-desc { font-size: clamp(14px,1.6vw,16px); line-height: 1.85; color: var(--text-mid); max-width: 480px; margin: 0 auto 36px; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 8px 18px; flex-wrap: wrap; }
.trust-pill { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-light); }
.trust-pill svg { opacity: .6; }
.trust-dot { color: var(--border); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.hero-scroll span { font-size: 8.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--text-light); }
.scroll-bar { width: 1px; height: 34px; background: linear-gradient(to bottom, var(--rose), transparent); animation: scrollFade 2s ease-in-out infinite; }
@keyframes scrollFade { 0%,100% { opacity: .3; } 50% { opacity: .9; } }

/* ==========================================================
   7. MARQUEE (bandeau défilant)
   ========================================================== */
.marquee { background: var(--text); padding: 13px 0; overflow: hidden; position: relative; z-index: 1; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-size: 14px; font-style: italic; color: var(--rose-ll); opacity: .85; padding: 0 34px; white-space: nowrap; }
.marquee-track .dot { color: var(--gold); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ==========================================================
   8. SECTIONS COMMUNES
   ========================================================== */
.section-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section-intro { padding: 70px var(--pad) 44px; text-align: center; max-width: var(--max); margin: 0 auto; }
.section-intro h2 { font-family: var(--serif); font-size: clamp(26px,3.2vw,44px); font-weight: 700; line-height: 1.15; color: var(--text); max-width: 560px; margin: 0 auto; }
.section-intro h2 em { font-style: italic; color: var(--rose); font-weight: 400; }
.section-intro p { font-size: 14px; color: var(--text-mid); line-height: 1.75; max-width: 480px; margin: 13px auto 0; }
.section-rule { width: 36px; height: 2px; background: var(--gold); border-radius: 1px; margin: 20px auto 0; }
.section-cta { text-align: center; padding: 36px 0 68px; }
.bg-cream { background: rgba(245,238,232,.88); }
.bg-white  { background: rgba(250,246,243,.92); }

/* Scroll reveal */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.fade-in.visible { opacity: 1; transform: none; }
.fade-in.visible:nth-child(2) { transition-delay: .1s; }
.fade-in.visible:nth-child(3) { transition-delay: .2s; }
.fade-in.visible:nth-child(4) { transition-delay: .3s; }

/* ==========================================================
   9. UNIVERS
   ========================================================== */
.univers-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; padding: 0 var(--pad) 68px; max-width: var(--max); margin: 0 auto; }
.univers-card { position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--beige); display: block; border-radius: var(--radius); }
.univers-card img, .univers-card .u-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.univers-card .u-placeholder { display: flex; align-items: center; justify-content: center; }
.univers-card:hover img, .univers-card:hover .u-placeholder { transform: scale(1.06); }
.univers-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(74,59,53,.78) 0%, rgba(74,59,53,.08) 60%, transparent 100%); transition: opacity var(--t); }
.univers-card:hover .univers-overlay { opacity: .92; }
.univers-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 18px; }
.u-age { font-size: 9px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-l); display: block; margin-bottom: 4px; }
.u-name { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.2; color: #fff; }
.u-count { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 3px; }

/* ==========================================================
   10. CARTES ATELIERS / ACTIVITÉS
   ========================================================== */
.cards-section { padding-bottom: 68px; }
.filters { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 0 var(--pad) 38px; max-width: var(--max); margin: 0 auto; }
.filter-btn {
  background: none; border: 1.5px solid var(--border);
  padding: 8px 18px; font-size: 10px; font-weight: 700;
  letter-spacing: .17em; text-transform: uppercase;
  color: var(--text-mid); cursor: pointer;
  transition: all var(--t); font-family: var(--sans);
  border-radius: var(--radius);
}
.filter-btn:hover, .filter-btn.active { background: var(--rose); border-color: var(--rose); color: #fff; }

.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.card { background: rgba(250,246,243,.95); display: flex; flex-direction: column; overflow: hidden; transition: transform .36s ease, box-shadow .36s ease; border-radius: var(--radius); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.card.is-featured { grid-column: span 2; flex-direction: row; }
.card.is-featured .card-thumb { width: 50%; flex-shrink: 0; }
.card.is-featured .card-body { padding: 34px 36px; }
.card.is-featured .card-title { font-size: 23px; }
.card-thumb { overflow: hidden; background: var(--beige); flex-shrink: 0; position: relative; }
.card:not(.is-featured) .card-thumb { aspect-ratio: 4/3; }
.card.is-featured .card-thumb { min-height: 300px; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-thumb img { transform: scale(1.04); }
.card-thumb-placeholder { width: 100%; height: 100%; min-height: 200px; display: flex; align-items: center; justify-content: center; background: var(--beige); opacity: .6; }
.badge-dl { position: absolute; top: 10px; right: 10px; background: var(--gold); color: #fff; font-size: 8.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; display: flex; align-items: center; gap: 5px; border-radius: var(--radius); }
.card-body { padding: 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 10px; }
.card-cat { font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); background: rgba(210,179,168,.12); padding: 3px 9px; border-radius: var(--radius); transition: background var(--t); }
.card-cat:hover { background: rgba(210,179,168,.25); }
.card-age, .card-dur { font-size: 11px; color: var(--text-light); letter-spacing: .06em; display: flex; align-items: center; gap: 3px; }
.card-title { font-family: var(--serif); font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--text); margin-bottom: 9px; }
.card-title a { color: inherit; transition: color var(--t); }
.card-title a:hover { color: var(--rose); }
.card-excerpt { font-size: 13px; line-height: 1.75; color: var(--text-mid); flex: 1; margin-bottom: 16px; }
.card-date { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--text-light); margin-bottom: 14px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 16px; margin-top: auto; }
.card-price { font-family: var(--serif); font-size: 23px; font-weight: 700; color: var(--text); }
.card-price-note { font-size: 10px; color: var(--text-light); display: block; line-height: 1.3; margin-top: -2px; }

/* ==========================================================
   11. GARANTIES
   ========================================================== */
.garanties { display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--border); background: rgba(245,238,232,.9); max-width: var(--max); margin: 44px auto 0; }
.garantie { display: flex; align-items: flex-start; gap: 12px; padding: 22px 24px; border-right: 1px solid var(--border); transition: background var(--t); }
.garantie:last-child { border-right: none; }
.garantie:hover { background: rgba(210,179,168,.07); }
.garantie svg { flex-shrink: 0; margin-top: 2px; }
.garantie strong { font-size: 12px; font-weight: 700; color: var(--text); display: block; margin-bottom: 2px; }
.garantie span { font-size: 11px; color: var(--text-light); }

/* ==========================================================
   12. ÉDITO / CONCEPT
   ========================================================== */
.editorial { display: grid; grid-template-columns: 1fr 1fr; min-height: 460px; }
.editorial-visual { background: rgba(238,228,218,.9); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.editorial-visual::before { content: ''; position: absolute; inset: 0; opacity: .06; background-image: repeating-linear-gradient(45deg, var(--rose) 0px, var(--rose) 1px, transparent 0px, transparent 50%); background-size: 18px 18px; }
.editorial-visual img, .editorial-visual svg { position: relative; z-index: 1; max-width: 65%; max-height: 380px; }
.editorial-logo { height: 180px !important; width: auto !important; max-width: none !important; filter: drop-shadow(0 6px 20px rgba(210,179,168,.3)); }
.editorial-body { background: rgba(245,238,232,.92); display: flex; flex-direction: column; justify-content: center; padding: clamp(36px,6vw,82px); }
.editorial-num { font-family: var(--serif); font-size: 72px; font-weight: 700; color: var(--border); line-height: 1; margin-bottom: -12px; }
.editorial-title { font-family: var(--serif); font-size: clamp(26px,2.8vw,36px); font-weight: 700; line-height: 1.2; color: var(--text); margin-bottom: 16px; }
.editorial-title em { font-style: italic; color: var(--rose); font-weight: 400; }
.editorial-text { font-size: 14px; line-height: 1.9; color: var(--text-mid); margin-bottom: 26px; }
.stats { display: flex; gap: 36px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.stat-n { font-family: var(--serif); font-size: 32px; font-weight: 700; color: var(--rose); display: block; }
.stat-l { font-size: 9.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--text-light); }

/* ==========================================================
   13. TÉMOIGNAGES
   ========================================================== */
.temoignages { padding: 80px var(--pad); }
.temoignages-inner { max-width: var(--max); margin: 0 auto; }
.temoignages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 48px; }
.temoignage { background: rgba(250,246,243,.94); padding: 30px 28px; border: 1px solid var(--border); border-radius: var(--radius); transition: box-shadow var(--t), transform var(--t); }
.temoignage:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.temoignage::before { content: '"'; font-family: var(--serif); font-size: 68px; font-weight: 700; color: var(--rose-ll); line-height: .55; display: block; margin-bottom: 12px; }
.temoignage-text { font-family: var(--serif); font-size: 15px; font-style: italic; line-height: 1.7; color: var(--text); margin-bottom: 16px; }
.temoignage-author { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); }
.temoignage-role { font-size: 11px; color: var(--text-light); margin-top: 3px; }

/* ==========================================================
   14. NEWSLETTER
   ========================================================== */
.newsletter { background: var(--text); padding: 72px var(--pad); text-align: center; }
.newsletter-inner { max-width: 500px; margin: 0 auto; }
.newsletter h2 { font-family: var(--serif); font-size: clamp(26px,3.2vw,36px); font-weight: 700; color: var(--cream); line-height: 1.2; margin-bottom: 12px; }
.newsletter h2 em { font-style: italic; color: var(--gold-l); font-weight: 400; }
.newsletter p { font-size: 13px; color: var(--text-light); line-height: 1.75; margin-bottom: 30px; }
.newsletter-form { display: flex; max-width: 400px; margin: 0 auto; }
.newsletter-form input[type="email"] { flex: 1; padding: 13px 16px; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.14); border-right: none; color: var(--cream); font-size: 13px; outline: none; transition: border-color var(--t); border-radius: var(--radius) 0 0 var(--radius); }
.newsletter-form input:focus { border-color: var(--rose); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.32); }
.newsletter-form button { background: var(--gold); border: 1.5px solid var(--gold); padding: 13px 20px; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background var(--t); border-radius: 0 var(--radius) var(--radius) 0; }
.newsletter-form button:hover { background: var(--rose); border-color: var(--rose); }

/* ==========================================================
   15. FOOTER
   ========================================================== */
.site-footer { background: rgba(245,238,232,.97); border-top: 1px solid var(--border); padding: 56px var(--pad) 26px; }
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--border); }
.footer-logo { height: 52px; width: auto; object-fit: contain; margin-bottom: 10px; }
.footer-tagline { font-size: 13px; line-height: 1.7; color: var(--text-mid); max-width: 210px; }
.footer-col h4 { font-family: var(--sans); font-size: 9.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 13px; color: var(--text-mid); transition: color var(--t); display: inline-flex; align-items: center; gap: 5px; }
.footer-col ul a::before { content: ''; width: 0; height: 1px; background: var(--rose); transition: width var(--t); display: inline-block; }
.footer-col ul a:hover { color: var(--rose); }
.footer-col ul a:hover::before { width: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 20px; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 11px; color: var(--text-light); letter-spacing: .07em; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a { font-size: 11px; color: var(--text-light); transition: color var(--t); }
.footer-legal a:hover { color: var(--rose); }

/* ==========================================================
   16. ARCHIVE & SINGLE — ATELIERS
   ========================================================== */
.archive-hero { background: rgba(245,238,232,.92); padding: clamp(36px,5vw,66px) var(--pad) clamp(24px,3.5vw,40px); border-bottom: 1px solid var(--border); }
.archive-hero-inner { max-width: var(--max); margin: 0 auto; }
.archive-hero h1 { font-family: var(--serif); font-size: clamp(32px,4.5vw,54px); font-weight: 700; color: var(--text); }
.archive-hero h1 em { font-style: italic; color: var(--rose); font-weight: 400; }
.pagination { text-align: center; padding: 36px 0 60px; display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; font-size: 12px; font-weight: 600; color: var(--text-mid); border: 1.5px solid var(--border); transition: all var(--t); border-radius: var(--radius); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--rose); border-color: var(--rose); color: #fff; }
.single-header { background: rgba(245,238,232,.92); padding: clamp(32px,4.5vw,58px) var(--pad) clamp(20px,3vw,38px); border-bottom: 1px solid var(--border); }
.single-header-inner { max-width: var(--max); margin: 0 auto; }
.breadcrumb { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-light); margin-bottom: 20px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.breadcrumb a { color: var(--rose); transition: opacity var(--t); }
.breadcrumb a:hover { opacity: .75; }
.breadcrumb span { opacity: .4; }
.type-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(231,180,119,.14); padding: 5px 11px; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; border-radius: var(--radius); }
.single-title { font-family: var(--serif); font-size: clamp(28px,4.5vw,52px); font-weight: 700; line-height: 1.1; color: var(--text); margin-bottom: 18px; }
.single-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.meta-tag { font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); background: rgba(210,179,168,.12); padding: 4px 10px; border-radius: var(--radius); }
.meta-info { font-size: 12px; color: var(--text-light); letter-spacing: .07em; display: flex; align-items: center; gap: 4px; }
.single-cover { max-height: 460px; overflow: hidden; }
.single-cover img { width: 100%; object-fit: cover; max-height: 460px; }
.single-layout { display: grid; grid-template-columns: 1fr 330px; gap: 52px; max-width: var(--max); margin: 0 auto; padding: clamp(32px,4.5vw,56px) var(--pad) clamp(44px,5.5vw,72px); }
.single-content { color: var(--text-mid); font-size: 15px; line-height: 1.85; }
.single-content h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; color: var(--text); margin: 32px 0 12px; }
.single-content h3 { font-family: var(--serif); font-size: 19px; color: var(--text); margin: 22px 0 9px; }
.single-content p { margin-bottom: 16px; }
.single-content ul { margin: 12px 0 16px 18px; list-style: disc; }
.single-content ul li { margin-bottom: 6px; }
.single-content blockquote { border-left: 3px solid var(--rose); padding: 14px 20px; margin: 22px 0; background: var(--rose-ll); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif); font-style: italic; color: var(--text); }
.booking-box { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; background: rgba(245,238,232,.97); border: 1px solid var(--border); padding: 30px 28px; border-radius: var(--radius); box-shadow: var(--shadow); }
.booking-price { font-family: var(--serif); font-size: 42px; font-weight: 700; color: var(--text); line-height: 1; }
.booking-price-note { font-size: 12px; color: var(--text-light); margin: 4px 0 22px; }
.booking-rows { margin-bottom: 22px; }
.booking-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.booking-label { color: var(--text-light); }
.booking-value { color: var(--text); font-weight: 600; }
.btn-book { display: block; width: 100%; text-align: center; background: var(--rose); color: #fff; border: none; padding: 14px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background var(--t); margin-bottom: 10px; border-radius: var(--radius); }
.btn-book:hover { background: var(--rose-d); }
.booking-note { font-size: 11px; color: var(--text-light); text-align: center; line-height: 1.65; }
.dl-notice { background: rgba(231,180,119,.1); border: 1px solid rgba(231,180,119,.25); padding: 12px 14px; margin-top: 10px; font-size: 12px; color: var(--text-mid); line-height: 1.6; text-align: center; border-radius: var(--radius); }
.dl-notice a { color: var(--gold); }

/* ==========================================================
   17. ELEMENTOR — Surcharges pour cohérence
   ========================================================== */

/* Aligner les sections Elementor avec le layout du thème */
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--max); }

/* Titres Elementor dans la même police */
.elementor-widget-heading .elementor-heading-title { font-family: var(--serif); }

/* Boutons Elementor dans le style du thème */
.elementor-button { font-family: var(--sans) !important; font-weight: 700 !important; letter-spacing: .12em !important; text-transform: uppercase !important; border-radius: var(--radius) !important; }

/* Formulaires Elementor */
.elementor-field-group input,
.elementor-field-group textarea,
.elementor-field-group select {
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: rgba(250,246,243,.9) !important;
  font-family: var(--sans) !important;
  color: var(--text) !important;
  transition: border-color var(--t) !important;
}
.elementor-field-group input:focus,
.elementor-field-group textarea:focus { border-color: var(--rose) !important; outline: none !important; }

/* Variables Elementor Global Colors — synchronisées avec le thème */
:root {
  --e-global-color-primary:    var(--rose);
  --e-global-color-secondary:  var(--text);
  --e-global-color-accent:     var(--gold);
  --e-global-color-text:       var(--text);
  --e-global-typography-primary-font-family:   'Playfair Display';
  --e-global-typography-secondary-font-family: 'Nunito';
}

/* ==========================================================
   18. WOOCOMMERCE
   ========================================================== */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button {
  background: var(--rose) !important; color: #fff !important;
  font-family: var(--sans) !important; font-size: 11px !important; font-weight: 700 !important;
  letter-spacing: .18em !important; text-transform: uppercase !important;
  border-radius: var(--radius) !important; padding: 12px 22px !important; border: none !important;
  transition: background var(--t) !important;
}
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: var(--rose-d) !important; }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.woocommerce ul.products li.product { margin: 0 !important; }
.woocommerce-message { background: rgba(245,238,232,.95); border-top-color: var(--rose); font-family: var(--sans); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea { border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--sans); background: rgba(250,246,243,.9); padding: 11px 14px; outline: none; transition: border-color var(--t); }
.woocommerce form .form-row input.input-text:focus { border-color: var(--rose); }

/* ==========================================================
   19. UTILITAIRES
   ========================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.text-center { text-align: center; }
.text-rose { color: var(--rose); }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-mid); }
.bg-beige { background: var(--beige); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }

/* ==========================================================
   20. ANIMATIONS
   ========================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* ==========================================================
   21. RESPONSIVE — TABLETTE (≤ 1024px)
   ========================================================== */
@media (max-width: 1024px) {
  :root { --header-h: 66px; }
  .univers-grid { grid-template-columns: repeat(2,1fr); }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .card.is-featured { grid-column: span 2; }
  .garanties { grid-template-columns: 1fr 1fr; }
  .garantie:nth-child(2) { border-right: none; }
  .garantie:nth-child(3), .garantie:nth-child(4) { border-top: 1px solid var(--border); }
  .garantie:nth-child(4) { border-right: none; }
  .editorial { grid-template-columns: 1fr; }
  .editorial-visual { min-height: 300px; }
  .temoignages-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .single-layout { grid-template-columns: 1fr; }
  .booking-box { position: static; }
}

/* ==========================================================
   22. RESPONSIVE — MOBILE (≤ 640px)
   ========================================================== */
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .header-inner { grid-template-columns: auto 1fr auto; height: var(--header-h); }
  .header-nav { display: none; }
  .header-actions > a:not(.cart-link) { display: none; }
  .burger { display: flex; }
  .mobile-drawer { display: block; }
  .logo-img { height: 38px; }
  .scrolled .logo-img { height: 34px; }

  .hero { min-height: 100svh; }
  .hero-logo { height: 90px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { justify-content: center; }
  .trust-dot { display: none; }
  .hero-trust { flex-direction: column; gap: 6px; }

  .univers-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cards-grid { grid-template-columns: 1fr; }
  .card.is-featured { grid-column: span 1; flex-direction: column; }
  .card.is-featured .card-thumb { width: 100%; min-height: 220px; }
  .card.is-featured .card-body { padding: 20px 18px; }

  .garanties { grid-template-columns: 1fr; }
  .garantie { border-right: none !important; border-top: 1px solid var(--border) !important; }
  .garantie:first-child { border-top: none !important; }

  .editorial-body { padding: 34px 20px; }
  .editorial-logo { height: 120px !important; }
  .stats { gap: 18px; flex-wrap: wrap; }
  .temoignages-grid { grid-template-columns: 1fr; }

  .newsletter-form { flex-direction: column; }
  .newsletter-form input[type="email"] { border-right: 1.5px solid rgba(255,255,255,.14); border-bottom: none; border-radius: var(--radius) var(--radius) 0 0; }
  .newsletter-form button { border-radius: 0 0 var(--radius) var(--radius); }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; }

  .single-layout { padding: 24px 16px 44px; gap: 26px; }
  .section-intro { padding: 48px 20px 32px; }
}
