/* ============================================================
   TERRES D'OR AFRIK — Feuille de styles principale
   ============================================================ */

/* ---- Variables ---- */
:root {
  --gold:      #C2974B;
  --gold-deep: #9A7430;
  --ink:       #14110C;
  --muted:     #6F675A;
  --line:      #E7E1D6;
  --bg:        #FBFAF6;
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
a   { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

/* ---- Utilitaires ---- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.eyebrow {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 22px;
}
.section-pad {
  padding-top:    clamp(80px, 10vw, 140px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
}
.lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 20px;
}
.diamond {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 500;
}

@keyframes toafFade {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}


/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Marque / logo */
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  color: inherit;
  z-index: 110;
  position: relative;
}
.brand img         { width: 46px; height: 46px; border-radius: 50%; }
.brand-name        { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 20px; letter-spacing: 0.02em; }
.brand-sub         { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* Nav desktop */
nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
nav a.link {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
nav a.link:hover { color: var(--gold-deep); }

/* Bouton WhatsApp dans la nav */
.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.btn-wa:hover { background: var(--ink); color: var(--bg); }
.btn-wa .dot  { width: 7px; height: 7px; border-radius: 50%; background: #075E54; display: inline-block; }

/* Bouton hamburger (masqué sur desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--ink);
  position: relative;
  z-index: 110;
}

/* Backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(20, 17, 12, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s, visibility .28s;
  z-index: 90;
}
.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}


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

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 72% 12%, rgba(194,151,75,.30), transparent 58%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 13px),
    var(--ink);
}
.hero.has-img { background: var(--ink); }

.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,17,12,.85), rgba(20,17,12,.45));
}

.hero-photo-tag {
  position: absolute;
  left: 20px;
  bottom: 18px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(251,250,246,.4);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero-photo-tag .pill { border: 1px solid rgba(251,250,246,.3); padding: 2px 7px; border-radius: 4px; }

.hero-inner   { position: relative; width: 100%; z-index: 2; }
.hero-content { max-width: 760px; animation: toafFade .9s ease both; }

.hero-kicker {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 26px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--bg);
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}
.hero-sub {
  color: rgba(251,250,246,.74);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.6;
  margin: 28px 0 0;
  max-width: 560px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 999px;
  transition: transform .2s;
}
.cta-primary:hover { transform: translateY(-2px); }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid rgba(251,250,246,.32);
  transition: border-color .2s, color .2s;
}
.cta-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid rgba(251,250,246,.14);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b    { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 26px; }
.stat span { color: rgba(251,250,246,.55); font-size: 13px; }


/* ============================================================
   À PROPOS
   ============================================================ */

.apropos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.photo-frame {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, #F0E9DC 0 2px, transparent 2px 12px), #F6F1E7;
}
.photo-frame.has-img { background: none; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}
.photo-ph .tag { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: 0.04em; color: #B5A684; border: 1px solid #D9CDB2; padding: 3px 9px; border-radius: 4px; }
.photo-ph .cap { font-family: ui-monospace, monospace; font-size: 12px; color: #9A8C6B; max-width: 230px; line-height: 1.5; }


/* ============================================================
   SERVICES
   ============================================================ */

.services {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.services-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}
.services-link {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  white-space: nowrap;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.service {
  background: #fff;
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  transition: background .2s;
}
.service:hover { background: var(--bg); }
.service .num  { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; color: var(--gold); }
.service h3    { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 25px; margin: 0; line-height: 1.15; }
.service p     { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0; }


/* ============================================================
   TÉMOIGNAGES
   ============================================================ */

.temoignages {
  background:
    radial-gradient(120% 90% at 18% 0%, rgba(194,151,75,.22), transparent 55%),
    var(--ink);
}
.temoignages .eyebrow { color: var(--gold); }
.temoignages h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  color: var(--bg);
  margin: 0 0 64px;
  max-width: 720px;
}
.temoignages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
figure.tcard {
  margin: 0;
  background: rgba(251,250,246,.04);
  border: 1px solid rgba(251,250,246,.12);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.tcard .qmark    { color: var(--gold); font-family: 'Cormorant Garamond', serif; font-size: 56px; line-height: 0.4; height: 26px; }
.tcard blockquote{ margin: 0; color: rgba(251,250,246,.88); font-size: 17px; line-height: 1.65; }
.tcard figcaption{ display: flex; align-items: center; gap: 14px; margin-top: auto; }
.tcard .avatar   { width: 42px; height: 42px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: 'Cormorant Garamond', serif; font-size: 20px; flex: none; }
.tcard .who b    { color: var(--bg); font-weight: 600; font-size: 15px; display: block; }
.tcard .who span { color: rgba(251,250,246,.5); font-size: 13px; }


/* ============================================================
   CONTACT & FORMULAIRE
   ============================================================ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(40px, 6vw, 80px);
}
.contact-methods { display: grid; gap: 18px; margin-bottom: 36px; }
.cmethod {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color .2s;
}
.cmethod:hover      { border-color: var(--gold); }
.cmethod .ic        { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; font-size: 18px; }
.cmethod .ic.gold   { background: var(--gold); color: var(--ink); }
.cmethod .ic.dark   { background: var(--ink);  color: var(--gold); }
.cmethod .lbl       { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); display: block; }
.cmethod .val       { font-weight: 600; font-size: 16px; }
.loc { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 15px; }

/* Carte formulaire */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 44px);
}
form.contact-form { display: flex; flex-direction: column; gap: 20px; }
form.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
form.contact-form .opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: #B5A684; }
form.contact-form input,
form.contact-form textarea {
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--bg);
  outline: none;
  transition: border-color .2s, background .2s;
}
form.contact-form input:focus,
form.contact-form textarea:focus { border-color: var(--gold); background: #fff; }
form.contact-form textarea { resize: vertical; }
form.contact-form button {
  margin-top: 6px;
  background: var(--gold);
  color: var(--ink);
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 16px;
  padding: 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
form.contact-form button:hover    { background: var(--ink); color: var(--bg); }
form.contact-form button:disabled { opacity: .6; cursor: wait; }

/* Honeypot anti-spam */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-msg { font-size: 14px; line-height: 1.5; margin: 0; padding: 12px 14px; border-radius: 9px; display: none; }
.form-msg.err { display: block; background: #fdecec; color: #9a2828; border: 1px solid #f3c6c6; }
.form-note { margin: 0; text-align: center; color: #B5A684; font-size: 12.5px; line-height: 1.5; }

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  min-height: 360px;
}
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.form-success h3     { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 30px; margin: 0; }
.form-success p      { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 0; max-width: 320px; }
.form-success a      { margin-top: 8px; display: inline-flex; align-items: center; gap: 9px; background: var(--ink); color: var(--gold); text-decoration: none; font-weight: 600; font-size: 15px; padding: 13px 24px; border-radius: 999px; }


/* ============================================================
   FOOTER
   ============================================================ */

footer { background: var(--ink); color: rgba(251,250,246,.7); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 44px;
  padding-top: 64px;
  padding-bottom: 36px;
}
.footer-brand             { display: flex; flex-direction: column; gap: 18px; max-width: 320px; }
.footer-brand .row        { display: flex; align-items: center; gap: 12px; }
.footer-brand img         { width: 44px; height: 44px; border-radius: 50%; }
.footer-brand .name       { font-family: 'Cormorant Garamond', serif; font-weight: 700; font-size: 19px; color: var(--bg); }
.footer-brand p           { margin: 0; font-size: 14px; line-height: 1.65; }
.footer-col               { display: flex; flex-direction: column; gap: 13px; }
.footer-col .ttl          { color: var(--gold); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 4px; }
.footer-col a,
.footer-col span          { text-decoration: none; color: rgba(251,250,246,.7); font-size: 14px; }
.footer-col a:hover       { color: var(--gold); }
.footer-bottom            { border-top: 1px solid rgba(251,250,246,.1); }
.footer-bottom .row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(251,250,246,.45);
  padding-top: 22px;
  padding-bottom: 22px;
}


/* ============================================================
   BOUTON WHATSAPP FLOTTANT
   ============================================================ */

.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  animation: waPulse 2.4s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 10px 30px rgba(37,211,102,.55); }

@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 24px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 0 0 12px rgba(37,211,102,0); }
}


/* ============================================================
   RESPONSIVE — Tablette & Mobile (≤ 860px)
   ============================================================ */

@media (max-width: 860px) {
  .wrap { padding-left: 20px; padding-right: 20px; }

  /* Cache le hamburger, le backdrop et la nav sur mobile */
  .menu-toggle  { display: none; }
  .nav-backdrop { display: none; }
  nav           { display: none; }

  /* Hero */
  .hero { min-height: auto; padding-top: 72px; padding-bottom: 72px; }
  .hero-stats { gap: 22px; }

  /* Services */
  .services-head { margin-bottom: 40px; }
}

/* Mobile étroit (≤ 480px) */
@media (max-width: 480px) {
  .hero-stats .stat b { font-size: 22px; }
  .service { padding: 32px 26px; min-height: auto; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* Desktop — cache le hamburger et le backdrop */
@media (min-width: 861px) {
  .menu-toggle  { display: none; }
  .nav-backdrop { display: none; }
}


/* ============================================================
   GALERIE
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--line);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(20,17,12,.75));
  color: #fff;
  font-size: 13px;
  padding: 24px 14px 12px;
  opacity: 0;
  transition: opacity .25s;
}
.gallery-item:hover .gallery-caption { opacity: 1; }
.gallery-empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 64px 20px;
  color: var(--muted);
  font-size: 16px;
  border: 2px dashed var(--line);
  border-radius: 12px;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,17,12,.92);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img  { max-width: 90vw; max-height: 85vh; border-radius: 6px; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}


/* ============================================================
   VIDÉOS
   ============================================================ */

.videos-section {
  background:
    radial-gradient(120% 90% at 80% 0%, rgba(194,151,75,.2), transparent 55%),
    var(--ink);
}
.videos-section .eyebrow { color: var(--gold); }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.video-card {
  text-decoration: none;
  color: inherit;
  background: rgba(251,250,246,.06);
  border: 1px solid rgba(251,250,246,.12);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, border-color .2s;
  display: block;
}
.video-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.video-thumb iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.video-info          { padding: 16px 18px 20px; }
.video-info strong   { display: block; color: var(--bg); font-size: 15px; font-weight: 600; margin-bottom: 6px; line-height: 1.4; }
.video-info span     { color: rgba(251,250,246,.55); font-size: 13px; line-height: 1.5; }
.videos-empty        { color: rgba(251,250,246,.4); text-align: center; padding: 60px 20px; font-size: 16px; grid-column: 1/-1; }

/* Footer brand sub */
.brand-sub-footer    { color: var(--gold); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0; }
