@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
  --gold: #C8882A;
  --gold-light: #E0AF6A;
  --gold-pale: #EDD4A0;
  --gold-dim: #7A5418;
  --dark: #17140F;
  --dark-mid: #1E1B13;
  --dark-warm: #272318;
  --dark-border: rgba(200,136,42,.13);
  --cream: #EFE6D4;
  --cream-mid: rgba(239,230,212,.60);
  --muted: rgba(239,230,212,.32);
  --red: #C0453C;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
}

/* Grain film — donne de la matière, enlève l'aspect "template" */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ── NAV ── */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 26px 60px; transition: all .4s; }
#navbar.scrolled { background: rgba(23,20,15,.96); backdrop-filter: blur(12px); padding: 16px 60px; border-bottom: 1px solid var(--dark-border); }
.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 14px; }
.nav-mark { width: 36px; height: 36px; }
.nav-wordmark { display: flex; flex-direction: column; gap: 2px; }
.nav-firm { font-size: 17px; font-weight: 600; letter-spacing: 5px; color: var(--cream); line-height: 1; }
.nav-sub { font-size: 8px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); opacity: .8; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; font-size: 13px; font-weight: 400; color: var(--muted); transition: color .3s; letter-spacing: 0; }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-cta { background: var(--gold) !important; color: var(--dark) !important; padding: 10px 22px; font-weight: 600 !important; font-size: 12px !important; border-radius: 3px; transition: background .3s !important; }
.nav-cta:hover { background: var(--gold-light) !important; }

/* ── BOUTONS ── */
.btn-gold { display: inline-block; background: var(--gold); color: var(--dark); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .5px; padding: 15px 34px; border-radius: 3px; transition: background .3s, transform .2s; }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { display: inline-block; border: 1px solid rgba(239,230,212,.2); color: var(--cream-mid); text-decoration: none; font-size: 12px; letter-spacing: .3px; padding: 15px 34px; border-radius: 3px; transition: all .3s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-outline-gold { display: inline-block; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; font-size: 12px; letter-spacing: .3px; padding: 15px 34px; border-radius: 3px; transition: all .3s; }
.btn-outline-gold:hover { background: var(--gold); color: var(--dark); }

/* ── PAGE HERO ── */
.page-hero { height: 480px; position: relative; display: flex; align-items: center; overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: var(--dark-mid); }
.page-hero-lines { position: absolute; inset: 0; opacity: .04; background-image: repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(200,136,42,.9) 60px); }
.page-hero-content { position: relative; z-index: 2; padding: 0 60px; padding-top: 80px; }
.page-hero-eyebrow { display: block; font-family: 'Lora', serif; font-style: italic; font-size: 14px; color: var(--gold); margin-bottom: 20px; letter-spacing: 0; }
.page-hero-title { font-size: 52px; font-weight: 600; color: var(--cream); line-height: 1.08; letter-spacing: -.5px; margin-bottom: 20px; }
.page-hero-title em { font-family: 'Lora', serif; font-style: italic; font-weight: 400; color: var(--gold); }
.page-hero-sub { font-size: 15px; color: var(--cream-mid); max-width: 500px; line-height: 1.8; }

/* ── SHARED ── */
.section { padding: 100px 60px; }
.section-dark { background: var(--dark-mid); }
.section-warm { background: var(--dark-warm); }

/* Eyebrow — plus naturel, moins corporate */
.eyebrow { display: block; font-family: 'Lora', serif; font-style: italic; font-size: 14px; color: var(--gold); margin-bottom: 14px; letter-spacing: 0; }

/* Titres — les em utilisent le serif pour un mix humain/précis */
.section-title { font-size: 40px; font-weight: 600; letter-spacing: -.5px; line-height: 1.12; margin-bottom: 20px; }
.section-title.large { font-size: 50px; }
.section-title em { font-family: 'Lora', serif; font-style: italic; font-weight: 400; color: var(--gold); }

.accent-line { width: 28px; height: 1px; background: var(--gold); margin-bottom: 32px; opacity: .6; }
.accent-line.c { margin-left: auto; margin-right: auto; }
.body-text { font-size: 15px; line-height: 1.9; color: var(--cream-mid); max-width: 560px; }

/* ── CTA BAND ── */
.cta-band { position: relative; padding: 110px 60px; text-align: center; overflow: hidden; background: var(--gold); }
.cta-band-body { position: relative; z-index: 2; }
.cta-band .section-title { color: var(--dark); }
.cta-band .section-title em { color: rgba(23,20,15,.55); }
.cta-band .body-text { color: rgba(23,20,15,.6); margin: 0 auto 40px; }
.cta-band .eyebrow { color: rgba(23,20,15,.45); }

/* ── FOOTER ── */
footer { background: var(--dark-mid); border-top: 1px solid var(--dark-border); padding: 80px 60px 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-desc { font-size: 13px; line-height: 1.8; color: var(--muted); margin-top: 16px; max-width: 240px; }
.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.social-link { width: 34px; height: 34px; border: 1px solid rgba(239,230,212,.1); display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--muted); font-size: 11px; border-radius: 2px; transition: all .3s; }
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h5 { font-family: 'Lora', serif; font-style: italic; font-size: 13px; font-weight: 400; color: var(--gold); opacity: .7; margin-bottom: 18px; letter-spacing: 0; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { text-decoration: none; font-size: 13px; color: var(--muted); transition: color .3s; }
.footer-col ul li a:hover { color: var(--cream); }
.footer-bottom { border-top: 1px solid var(--dark-border); padding-top: 28px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.rd1 { transition-delay: .15s; } .rd2 { transition-delay: .3s; } .rd3 { transition-delay: .45s; }

/* ── WA ── */
.wa-btn { position: fixed; bottom: 32px; right: 32px; z-index: 200; height: 54px; padding: 0 16px; min-width: 54px; border-radius: 27px; display: flex; align-items: center; justify-content: center; text-decoration: none; background: var(--gold); color: var(--dark); box-shadow: 0 6px 24px rgba(200,136,42,.38); transition: all .35s cubic-bezier(.4,0,.2,1); overflow: hidden; white-space: nowrap; }
.wa-btn svg { width: 22px; height: 22px; fill: var(--dark); flex-shrink: 0; }
.wa-btn::after { content: 'WhatsApp'; font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .5px; max-width: 0; overflow: hidden; transition: max-width .35s cubic-bezier(.4,0,.2,1), margin-left .35s; margin-left: 0; }
.wa-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(200,136,42,.5); padding: 0 20px; }
.wa-btn:hover::after { max-width: 100px; margin-left: 10px; }


/* ══════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Empêche le scroll horizontal sur toutes les pages */
  html, body { overflow-x: hidden; max-width: 100%; }

  /* NAV */
  #navbar { padding: 18px 24px; }
  #navbar.scrolled { padding: 12px 24px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 9px; letter-spacing: 1px; }
  .nav-links li:not(:last-child) { display: none; } /* cache tous sauf le CTA */
  .nav-cta { padding: 9px 18px !important; font-size: 10px !important; }

  /* PAGE HERO */
  .page-hero { height: auto; min-height: 360px; align-items: flex-end; }
  .page-hero-content { padding: 0 24px 52px; padding-top: 90px; }
  .page-hero-title { font-size: 36px; letter-spacing: -.5px; }
  .page-hero-sub { font-size: 14px; max-width: 100%; }

  /* SHARED */
  .section { padding: 60px 24px; }
  .section-title { font-size: 30px; letter-spacing: -.5px; }
  .section-title.large { font-size: 36px; }
  .eyebrow { font-size: 13px; }
  .body-text { font-size: 14px; max-width: 100%; }
  .accent-line.c { margin-left: 0; }

  /* CTA BAND */
  .cta-band { padding: 72px 24px; }

  /* FOOTER */
  footer { padding: 52px 24px 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 11px; }

  /* WA */
  .wa-btn { bottom: 20px; right: 20px; width: 54px; height: 54px; min-width: 54px; padding: 0; font-size: 22px; justify-content: center; }
  .wa-btn::after { display: none; }
}

/* ── MOBILE EXTRA ── */
@media (max-width: 768px) {
  /* Cacher les cartes flottantes du hero (trop encombrantes sur mobile) */
  .fscard { display: none; }


  /* Boutons plus grands pour le touch */
  .btn-gold, .btn-outline, .btn-outline-gold,
  .btn-hero-primary, .btn-hero-sec { padding: 16px 28px; font-size: 13px; min-height: 50px; }

  /* Nav logo : réduire le sous-titre */
  .nav-sub { display: none; }
  .nav-firm { font-size: 15px; letter-spacing: 4px; }
  .nav-mark { width: 30px; height: 30px; }

  /* Footer bottom : texte centré */
  .footer-bottom { text-align: center; }

  /* CTA band : texte centré sur mobile */
  .cta-band { text-align: left; }
  .accent-line.c { margin-left: 0; }
}

/* TABLETTE (769–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .section { padding: 80px 40px; }
  .page-hero-content { padding: 0 40px; padding-top: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
