@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;900&family=Lato:wght@300;400;700&display=swap');

/* ══════════════════════════════════════════════
   BREIZHIX — DESIGN SYSTEM v1.0
   Palette : sable · marron · feu · crème
   Typo    : Cinzel (titres) + Lato (corps)
   Mode    : Light — fond clair, accents chauds
══════════════════════════════════════════════ */

:root {
  /* Palette principale */
  --sable:        #D4B483;
  --sable-clair:  #E8D5AE;
  --sable-pale:   #F5EDD8;
  --marron:       #3D1F0D;
  --marron-mid:   #6B3A1F;
  --marron-soft:  #9B6B45;
  --feu:          #E8821A;
  --feu-pale:     #FAEBD0;
  --feu-vif:      #C96A10;
  --creme:        #FAF6EE;
  --blanc:        #FFFFFF;
  --noir:         #1A0E05;

  /* Texte */
  --texte:        #2C1810;
  --texte-sec:    #7A5A3A;
  --texte-ter:    #B08A6A;
  --border:       #DEC99A;
  --border-soft:  #EDD9AF;

  /* Fond global */
  --fond:         #FAF6EE;
  --fond-alt:     #F5EDD8;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(61,31,13,0.08);
  --shadow-md:    0 6px 24px rgba(61,31,13,0.12);
  --shadow-lg:    0 16px 48px rgba(61,31,13,0.16);

  /* Radius */
  --radius-sm:    8px;
  --radius-md:    14px;
  --radius-lg:    20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--fond);
  color: var(--texte);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── TYPOGRAPHIE ── */
h1, h2, h3, h4, h5 {
  font-family: 'Cinzel', serif;
  color: var(--marron);
  line-height: 1.2;
}

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.nav {
  background: var(--marron);
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--marron-mid);
  box-shadow: 0 2px 16px rgba(26,14,5,0.3);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img { width: 36px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 6px rgba(232,130,26,0.4)); }
.nav-wordmark {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--sable);
  letter-spacing: 0.05em;
}
.nav-wordmark span { color: var(--feu); }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-size: 13px;
  color: var(--sable-clair);
  text-decoration: none;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--feu); }

/* Sous-menus */
.nav-links li { position: relative; }
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--marron);
  border: 1px solid var(--marron-mid);
  border-radius: var(--radius-md);
  padding: 6px 0;
  min-width: 200px;
  list-style: none;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  flex-direction: column;
  gap: 0;
}
.nav-links li:hover > .sub-menu { display: flex; }
.nav-links .sub-menu li { width: 100%; }
.nav-links .sub-menu a {
  display: block;
  padding: 9px 18px;
  font-size: 13px;
  color: var(--sable-clair);
  white-space: nowrap;
}
.nav-links .sub-menu a:hover { background: var(--marron-mid); color: var(--feu); }
.nav-cta {
  background: var(--feu) !important;
  color: var(--blanc) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--feu-vif) !important; }
.nav-burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--sable); border-radius: 2px; }

/* Avatar / compte */
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-connexion {
  display: flex; align-items: center; gap: 6px;
  color: var(--sable-clair); font-size: 13px; text-decoration: none;
  font-weight: 500; transition: color 0.2s;
  padding: 6px 12px; border: 1px solid var(--marron-mid); border-radius: 20px;
}
.nav-connexion:hover { color: var(--feu); border-color: var(--feu); }
.nav-compte { position: relative; }
.nav-avatar {
  width: 36px; height: 36px; border-radius: 50%; overflow: hidden;
  cursor: pointer; border: 2px solid var(--marron-mid);
  background: var(--marron-mid); display: flex; align-items: center;
  justify-content: center; font-family: 'Lato', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--sable); position: relative;
  transition: border-color 0.2s; padding: 0;
}
.nav-avatar:hover { border-color: var(--feu); }
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-avatar-badge {
  position: absolute; bottom: 0; right: 0;
  width: 10px; height: 10px; background: var(--feu);
  border-radius: 50%; border: 2px solid var(--marron);
}
.nav-dropdown {
  display: none; position: absolute; right: 0; top: calc(100% + 10px);
  background: var(--marron); border: 1px solid var(--marron-mid);
  border-radius: var(--radius-md); min-width: 210px; overflow: hidden;
  box-shadow: var(--shadow-lg); z-index: 200;
}
.nav-dropdown.open { display: block; }
.nav-dropdown-header { padding: 14px 16px 10px; border-bottom: 1px solid var(--marron-mid); }
.nav-dropdown-name { font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700; color: var(--sable); margin-bottom: 2px; }
.nav-dropdown-role { font-size: 11px; color: var(--marron-soft); }
.nav-dropdown-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 16px;
  font-size: 13px; color: var(--sable-clair); text-decoration: none; transition: background 0.15s;
}
.nav-dropdown-item:hover { background: var(--marron-mid); color: var(--feu); }
.nav-dropdown-logout { color: #D97070; }
.nav-dropdown-logout:hover { background: #2C1010; color: #F87171; }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: var(--marron);
  padding: 90px 5% 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(232,130,26,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(212,180,131,0.10) 0%, transparent 50%);
  pointer-events: none;
}
/* Texture grain subtile */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.6;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(212,180,131,0.12);
  color: var(--sable);
  font-family: 'Lato', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 28px;
  border: 1px solid rgba(212,180,131,0.25);
  position: relative; overflow: hidden;
}
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 900;
  color: var(--sable-pale);
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero-title .accent { color: var(--feu); }
.hero-subtitle {
  font-size: 17px; color: var(--sable-clair);
  max-width: 540px; margin: 0 auto 40px;
  font-weight: 300; line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex; justify-content: center; gap: 48px;
  padding: 24px 0;
  border-top: 1px solid rgba(212,180,131,0.15);
  position: relative; z-index: 1;
}
.hero-stat-num {
  font-family: 'Cinzel', serif;
  font-size: 30px; font-weight: 900; color: var(--sable);
}
.hero-stat-num span { color: var(--feu); }
.hero-stat-label { font-size: 11px; color: var(--marron-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }

/* ══════════════════════════════════════════
   BOUTONS
══════════════════════════════════════════ */
.btn-primary {
  background: var(--feu); color: var(--blanc);
  border: none; border-radius: var(--radius-sm);
  padding: 14px 30px; font-size: 14px; font-weight: 700;
  font-family: 'Lato', sans-serif; letter-spacing: 0.04em;
  text-transform: uppercase; cursor: pointer;
  text-decoration: none; display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(232,130,26,0.35);
}
.btn-primary:hover {
  background: var(--feu-vif);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,130,26,0.45);
}
.btn-secondary {
  background: transparent; color: var(--sable);
  border: 1.5px solid var(--sable); border-radius: var(--radius-sm);
  padding: 13px 30px; font-size: 14px; font-weight: 500;
  font-family: 'Lato', sans-serif; letter-spacing: 0.03em;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: rgba(212,180,131,0.12);
  border-color: var(--feu); color: var(--feu);
  transform: translateY(-1px);
}
.btn-link {
  font-size: 13px; color: var(--feu);
  text-decoration: none; font-weight: 700;
  letter-spacing: 0.03em; transition: color 0.2s;
}
.btn-link:hover { color: var(--feu-vif); }

/* ══════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════ */
.section { padding: 72px 5%; }
.section-alt { background: var(--blanc); }
.section-fond { background: var(--fond-alt); }
.section-dark { background: var(--marron); }
.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px; gap: 16px;
}
.section-label { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.section-dot { width: 8px; height: 8px; border-radius: 50%; }
.section-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  font-family: 'Lato', sans-serif;
}
.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700; color: var(--marron);
  letter-spacing: 0.02em; line-height: 1.25;
}
.section-dark .section-title { color: var(--sable-pale); }
.section-link {
  font-size: 13px; color: var(--feu); text-decoration: none;
  font-weight: 700; white-space: nowrap; transition: color 0.2s;
  letter-spacing: 0.03em;
}
.section-link:hover { color: var(--feu-vif); }

/* ══════════════════════════════════════════
   BADGES
══════════════════════════════════════════ */
.badges { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; letter-spacing: 0.04em; text-transform: uppercase; }
.badge-sable  { background: var(--sable-pale); color: var(--marron); border: 1px solid var(--border); }
.badge-feu    { background: var(--feu-pale); color: var(--feu-vif); border: 1px solid rgba(232,130,26,0.2); }
.badge-marron { background: rgba(61,31,13,0.08); color: var(--marron-mid); border: 1px solid rgba(61,31,13,0.15); }
/* Compat M-56 */
.badge-blue   { background: var(--sable-pale); color: var(--marron); border: 1px solid var(--border); }
.badge-orange { background: var(--feu-pale); color: var(--feu-vif); border: 1px solid rgba(232,130,26,0.2); }
.badge-green  { background: rgba(61,31,13,0.08); color: var(--marron-mid); border: 1px solid rgba(61,31,13,0.15); }

/* ══════════════════════════════════════════
   CARD FEATURED (membres)
══════════════════════════════════════════ */
.card-featured {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  max-width: 780px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card-featured:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-featured-header {
  background: var(--marron);
  padding: 24px 28px;
  display: flex; align-items: center; gap: 18px;
}
.avatar {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 18px; font-weight: 700;
  flex-shrink: 0;
}
.avatar-sable  { background: var(--sable); color: var(--marron); }
.avatar-feu    { background: var(--feu); color: var(--blanc); }
.avatar-marron { background: var(--marron-mid); color: var(--sable); }
/* Compat M-56 */
.avatar-bleu   { background: var(--sable); color: var(--marron); }
.avatar-vert   { background: var(--marron-mid); color: var(--sable); }
.avatar-orange { background: var(--feu); color: var(--blanc); }

.card-featured-name {
  font-family: 'Cinzel', serif; font-size: 17px;
  font-weight: 700; color: var(--sable-pale); margin-bottom: 4px;
}
.card-featured-meta { font-size: 12px; color: var(--sable-clair); opacity: 0.8; }
.card-featured-body { padding: 24px 28px; }
.card-featured-quote {
  font-size: 15px; color: var(--texte); line-height: 1.75;
  font-style: italic; border-left: 3px solid var(--sable);
  padding-left: 18px;
}
.card-featured-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--border-soft);
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   CARDS GRID (membres, mini)
══════════════════════════════════════════ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px; margin-top: 24px;
}
.card-mini {
  background: var(--blanc);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.card-mini:hover {
  border-color: var(--feu); transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-mini-header {
  padding: 16px; display: flex; align-items: center;
  gap: 12px; border-bottom: 1px solid var(--border-soft);
  background: var(--fond-alt);
}
.avatar-sm {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.card-mini-name { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 700; color: var(--marron); }
.card-mini-meta { font-size: 11px; color: var(--texte-sec); margin-top: 2px; }
.card-mini-body { padding: 14px 16px; }
.card-mini-desc { font-size: 12px; color: var(--texte-sec); line-height: 1.65; margin-bottom: 12px; }
.card-mini-footer { display: flex; align-items: center; justify-content: space-between; }

/* ══════════════════════════════════════════
   CARD ATELIER / ÉVÉNEMENT
══════════════════════════════════════════ */
.card-event {
  background: var(--blanc);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  overflow: hidden; display: flex;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.card-event:hover {
  border-color: var(--feu); transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-event-date {
  background: var(--marron); width: 76px; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 16px 8px;
  position: relative; overflow: hidden;
}
.card-event-date::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--feu);
}
.card-event-day {
  font-family: 'Cinzel', serif; font-size: 28px;
  font-weight: 900; color: var(--sable); line-height: 1;
}
.card-event-month {
  font-size: 10px; color: var(--feu);
  text-transform: uppercase; letter-spacing: 0.12em; margin-top: 4px;
  font-weight: 700;
}
.card-event-body { padding: 16px; flex: 1; }
.card-event-title {
  font-family: 'Cinzel', serif; font-size: 14px;
  font-weight: 700; color: var(--marron); margin-bottom: 6px;
}
.card-event-meta { font-size: 11px; color: var(--texte-sec); margin-bottom: 10px; }
.card-event-footer { display: flex; align-items: center; justify-content: space-between; }

/* Lien Google Meet sur les events */
.card-event-meet {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: var(--feu);
  text-decoration: none; letter-spacing: 0.03em;
  transition: color 0.2s;
}
.card-event-meet:hover { color: var(--feu-vif); }

/* ══════════════════════════════════════════
   SECTION CTA / VILLAGE PROMO
   (remplace scoring M-56)
══════════════════════════════════════════ */
.village-cta-section {
  background: var(--marron);
  padding: 72px 5%;
  position: relative; overflow: hidden;
}
.village-cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(232,130,26,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(212,180,131,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.village-cta-inner {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center; position: relative; z-index: 1;
}
.village-cta-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900; color: var(--sable-pale);
  letter-spacing: 0.02em; line-height: 1.2; margin-bottom: 16px;
}
.village-cta-title span { color: var(--feu); }
.village-cta-sub {
  font-size: 15px; color: var(--sable-clair);
  line-height: 1.75; margin-bottom: 32px; font-weight: 300;
}
.village-steps { display: flex; flex-direction: column; gap: 12px; }
.village-step {
  background: rgba(212,180,131,0.07);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  border: 1px solid rgba(212,180,131,0.12);
  transition: border-color 0.2s, background 0.2s;
}
.village-step:hover { border-color: rgba(232,130,26,0.3); background: rgba(232,130,26,0.06); }
.village-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--feu); display: flex; align-items: center; justify-content: center;
  font-family: 'Cinzel', serif; font-size: 12px; font-weight: 900;
  color: var(--blanc); flex-shrink: 0;
}
.village-step-label { font-size: 13px; font-weight: 700; color: var(--sable); }
.village-step-desc { font-size: 11px; color: var(--marron-soft); margin-top: 2px; }

/* ══════════════════════════════════════════
   TARIFS / CATALOGUE PRODUITS
══════════════════════════════════════════ */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px; margin-top: 24px;
}
.tarif-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-soft);
  padding: 32px 28px; text-align: center;
  position: relative; overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
}
.tarif-card:hover { border-color: var(--feu); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tarif-card.featured {
  border-color: var(--feu);
  box-shadow: 0 8px 32px rgba(232,130,26,0.2);
}
.tarif-card.featured::before {
  content: 'RECOMMANDÉ';
  position: absolute; top: 16px; right: -28px;
  background: var(--feu); color: var(--blanc);
  font-size: 9px; font-weight: 900; letter-spacing: 0.1em;
  padding: 5px 40px; transform: rotate(45deg);
}
.tarif-label {
  font-family: 'Cinzel', serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--feu); margin-bottom: 12px;
}
.tarif-prix {
  font-family: 'Cinzel', serif; font-size: 52px; font-weight: 900;
  color: var(--marron); line-height: 1;
}
.tarif-prix span { font-size: 18px; font-weight: 400; color: var(--texte-sec); margin-left: 4px; }
.tarif-desc { font-size: 13px; color: var(--texte-sec); margin: 12px 0 24px; line-height: 1.6; }
.tarif-features { text-align: left; margin-bottom: 28px; }
.tarif-feature {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--texte); padding: 7px 0;
  border-bottom: 1px solid var(--border-soft);
}
.tarif-feature:last-child { border-bottom: none; }
.tarif-feature-icon { color: var(--feu); font-weight: 900; flex-shrink: 0; margin-top: 1px; }

/* ══════════════════════════════════════════
   TÉMOIGNAGES
══════════════════════════════════════════ */
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.temoignage-card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 24px; position: relative;
  box-shadow: var(--shadow-sm);
}
.temoignage-card::before {
  content: '"';
  font-family: 'Cinzel', serif;
  font-size: 80px; color: var(--sable);
  position: absolute; top: 8px; left: 18px;
  line-height: 1; opacity: 0.3;
}
.temoignage-text {
  font-size: 14px; color: var(--texte);
  line-height: 1.75; font-style: italic;
  padding-top: 28px; margin-bottom: 20px;
}
.temoignage-auteur { display: flex; align-items: center; gap: 12px; }
.temoignage-nom { font-family: 'Cinzel', serif; font-size: 13px; font-weight: 700; color: var(--marron); }
.temoignage-role { font-size: 11px; color: var(--texte-sec); margin-top: 2px; }
.stars { color: var(--feu); font-size: 12px; letter-spacing: 1px; }

/* ══════════════════════════════════════════
   RESSOURCES / LMS
══════════════════════════════════════════ */
.res-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.res-card {
  background: var(--blanc);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  padding: 20px; display: flex; gap: 16px;
  align-items: flex-start; transition: border-color 0.2s, transform 0.2s;
  text-decoration: none; box-shadow: var(--shadow-sm);
}
.res-card:hover { border-color: var(--feu); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.res-icon {
  width: 40px; height: 40px; border-radius: var(--radius-sm);
  background: var(--feu-pale); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0;
}
.res-title { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 700; color: var(--marron); margin-bottom: 4px; }
.res-meta { font-size: 11px; color: var(--texte-sec); margin-bottom: 10px; }
.res-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--feu); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--marron);
  padding: 56px 5% 36px;
  border-top: 3px solid var(--feu);
}
.footer-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 48px;
}
.footer-brand-logo {
  font-family: 'Cinzel', serif;
  font-size: 26px; font-weight: 900; color: var(--sable); letter-spacing: 0.05em; margin-bottom: 8px;
}
.footer-brand-logo span { color: var(--feu); }
.footer-tagline { font-size: 12px; color: var(--marron-soft); margin-bottom: 6px; line-height: 1.6; }
.footer-url { font-size: 11px; color: rgba(212,180,131,0.3); font-family: monospace; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav-title { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--marron-soft); margin-bottom: 6px; }
.footer-nav a { font-size: 13px; color: var(--sable-clair); text-decoration: none; transition: color 0.2s; }
.footer-nav a:hover { color: var(--feu); }
.footer-bottom {
  border-top: 1px solid var(--marron-mid);
  padding-top: 24px; display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-breizhix { font-size: 12px; color: var(--marron-soft); }
.footer-breizhix a { color: var(--feu); text-decoration: none; font-weight: 700; }
.footer-copy { font-size: 11px; color: var(--marron-mid); }

/* ══════════════════════════════════════════
   PAGES INTÉRIEURES
══════════════════════════════════════════ */
.page-hero { background: var(--marron); padding: 56px 5% 48px; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,130,26,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900; color: var(--sable-pale);
  letter-spacing: 0.03em; margin-bottom: 10px;
  position: relative; z-index: 1;
}
.page-hero-sub { font-size: 16px; color: var(--sable-clair); font-weight: 300; position: relative; z-index: 1; }
.page-content { padding: 48px 5%; max-width: 1200px; }

/* ══════════════════════════════════════════
   FILTRES (membres, annuaire)
══════════════════════════════════════════ */
.filtres { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.filtre-btn {
  background: var(--blanc); border: 1px solid var(--border);
  border-radius: 20px; padding: 7px 18px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--texte-sec);
  cursor: pointer; transition: all 0.2s;
  font-family: 'Lato', sans-serif;
}
.filtre-btn:hover, .filtre-btn.active {
  background: var(--feu); border-color: var(--feu); color: var(--blanc);
}

/* ══════════════════════════════════════════
   WAVE SÉPARATEURS
══════════════════════════════════════════ */
.wave-sep { display: block; width: 100%; overflow: hidden; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--marron); padding: 20px 5%; gap: 16px;
    border-bottom: 2px solid var(--marron-mid); z-index: 99;
  }

  .hero { padding: 56px 5% 0; }
  .hero-title { font-size: clamp(28px, 7vw, 40px); }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions a { width: 100%; max-width: 320px; text-align: center; }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .hero-stat-num { font-size: 24px; }

  .section { padding: 48px 5%; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-title { font-size: 20px; }

  .card-featured { max-width: 100%; }
  .card-featured-header { padding: 16px 18px; gap: 12px; }
  .card-featured-name { font-size: 15px; }
  .card-featured-body { padding: 16px 18px; }
  .card-featured-footer { padding: 12px 18px; flex-direction: column; align-items: flex-start; }

  .cards-grid { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }

  .village-cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .village-cta-title { font-size: 24px; }

  .footer { padding: 40px 5% 28px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .page-hero { padding: 40px 5% 32px; }
  .page-hero-title { font-size: 26px; }
}

@media (max-width: 480px) {
  .nav { padding: 0 4%; }
  .nav-wordmark { font-size: 17px; }

  .hero { padding: 40px 4% 0; }
  .hero-title { font-size: 26px; }
  .hero-subtitle { font-size: 14px; }
  .hero-stats { gap: 16px; }
  .hero-stat-num { font-size: 22px; }

  .section { padding: 36px 4%; }
  .section-title { font-size: 18px; }

  .card-featured-header { flex-wrap: wrap; }
  .avatar { width: 44px; height: 44px; font-size: 14px; }

  .tarif-card { padding: 24px 20px; }
  .tarif-prix { font-size: 40px; }

  .card-event-date { width: 64px; }
  .card-event-day { font-size: 22px; }

  .footer { padding: 32px 4% 24px; }
  .footer-brand-logo { font-size: 22px; }

  .page-hero { padding: 32px 4% 24px; }
  .page-hero-title { font-size: 22px; }
  .filtres { gap: 6px; }
  .filtre-btn { font-size: 11px; padding: 6px 12px; }
}

/* Fix overflow */
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
input, textarea, select { max-width: 100%; box-sizing: border-box; }
.cards-grid, .res-grid, .tarifs-grid { overflow: hidden; }
.single-grid { display: grid; }
@media (max-width: 768px) {
  .single-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
}

/* ══════════════════════════════════════════
   ANIMATIONS & MOTION DESIGN
══════════════════════════════════════════ */

/* Fade up — entrées héro */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow { animation: fadeUp 0.5s ease both; }
.hero-title   { animation: fadeUp 0.6s 0.12s ease both; }
.hero-subtitle{ animation: fadeUp 0.6s 0.22s ease both; }
.hero-actions { animation: fadeUp 0.6s 0.32s ease both; }
.hero-stats   { animation: fadeUp 0.6s 0.42s ease both; }

/* Shimmer sur le badge eyebrow */
@keyframes shimmer {
  from { left: -80%; }
  to   { left: 140%; }
}
.hero-eyebrow { position: relative; overflow: hidden; }
.hero-eyebrow::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(232,130,26,0.25), transparent);
  animation: shimmer 3.5s ease infinite 1.5s;
  border-radius: inherit; pointer-events: none;
}

/* Vague hero animée */
@keyframes waveFlow {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.hero-wave-animated {
  display: block; width: 200%; height: 60px;
  animation: waveFlow 8s linear infinite;
}
.hero-wave-wrap {
  overflow: hidden; width: 100%; height: 60px;
  display: block; line-height: 0;
}

/* Flamme pulsante — décoration feu */
@keyframes flamePulse {
  0%, 100% { opacity: 0.8; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.08); }
}
.flame-anim { animation: flamePulse 2.2s ease-in-out infinite; transform-origin: bottom center; }

/* Flottement léger — logo, icônes */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.float-anim { animation: float 4s ease-in-out infinite; }

/* Reveal au scroll (JS déclenche .visible) */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Compteurs stats héro */
.hero-stat-num[data-target] { opacity: 0; transition: opacity 0.3s; }
.hero-stat-num.counted { opacity: 1; }

/* Hover glow sur btn-primary */
.btn-primary {
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}
.btn-primary:hover::after { width: 300px; height: 300px; opacity: 1; }

/* Bordure feu animée — card tarif featured */
@keyframes borderGlow {
  0%, 100% { box-shadow: 0 8px 32px rgba(232,130,26,0.2); }
  50%       { box-shadow: 0 8px 48px rgba(232,130,26,0.38); }
}
.tarif-card.featured { animation: borderGlow 3s ease-in-out infinite; }
