/* ═══════════════════════════════════════════════
   AnnoncIA Landing — Styles partagés
   ═══════════════════════════════════════════════ */

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

:root {
  --ink:       #0f1117;
  --paper:     #f8f5ef;
  --cream:     #ede9e0;
  --gold:      #b89a5a;
  --gold-lt:   #d4b87a;
  --gold-dk:   #8a7040;
  --muted:     #7a7570;
  --border:    #d6d0c4;
  --dark:      #0f1117;
  --dark-2:    #181c26;
  --danger:    #c0392b;
  --success:   #27ae60;
  --nav-h:     68px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ─────────────────────────────────────
   TYPOGRAPHIE
───────────────────────────────────── */
.serif { font-family: 'Cormorant Garamond', serif; }

h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-title em { font-style: italic; color: var(--gold); }

.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ─────────────────────────────────────
   NAVIGATION
───────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(15,17,23,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 5%;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: #fff;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  margin-right: 1rem;
}
.nav-logo span { color: var(--gold); font-style: italic; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 1;
}

.nav-link {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  padding: 0.4rem 0.85rem;
  border-radius: 5px;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-link:hover { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.06); }
.nav-link.active { color: var(--gold); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-ghost {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  padding: 0.45rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  transition: all 0.15s;
  cursor: pointer;
  background: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.35); }

.btn-gold {
  font-size: 0.82rem;
  color: #fff;
  padding: 0.5rem 1.2rem;
  background: var(--gold);
  border: none;
  border-radius: 6px;
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-lt); box-shadow: 0 4px 14px rgba(184,154,90,0.35); }

/* Burger (mobile) */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ─────────────────────────────────────
   PAGE WRAPPER
───────────────────────────────────── */
.page-body {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ─────────────────────────────────────
   SECTIONS COMMUNES
───────────────────────────────────── */
.section {
  padding: 5rem 5%;
}

.section-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-center .section-sub { text-align: center; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
}

/* ─────────────────────────────────────
   BOUTONS GÉNÉRIQUES
───────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: var(--gold-lt); box-shadow: 0 6px 20px rgba(184,154,90,0.35); }

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

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ─────────────────────────────────────
   CARDS
───────────────────────────────────── */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); transform: translateY(-2px); }

/* ─────────────────────────────────────
   PAGE HERO (internes)
───────────────────────────────────── */
.page-hero {
  background: var(--dark);
  padding: 5rem 5% 4rem;
  text-align: center;
}
.page-hero .section-label { display: block; margin-bottom: 1rem; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 1rem;
}
.page-hero h1 em { color: var(--gold); font-style: italic; }
.page-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  padding: 4rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo { font-size: 1.8rem; margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.82rem; line-height: 1.7; max-width: 240px; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ─────────────────────────────────────
   BADGE PLAN
───────────────────────────────────── */
.badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.badge-gold    { background: rgba(184,154,90,0.15); color: var(--gold); }
.badge-blue    { background: rgba(46,134,193,0.12); color: #2E86C1; }
.badge-dark    { background: rgba(26,58,92,0.12);   color: #1A3A5C; }
.badge-orange  { background: rgba(230,126,34,0.12); color: #E67E22; }

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 680px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-burger { display: flex; }
  .nav.menu-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--dark-2);
    padding: 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.menu-open .nav-link { padding: 0.65rem 1rem; }
  .section { padding: 3.5rem 5%; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
