/* ═══════════════════════════════════════════════════════
   VARIABLES
═══════════════════════════════════════════════════════ */
:root {
  /* Palette terreuse */
  --ochre:        #b5813a;
  --ochre-light:  #d4a45c;
  --terra:        #9e4f34;
  --terra-light:  #c06a4a;
  --earth:        #3d2b1a;
  --earth-mid:    #5c3d22;
  --sand:         #e8dcc8;
  --sand-light:   #f2ece0;
  --cream:        #f7f2e9;
  --linen:        #ede5d4;
  --bark:         #7a5c3a;
  --white:        #ffffff;
  --text:         #2e1f0f;
  --text-mid:     #5c4030;
  --text-light:   #8a6a50;

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Source Sans 3', sans-serif;

  --radius:   6px;
  --radius-lg: 12px;
  --shadow:   0 2px 16px rgba(61,43,26,0.10);
  --shadow-lg: 0 8px 40px rgba(61,43,26,0.14);
  --max-w:    1080px;
  --max-narrow: 720px;
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.25; }
h1  { font-size: clamp(2rem, 5.5vw, 3.6rem); }
h2  { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3  { font-size: 1.25rem; margin-bottom: 0.5rem; }
h4  { font-size: 1rem; margin-bottom: 0.4rem; }
p   { margin-bottom: 0.9rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }
em  { font-style: italic; color: var(--terra); }

/* ═══════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════ */
.container        { max-width: var(--max-w);      margin: 0 auto; padding: 0 1.75rem; }
.container--narrow{ max-width: var(--max-narrow); margin: 0 auto; padding: 0 1.75rem; }
.section          { padding: 5rem 0; }
.section--cream   { background: var(--cream); }
.section--earth   { background: var(--earth); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.75rem;
}
.eyebrow--light { color: var(--ochre-light); }

.section-lead {
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}
.section-lead--light { color: rgba(242,236,224,0.75); }

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer; transition: all 0.18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--terra); color: white; border-color: var(--terra);
}
.btn--primary:hover { background: #833f28; border-color: #833f28; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(158,79,52,0.3); }

.btn--ghost-dark {
  background: transparent; color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.25);
}
.btn--ghost-dark:hover { color: white; border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.07); }

.btn--outline {
  background: transparent; color: var(--terra); border-color: var(--terra);
}
.btn--outline:hover { background: var(--terra); color: white; }

.btn--outline-dark {
  background: transparent; color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.3);
}
.btn--outline-dark:hover { background: rgba(255,255,255,0.08); color: white; }

.btn--small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(61,43,26,0.96);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  backdrop-filter: blur(6px);
}
.nav__logo { font-family: var(--font-display); font-size: 1.1rem; color: white; font-weight: 600; }
.nav__links { display: flex; gap: 2rem; align-items: center; }
.nav__links a { color: rgba(255,255,255,0.82); font-size: 0.9rem; transition: color 0.2s; }
.nav__links a:hover { color: white; }
.nav__burger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; line-height: 1; }

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(150deg, #2a1a0a 0%, #3d2b1a 45%, #52381f 80%, #3a2512 100%);
  overflow: hidden;
  padding: 7rem 2rem 4rem;
}
.hero__texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(ellipse at 15% 60%, rgba(181,129,58,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(158,79,52,0.1) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='4' height='4' fill='none'/%3E%3Ccircle cx='1' cy='1' r='0.5' fill='rgba(255,255,255,0.025)'/%3E%3C/svg%3E");
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 620px;
  margin-left: max(2rem, calc(50vw - 500px));
}
.hero__tag {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ochre-light);
  margin-bottom: 1.4rem;
}
.hero__content h1 { color: white; margin-bottom: 1.4rem; }
.hero__sub { font-size: 1.1rem; color: rgba(242,236,224,0.72); margin-bottom: 2.5rem; max-width: 480px; }

.hero__aframe {
  position: absolute; right: 6%; bottom: 5%;
  width: min(320px, 40vw); opacity: 0.6;
  pointer-events: none;
}
.hero__scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.3); font-size: 1.2rem;
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════════════════
   VIDÉO
═══════════════════════════════════════════════════════ */
.video-wrap {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); background: var(--earth);
  margin-bottom: 2rem;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-placeholder {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1e110a, #3d2b1a);
  display: flex; align-items: center; justify-content: center;
}
.video-placeholder__inner { text-align: center; color: rgba(242,236,224,0.6); }
.play-btn {
  width: 72px; height: 72px;
  background: none; border: none; cursor: pointer;
  margin: 0 auto 1rem; display: block;
  transition: transform 0.2s, opacity 0.2s;
}
.play-btn:hover { transform: scale(1.1); opacity: 0.9; }
.play-btn svg { width: 100%; height: 100%; }
.video-hint { font-size: 0.78rem; color: rgba(255,255,255,0.28); margin-top: 0.4rem; }

.video-yt-link {
  text-align: right;
  margin-top: 0.5rem;
  margin-bottom: 0;
}
.video-yt-link a {
  font-size: 0.78rem;
  color: var(--text-light);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.video-yt-link a:hover { opacity: 1; color: var(--ochre); }

.intro-text { padding: 0 0.5rem; }
.intro-text p { font-size: 1.05rem; }

/* ═══════════════════════════════════════════════════════
   ACCORDÉON DE PARTICIPATION
═══════════════════════════════════════════════════════ */

/* Grille des items */
.accordion {
  display: flex; flex-direction: column; gap: 0.6rem;
  margin-top: 2rem;
}
.accordion.hidden { display: none; }

/* Chaque item */
.acc-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(242,236,224,0.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s;
}
.acc-item:has(.acc-header.open) {
  border-color: rgba(242,236,224,0.25);
}

/* En-tête cliquable */
.acc-header {
  width: 100%; display: flex; align-items: center;
  gap: 1rem; padding: 1.1rem 1.4rem;
  background: none; border: none; cursor: pointer;
  text-align: left; -webkit-tap-highlight-color: transparent;
  transition: background 0.15s;
}
.acc-header:hover { background: rgba(255,255,255,0.04); }
.acc-header.open  { background: rgba(255,255,255,0.06); }

.acc-header__left {
  display: flex; align-items: center; gap: 0.9rem; flex: 1; min-width: 0;
}
.acc-icon  { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }
.acc-title {
  font-family: var(--font-display); font-size: 1.05rem;
  color: var(--sand-light); font-weight: 600; flex-shrink: 0;
}
.acc-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--terra); color: white;
  font-size: 0.7rem; font-weight: 700; font-family: var(--font-body);
  flex-shrink: 0;
}
.acc-badge.hidden { display: none; }
.acc-arrow {
  color: rgba(242,236,224,0.4); font-size: 1.4rem; line-height: 1;
  transition: transform 0.25s ease; flex-shrink: 0; margin-left: auto;
}
.acc-header.open .acc-arrow { transform: rotate(90deg); }

/* Corps dépliable */
.acc-body {
  padding: 0 1.4rem 1.4rem;
  animation: accOpen 0.25s ease;
}
@keyframes accOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Textes dans le corps */
.step-desc {
  color: rgba(242,236,224,0.75); margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.step-note {
  font-size: 0.82rem; color: rgba(242,236,224,0.5); font-style: italic;
  margin-top: 0.75rem; background: rgba(255,255,255,0.05);
  padding: 0.6rem 0.9rem; border-radius: var(--radius);
  border-left: 2px solid rgba(181,129,58,0.5);
}
.optional { font-weight: 400; text-transform: none; opacity: 0.6; font-size: 0.85em; }
.field-hint { display: block; font-weight: 400; text-transform: none; font-size: 0.78rem; color: rgba(242,236,224,0.4); margin-top: 0.15rem; letter-spacing: 0; }

/* Section calendrier dans "Don de temps" */
.cal-section { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); }
.cal-section__title { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--sand-light); margin-bottom: 0.5rem; }
.cal-intro { font-size: 0.88rem; color: rgba(242,236,224,0.6); margin-bottom: 1.25rem; }
.cal-intro strong { color: rgba(242,236,224,0.85); font-weight: 600; }

/* Champs "autre" révélés */
.other-field { margin-top: 0.75rem; }
.other-field.hidden { display: none; }

/* Chips de montant */
.amount-group { margin-bottom: 1.25rem; }
.amount-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 0.6rem 0 0.75rem;
}
.amount-chip {
  padding: 0.55rem 1.1rem; border-radius: 30px;
  border: 1.5px solid rgba(242,236,224,0.2);
  background: rgba(255,255,255,0.05); color: rgba(242,236,224,0.75);
  font-family: var(--font-body); font-size: 0.9rem;
  cursor: pointer; transition: all 0.15s;
}
.amount-chip:hover { border-color: rgba(242,236,224,0.45); color: white; background: rgba(255,255,255,0.1); }
.amount-chip.active { background: var(--terra); border-color: var(--terra); color: white; }
.amount-field { margin-top: 0.5rem; }

/* Bloc contact (toujours visible, sous l'accordéon) */
.contact-block {
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(242,236,224,0.15);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}
.contact-block.hidden { display: none; }
.contact-block h3 {
  font-family: var(--font-display); color: var(--sand-light);
  font-size: 1.2rem; margin-bottom: 0.4rem;
}
.contact-fields {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
  margin-bottom: 1rem;
}
.submit-hint {
  font-size: 0.78rem; color: rgba(242,236,224,0.35);
  font-style: italic; margin-top: 0.75rem; margin-bottom: 0;
}

/* Confirmation */
.wizard-confirm { text-align: center; padding: 2rem 0; }
.wizard-confirm.hidden { display: none; }
.confirm-icon { font-size: 3rem; margin-bottom: 1rem; }
.wizard-confirm h3 { color: white; font-size: 1.6rem; margin-bottom: 0.75rem; }
.wizard-confirm p { color: rgba(242,236,224,0.7); margin-bottom: 1.5rem; }
.confirm-recap {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  text-align: left; margin-bottom: 1.5rem; font-size: 0.88rem;
  color: rgba(242,236,224,0.65); line-height: 1.9;
}

/* Chip groups */
.chip-group {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.chip { display: block; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border: 1.5px solid rgba(242,236,224,0.2);
  border-radius: 30px;
  font-size: 0.9rem; color: rgba(242,236,224,0.75);
  background: rgba(255,255,255,0.05);
  transition: all 0.15s;
  user-select: none;
}
.chip:hover span { border-color: rgba(242,236,224,0.45); color: white; background: rgba(255,255,255,0.1); }
.chip input:checked + span {
  background: var(--terra); border-color: var(--terra); color: white;
}

/* Text fields */
.field-group { margin-bottom: 1.25rem; }
.field-label {
  display: block; font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(242,236,224,0.5); margin-bottom: 0.5rem;
}
.field-text {
  width: 100%; padding: 0.8rem 1rem;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(242,236,224,0.18);
  border-radius: var(--radius); color: var(--sand-light);
  font-family: var(--font-body); font-size: 0.95rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.field-text::placeholder { color: rgba(242,236,224,0.3); }
.field-text:focus { border-color: var(--ochre-light); box-shadow: 0 0 0 3px rgba(181,129,58,0.15); }
.field-text.field--error { border-color: #e07060; box-shadow: 0 0 0 3px rgba(224,112,96,0.15); }
.field-text.field--error::placeholder { color: rgba(224,112,96,0.6); }

.field-error-msg {
  font-size: 0.78rem; color: #e09080; margin-top: 0.35rem; display: none;
}
.field-error-msg.visible { display: block; }
.field-textarea { resize: vertical; min-height: 80px; }

/* Compétences grid */
.competences-grid { display: flex; flex-direction: column; gap: 0.6rem; }
.competence-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(242,236,224,0.1);
  border-radius: var(--radius);
  transition: background 0.15s;
}
.competence-row:has(.comp-btn.active-benevole),
.competence-row:has(.comp-btn.active-remunere) {
  background: rgba(255,255,255,0.09);
  border-color: rgba(242,236,224,0.2);
}
.competence-row__label { color: var(--sand-light); font-size: 0.95rem; flex: 1; min-width: 100px; }
.competence-row__chips { display: flex; gap: 0.5rem; flex-shrink: 0; }
.comp-btn {
  padding: 0.45rem 0.9rem; font-size: 0.82rem; font-family: var(--font-body);
  border-radius: 20px; border: 1.5px solid rgba(242,236,224,0.2);
  background: none; color: rgba(242,236,224,0.6);
  cursor: pointer; transition: all 0.15s;
  min-width: 90px; text-align: center;
  /* Meilleure zone de clic mobile */
  min-height: 36px;
}
.comp-btn:hover { border-color: rgba(242,236,224,0.5); color: white; }
.comp-btn.active-benevole { background: rgba(85,160,85,0.25); border-color: rgba(85,160,85,0.6); color: #a0d8a0; }
.comp-btn.active-remunere { background: rgba(181,129,58,0.25); border-color: rgba(181,129,58,0.6); color: var(--ochre-light); }

/* Calendar inline toggle (legacy, gardé pour compatibilité) */
.calendar-toggle-wrap { margin-top: 1.5rem; }
.calendar-inline { margin-top: 1.25rem; }
.calendar-inline.hidden { display: none; }

/* ═══════════════════════════════════════════════════════
   CALENDRIER — DISPONIBILITÉS CHANTIER
═══════════════════════════════════════════════════════ */

/* Infos chantier */

.chantier-info {
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.chantier-info__pratique {
  background: rgba(181,129,58,0.12);
  border: 1px solid rgba(181,129,58,0.3);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  color: rgba(242,236,224,0.85);
  margin: 0;
}
.chantier-info__pratique strong { color: var(--ochre-light); }
.chantier-info__pratique em { color: rgba(242,236,224,0.6); font-style: italic; }
.chantier-info__spirit {
  font-size: 0.92rem;
  color: rgba(242,236,224,0.7);
  font-style: italic;
  margin: 0;
  padding-left: 0.25rem;
}

/* Toggle mode semaines / jours */
.cal-mode-toggle {
  display: flex; gap: 0.4rem; margin-bottom: 1rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(242,236,224,0.12);
  border-radius: 8px; padding: 4px;
}
.cal-mode-btn {
  flex: 1; padding: 0.5rem 0.75rem;
  background: none; border: none; border-radius: 5px;
  color: rgba(242,236,224,0.55); font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600; cursor: pointer;
  transition: all 0.15s;
}
.cal-mode-btn:hover { color: rgba(242,236,224,0.85); }
.cal-mode-btn.active {
  background: rgba(255,255,255,0.1); color: white;
}

/* Légende */
.cal-legend { display: flex; gap: 1.2rem; margin-bottom: 1rem; flex-wrap: wrap; }
.cal-legend-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.76rem; color: rgba(255,255,255,0.5); }
.cal-legend-dot { width: 12px; height: 12px; border-radius: 3px; }
.cal-legend-dot--available { background: rgba(85,155,85,0.6); }
.cal-legend-dot--maybe     { background: rgba(181,129,58,0.55); }

/* ── Vue Semaines ─────────────────────────────────── */

/* Raccourcis rapides */
.cal-shortcuts { margin-bottom: 1.25rem; }
.cal-shortcuts__title {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(242,236,224,0.4);
  margin-bottom: 0.5rem;
}
.cal-shortcuts__btns { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cal-shortcut-btn {
  padding: 0.35rem 0.75rem; border-radius: 20px;
  border: 1px solid rgba(242,236,224,0.18);
  background: rgba(255,255,255,0.04); color: rgba(242,236,224,0.65);
  font-family: var(--font-body); font-size: 0.78rem;
  cursor: pointer; transition: all 0.15s;
}
.cal-shortcut-btn:hover { border-color: rgba(242,236,224,0.4); color: white; background: rgba(255,255,255,0.09); }
.cal-shortcut--danger { color: rgba(220,100,80,0.7); border-color: rgba(220,100,80,0.25); }
.cal-shortcut--danger:hover { color: #e08070; border-color: rgba(220,100,80,0.5); background: rgba(220,100,80,0.08); }

.cal-shortcut-btn.cal-shortcut--available {
  background: rgba(85,155,85,0.2);
  border-color: rgba(85,155,85,0.5);
  color: #9ddb9d;
}
.cal-shortcut-btn.cal-shortcut--maybe {
  background: rgba(181,129,58,0.2);
  border-color: rgba(181,129,58,0.5);
  color: var(--ochre-light);
}
.cal-shortcut-btn.cal-shortcut--mixed {
  background: rgba(255,255,255,0.08);
  border-color: rgba(242,236,224,0.35);
  color: rgba(242,236,224,0.8);
}

/* Vue semaines */
.cal-week-view { display: flex; flex-direction: column; gap: 1.25rem; }
.cal-month-block {}
.cal-month-label {
  font-family: var(--font-display); font-size: 1rem; color: var(--ochre-light);
  margin-bottom: 0.5rem; font-weight: 600;
}
.cal-weeks-list { display: flex; flex-direction: column; gap: 0.35rem; }

/* Ligne de semaine */
.cal-week-row {
  display: flex; align-items: center; gap: 0.75rem;
  width: 100%; padding: 0.6rem 0.9rem;
  background: rgba(255,255,255,0.04); border: 1.5px solid rgba(242,236,224,0.1);
  border-radius: var(--radius); cursor: pointer; text-align: left;
  transition: all 0.15s; -webkit-tap-highlight-color: transparent;
}
.cal-week-row:hover { background: rgba(255,255,255,0.09); border-color: rgba(242,236,224,0.25); }
.cal-week-row--available .cal-pip.weekend { background: rgba(85,155,85,0.35); color: #c0eec0; }
.cal-week-row--maybe .cal-pip.weekend     { background: rgba(181,129,58,0.35); color: var(--ochre-light); }
.cal-week-row--available:hover { background: rgba(85,155,85,0.28); }
.cal-week-row--maybe:hover     { background: rgba(181,129,58,0.28); }

.cal-week-dates {
  font-size: 0.85rem; color: rgba(242,236,224,0.8);
  min-width: 140px; flex-shrink: 0;
}
.cal-week-row--available .cal-week-dates,
.cal-week-row--maybe .cal-week-dates { color: white; }

/* Indicateurs L M M J V S D */
.cal-week-pips { display: flex; gap: 3px; flex: 1; }
.cal-pip {
  width: 20px; height: 20px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0;
  background: rgba(255,255,255,0.08); color: rgba(242,236,224,0.5);
}
.cal-pip.out     { opacity: 0.25; }
.cal-pip.weekend { background: rgba(181,129,58,0.2); color: rgba(242,236,224,0.7); }
.cal-week-row--available .cal-pip:not(.out) { background: rgba(85,155,85,0.3); color: #c0eec0; }
.cal-week-row--maybe .cal-pip:not(.out)     { background: rgba(181,129,58,0.3); color: var(--ochre-light); }

/* Badge statut */
.cal-week-badge {
  font-size: 0.72rem; font-weight: 700; flex-shrink: 0;
  color: rgba(242,236,224,0.4); white-space: nowrap;
}
.cal-week-badge--empty { opacity: 0.5; }
.cal-week-row--available .cal-week-badge { color: #9ddb9d; }
.cal-week-row--maybe .cal-week-badge     { color: var(--ochre-light); }

/* ── Vue Jours ────────────────────────────────────── */
.cal-day-view { }
.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
}
.cal-month-title {
  font-family: var(--font-display); color: white;
  font-size: 1.05rem; text-transform: capitalize;
}
.cal-nav-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: white; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.cal-nav-btn:hover { background: rgba(255,255,255,0.18); }

.cal-day-grid {
  display: grid; grid-template-columns: repeat(7,1fr); gap: 3px;
}
.cal-day-hdr {
  text-align: center; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,0.32); padding: 0.3rem 0;
}
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 5px; cursor: pointer;
  border: 1px solid transparent; background: rgba(255,255,255,0.04);
  font-size: 0.8rem; color: rgba(255,255,255,0.7);
  transition: all 0.13s;
}
.cal-day:hover:not(.cal-day--out):not(.cal-day--empty) {
  background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.22);
}
.cal-day--empty { background: transparent; cursor: default; }
.cal-day--out   { color: rgba(255,255,255,0.18); cursor: default; background: transparent; }
.cal-day--available { background: rgba(85,155,85,0.3); border-color: rgba(85,155,85,0.55); color: white; }
.cal-day--maybe     { background: rgba(181,129,58,0.3); border-color: rgba(181,129,58,0.5); color: white; }
.cal-day__num { font-weight: 700; line-height: 1; }

/* ── Modale commune ──────────────────────────────── */
.cal-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.cal-modal-box {
  background: #2a1c0d; border: 1px solid rgba(242,236,224,0.15);
  border-radius: var(--radius-lg); padding: 1.75rem;
  width: 100%; max-width: 340px; box-shadow: var(--shadow-lg);
}
.cal-modal-title {
  font-family: var(--font-display); color: white;
  font-size: 1.1rem; margin-bottom: 0.2rem; text-transform: capitalize;
}
.cal-modal-sub { font-size: 0.82rem; color: rgba(242,236,224,0.45); margin-bottom: 1.2rem; }
.cal-modal-options { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1rem; }
.cal-opt {
  padding: 0.75rem 1rem; border-radius: var(--radius);
  border: 1.5px solid transparent;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  cursor: pointer; text-align: left; transition: all 0.13s;
}
.cal-opt--available { background: rgba(85,155,85,0.18); border-color: rgba(85,155,85,0.45); color: #9ddb9d; }
.cal-opt--available:hover { background: rgba(85,155,85,0.3); }
.cal-opt--maybe { background: rgba(181,129,58,0.18); border-color: rgba(181,129,58,0.4); color: var(--ochre-light); }
.cal-opt--maybe:hover { background: rgba(181,129,58,0.3); }
.cal-opt--remove { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.45); }
.cal-opt--remove:hover { background: rgba(255,255,255,0.09); }
.cal-modal-close {
  width: 100%; padding: 0.5rem; background: none; border: none;
  color: rgba(255,255,255,0.3); font-size: 0.82rem;
  cursor: pointer; font-family: var(--font-body);
  transition: color 0.15s;
}
.cal-modal-close:hover { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════════════
   RESSOURCES
═══════════════════════════════════════════════════════ */
.resources-list {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin-top: 0.5rem;
}
.resource-card {
  display: block; padding: 1.5rem;
  background: var(--linen); border: 1px solid var(--sand);
  border-radius: var(--radius-lg); transition: all 0.2s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-3px); box-shadow: var(--shadow);
  border-color: var(--ochre-light);
}
.resource-card:active {
  transform: translateY(0); box-shadow: none;
  background: var(--sand);
}
.resource-card--placeholder { opacity: 0.6; }
.resource-card__meta { margin-bottom: 0.6rem; }
.resource-card__tag {
  display: inline-block; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bark); background: var(--sand);
  padding: 0.2rem 0.6rem; border-radius: 20px;
}
.resource-card h4 { color: var(--text); margin-bottom: 0.4rem; font-size: 1rem; }
.resource-card p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 0.75rem; }
.resource-card__link { font-size: 0.82rem; font-weight: 600; color: var(--terra); }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.footer { background: var(--earth-mid); padding: 3rem 0 0; }
.footer__inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem;
}
.footer__logo { font-family: var(--font-display); color: var(--sand-light); font-size: 1.1rem; font-weight: 600; display: block; margin-bottom: 0.4rem; }
.footer__inner > div p { color: rgba(242,236,224,0.45); font-size: 0.85rem; }
.footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav a { color: rgba(242,236,224,0.55); font-size: 0.9rem; transition: color 0.2s; }
.footer__nav a:hover { color: var(--sand-light); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1rem 1.75rem; text-align: center;
}
.footer__bottom p { font-size: 0.78rem; color: rgba(242,236,224,0.28); margin: 0; }

/* ═══════════════════════════════════════════════════════
   REVEAL
═══════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   HERO ANIMATIONS
═══════════════════════════════════════════════════════ */
.hero__tag     { animation: fadeUp 0.6s 0.15s both; }
.hero__content h1 { animation: fadeUp 0.7s 0.3s both; }
.hero__sub     { animation: fadeUp 0.7s 0.45s both; }
.hero .btn     { animation: fadeUp 0.7s 0.6s both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: rgba(61,43,26,0.98);
    justify-content: center; align-items: center;
    gap: 2.5rem; font-size: 1.3rem; z-index: 99;
  }
  .hero__aframe { display: none; }
  .resources-list { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { padding: 3.5rem 0; }
  .acc-header { padding: 1rem 1.1rem; gap: 0.75rem; }
  .acc-title  { font-size: 0.95rem; }
  .acc-body   { padding: 0 1.1rem 1.1rem; }
  .contact-fields { grid-template-columns: 1fr; }
  .competence-row { flex-wrap: wrap; }
  .competence-row__chips { width: 100%; }
  .comp-btn { flex: 1; }
  .chip span { font-size: 0.84rem; }
  .amount-chips { gap: 0.4rem; }
  .amount-chip { padding: 0.5rem 0.85rem; font-size: 0.85rem; }
}

/* ═══════════════════════════════════════════════════════
   CARROUSEL PHOTOS
═══════════════════════════════════════════════════════ */
.section-carousel {
  background: var(--linen);
  padding: 2.5rem 0;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--linen);
}

.carousel__track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  height: 100%;
}

.carousel__slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--linen);
}

.carousel__slide img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  filter: saturate(0.88) brightness(0.95);
  transition: filter 0.4s ease;
}
.carousel:hover .carousel__slide img { filter: saturate(1) brightness(1); }

/* Flèches */
.carousel__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(30, 16, 6, 0.65);
  border: 1px solid rgba(242,236,224,0.2);
  color: white; font-size: 1.5rem; line-height: 1;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, opacity 0.2s;
  backdrop-filter: blur(4px);
  opacity: 0;
}
.carousel:hover .carousel__btn { opacity: 1; }
.carousel__btn:hover { background: rgba(158,79,52,0.75); border-color: rgba(242,236,224,0.4); }
.carousel__btn--prev { left: 1rem; }
.carousel__btn--next { right: 1rem; }

/* Points de navigation */
.carousel__dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 10;
}
.carousel__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none; cursor: pointer; padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel__dot.active {
  background: white;
  transform: scale(1.25);
}

/* Bouton pause carrousel */
.carousel__pause {
  position: absolute; bottom: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(61,43,26,0.6); border: 1px solid rgba(242,236,224,0.25);
  color: rgba(242,236,224,0.8); font-size: 0.75rem;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}
.carousel:hover .carousel__pause { opacity: 1; }
.carousel__pause:hover { background: rgba(158,79,52,0.75); }

/* Curseur zoom sur les slides */
.carousel__slide { cursor: zoom-in; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20,10,4,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  animation: fadeIn 0.2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__img {
  max-width: 100%; max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: zoomIn 0.25s ease;
}
@keyframes zoomIn {
  from { transform: scale(0.94); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.lightbox__close {
  position: fixed; top: 1.25rem; right: 1.25rem;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(61,43,26,0.7); border: 1px solid rgba(242,236,224,0.2);
  color: white; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.lightbox__close:hover { background: rgba(158,79,52,0.8); }

.lightbox__nav {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(61,43,26,0.6); border: 1px solid rgba(242,236,224,0.2);
  color: white; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.lightbox__nav:hover { background: rgba(158,79,52,0.75); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.lightbox__counter {
  position: fixed; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
  font-family: var(--font-body);
}

/* Mobile : flèches toujours visibles (pas de hover sur tactile) */
@media (max-width: 768px) {
  .carousel__btn { opacity: 0.75; width: 38px; height: 38px; font-size: 1.2rem; }
}

.white {color:white}