/* ============================================================
   LAKORA — /css/style.css
   Charte commune — 60 pages + home
   Couleurs : #0D0D0D noir · #1F1F1F anthracite · #F7F5F0 blanc cassé
              #E6E6E6 bordures · #0A1A2F bleu nuit · #C9B57A or
   Typo      : Manrope 600/700 (titres) + Inter 400/500/600 (corps)
   ============================================================ */

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  /* Couleurs */
  --c-black:       #0D0D0D;
  --c-anthracite:  #1F1F1F;
  --c-mid:         #555F6D;
  --c-offwhite:    #F7F5F0;
  --c-border:      #E6E6E6;
  --c-navy:        #0A1A2F;
  --c-navy-2:      #0F2238;
  --c-navy-3:      #142d4a;
  --c-gold:        #C9B57A;
  --c-gold-dim:    rgba(201,181,122,0.14);
  --c-white:       #FFFFFF;

  /* Typographies */
  --ff-head: 'Manrope', Arial, Helvetica, sans-serif;
  --ff-body: 'Inter', Arial, Helvetica, sans-serif;

  /* Layout */
  --container:   1180px;
  --r-xs:        4px;
  --r-sm:        8px;
  --r-md:        12px;
  --r-lg:        18px;
  --r-xl:        28px;
  --nav-h:       72px;
  --section-pad: clamp(72px, 9vw, 112px);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-anthracite);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
  border-radius: 2px;
}
ul, ol { list-style: none; }
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
strong {
  font-weight: 600;
  color: var(--c-black);
}

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--c-black);
}
h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
}
h3 {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 600;
  line-height: 1.35;
}
h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* ============================================================
   UTILITAIRES
   ============================================================ */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 14px;
  font-family: var(--ff-body);
}
.eyebrow-light {
  color: rgba(247,245,240,0.45);
}
.section-intro {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.75;
  color: var(--c-mid);
  max-width: 660px;
  margin-top: 16px;
}
.text-gold { color: var(--c-gold); }
.text-light { color: rgba(247,245,240,0.72); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 13px 26px;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s,
              box-shadow 0.2s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn-primary {
  background: var(--c-gold);
  color: var(--c-navy);
  box-shadow: 0 4px 18px rgba(201,181,122,0.3);
}
.btn-primary:hover {
  background: #d4c18a;
  box-shadow: 0 6px 28px rgba(201,181,122,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--c-gold);
  border-color: var(--c-gold);
}
.btn-outline:hover { background: rgba(201,181,122,0.07); }

.btn-ghost {
  background: rgba(247,245,240,0.07);
  color: var(--c-offwhite);
  border-color: rgba(247,245,240,0.18);
}
.btn-ghost:hover {
  background: rgba(247,245,240,0.13);
  border-color: rgba(247,245,240,0.32);
}
.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  border-radius: var(--r-lg);
}
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--c-navy);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(10,26,47,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(201,181,122,0.1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo-img { height: 30px; width: auto; }

/* Desktop nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link,
.nav-btn {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(247,245,240,0.68);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-link:hover,
.nav-btn:hover {
  color: var(--c-offwhite);
  background: rgba(247,245,240,0.07);
}

/* Chevron dans les nav-btn */
.nav-chevron {
  width: 13px; height: 13px;
  stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.22s;
}
.nav-btn[aria-expanded="true"] .nav-chevron { transform: rotate(180deg); }

/* Mega menu */
.mega-wrap { position: relative; }
.mega-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  width: min(740px, calc(100vw - 48px));
  background: var(--c-navy-2);
  border: 1px solid rgba(201,181,122,0.14);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45);
  z-index: 200;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.mega-menu.is-open { display: grid; }

.mega-col-title {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 10px;
  font-family: var(--ff-body);
}
.mega-col ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mega-col a {
  font-size: 0.78rem;
  color: rgba(247,245,240,0.55);
  padding: 4px 0;
  transition: color 0.15s;
  display: block;
}
.mega-col a:hover { color: var(--c-offwhite); }

/* CTA header */
.header-cta { flex-shrink: 0; }

/* Burger mobile */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
}
.burger span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--c-offwhite);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--c-navy-2);
  border-top: 1px solid rgba(201,181,122,0.1);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  padding: 20px clamp(20px, 4vw, 40px) 36px;
}
.mobile-nav.is-open { display: flex; }

.mob-section {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin: 20px 0 8px;
  font-family: var(--ff-body);
}
.mob-section:first-child { margin-top: 4px; }

.mobile-nav a {
  font-size: 0.875rem;
  color: rgba(247,245,240,0.68);
  padding: 9px 0;
  border-bottom: 1px solid rgba(247,245,240,0.05);
  display: block;
  transition: color 0.15s;
}
.mobile-nav a:hover { color: var(--c-offwhite); }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav .btn {
  margin-top: 24px;
  width: 100%;
  justify-content: center;
}

/* ============================================================
   SECTIONS (fondations)
   ============================================================ */
.section { padding: var(--section-pad) 0; }
.section-white { background: var(--c-white); }
.section-light { background: var(--c-offwhite); }
.section-dark {
  background: var(--c-navy);
  color: var(--c-offwhite);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--c-offwhite);
}
.section-head {
  margin-bottom: clamp(36px, 5vw, 60px);
}

/* ============================================================
   HERO — PAGES INTÉRIEURES
   ============================================================ */
.page-hero {
  background: var(--c-navy);
  padding: clamp(56px, 7vw, 88px) 0 clamp(52px, 7vw, 72px);
  position: relative;
  overflow: hidden;
}
/* Motif de points discret */
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201,181,122,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
}
.page-hero h1 {
  color: var(--c-offwhite);
  margin-bottom: 22px;
}
.chapeau {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.78;
  color: rgba(247,245,240,0.78);
  max-width: 680px;
}
.hero-visual {
  margin-top: 48px;
  position: relative;
  z-index: 1;
}

/* ============================================================
   PLACEHOLDER VISUEL
   ============================================================ */
.visual-wrap {
  background: var(--c-navy-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  border: 1px solid rgba(201,181,122,0.1);
}
.visual-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,181,122,0.18);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--ff-body);
  pointer-events: none;
  z-index: 0;
}
.visual-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* ============================================================
   SECTION PROBLÈME
   ============================================================ */
.problem-block {
  max-width: 760px;
}
.problem-block p {
  line-height: 1.78;
  color: var(--c-anthracite);
}
.problem-block p + p { margin-top: 1.1em; }
.problem-block .problem-accent {
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
  line-height: 1.75;
  color: var(--c-black);
  font-weight: 500;
  margin-bottom: 24px;
}

/* ============================================================
   GRILLE D'ANALYSE
   ============================================================ */
.analysis-intro {
  max-width: 680px;
  line-height: 1.75;
  color: var(--c-mid);
  margin-bottom: 40px;
}
.analysis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.analysis-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px 28px 26px;
  transition: box-shadow 0.22s, border-color 0.22s;
}
.analysis-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border-color: var(--c-gold);
}
.analysis-card-icon {
  width: 36px; height: 36px;
  margin-bottom: 16px;
  opacity: 0.6;
}
.analysis-card h3 {
  color: var(--c-black);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.analysis-card p {
  font-size: 0.875rem;
  color: var(--c-mid);
  line-height: 1.65;
}

/* ============================================================
   SECTION LIVRABLES
   ============================================================ */
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
.deliverable-item {
  padding: 32px 24px 28px;
  border: 1px solid rgba(201,181,122,0.18);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.03);
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}
.deliverable-item:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,181,122,0.38);
}
.deliverable-num {
  font-family: var(--ff-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--c-gold);
  display: block;
  margin-bottom: 6px;
  line-height: 1;
}
.deliverable-item h3 {
  color: var(--c-offwhite);
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.deliverable-item p {
  font-size: 0.85rem;
  color: rgba(247,245,240,0.55);
  line-height: 1.62;
}

/* ============================================================
   TEXTE COURANT (corps de page)
   ============================================================ */
.content-block {
  max-width: 760px;
}
.content-block p {
  line-height: 1.78;
  color: var(--c-anthracite);
}
.content-block p + p { margin-top: 1.1em; }
.content-block h3 {
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: var(--c-black);
  font-size: 1rem;
}

/* Liste à puces Lakora */
.dot-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
  max-width: 760px;
}
.dot-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--c-anthracite);
}
.dot-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--c-gold);
  margin-top: 0.58em;
  flex-shrink: 0;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap {
  max-width: 800px;
}
.faq-item {
  border-bottom: 1px solid var(--c-border);
}
.faq-item:first-child {
  border-top: 1px solid var(--c-border);
}
.faq-toggle {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-family: var(--ff-head);
  font-size: clamp(0.875rem, 1.3vw, 0.975rem);
  font-weight: 600;
  color: var(--c-black);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.faq-toggle:hover { color: var(--c-navy); }
.faq-icon {
  width: 20px; height: 20px; min-width: 20px;
  stroke: var(--c-gold); fill: none;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 22px 0;
  font-size: 0.925rem;
  line-height: 1.78;
  color: var(--c-mid);
}
.faq-item.is-open .faq-answer { display: block; }

/* ============================================================
   BLOC CTA
   ============================================================ */
.cta-block {
  background: var(--c-navy);
  padding: clamp(64px, 8vw, 100px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(201,181,122,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.cta-block .container { position: relative; z-index: 1; }
.cta-block h2 {
  color: var(--c-offwhite);
  margin-bottom: 14px;
}
.cta-block p {
  color: rgba(247,245,240,0.65);
  max-width: 480px;
  margin: 0 auto 36px;
  font-size: 1rem;
  line-height: 1.72;
}
.cta-note {
  font-size: 0.78rem;
  color: rgba(247,245,240,0.35);
  margin-top: 16px;
  display: block;
}

/* ============================================================
   PAGES CONNEXES
   ============================================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: var(--c-white);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--c-black);
  line-height: 1.4;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.related-card:hover {
  background: var(--c-offwhite);
  border-color: var(--c-gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  color: var(--c-navy);
}
.related-arrow {
  width: 16px; height: 16px; min-width: 16px;
  stroke: var(--c-gold); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.related-card:hover .related-arrow { transform: translateX(3px); }
.related-card span {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--c-mid);
  display: block;
  margin-top: 3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--c-navy);
  color: rgba(247,245,240,0.55);
  padding: clamp(60px, 8vw, 96px) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: clamp(48px, 6vw, 72px);
  border-bottom: 1px solid rgba(201,181,122,0.1);
}
.footer-logo { height: 26px; width: auto; margin-bottom: 18px; }
.footer-tagline {
  font-size: 0.825rem;
  line-height: 1.72;
  color: rgba(247,245,240,0.42);
  max-width: 240px;
}
.footer-col-title {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  display: block;
  margin-bottom: 14px;
  font-family: var(--ff-body);
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer-col a {
  font-size: 0.78rem;
  color: rgba(247,245,240,0.5);
  transition: color 0.15s;
  display: block;
}
.footer-col a:hover { color: var(--c-offwhite); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 0.75rem;
  color: rgba(247,245,240,0.28);
  flex-wrap: wrap;
}
.footer-bottom a { transition: color 0.15s; }
.footer-bottom a:hover { color: rgba(247,245,240,0.6); }
.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .mega-menu {
    width: min(580px, calc(100vw - 40px));
    grid-template-columns: repeat(2, 1fr);
  }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .site-nav, .header-cta { display: none; }
  .burger { display: flex; }

  .analysis-grid { grid-template-columns: 1fr; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  .visual-wrap { border-radius: var(--r-md); max-width: 100%; }

  .faq-toggle { font-size: 0.875rem; padding: 16px 0; }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  h1 { font-size: 1.75rem; letter-spacing: -0.02em; }
  h2 { font-size: 1.4rem; }
  .btn-lg { padding: 14px 24px; font-size: 0.95rem; }
  .deliverable-num { font-size: 2rem; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .cta-block, .mobile-nav { display: none; }
  body { padding-top: 0; color: #000; }
  a::after { content: " (" attr(href) ")"; font-size: 0.75em; }
}
