/* ============================================
   TWIRLING CLUB PERPIGNAN
   Design system — palette rose/orange/jaune
   ============================================ */

:root {
  --rose: #FF3EA5;
  --orange: #FF7A59;
  --jaune: #FFC845;
  --or: #E8A83B;
  --noir: #1a1a1a;
  --gris-900: #2a2a2a;
  --gris-700: #4a4a4a;
  --gris-500: #7a7a7a;
  --gris-300: #d1d1d1;
  --gris-200: #e8e8e8;
  --gris-100: #f4f4f4;
  --blanc: #ffffff;
  --creme: #FFF9F0;
  --creme-2: #FFF3E0;

  --grad-hot: linear-gradient(135deg, var(--rose) 0%, var(--orange) 55%, var(--jaune) 100%);
  --grad-soft: linear-gradient(135deg, #FFE1F0 0%, #FFE8D6 55%, #FFF2D0 100%);
  --grad-warm: linear-gradient(180deg, var(--creme) 0%, var(--creme-2) 100%);

  --shadow-sm: 0 2px 8px rgba(26,26,26,0.06);
  --shadow-md: 0 8px 24px rgba(26,26,26,0.08);
  --shadow-lg: 0 20px 60px rgba(255,62,165,0.15);
  --shadow-hot: 0 12px 32px rgba(255,62,165,0.25);

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 999px;

  --font-h: 'Fraunces', Georgia, serif;
  --font-b: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 76px;
  --container: 1200px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  color: var(--noir);
  background: var(--creme);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }

/* ============ TYPO ============ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--noir);
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.1rem; }
p { color: var(--gris-700); }

.eyebrow {
  font-family: var(--font-b);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--grad-hot);
}

.text-gradient {
  background: var(--grad-hot);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ LAYOUT ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: clamp(60px, 10vw, 120px) 0;
  position: relative;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-head p { font-size: 1.1rem; margin-top: 1rem; }

/* ============ HEADER / NAV ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26,26,26,0.06);
  min-height: var(--header-h);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--jaune);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--noir);
}
.brand-city {
  font-size: .78rem;
  font-weight: 600;
  color: var(--rose);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  padding: 10px 14px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--gris-900);
  border-radius: var(--r-full);
  transition: all .2s ease;
}
.site-nav a:hover { color: var(--rose); background: rgba(255,62,165,0.06); }
.site-nav a.active { color: var(--rose); background: rgba(255,62,165,0.1); }
.site-nav a.nav-cta {
  margin-left: 12px;
  color: var(--blanc);
  background: var(--grad-hot);
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255,62,165,0.25);
  transition: all .25s ease;
}
.site-nav a.nav-cta:hover {
  color: var(--blanc);
  background: var(--noir);
  box-shadow: 0 6px 16px rgba(26,26,26,0.25);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--noir);
  margin: 0 auto;
  transition: all .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-family: var(--font-b);
  font-weight: 600;
  font-size: .95rem;
  transition: all .25s ease;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-primary {
  background: var(--grad-hot);
  background-clip: padding-box;
  color: var(--blanc);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(255,62,165,0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255,62,165,0.32);
}
.btn-dark { background: var(--noir); color: var(--blanc); }
.btn-dark:hover { background: var(--rose); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--noir); border-color: var(--noir); }
.btn-outline:hover { background: var(--noir); color: var(--blanc); }
.btn-ghost { background: rgba(255,255,255,0.9); color: var(--noir); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--blanc); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 12vw, 160px);
  background: var(--grad-warm);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  z-index: 0;
}
.hero::before {
  width: 500px; height: 500px;
  background: var(--rose);
  top: -100px; right: -100px;
}
.hero::after {
  width: 400px; height: 400px;
  background: var(--jaune);
  bottom: -100px; left: -100px;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center;
}
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--rose); }
.hero-lead {
  font-size: 1.2rem;
  color: var(--gris-700);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--gris-700);
  font-weight: 500;
}
.hero-badge svg { flex-shrink: 0; color: var(--rose); }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-hot);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
  opacity: .92;
}
.hero-visual-bg::before {
  content: '';
  position: absolute;
  inset: 20px;
  background: var(--creme);
  border-radius: 50%;
}
.hero-visual img {
  position: relative;
  z-index: 2;
  width: 80%;
  height: 80%;
  object-fit: contain;
  border-radius: 50%;
  animation: floaty 6s ease-in-out infinite;
}
.hero-spin-badge {
  position: absolute;
  top: -20px;
  right: 20px;
  z-index: 3;
  width: 130px;
  height: 130px;
  background: var(--noir);
  color: var(--jaune);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 1.6rem;
  animation: batonSpin 7s ease-in-out infinite;
  box-shadow: var(--shadow-md);
  transform-origin: 50% 50%;
}
.hero-spin-badge span { display: block; text-align: center; line-height: 1; }
.hero-spin-badge small { font-size: .55rem; letter-spacing: .2em; display: block; margin-top: 4px; color: var(--blanc); }

@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Bâton : reste fixe, prend élan à gauche puis rotation rapide (retour propre à 360=0) */
@keyframes batonSpin {
  0%, 80%   { transform: rotate(0deg); }
  85%       { transform: rotate(-18deg); }
  100%      { transform: rotate(360deg); }
}

/* ============ CARDS ============ */
.card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
  border: 1px solid rgba(26,26,26,0.04);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-md);
  background: var(--grad-hot);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--gris-700); }

/* ============ FEATURES / VALUES ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.value-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26,26,26,0.04);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-hot);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card:hover::before { transform: scaleX(1); }
.value-num {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  background: var(--grad-hot);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  display: block;
}
/* Emoji variant : garde emoji couleur native + fond rond gradient soft */
.value-num.is-emoji {
  background: var(--grad-soft);
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: initial;
  background-clip: border-box;
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}
.value-card h3 { margin-bottom: 12px; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--grad-hot);
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 80px);
  color: var(--blanc);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hot);
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  top: -100px; left: -100px;
}
.cta-banner::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  bottom: -150px; right: -150px;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--blanc); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.9); font-size: 1.15rem; margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn { background: var(--blanc); color: var(--rose); }
.cta-banner .btn:hover { background: var(--noir); color: var(--blanc); }

/* ============ PAGE HEADER (interior pages) ============ */
.page-header {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--grad-warm);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--rose);
  filter: blur(100px);
  opacity: .25;
  top: -100px; right: -100px;
}
.page-header::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--jaune);
  filter: blur(100px);
  opacity: .35;
  bottom: -100px; left: -50px;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: 1rem; }
.page-header p {
  font-size: 1.2rem;
  max-width: 780px;
  margin: 0 auto;
  text-wrap: pretty;
  line-height: 1.55;
}

/* ============ BUREAU / TEAM ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.team-grid-preview {
  grid-template-columns: repeat(3, 1fr);
}
/* évite orphelin (2+1) : passe direct à 1 col en dessous du seuil 3-cols */
@media (max-width: 780px) {
  .team-grid-preview { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}
.team-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: all .3s ease;
  border: 1px solid rgba(26,26,26,0.04);
  position: relative;
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad-soft);
  top: -30px; right: -30px;
  transition: transform .4s ease;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-card:hover::before { transform: scale(4); }
.team-card > * { position: relative; z-index: 1; }
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--grad-hot);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 20px;
}
.team-name { font-size: 1.35rem; margin-bottom: 4px; }
.team-role {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 16px;
  display: block;
}
.team-desc { color: var(--gris-700); font-size: .95rem; line-height: 1.6; }

/* ============ COACHES ============ */
.coach-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.coach-item {
  background: var(--blanc);
  padding: 20px 24px;
  border-radius: var(--r-md);
  border-left: 4px solid var(--rose);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.coach-item.formation { border-left-color: var(--jaune); }
.coach-item strong { display: block; font-size: 1.05rem; margin-bottom: 4px; color: var(--noir); }
.coach-item span { font-size: .88rem; color: var(--gris-700); line-height: 1.5; }
.coach-badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-hot);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1rem;
}
.coach-item.formation .coach-badge { background: var(--jaune); color: var(--noir); }

/* ============ TARIFS ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.price-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  position: relative;
  border: 2px solid var(--gris-200);
  transition: all .3s ease;
}
.price-card.featured {
  border-color: transparent;
  background: var(--noir);
  color: var(--blanc);
  transform: scale(1.02);
}
.price-card.featured h3,
.price-card.featured .price-amount { color: var(--blanc); }
.price-card.featured .price-includes li { color: rgba(255,255,255,.8); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured:hover { transform: scale(1.02) translateY(-6px); }
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-hot);
  color: var(--blanc);
  padding: 6px 18px;
  border-radius: var(--r-full);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.price-head { margin-bottom: 24px; }
.price-card h3 { margin-bottom: 6px; }
.price-age { color: var(--gris-500); font-size: .9rem; font-weight: 500; }
.price-card.featured .price-age { color: rgba(255,255,255,.6); }
.price-amount {
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  color: var(--noir);
  margin: 16px 0 4px;
}
.price-amount .currency { font-size: 1.6rem; vertical-align: super; }
.price-period { font-size: .85rem; color: var(--gris-500); }
.price-includes {
  list-style: none;
  margin: 24px 0;
}
.price-includes li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .93rem;
  color: var(--gris-700);
}
.price-includes li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--grad-hot);
  margin-top: 3px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'><path d='M7.5 14L4 10.5l1.4-1.4L7.5 11.2l7.1-7.1L16 5.5z'/></svg>"), var(--grad-hot);
  background-size: contain;
}

/* ============ SCHEDULE ============ */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.schedule-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 28px;
  border: 1px solid rgba(26,26,26,.05);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.schedule-day {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: var(--grad-hot);
  color: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 900;
  line-height: 1;
}
.schedule-day span { font-size: 1.3rem; }
.schedule-day small { font-size: .65rem; letter-spacing: .1em; margin-top: 3px; }
.schedule-info h4 { margin-bottom: 4px; font-family: var(--font-b); font-size: 1.05rem; }
.schedule-info .hours { font-family: var(--font-h); font-weight: 700; color: var(--rose); font-size: 1.2rem; }
.schedule-info .place { font-size: .85rem; color: var(--gris-500); margin-top: 4px; }

/* ============ INFO CARDS (payment options, includes) ============ */
.info-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.info-card {
  padding: 28px;
  background: var(--creme);
  border-radius: var(--r-md);
  border: 1px dashed rgba(255,62,165,.3);
}
.info-card h4 { color: var(--rose); margin-bottom: 8px; font-family: var(--font-h); font-size: 1.1rem; }
.info-card p { font-size: .92rem; }

/* ============ EVENTS / ACTU ============ */
.events-list {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}
.event-card {
  background: var(--blanc);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(26,26,26,.05);
  transition: all .3s ease;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.event-card.upcoming { border-left: 5px solid var(--rose); }
.event-date {
  text-align: center;
  padding: 16px 8px;
  background: var(--grad-hot);
  border-radius: var(--r-md);
  color: var(--blanc);
  font-family: var(--font-h);
}
.event-date .day { font-size: 2rem; font-weight: 900; line-height: 1; display: block; }
.event-date .month { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; display: block; margin-top: 4px; }
.event-info h3 { margin-bottom: 8px; }
.event-info p { color: var(--gris-700); font-size: .95rem; margin-bottom: 8px; }
.event-info .event-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--gris-500);
}
.event-info .event-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ============ FORMS ============ */
.form-grid {
  display: grid;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 8px;
}
.form-field label .req { color: var(--rose); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gris-200);
  border-radius: var(--r-md);
  font: inherit;
  font-size: 1rem;
  color: var(--noir);
  background: var(--blanc);
  transition: all .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(255,62,165,.1);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-honeypot { position: absolute; left: -9999px; }
.form-submit { text-align: center; margin-top: 20px; }
.form-alert {
  padding: 16px 20px;
  border-radius: var(--r-md);
  margin-bottom: 24px;
  font-size: .95rem;
}
.form-alert.success { background: #E8F5E9; color: #2E7D32; border-left: 4px solid #2E7D32; }
.form-alert.error { background: #FFEBEE; color: #C62828; border-left: 4px solid #C62828; }

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--grad-soft);
  cursor: pointer;
  transition: transform .3s ease;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--rose);
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 900;
  opacity: .3;
}

/* ============ CONTACT BLOCK ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: grid; gap: 20px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--blanc);
  border-radius: var(--r-md);
  border: 1px solid rgba(26,26,26,.05);
}
.contact-info-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-hot);
  color: var(--blanc);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-info-item h4 { margin-bottom: 4px; font-family: var(--font-b); }
.contact-info-item p, .contact-info-item a { color: var(--gris-700); font-size: .95rem; }
.contact-info-item a:hover { color: var(--rose); }
.contact-map {
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 20px;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; }

/* ============ INSCRIPTION STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--blanc);
  padding: 32px 28px;
  border-radius: var(--r-lg);
  position: relative;
  border: 1px solid rgba(26,26,26,.05);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-h);
  font-weight: 900;
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 2px var(--rose);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; font-size: 1.2rem; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--noir);
  color: rgba(255,255,255,.7);
  padding-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer-brand .footer-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 20px;
  border: 2px solid var(--jaune);
}
.footer-tag { max-width: 320px; margin-bottom: 24px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.footer-social a:hover { background: var(--grad-hot); color: var(--blanc); transform: translateY(-2px); }
.footer-col h4 {
  color: var(--blanc);
  margin-bottom: 20px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-family: var(--font-b);
}
.footer-col a { display: block; padding: 6px 0; font-size: .93rem; color: rgba(255,255,255,.65); }
.footer-col a:hover { color: var(--jaune); }
.footer-address { font-size: .93rem; line-height: 1.7; margin-bottom: 12px; }
.footer-email { display: inline-block; color: var(--jaune); font-weight: 500; }
.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-credit { opacity: .5; }

/* ============ MODAL ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .2s ease;
}
.modal-panel {
  position: relative;
  background: var(--blanc);
  border-radius: var(--r-lg);
  max-width: 640px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 30px 80px rgba(26,26,26,0.35);
  animation: slideUp .3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gris-100);
  color: var(--noir);
  font-size: 1.6rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s ease;
}
.modal-close:hover { background: var(--noir); color: var(--blanc); transform: rotate(90deg); }
.modal-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
  padding-right: 40px;
}
.modal-date {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--r-md);
  background: var(--grad-hot);
  color: var(--blanc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-h);
  font-weight: 900;
  line-height: 1;
}
.modal-day { font-size: 1.7rem; }
.modal-month { font-size: .7rem; letter-spacing: .12em; margin-top: 3px; }
.modal-type {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,62,165,.1);
  color: var(--rose);
  border-radius: var(--r-full);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.modal-title { font-family: var(--font-h); font-size: 1.6rem; line-height: 1.15; }
.modal-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  padding: 20px;
  background: var(--creme);
  border-radius: var(--r-md);
  margin-bottom: 24px;
}
.modal-meta-item { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; }
.modal-meta-item strong { color: var(--noir); font-size: .78rem; letter-spacing: .05em; }
.modal-meta-item span { color: var(--gris-700); }
.modal-body {
  color: var(--gris-700);
  line-height: 1.7;
  white-space: pre-line;
  font-size: .96rem;
  margin-bottom: 28px;
}
.modal-footer {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--gris-200);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
body.modal-locked { overflow: hidden; }

/* ============ ANIMATIONS ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-lead, .hero-badges { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { max-width: 400px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .event-card { grid-template-columns: 80px 1fr; }
  .event-card .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--creme);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform .3s ease;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { padding: 14px 20px; text-align: center; }
  .site-nav a.nav-cta { margin-left: 0; margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  .hero-spin-badge { width: 100px; height: 100px; font-size: 1.2rem; }
  .price-card.featured { transform: none; }
}
