/* ===========================================================
   COMPLEXE ÉVÉNEMENTIEL DOUMA — Feuille de style principale
   =========================================================== */

:root {
  --color-primary: #5C1A34;   /* bordeaux/grenat (logo) */
  --color-primary-light: #7A2545;
  --color-primary-dark: #3E1123;
  --color-accent: #C9A253;    /* or (logo) */
  --color-accent-light: #E0C583;
  --color-bg: #FAF7F2;        /* crème */
  --color-text: #241017;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1DA851;
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1180px;
  --radius: 6px;
  --shadow-soft: 0 10px 30px rgba(36, 16, 23, 0.08);
  --shadow-strong: 0 20px 50px rgba(36, 16, 23, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-primary);
}

h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { color: #4a3540; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 12px;
}

/* ============ HEADER ============ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(92, 26, 52, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-accent), var(--color-accent-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small {
  font-family: var(--font-body);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.main-nav a.active,
.main-nav a:hover { color: var(--color-primary); }

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  border: 1px solid rgba(92,26,52,0.25);
  border-radius: 30px;
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 700;
}

.lang-switch button {
  background: transparent;
  border: none;
  padding: 6px 11px;
  cursor: pointer;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  font-family: var(--font-body);
}

.lang-switch button.active {
  background: var(--color-primary);
  color: #fff;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-primary);
  display: block;
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--color-bg);
  border-top: 1px solid rgba(92,26,52,0.1);
  padding: 6px 20px 18px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(92,26,52,0.08);
  font-weight: 500;
  font-size: 1rem;
}

.mobile-nav a.active { color: var(--color-primary); font-weight: 700; }

@media (min-width: 900px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ============ BUTTONS ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
}

.btn:active { transform: scale(0.97); }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover { background: var(--color-whatsapp-dark); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-gold {
  background: var(--color-accent);
  color: var(--color-primary-dark);
}

.btn-gold:hover { background: var(--color-accent-light); }

.btn-light {
  background: #fff;
  color: var(--color-primary);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ============ HERO ============ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(62,17,35,0.45) 0%, rgba(62,17,35,0.55) 40%, rgba(62,17,35,0.94) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-content .eyebrow { color: var(--color-accent-light); }

.hero h1 {
  color: #fff;
  margin-bottom: 14px;
  max-width: 800px;
}

.hero-tagline {
  font-family: var(--font-title);
  font-style: italic;
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  color: var(--color-accent-light);
  margin-bottom: 10px;
}

.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.02rem;
  margin-bottom: 30px;
  max-width: 520px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============ SECTIONS ============ */

section { padding: 72px 0; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 44px;
}

.section-head p { margin-top: 12px; }

.bg-cream-alt { background: #F3ECE1; }

.bg-primary {
  background: var(--color-primary);
  color: #fff;
}

.bg-primary h2, .bg-primary h3 { color: #fff; }
.bg-primary p { color: rgba(255,255,255,0.85); }

/* occasions */

.occasions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 700px) {
  .occasions-grid { grid-template-columns: repeat(5, 1fr); }
}

.occasion-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 14px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(92,26,52,0.06);
  transition: transform 0.25s ease;
}

.occasion-card:hover { transform: translateY(-4px); }

.occasion-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  color: var(--color-primary);
  display: block;
}

.occasion-card span {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-primary);
}

/* pricing cards */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 760px) {
  .pricing-grid { grid-template-columns: 1fr 1fr; }
}

.price-card {
  background: #fff;
  border-radius: 14px;
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(92,26,52,0.08);
  display: flex;
  flex-direction: column;
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--color-accent);
  background: linear-gradient(180deg, #fff 0%, #FBF6EC 100%);
}

.price-card .badge {
  position: absolute;
  top: -13px;
  right: 24px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 20px;
}

.price-card h3 { margin-bottom: 6px; }

.price-amount {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--color-primary);
  font-weight: 700;
  margin: 10px 0 4px;
}

.price-amount span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: #7a6570;
  font-weight: 500;
}

.price-list {
  list-style: none;
  margin: 20px 0 26px;
  flex-grow: 1;
}

.price-list li {
  padding: 9px 0;
  border-top: 1px dashed rgba(92,26,52,0.15);
  font-size: 0.93rem;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.price-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-whatsapp);
}

.price-list li.no svg { color: #c98d8d; }

/* comparison table */

.compare-table-wrap {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 20px;
  background: #fff;
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 540px;
}

table.compare th, table.compare td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(92,26,52,0.08);
  font-size: 0.93rem;
}

table.compare thead th {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-title);
  font-size: 1rem;
}

table.compare tbody tr:last-child td { border-bottom: none; }

table.compare td:first-child { font-weight: 600; color: var(--color-primary); width: 42%; }

.icon-yes { color: var(--color-whatsapp); }
.icon-no { color: #c98d8d; }

/* info box */

.info-box {
  background: #fff;
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  padding: 26px 28px;
  box-shadow: var(--shadow-soft);
}

.info-box h3 { margin-bottom: 14px; }

.info-box ul { list-style: none; }

.info-box li {
  padding: 7px 0;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.95rem;
}

.info-box li svg { width: 18px; height: 18px; color: var(--color-primary); flex-shrink: 0; }

.reassurance-note {
  margin-top: 30px;
  text-align: center;
  font-style: italic;
  color: var(--color-primary);
  font-family: var(--font-title);
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

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

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(36,16,23,0.85), transparent);
  color: #fff;
  font-size: 0.78rem;
  padding: 24px 10px 10px;
  font-weight: 500;
}

.gallery-category-title {
  font-family: var(--font-title);
  color: var(--color-primary);
  font-size: 1.25rem;
  margin: 46px 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-category-title:first-of-type { margin-top: 0; }

.gallery-category-title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: rgba(92,26,52,0.15);
}

/* lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 8, 12, 0.92);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px 16px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
}

.lightbox-caption {
  color: #fff;
  text-align: center;
  margin-top: 14px;
  font-size: 0.9rem;
  opacity: 0.85;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* about */

.about-flex {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .about-flex { grid-template-columns: 1fr 1fr; }
  .about-flex.reverse .about-img { order: 2; }
}

.about-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.about-text p { margin-bottom: 16px; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 26px;
}

.tag-pill {
  background: #fff;
  border: 1px solid rgba(92,26,52,0.15);
  color: var(--color-primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* contact */

.contact-hero {
  text-align: center;
  padding: 90px 0 70px;
}

.contact-card {
  background: #fff;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: var(--shadow-strong);
  padding: 44px 30px;
  text-align: center;
}

.contact-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 14px 0;
  font-size: 1rem;
  color: var(--color-text);
}

.contact-detail svg { width: 20px; height: 20px; color: var(--color-primary); flex-shrink: 0; }

.map-embed {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin-top: 40px;
}

.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* final CTA banner */

.cta-banner {
  background: var(--color-primary);
  background-image: radial-gradient(circle at 20% 20%, rgba(201,162,83,0.18), transparent 55%);
  color: #fff;
  text-align: center;
  padding: 70px 0;
}

.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 30px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* footer */

.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 46px 0 90px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
}

.footer-brand {
  font-family: var(--font-title);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.footer-col h4 {
  color: var(--color-accent-light);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-col a, .footer-col p { display: block; margin-bottom: 9px; color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--color-accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* floating whatsapp */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
  z-index: 900;
  transition: transform 0.2s ease;
  animation: pulse-wa 2.4s infinite;
}

.whatsapp-float:hover { transform: scale(1.08); }

.whatsapp-float svg { width: 30px; height: 30px; color: #fff; }

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* utilities */

.text-center { text-align: center; }
.mt-30 { margin-top: 30px; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 860px) { .grid-2 { grid-template-columns: 1fr 1fr; } }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-float { animation: none; }
}

/* page hero (non-home) */

.page-hero {
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  padding: 130px 0 60px;
  text-align: center;
}

.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 14px auto 0; }
