/* ===========================================
   KARY EVENTS — Marchés de Noël Afro-Caribéens
   Thème : Talents, Saveurs & Traditions
   =========================================== */

:root {
  --creme: #FFF9F0;
  --sable: #EADCCB;
  --terracotta: #C96A4A;
  --brique: #7A2E2E;
  --sauge-fonce: #1F4D3D;
  --dore: #C9A03D;
  --noir-doux: #2F2F2F;
  --camel: #C19A6B;

  --font-titre: "Cinzel", "Playfair Display", Georgia, serif;
  --font-affiche: "Anton", "Arial Narrow", sans-serif;
  --font-corps: "Lato", "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--noir-doux);
  font-family: var(--font-corps);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typo générale ---------- */

h1, h2, h3, .titre-affiche {
  font-family: var(--font-titre);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.5px;
}

.eyebrow {
  font-family: var(--font-corps);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dore);
  font-weight: 700;
  margin: 0 0 14px;
}

.lead {
  font-size: 19px;
  color: var(--noir-doux);
  opacity: 0.85;
  max-width: 620px;
}

/* ---------- Header / Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 240, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--sable);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1140px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-titre);
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--brique);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: border-color 0.2s;
}

.nav-links a:hover { border-color: var(--dore); }

.nav-cta {
  background: var(--brique);
  color: var(--creme);
  padding: 10px 22px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-toggle { display: none; }

/* ---------- HERO ---------- */

.hero {
  position: relative;
  background-color: var(--sauge-fonce);
  background-image:
    linear-gradient(180deg, rgba(31,77,61,0.90) 0%, rgba(31,77,61,0.78) 55%, rgba(31,77,61,0.92) 100%),
    url('img/ornament-palmier.jpg');
  background-size: auto, 220px auto;
  background-repeat: no-repeat, repeat;
  background-position: center, center;
  background-blend-mode: normal, multiply;
  color: var(--creme);
  padding: 140px 24px 110px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(31,77,61,0.55) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.hero .eyebrow {
  color: var(--dore);
  letter-spacing: 4px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 span {
  display: block;
  color: var(--dore);
  font-size: 0.55em;
  margin-top: 10px;
  letter-spacing: 6px;
}

.hero-sous-titre {
  font-family: var(--font-titre);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 2.4vw, 24px);
  color: var(--sable);
  margin: 0 0 36px;
}

.hero-dates {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 44px;
}

.hero-date-card {
  border: 1px solid var(--dore);
  background: var(--dore);
  padding: 18px 32px;
  border-radius: 2px;
  font-size: 15px;
  text-align: left;
  color: var(--noir-doux);
  font-weight: 700;
  min-width: 260px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.hero-date-card .hero-date-label {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 4px;
  font-weight: 700;
}

.hero-date-card strong {
  display: block;
  font-family: var(--font-titre);
  font-size: 22px;
  color: var(--brique);
  margin-bottom: 4px;
  line-height: 1.15;
}

.hero-date-card span.hero-date-lieu {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--noir-doux);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primaire {
  background: var(--dore);
  color: var(--noir-doux);
}

.btn-secondaire {
  background: transparent;
  color: var(--creme);
  border-color: rgba(255,249,240,0.5);
}

/* ---------- Sections génériques ---------- */

section { padding: 96px 0; }

.section-titre {
  text-align: center;
  margin-bottom: 64px;
}

.section-titre h2 {
  font-size: clamp(28px, 4vw, 40px);
  text-transform: uppercase;
  color: var(--brique);
}

.section-titre .lead {
  margin: 18px auto 0;
  text-align: center;
}

.fond-sable { background: var(--sable); }
.fond-creme { background: var(--creme); }

.fond-sauge {
  background: var(--sauge-fonce);
  color: var(--creme);
}
.fond-sauge .section-titre h2 { color: var(--dore); }
.fond-sauge .lead { color: var(--sable); opacity: 1; }

.diviseur {
  width: 64px;
  height: 2px;
  background: var(--dore);
  margin: 22px auto 0;
}

/* ---------- Pourquoi exposer (cartes) ---------- */

.grille-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.carte {
  background: var(--creme);
  border: 1px solid var(--sable);
  padding: 38px 30px;
  text-align: center;
  border-radius: 2px;
}

.carte-icone {
  width: 52px;
  height: 52px;
  margin: 0 auto 20px;
  border: 1px solid var(--dore);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brique);
  font-family: var(--font-titre);
  font-size: 20px;
}

.carte h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--brique);
}

.carte p {
  font-size: 15px;
  opacity: 0.85;
  margin: 0;
}

/* ---------- Les 2 événements ---------- */

.evenements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.evenement-carte {
  background: var(--creme);
  border: 1px solid var(--sable);
  overflow: hidden;
  border-radius: 2px;
}

.evenement-img {
  height: 240px;
  overflow: hidden;
}

.evenement-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evenement-corps { padding: 32px; }

.evenement-tag {
  display: inline-block;
  background: var(--sauge-fonce);
  color: var(--dore);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
  font-weight: 700;
}

.evenement-corps h3 {
  font-size: 23px;
  color: var(--brique);
  margin-bottom: 6px;
}

.evenement-meta {
  font-size: 14px;
  color: var(--camel);
  font-weight: 700;
  margin-bottom: 16px;
}

.evenement-corps p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 22px;
}

.evenement-liste {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  font-size: 14px;
}

.evenement-liste li {
  padding: 6px 0 6px 22px;
  position: relative;
  opacity: 0.85;
}

.evenement-liste li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--dore);
}

/* ---------- Galerie / Univers ---------- */

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

.galerie-item {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3/4;
}

.galerie-item.large { grid-row: span 2; aspect-ratio: auto; }

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.galerie-item:hover img { transform: scale(1.05); }

.galerie-legende {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(180deg, transparent, rgba(31,31,31,0.85));
  color: var(--creme);
  padding: 28px 16px 14px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
}

/* ---------- Qui recherchons-nous ---------- */

.univers-liste {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.univers-item {
  background: var(--creme);
  border: 1px solid var(--sable);
  padding: 28px 20px;
  text-align: center;
  border-radius: 2px;
}

.univers-item span {
  display: block;
  font-family: var(--font-titre);
  color: var(--brique);
  font-size: 17px;
  margin-bottom: 6px;
}

.univers-item small {
  font-size: 13px;
  opacity: 0.7;
}

/* ---------- Tarifs ---------- */

.tarifs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.tarif-carte {
  background: var(--creme);
  border: 1px solid var(--sable);
  border-radius: 2px;
  padding: 36px;
}

.tarif-carte h3 {
  color: var(--brique);
  font-size: 20px;
  margin-bottom: 4px;
}

.tarif-carte .evenement-meta { margin-bottom: 22px; }

.tarif-ligne {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--sable);
  font-size: 15px;
}

.tarif-ligne:last-child { border-bottom: none; }

.tarif-prix {
  font-family: var(--font-titre);
  font-size: 19px;
  color: var(--brique);
  font-weight: 700;
}

.tarif-note {
  margin-top: 20px;
  font-size: 13px;
  opacity: 0.7;
  font-style: italic;
}

/* ---------- Comment candidater (étapes) ---------- */

.etapes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.etape {
  position: relative;
  padding: 32px 26px;
  background: rgba(255,249,240,0.05);
  border: 1px solid rgba(234,220,203,0.25);
  border-radius: 2px;
}

.etape-num {
  font-family: var(--font-titre);
  font-size: 36px;
  color: var(--dore);
  opacity: 0.6;
  margin-bottom: 12px;
  display: block;
}

.etape h3 {
  font-size: 17px;
  color: var(--creme);
  margin-bottom: 8px;
}

.etape p {
  font-size: 14px;
  color: var(--sable);
  opacity: 0.85;
  margin: 0;
}

/* ---------- FAQ ---------- */

.faq-liste { max-width: 760px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--sable);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--font-corps);
  font-size: 16px;
  font-weight: 700;
  color: var(--noir-doux);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:after {
  content: "+";
  font-size: 22px;
  color: var(--dore);
  transition: transform 0.2s;
}

.faq-item.ouvert .faq-question:after { transform: rotate(45deg); }

.faq-reponse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 15px;
  opacity: 0.85;
}

.faq-reponse-inner { padding: 0 0 22px; }

.faq-item.ouvert .faq-reponse { max-height: 400px; }

/* ---------- Candidater (final CTA) ---------- */

.candidater {
  background-color: var(--brique);
  background-image:
    linear-gradient(160deg, rgba(122,46,46,0.93), rgba(31,77,61,0.93)),
    url('img/boules-arbre-nuit.jpg');
  background-size: cover;
  background-position: center;
  color: var(--creme);
  text-align: center;
}

.candidater h2 {
  font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase;
  color: var(--creme);
  margin-bottom: 18px;
}

.candidater p {
  max-width: 560px;
  margin: 0 auto 36px;
  opacity: 0.9;
  font-size: 17px;
}

.candidater-ctas {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

footer {
  background: var(--noir-doux);
  color: var(--sable);
  padding: 48px 24px 28px;
  text-align: center;
  font-size: 13px;
}

footer .nav-logo {
  color: var(--dore);
  display: block;
  margin-bottom: 12px;
}

footer a { opacity: 0.8; }
footer a:hover { opacity: 1; text-decoration: underline; }

.footer-liens {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 16px 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .nav-links { display: none; }
  .grille-3 { grid-template-columns: 1fr; }
  .evenements { grid-template-columns: 1fr; }
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .galerie-item.large { grid-row: span 1; aspect-ratio: 3/4; }
  .univers-liste { grid-template-columns: repeat(2, 1fr); }
  .tarifs { grid-template-columns: 1fr; }
  .etapes { grid-template-columns: 1fr !important; }
  section { padding: 64px 0; }
  .hero { padding: 110px 20px 80px; }
}

@media (min-width: 881px) and (max-width: 1100px) {
  .etapes[style*="repeat(5"] { grid-template-columns: repeat(3, 1fr) !important; }
}
