:root {
  --purple: #310e31;
  --purple-2: #4a2349;
  --orange: #f09820;
  --orange-dark: #d87712;
  --cream: #fff0dc;
  --cream-2: #fff8ef;
  --ink: #191919;
  --muted: #6b6670;
  --line: #e9e3e9;
  --white: #ffffff;
  --whatsapp: #25d366;
  --facebook: #1877f2;
  --instagram: #d62976;
  --telegram: #229ed9;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(49,14,49,.09);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 9999; padding: 10px 14px; background: var(--purple); color: white; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(49,14,49,.08);
}
.navbar { min-height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 280px; height: auto; max-height: 82px; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 650; color: #2d2730; }
.nav-links a:hover { color: var(--orange-dark); }
.nav-cta { padding: 11px 18px; background: var(--purple); color: #fff !important; border-radius: 999px; }
.nav-cta:hover { background: var(--orange); }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 23px; height: 2px; margin: 5px auto; background: var(--purple); transition: .2s ease; }

.hero {
  background: var(--cream);
  padding: 110px 0 110px;
  text-align: center;
  overflow: hidden;
}
.eyebrow { margin: 0 0 20px; color: var(--orange-dark); font-size: 14px; font-weight: 750; letter-spacing: .20em; text-transform: uppercase; }
.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #181518;
  font-size: clamp(42px, 5.3vw, 73px);
  line-height: 1.09;
  letter-spacing: -.045em;
  font-weight: 820;
}
.hero-copy { max-width: 850px; margin: 52px auto 0; color: #3c353e; font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }
.hero-copy p { margin: 0 0 16px; }
.hero-copy p:last-child { margin-bottom: 0; }
.hero-copy strong { color: var(--purple); }

.social-section { background: #fff; padding: 88px 0 108px; scroll-margin-top: 105px; }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; max-width: 920px; margin: 0 auto; }
.organizer-section { padding-top: 62px; padding-bottom: 112px; }
.social-card {
  min-height: 174px;
  background: white;
  border: 1px solid rgba(49,14,49,.16);
  border-radius: 18px;
  padding: 25px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(49,14,49,.05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.social-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.social-icon { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 30px; font-weight: 800; }
.social-card strong { font-size: 17px; color: var(--purple); }
.social-card.whatsapp .social-icon { background: var(--whatsapp); }
.social-card.telegram .social-icon { background: var(--telegram); }
.social-card.facebook .social-icon { background: var(--facebook); font-family: Arial, sans-serif; font-size: 42px; line-height: 1; }
.social-card.instagram .social-icon { background: radial-gradient(circle at 32% 100%,#fed373 4%,#f15245 30%,#d92e7f 62%,#9b36b7 82%,#515ecf 100%); }
.social-icon svg { width: 38px; height: 38px; fill: currentColor; }

.section { padding: 94px 0; }
.section-soft { background: var(--cream-2); }
.section-heading { max-width: 760px; margin: 0 0 42px; }
.section-heading h2, .page-hero h1 { margin: 0; color: var(--purple); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.section-heading h2 { font-size: clamp(34px, 4.8vw, 58px); }
.section-heading p { margin: 17px 0 0; color: var(--muted); font-size: 19px; line-height: 1.65; }

.quick-cta { display: grid; grid-template-columns: 1fr auto; gap: 46px; align-items: center; padding: 60px 60px; background: var(--purple); border-radius: var(--radius); color: white; }
.quick-cta h2 { margin: 0 0 12px; font-size: clamp(31px, 4vw, 50px); line-height: 1.05; letter-spacing: -.035em; }
.quick-cta p { margin: 0; max-width: 680px; color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.6; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 13px 22px; border-radius: 999px; border: 1px solid transparent; font-weight: 750; text-decoration: none; cursor: pointer; transition: .18s ease; }
.btn-primary { background: var(--orange); color: #261624; }
.btn-primary:hover { background: #ffad3d; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--purple); }
.btn-light:hover { background: var(--cream); }
.btn-outline { border-color: var(--purple); color: var(--purple); background: transparent; }
.btn-outline:hover { background: var(--purple); color: white; }
.btn-whatsapp { background: var(--whatsapp); color: #092f18; }
.btn-whatsapp:hover { filter: brightness(.96); }

.page-hero { padding: 82px 0 58px; background: var(--cream); }
.page-hero .eyebrow { margin-bottom: 16px; }
.page-hero h1 { max-width: 850px; font-size: clamp(44px, 6vw, 72px); }
.page-hero p { max-width: 760px; margin: 18px 0 0; color: #514753; font-size: 20px; line-height: 1.6; }

.form-wrap { max-width: 920px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 42px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.field-full { grid-column: 1 / -1; }
label { display: block; margin: 0 0 8px; color: var(--purple); font-size: 14px; font-weight: 760; }
.required::after { content: " *"; color: var(--orange-dark); }
input, textarea {
  width: 100%;
  border: 1px solid #d9d2da;
  border-radius: 13px;
  padding: 13px 14px;
  background: #fff;
  color: #201a21;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,152,32,.14); }
textarea { min-height: 135px; resize: vertical; }
.help { display: block; margin-top: 7px; color: #7c737d; font-size: 12px; line-height: 1.45; }
.checkbox { display: flex; align-items: flex-start; gap: 11px; color: #554d56; line-height: 1.45; font-size: 14px; }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; pointer-events: none !important; }
.fallback-box { margin-top: 28px; padding: 23px 25px; border-radius: 16px; background: var(--cream-2); color: #564c57; line-height: 1.55; }
.fallback-box strong { color: var(--purple); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-copy h2 { margin: 0 0 20px; color: var(--purple); font-size: clamp(36px, 5vw, 60px); letter-spacing: -.035em; line-height: 1.06; }
.contact-copy p { color: #655b66; font-size: 18px; line-height: 1.65; }
.contact-email { margin-top: 28px; display: inline-flex; font-size: 20px; font-weight: 750; color: var(--purple); }
.contact-social { display: grid; gap: 13px; }
.contact-social a { display: flex; justify-content: space-between; align-items: center; padding: 19px 21px; border: 1px solid var(--line); border-radius: 15px; text-decoration: none; font-weight: 750; color: var(--purple); background: white; }
.contact-social a:hover { border-color: var(--orange); }

.legal { max-width: 850px; }
.legal h2 { margin: 42px 0 10px; color: var(--purple); font-size: 26px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #554d56; line-height: 1.7; }
.legal a { color: var(--purple); }

.status-card { max-width: 740px; margin: 0 auto; text-align: center; padding: 64px 38px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.status-mark { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--purple); font-size: 38px; font-weight: 850; }
.status-card h1 { margin: 0 0 15px; color: var(--purple); font-size: clamp(38px, 5vw, 58px); }
.status-card p { color: var(--muted); font-size: 18px; line-height: 1.6; }

.site-footer { background: var(--purple); color: white; padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 40px; align-items: start; }
.footer-logo { width: 255px; max-width: 100%; filter: none; }
.footer-title { margin: 6px 0 0; color: rgba(255,255,255,.70); }
.footer-links { display: grid; gap: 10px; }
.footer-links strong { color: var(--orange); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.footer-links a { color: white; text-decoration: none; opacity: .82; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.64); font-size: 13px; }

@media (max-width: 900px) {
  .navbar { min-height: 88px; }
  .brand img { width: 228px; max-height: 70px; }
  .menu-toggle { display: block; }
  .nav-links { position: absolute; display: none; left: 20px; right: 20px; top: 88px; padding: 18px; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 8px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 11px 10px; }
  .nav-cta { text-align: center; }
  .hero { padding: 85px 0 90px; }
  .social-section { padding: 76px 0 90px; scroll-margin-top: 90px; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-cta { grid-template-columns: 1fr; padding: 44px 34px; }
  .contact-layout { grid-template-columns: 1fr; gap: 38px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .hero { padding: 72px 0 74px; }
  .hero-copy { margin-top: 34px; }
  .social-section { padding: 64px 0 82px; scroll-margin-top: 86px; }
  .organizer-section { padding: 38px 0 80px; }
  .hero h1 { font-size: clamp(38px, 10.2vw, 57px); line-height: 1.1; }
  .hero-copy { font-size: 18px; }
  .social-grid { gap: 14px; }
  .social-card { min-height: 145px; padding: 20px 12px; }
  .social-icon { width: 56px; height: 56px; border-radius: 15px; }
  .section { padding: 68px 0; }
  .page-hero { padding: 58px 0 44px; }
  .form-card { padding: 25px 20px; border-radius: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .social-card { transition: none; } }

/* V3 — réseaux : états de diffusion et lisibilité */
.social-note { font-size: 12px; line-height: 1.4; font-weight: 500; color: #615366; text-align: center; }
.social-card { gap: 9px; }
.social-card .social-icon { margin-bottom: 3px; }
.footer-credit a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: #ffbf69; }
@media (max-width:620px) {
  .social-note { font-size: 11px; }
  .social-card { min-height: 160px; }
  .footer-credit { display: block; margin-top: 6px; }
}

/* V5 : le logo du footer et sa signature sont réunis. */
.footer-brand-link { display: inline-block; line-height: 0; max-width: 100%; }
.footer-brand-link:focus-visible { outline: 2px solid var(--orange); outline-offset: 7px; border-radius: 4px; }
.footer-title { margin: 4px 0 0; padding-left: 0; max-width: 255px; text-align: center; }
/* Page QR durable pour les supports imprimés */
.qr-hero { padding: 76px 0 38px; text-align: center; background: var(--cream); }
.qr-hero h1 { max-width: 800px; margin: 13px auto 22px; font-size: clamp(39px,6vw,66px); line-height: 1.09; letter-spacing: -.035em; }
.qr-hero p:not(.eyebrow) { max-width: 650px; margin: 0 auto; line-height: 1.6; font-size: clamp(18px,2.3vw,21px); }
.qr-section { padding: 48px 0 85px; }
.qr-main { display: flex; flex-direction: column; gap: 8px; max-width: 540px; margin: 0 auto 38px; text-align: center; }
.qr-join { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 19px 24px; border-radius: 16px; text-decoration: none; font-size: 21px; font-weight: 800; color: #082b17; background: #25d366; box-shadow: var(--shadow); transition: transform .2s ease; }
.qr-join:hover { transform: translateY(-2px); }
.qr-join svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.qr-main p { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.qr-other { text-align:center; font-weight: 750; margin-bottom: 21px; }
.qr-social-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; max-width: 820px; margin: 0 auto; }
.qr-social-grid .social-card { min-height: 165px; }
@media(max-width:620px) { .qr-hero { padding: 55px 0 34px; } .qr-section { padding: 38px 0 70px; } .qr-social-grid { grid-template-columns: 1fr; gap: 12px; } .qr-social-grid .social-card { min-height: auto; padding: 20px; } .qr-join { font-size: 19px; } }
