/* ========================================
   ASSOCIATION ÉNERGIE VITAE — Feuille de style
   Univers : bioénergie, géobiologie, géométrie sacrée
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Cinzel:wght@400;500;600;700&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  --or-ancien: #b8924d;
  --or-clair: #d4b06a;
  --or-fonce: #8b6f3a;
  --vert-emeraude: #2d4a3e;
  --vert-mousse: #4a6b5a;
  --bleu-nuit: #1a2332;
  --pourpre: #3d2845;
  --ivoire: #f5ede0;
  --parchemin: #ebe0c9;
  --noir-encre: #1a1410;
  --gris-pierre: #6b6357;
  --rouge-cinabre: #8b3a2e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lora', serif;
  background: var(--parchemin);
  background-image:
    radial-gradient(at 20% 30%, rgba(184, 146, 77, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 70%, rgba(45, 74, 62, 0.06) 0px, transparent 50%);
  color: var(--noir-encre);
  line-height: 1.7;
  min-height: 100vh;
}

/* Titres */
h1, h2, h3, h4 {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--bleu-nuit);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--or-fonce); }

p { margin-bottom: 1rem; font-size: 1.05rem; }

a {
  color: var(--or-fonce);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover { color: var(--rouge-cinabre); }

/* E-mail et téléphone cliquables : prennent la couleur du texte autour, soulignés pour signaler le lien */
a.email-link, a.tel-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
a.email-link:hover, a.tel-link:hover { color: var(--rouge-cinabre); }

/* ====== EN-TÊTE ====== */
.site-header {
  background: var(--bleu-nuit);
  background-image: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--pourpre) 100%);
  padding: 1.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid var(--or-ancien);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-zone {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-triskel {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}

.site-title {
  font-family: 'Cinzel', serif;
  color: var(--or-clair);
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0;
}

.site-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ivoire);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
}

/* ====== MENU ====== */
.main-nav {
  background: var(--noir-encre);
  border-top: 1px solid var(--or-fonce);
  border-bottom: 1px solid var(--or-fonce);
  position: sticky;
  top: 0;
  z-index: 999;
}

.main-nav ul {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  list-style: none;
  flex-wrap: wrap;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--ivoire);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--or-clair);
  background: rgba(184, 146, 77, 0.1);
  border-bottom-color: var(--or-ancien);
}

/* ---- Sous-menu déroulant ---- */
.main-nav .dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--noir-encre);
  border: 1px solid var(--or-fonce);
  border-top: 2px solid var(--or-ancien);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1000;
}

.main-nav li.has-dropdown:hover > .dropdown-menu,
.main-nav li.has-dropdown:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown-menu a {
  padding: 0.75rem 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  border-bottom: none;
  white-space: nowrap;
}

.main-nav li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--or-ancien);
  color: var(--or-clair);
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.1em;
}

/* ====== BANDEAU ====== */
.banner {
  position: relative;
  height: 40vh;
  min-height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--vert-emeraude) 50%, var(--pourpre) 100%);
}

.banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transform-origin: center;
  animation: bannerZoom 26s ease-in-out infinite alternate;
}
/* Halo concentrique qui « respire » */
.banner-halo {
  animation: bannerBreath 7s ease-in-out infinite;
}
/* Étoiles qui scintillent */
.banner-stars {
  animation: bannerTwinkle 4.5s ease-in-out infinite;
}
@keyframes bannerZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}
@keyframes bannerBreath {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 0.75; }
}
@keyframes bannerTwinkle {
  0%, 100% { opacity: 0.25; }
  50%      { opacity: 0.6; }
}
/* Accessibilité : on coupe les animations si l'utilisateur préfère le mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .banner-image,
  .banner-halo,
  .banner-stars { animation: none; }
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(26, 35, 50, 0.4) 70%, rgba(26, 35, 50, 0.7) 100%);
}

.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ivoire);
  padding: 2rem;
  max-width: 900px;
}

.banner-content h1 {
  color: var(--ivoire);
  font-family: 'Cinzel', serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.08em;
}

.banner-content .tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--or-clair);
  letter-spacing: 0.05em;
}

.banner-ornament {
  display: block;
  margin: 1.5rem auto;
  width: 80px;
  opacity: 0.8;
}

/* ====== CONTENU PRINCIPAL ====== */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-intro h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.section-intro h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--or-ancien), transparent);
}

.section-intro p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--gris-pierre);
  font-style: italic;
  line-height: 1.6;
}

/* ====== GRILLE DE CARTES ====== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.card {
  background: var(--ivoire);
  border: 1px solid rgba(184, 146, 77, 0.3);
  padding: 2rem;
  border-radius: 4px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Grille à 3 colonnes garanties sur ordinateur, empilées sur mobile */
.grid-3 {
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Titres des encarts en grille 3 colonnes : une seule ligne, taille adaptée à la largeur */
.grid-3 .card h3 {
  font-size: clamp(1rem, 2.1vw, 1.35rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--or-ancien), var(--or-clair), var(--or-ancien));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--or-ancien);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  color: var(--or-fonce);
}

.card h3 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1rem, 2.1vw, 1.4rem);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  color: var(--bleu-nuit);
  text-align: center;
}

.card p {
  color: var(--gris-pierre);
  font-size: 1rem;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-fonce);
  border-bottom: 1px solid var(--or-ancien);
  padding-bottom: 2px;
}

/* ====== BOUTONS ====== */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  background: var(--bleu-nuit);
  color: var(--or-clair);
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--or-ancien);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn:hover {
  background: var(--or-ancien);
  color: var(--ivoire);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 146, 77, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--or-fonce);
}

.btn-secondary:hover {
  background: var(--or-fonce);
  color: var(--ivoire);
}

.btn-download::before {
  content: '⬇ ';
  margin-right: 0.5rem;
}

/* ====== CALENDRIER ====== */
.calendar-container {
  background: var(--ivoire);
  padding: 2.5rem;
  border: 1px solid rgba(184, 146, 77, 0.3);
  margin-top: 3rem;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--or-ancien);
}

.calendar-month {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--bleu-nuit);
  letter-spacing: 0.1em;
}

.calendar-nav {
  display: flex;
  gap: 0.5rem;
}

.calendar-nav button {
  background: transparent;
  border: 1px solid var(--or-ancien);
  color: var(--or-fonce);
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.calendar-nav button:hover {
  background: var(--or-ancien);
  color: var(--ivoire);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-name {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  color: var(--or-fonce);
  padding: 0.75rem 0;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--parchemin);
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--noir-encre);
  cursor: default;
  transition: all 0.2s ease;
  position: relative;
}

.calendar-day.empty {
  background: transparent;
}

.calendar-day.has-event {
  background: var(--vert-emeraude);
  color: var(--ivoire);
  cursor: pointer;
  font-weight: 600;
}

/* Code couleur par type */
.calendar-day.has-event.type-sortie { background: var(--vert-emeraude); }
.calendar-day.has-event.type-stage  { background: var(--pourpre); }

.calendar-day.has-event:hover {
  transform: scale(1.05);
  filter: brightness(1.18);
}

/* Sorties/stages passés : bordure dorée + légère atténuation (renvoient vers les souvenirs) */
.calendar-day.has-event.past {
  box-shadow: inset 0 0 0 3px var(--or-clair);
  opacity: 0.8;
}

/* Étoiles sur les dates d'événement (comme la bannière) */
.calendar-day.has-event::after,
.calendar-day.has-event::before {
  content: '';
  position: absolute;
  background: #fff3d6;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255, 243, 214, 0.85);
}
.calendar-day.has-event::after  { width: 4px; height: 4px; bottom: 5px; right: 7px; }
.calendar-day.has-event::before { width: 3px; height: 3px; top: 6px; left: 8px; }
/* Dates à venir : les étoiles scintillent */
.calendar-day.has-event:not(.past)::after  { animation: calStar 2.4s ease-in-out infinite; }
.calendar-day.has-event:not(.past)::before { animation: calStar 3.1s ease-in-out infinite 0.6s; }
@keyframes calStar {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50%      { opacity: 1;   transform: scale(1.2); }
}
/* Dates passées : étoiles opaques (fixes, sans scintillement) */
.calendar-day.has-event.past::after,
.calendar-day.has-event.past::before {
  opacity: 1;
  box-shadow: none;
}
@media (prefers-reduced-motion: reduce) {
  .calendar-day.has-event::after,
  .calendar-day.has-event::before { animation: none; }
}

.events-list {
  margin-top: 3rem;
}

.event-item {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  background: var(--ivoire);
  border-left: 4px solid var(--or-ancien);
  margin-bottom: 1.5rem;
  align-items: center;
  transition: all 0.3s ease;
}

.event-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.event-date {
  flex-shrink: 0;
  text-align: center;
  padding: 1rem;
  background: var(--bleu-nuit);
  color: var(--or-clair);
  min-width: 100px;
}

.event-date .day {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 600;
  display: block;
  line-height: 1;
}

.event-date .month {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  display: block;
}

.event-info h3 {
  margin-bottom: 0.5rem;
}

.event-info .place {
  color: var(--gris-pierre);
  font-style: italic;
  margin-bottom: 0.5rem;
}

/* ====== GALERIE SOUVENIRS ====== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(184, 146, 77, 0.3);
  background: var(--bleu-nuit);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 0.7;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(26, 35, 50, 0.95), transparent);
  color: var(--ivoire);
  transform: translateY(20%);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption h3 {
  font-family: 'Cinzel', serif;
  color: var(--or-clair);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.gallery-caption .date {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
}

/* ====== FORMULAIRE ====== */
.form-container {
  max-width: 700px;
  margin: 3rem auto;
  background: var(--ivoire);
  padding: 3rem;
  border: 1px solid rgba(184, 146, 77, 0.3);
  position: relative;
}

.form-container::before,
.form-container::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--or-ancien);
}

.form-container::before {
  top: 10px;
  left: 10px;
  border-right: none;
  border-bottom: none;
}

.form-container::after {
  bottom: 10px;
  right: 10px;
  border-left: none;
  border-top: none;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--or-fonce);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(184, 146, 77, 0.4);
  background: var(--parchemin);
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: var(--noir-encre);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--or-ancien);
  background: var(--ivoire);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* ====== TÉMOIGNAGES ====== */
.testimonials {
  margin-top: 4rem;
}

.testimonial {
  background: var(--ivoire);
  padding: 2.5rem;
  margin-bottom: 2rem;
  border-left: 4px solid var(--or-ancien);
  position: relative;
}

.testimonial::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: var(--or-ancien);
  opacity: 0.4;
  line-height: 1;
}

.testimonial p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--gris-pierre);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: var(--or-fonce);
}

/* ====== GALERIE PHOTOS SOUVENIR ====== */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(184, 146, 77, 0.3);
  transition: transform 0.3s ease;
}

.photo-grid img:hover {
  transform: scale(1.02);
}

/* ====== PIED DE PAGE ====== */
.site-footer {
  background: var(--bleu-nuit);
  background-image: linear-gradient(180deg, var(--bleu-nuit) 0%, var(--noir-encre) 100%);
  color: var(--ivoire);
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
  border-top: 2px solid var(--or-ancien);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.footer-section h4 {
  font-family: 'Cinzel', serif;
  color: var(--or-clair);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--or-fonce);
}

.footer-section p,
.footer-section a {
  color: var(--ivoire);
  opacity: 0.85;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--or-clair);
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--or-fonce);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--or-clair);
  opacity: 0.7;
}

/* ====== PAGES INTERNES ====== */
.page-header {
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--vert-emeraude) 100%);
  padding: 5rem 2rem 4rem;
  text-align: center;
  color: var(--ivoire);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(184, 146, 77, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(184, 146, 77, 0.1) 0%, transparent 50%);
}

.page-header > * {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--ivoire);
  margin-bottom: 1rem;
}

.page-header .breadcrumb {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--or-clair);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

/* ====== PRESTATIONS ====== */
.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--ivoire);
  padding: 2.5rem;
  border: 1px solid rgba(184, 146, 77, 0.3);
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--or-fonce), var(--or-clair));
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  font-family: 'Cinzel', serif;
  color: var(--bleu-nuit);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(184, 146, 77, 0.3);
}

.service-card .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--or-fonce);
  font-style: italic;
  margin: 1rem 0;
}

.service-card p {
  flex: 1;
  margin-bottom: 1.5rem;
}

.service-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ====== ANIMATIONS ====== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fade-in {
  animation: fadeInUp 1s ease forwards;
}

.banner-content h1,
.banner-content .tagline {
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.banner-content .tagline {
  animation-delay: 0.3s;
}

.triskel-rotate {
  animation: rotate 60s linear infinite;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
  }

  .main-nav ul.open {
    display: flex;
  }

  .main-nav a {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(184, 146, 77, 0.2);
  }

  .main-nav .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 0;
  }

  .main-nav .dropdown-menu a {
    padding-left: 3rem;
  }

  .main-nav li.has-dropdown > a::after {
    content: '';
  }

  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .banner { height: 25vh; }

  main { padding: 2rem 1rem; }

  .event-item {
    flex-direction: column;
    text-align: center;
  }

  .form-container { padding: 2rem 1.5rem; }
}

/* ====== MODAL ====== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, 0.85);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--ivoire);
  max-width: 700px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 3rem;
  position: relative;
  border: 1px solid var(--or-ancien);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: 1px solid var(--or-ancien);
  color: var(--or-fonce);
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--or-ancien);
  color: var(--ivoire);
}

/* Grille Contact — 4 encarts alignés (coordonnées + carte de visite) */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  align-items: stretch;
}
.contact-grid .card {
  display: flex;
  flex-direction: column;
}
.contact-grid .card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin: auto;
}
@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* Centrage des liens/boutons cliquables dans les encarts */
.service-card .btn {
  display: block;
  width: fit-content;
  align-self: center;
  margin-left: auto;
  margin-right: auto;
}
.card .card-link {
  display: block;
  text-align: center;
}

/* Code couleur des blocs date dans "Prochaines dates" */
.event-date.type-sortie { background: var(--vert-emeraude); color: var(--ivoire); }
.event-date.type-stage  { background: var(--pourpre); color: var(--ivoire); }

/* Bandeau de titre des événements, teinté par type */
.page-header.type-sortie { background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--vert-emeraude) 100%); }
.page-header.type-stage  { background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--pourpre) 100%); }

/* Calque d'étoiles scintillantes (au-dessus du voile, pleine luminosité) */
.banner-stars-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .banner-stars-layer { display: none; }
}
