/* ══════════════════════════════════════
   NOVA STRATÉGIE — CSS Global
   ══════════════════════════════════════ */

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

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

:root {
  --bleu:       #0f2757;
  --bleu-mid:   #1a3a6b;
  --bleu-clair: #2d5be3;
  --bleu-pale:  #e8edf8;
  --or:         #c9a84c;
  --or-pale:    #f0d98a;
  --or-light:   #fdf8ec;
  --blanc:      #ffffff;
  --gris:       #f4f6fb;
  --texte:      #1a1f2e;
  --muted:      #6b7494;
  --border:     rgba(15,39,87,.1);
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  26px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--blanc);
  color: var(--texte);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  padding-top: 76px;
}

/* ── TYPO ── */
h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.2; }
p { line-height: 1.75; }

.section-label {
  font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 600;
  color: var(--or); display: block; margin-bottom: .8rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600; color: var(--bleu);
  margin-bottom: 1.2rem; line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--bleu-clair); }
.section-desc { color: var(--muted); font-size: .95rem; line-height: 1.8; max-width: 560px; }

/* ── LAYOUT ── */
section { padding: 6rem 2rem; }
.container { max-width: 1140px; margin: 0 auto; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.1rem 3rem;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(15,39,87,.08); }

.nav-logo { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.nav-logo-mark {
  width: 36px; height: 36px;
  background: var(--bleu);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.nav-logo-mark::after {
  content: 'N';
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--or);
}
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 600;
  color: var(--bleu); letter-spacing: .02em;
}
.nav-logo-text span { color: var(--or); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: .85rem; font-weight: 500;
  transition: color .2s; padding: .3rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--bleu); border-bottom-color: var(--or); }

.nav-cta {
  background: var(--bleu); color: white;
  padding: .6rem 1.4rem; border-radius: var(--radius-sm);
  text-decoration: none; font-size: .85rem; font-weight: 600;
  transition: background .25s, transform .2s;
  border: 2px solid var(--bleu);
}
.nav-cta:hover { background: var(--bleu-mid); transform: translateY(-2px); }

/* ── BOUTONS ── */
.btn-bleu {
  background: var(--bleu); color: white;
  padding: .85rem 2rem; border-radius: var(--radius-sm);
  text-decoration: none; font-size: .88rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(15,39,87,.2);
  border: none; cursor: pointer; font-family: inherit;
}
.btn-bleu:hover { background: var(--bleu-mid); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(15,39,87,.3); }

.btn-or {
  background: var(--or); color: var(--bleu);
  padding: .85rem 2rem; border-radius: var(--radius-sm);
  text-decoration: none; font-size: .88rem; font-weight: 700;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .25s, transform .2s;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-or:hover { background: var(--or-pale); transform: translateY(-2px); }

.btn-outline {
  border: 2px solid var(--border); color: var(--bleu);
  padding: .85rem 2rem; border-radius: var(--radius-sm);
  text-decoration: none; font-size: .88rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: border-color .25s, background .25s;
  background: transparent; cursor: pointer; font-family: inherit;
}
.btn-outline:hover { border-color: var(--bleu); background: var(--bleu-pale); }

/* ── PAGE HERO INTERNE ── */
.page-hero {
  background: var(--bleu);
  padding: 5rem 2rem 4rem;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(45,91,227,.3), transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(201,168,76,.1), transparent 50%);
  pointer-events: none;
}
/* Grille décorative */
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; max-width: 700px; }
.page-hero .section-label { color: var(--or); }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600; color: white; margin-bottom: 1rem;
}
.page-hero h1 em { font-style: italic; color: var(--or-pale); }
.page-hero p { color: rgba(255,255,255,.7); font-size: 1rem; max-width: 560px; margin: 0 auto; }

/* ── CARTES GÉNÉRIQUES ── */
.card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 48px rgba(15,39,87,.1); }

/* ── TRAIT DORÉ DÉCORATIF ── */
.or-line {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--or), var(--or-pale));
  border-radius: 2px; margin-bottom: 1.5rem;
}

/* ── PLACEHOLDER IMAGE ── */
.img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .6rem; padding: 1.5rem;
  font-size: .75rem; font-weight: 500; text-align: center;
}
.img-placeholder .pi { font-size: 2.2rem; }

/* ── FORMULAIRE ── */
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-group label {
  font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--gris); border: 2px solid var(--border);
  border-radius: var(--radius-sm); color: var(--texte);
  font-family: 'Outfit', sans-serif; font-size: .92rem;
  padding: .85rem 1rem; outline: none; transition: border-color .2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--bleu-clair); background: white; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── PROGRESS BARS ── */
.progress-item { margin-bottom: 1.5rem; }
.progress-header { display: flex; justify-content: space-between; margin-bottom: .5rem; }
.progress-label-text { font-size: .85rem; font-weight: 600; color: var(--bleu); }
.progress-pct { font-size: .85rem; font-weight: 700; color: var(--or); }
.progress-bar-wrap { background: var(--bleu-pale); border-radius: 100px; height: 8px; overflow: hidden; }
.progress-bar-fill {
  height: 100%; border-radius: 100px;
  background: linear-gradient(90deg, var(--bleu), var(--bleu-clair));
  width: 0; transition: width 1.4s cubic-bezier(.4,0,.2,1);
}

/* ── FOOTER ── */
footer {
  background: var(--bleu);
  color: rgba(255,255,255,.75);
  padding: 5rem 2rem 2rem;
}
.footer-grid {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 600;
  color: white; display: block; margin-bottom: .8rem;
}
.footer-brand .brand-name span { color: var(--or); }
.footer-brand p { font-size: .85rem; line-height: 1.7; opacity: .6; max-width: 280px; }
.footer-col h4 {
  font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--or);
  margin-bottom: 1.2rem; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-col ul a { color: rgba(255,255,255,.55); text-decoration: none; font-size: .85rem; transition: color .2s; }
.footer-col ul a:hover { color: white; }
.footer-bottom {
  max-width: 1140px; margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: .75rem; opacity: .4;
}
.footer-bottom a { color: var(--or-pale); text-decoration: none; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp .8s ease both; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  section { padding: 4rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
