/* =============================================================================
   BRAIN TO STRATEGY — styles.css
   Direction : minimalisme institutionnel raffiné
   Palette : Midnight Executive (navy / ice / gold)
   ============================================================================= */

/* ===== Tokens ===== */
:root {
  --navy: #0F1A3A;
  --navy-dark: #070E22;
  --navy-soft: #1E2761;
  --ice: #CADCFC;
  --ice-soft: #E8EFFA;
  --gold: #C9A961;
  --gold-soft: #E0CFA0;
  --white: #FFFFFF;
  --grey-900: #1A2238;
  --grey-700: #3D4A6B;
  --grey-500: #5A6B8A;
  --grey-300: #8A99B5;
  --grey-100: #E4E8F0;
  --bg-light: #F7F8FB;
  --bg-cream: #FAFAF7;

  --font-display: "Cormorant Garamond", "Garamond", "Georgia", serif;
  --font-body: "Inter Tight", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
  --font-eyebrow: "Inter Tight", "Helvetica Neue", "Helvetica", "Arial", sans-serif;

  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-card: 0 1px 3px rgba(15, 26, 58, 0.04), 0 8px 24px rgba(15, 26, 58, 0.06);
  --shadow-card-hover: 0 2px 6px rgba(15, 26, 58, 0.06), 0 16px 40px rgba(15, 26, 58, 0.10);

  --max-w: 1240px;
  --pad-x: clamp(1.25rem, 4vw, 3rem);

  --transition: 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ===== Reset minimal ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--grey-900);
  background: var(--bg-light);
  font-feature-settings: "ss01", "cv01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }

/* ===== Typographie ===== */
.eyebrow {
  font-family: var(--font-eyebrow);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow--ice { color: var(--ice); }
.eyebrow--grey { color: var(--grey-500); }

.h-display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.h2 { font-size: clamp(1.9rem, 3.8vw, 3.0rem); line-height: 1.15; }
.h3 { font-size: clamp(1.4rem, 2.3vw, 1.85rem); line-height: 1.25; }
.h4 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.3; font-weight: 500; font-family: var(--font-body); letter-spacing: -0.005em; }

.lead {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--grey-700);
  font-style: italic;
  font-weight: 400;
}

.text-muted { color: var(--grey-500); }
.text-ice { color: var(--ice); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }

/* Filet doré décoratif (motif visuel récurrent) */
.rule-gold {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 0;
}
.rule-gold--center { margin-left: auto; margin-right: auto; }

/* ===== Layout ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container--narrow { max-width: 920px; }

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.section--dark {
  background: var(--navy);
  color: var(--ice);
}
.section--dark .h-display { color: var(--white); }
.section--dark .text-muted { color: var(--grey-300); }

.section--cream { background: var(--bg-cream); }
.section--white { background: var(--white); }

.divider {
  height: 1px;
  background: var(--grey-100);
  border: 0;
  margin: 0;
}

/* ===== Header / Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 248, 251, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(15, 26, 58, 0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateY(-2px);
}
.brand-name { font-weight: 500; }
.brand-name strong { font-weight: 600; }

.nav-links {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-link {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--grey-700);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--transition);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--navy); }
.nav-link:hover::after { width: 100%; }
.nav-link.is-active { color: var(--navy); }
.nav-link.is-active::after { width: 100%; }

.nav-cta {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  border: 1px solid var(--navy);
  padding: 0.65rem 1.1rem;
  transition: all var(--transition);
}
.nav-cta:hover {
  background: var(--navy);
  color: var(--white);
}

.nav-burger {
  display: none;
  width: 28px;
  height: 28px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--navy);
  transition: all var(--transition);
}
.nav-burger span:nth-child(1) { top: 9px; }
.nav-burger span:nth-child(2) { top: 17px; }

/* ===== Hero ===== */
.hero {
  background: var(--navy-dark);
  color: var(--ice);
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.6rem;
}
.hero-eyebrow .rule-gold { width: 28px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.05;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}
.hero h1 em {
  color: var(--ice);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--ice);
  max-width: 640px;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
  align-items: center;
}
.hero-meta {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(202, 220, 252, 0.15);
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem 3rem;
  align-items: baseline;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.hero-meta-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.hero-meta-value {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ice);
  font-style: italic;
}

/* Texture/atmosphere subtile dans le hero */
.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(202, 220, 252, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ===== Boutons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-body);
  transition: all var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
}
.btn--gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn--gold:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}
.btn--ghost-light {
  background: transparent;
  color: var(--ice);
  border-color: rgba(202, 220, 252, 0.3);
}
.btn--ghost-light:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.btn--ghost-dark {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--ghost-dark:hover {
  background: var(--navy);
  color: var(--white);
}
.btn--solid-navy {
  background: var(--navy);
  color: var(--white);
}
.btn--solid-navy:hover {
  background: var(--navy-dark);
}
.btn-arrow {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}
.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ===== Section heading pattern ===== */
.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 760px;
}
.section-head .eyebrow { display: block; margin-bottom: 1rem; }
.section-head .rule-gold { margin-top: 1.4rem; }

/* ===== Cards ===== */
.card {
  background: var(--white);
  border: 1px solid var(--grey-100);
  padding: 2rem 1.8rem;
  border-left: 3px solid var(--gold);
  transition: all var(--transition);
  height: 100%;
}
.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.card--dark {
  background: var(--navy-dark);
  color: var(--ice);
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-left: 3px solid var(--gold);
}
.card-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.card h3 {
  margin-bottom: 0.7rem;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
}
.card--dark h3 { color: var(--white); }
.card p {
  font-size: 0.95rem;
  color: var(--grey-500);
  line-height: 1.6;
}
.card--dark p { color: var(--ice); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* ===== Two-column layouts ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.split--narrow-first {
  grid-template-columns: 0.85fr 1.15fr;
}

@media (max-width: 760px) {
  .split, .split--narrow-first { grid-template-columns: 1fr; }
}

/* ===== Big stat ===== */
.bigstat {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 9rem);
  line-height: 0.95;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.bigstat-unit {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--grey-500);
  margin-top: 0.6rem;
  display: block;
}

/* ===== Quote / pullquote ===== */
.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.35;
  color: var(--white);
  letter-spacing: -0.005em;
}
.pullquote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.5;
  display: block;
  margin-bottom: 1.2rem;
}

/* ===== Timeline (méthode) ===== */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 23px;
  left: calc(12.5% + 8px);
  right: calc(12.5% + 8px);
  height: 1px;
  background: var(--gold);
  z-index: 0;
}
.tl-step {
  position: relative;
  text-align: center;
  padding-top: 60px;
}
.tl-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  background: var(--bg-light);
  border: 2px solid var(--gold);
  border-radius: 50%;
  z-index: 1;
}
.tl-step .eyebrow { margin-bottom: 0.4rem; display: block; }
.tl-step h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.tl-step p {
  font-size: 0.88rem;
  color: var(--grey-500);
  line-height: 1.55;
}

@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; gap: 2rem; }
  .timeline::before { display: none; }
  .tl-step { text-align: left; padding-top: 0; padding-left: 40px; }
  .tl-step::before { top: 6px; left: 0; transform: none; }
}

/* ===== Feature lists (ce que / ce que pas) ===== */
.featlist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.featlist li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(15, 26, 58, 0.07);
  font-size: 1rem;
  color: var(--grey-900);
}
.featlist li:last-child { border-bottom: 0; }
.featlist .featicon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

/* ===== Logos / preuves ===== */
.proofbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}
.proof-item {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--grey-500);
  letter-spacing: 0.01em;
}
.proof-item::before {
  content: "—";
  margin-right: 0.6rem;
  color: var(--gold);
}

/* ===== Forms ===== */
.form {
  display: grid;
  gap: 1.4rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-500);
  font-weight: 500;
}
.form-field label .req { color: var(--gold); }

.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-300);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--bg-cream);
}
.form-field textarea { resize: vertical; min-height: 140px; }

.form-consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--grey-500);
  line-height: 1.5;
}
.form-consent input { margin-top: 4px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-dark);
  color: var(--ice);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .h-display {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--grey-300);
  max-width: 320px;
  line-height: 1.55;
}
.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a {
  color: var(--ice);
  font-size: 0.92rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(202, 220, 252, 0.12);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--grey-300);
  letter-spacing: 0.04em;
}
.footer-bottom .brand-tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
}

/* ===== Mobile nav drawer ===== */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .nav-cta { display: none; }
  .nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 2rem var(--pad-x);
    border-top: 1px solid var(--grey-100);
    border-bottom: 1px solid var(--grey-100);
    align-items: flex-start;
    gap: 1.2rem;
  }
}

/* ===== Reveal (désactivé pour fiabilité d'affichage) ===== */
/* Classe conservée pour compatibilité, sans effet visuel.
   Le contenu est toujours immédiatement visible. */
.reveal { opacity: 1; transform: none; }

/* ===== Utility ===== */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.center { text-align: center; }

/* ===== Print ===== */
@media print {
  .site-header, .site-footer, .nav-cta { display: none; }
  body { background: white; color: black; }
}
