/*
Theme Name: Nation Advisors
Theme URI: https://nation-advisors.com
Description: Thème WordPress autonome (sans dépendance à un thème tiers) pour le site one-page Nation Advisors — en-tête collant, hero, sections 01→06, accordéon Expertises, formulaire de contact, polices auto-hébergées (RGPD).
Author: Nation Advisors
Version: 1.0.0
Requires at least: 6.1
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: nation-advisors
*/

/* ===================================================================
   Tokens
   =================================================================== */
:root, body {
  --na-navy:        #2b3b4e;
  --na-navy-deep:   #24364a;
  --na-offre:       #2c3d50;
  --na-gold:        #c6a14a;
  --na-gold-bright: #d6a93f;
  --na-line:        #d8b96a;
  --na-cream:       #f7f3ea;
  --na-body:        #3a4b5c;
  --na-muted:       #5a6b78;
  --na-wrap:        1180px;
  --na-col:         780px;
  --na-font-display:'Jost', system-ui, sans-serif;
  --na-font-body:   'Mulish', system-ui, sans-serif;
  --na-font-logo:   'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--na-navy);
  font-family: var(--na-font-body); -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

section[id] { scroll-margin-top: 92px; }

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.na-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(43,59,78,.07);
}
.na-nav {
  max-width: var(--na-wrap); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.na-logo { display: block; line-height: .9; text-decoration: none; color: var(--na-navy); }
.na-logo img { height: 46px; width: auto; }
.na-logo__word { font-family: var(--na-font-logo); font-weight: 500; font-size: 30px; letter-spacing: 1px; }
.na-logo__sub { border-top: 1px solid var(--na-navy); margin-top: 3px; padding-top: 3px; font-family: var(--na-font-display); font-size: 9px; letter-spacing: 5px; text-align: center; }

.na-nav__right { display: flex; align-items: center; gap: 30px; }
.na-menu {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px;
  font-family: var(--na-font-display); font-size: 12.5px; letter-spacing: 1.4px;
}
.na-menu a { position: relative; text-decoration: none; color: var(--na-navy); text-transform: uppercase; padding: 4px 0; }
.na-menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--na-gold); transform: scaleX(0); transform-origin: left; transition: transform .28s ease;
}
.na-menu a:hover::after, .na-menu .current-menu-item > a::after { transform: scaleX(1); }

.na-socials { display: flex; gap: 10px; }
.na-socials a { width: 30px; height: 30px; border-radius: 50%; background: var(--na-navy); color: #fff; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.na-socials a:hover { background: var(--na-navy-deep); }

/* Burger (mobile) */
.na-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.na-burger span { display: block; width: 24px; height: 2px; background: var(--na-navy); margin: 5px 0; transition: .25s; }

/* ===================================================================
   Generic helpers
   =================================================================== */
.na-section { padding: 96px 24px 88px; }
.na-wrap { max-width: var(--na-col); margin: 0 auto; }
.na-wrap--wide { max-width: var(--na-wrap); }

.na-eyebrow { display: flex; align-items: center; justify-content: space-between; max-width: var(--na-col); margin: 0 auto; gap: 24px; }
.na-eyebrow__label { font-family: var(--na-font-display); font-weight: 400; font-size: 28px; letter-spacing: 2.5px; color: var(--na-navy); margin: 0; }
.na-eyebrow__num { display: inline-flex; align-items: center; gap: 18px; font-family: var(--na-font-display); font-weight: 300; font-size: 40px; color: var(--na-navy); line-height: 1; }
.na-eyebrow__num::before { content: ""; display: inline-block; width: 2px; height: 32px; background: var(--na-gold); }

.na-lead { max-width: 670px; margin: 48px auto 0; }
.na-lead p { font-size: 20px; line-height: 1.62; color: var(--na-body); margin: 0 0 26px; }
.na-lead p:last-child { margin-bottom: 0; }
.na-fineprint { max-width: 680px; margin: 34px auto 0; font-size: 14.5px; line-height: 1.65; color: var(--na-muted); }
.na-eyebrow + .na-lead, .na-eyebrow + .na-fineprint { margin-top: 48px; }

/* CTA underline link */
.na-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 90px;
  max-width: var(--na-col); margin: 46px auto 0; text-decoration: none; color: var(--na-navy);
  font-family: var(--na-font-display); font-size: 13px; letter-spacing: 2px; font-weight: 400;
  padding-bottom: 12px;
  background-image: linear-gradient(var(--na-gold), var(--na-gold));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 100% 1px;
  transition: background-size .3s ease;
}
.na-cta:hover { background-size: 100% 2px; }

.na-media { margin: 44px auto 0; max-width: var(--na-col); }
.na-media img { width: 100%; height: auto; }

/* ===================================================================
   HERO
   =================================================================== */
.na-hero { position: relative; overflow: hidden; background: #fff; padding: 120px 24px 130px; }
.na-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, #fff 0%, #f5f3ec 55%, #ece9e0 100%); }
.na-hero::after {
  content: ""; position: absolute; top: -12%; right: -6%; width: 62%; height: 128%; transform: skewX(-9deg); pointer-events: none;
  background: repeating-linear-gradient(90deg,
    rgba(255,255,255,0) 0px, rgba(255,255,255,0) 26px,
    rgba(40,55,74,.05) 27px, rgba(40,55,74,.05) 28px,
    rgba(255,255,255,.85) 29px, rgba(255,255,255,.85) 34px);
  box-shadow: inset 60px 0 80px -40px rgba(40,55,74,.10);
}
.na-hero > * { position: relative; z-index: 1; max-width: var(--na-wrap); margin-left: auto; margin-right: auto; }
.na-hero__title { font-family: var(--na-font-display); font-weight: 300; font-size: 62px; line-height: 1.12; letter-spacing: .5px; color: #384a5d; margin: 0; max-width: 560px; padding-left: 80px; }
.na-hero .na-cta { max-width: 560px; margin: 46px 0 0; margin-left: 80px; }

/* ===================================================================
   FAIRE NATION
   =================================================================== */
.na-faire { background: var(--na-cream); }
.na-h3 { font-family: var(--na-font-display); font-weight: 300; font-size: 46px; line-height: 1.18; color: #384a5d; margin: 42px auto 0; max-width: var(--na-col); }
.na-faire .na-lead { max-width: 680px; margin-top: 36px; }
.na-faire .na-fineprint { margin-top: 24px; }

/* ===================================================================
   NOTRE OFFRE
   =================================================================== */
.na-offre { position: relative; overflow: hidden; background: var(--na-offre); padding: 84px 24px 100px; }
.na-offre::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(125deg, rgba(255,255,255,.015) 0px, rgba(255,255,255,.015) 2px, rgba(0,0,0,.04) 3px, rgba(0,0,0,.04) 120px); }
.na-offre > * { position: relative; z-index: 1; }
.na-offre .na-eyebrow__label, .na-offre .na-eyebrow__num { color: #f4f1ea; }
.na-offre__cards { max-width: var(--na-wrap); margin: 46px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.na-card { background: var(--na-navy-deep); padding: 44px 34px 48px; text-align: center; color: #eef1f4; }
.na-card__icon { display: flex; justify-content: center; color: var(--na-gold-bright); margin-bottom: 26px; }
.na-card__icon svg { width: 44px; height: 44px; }
.na-card h4 { font-family: var(--na-font-display); font-weight: 400; font-size: 21px; letter-spacing: 1px; line-height: 1.3; margin: 0 0 28px; }
.na-card ul { list-style: none; margin: 0 auto; padding: 0; text-align: left; max-width: 250px; font-size: 15.5px; line-height: 1.95; color: #dfe4e9; }
.na-card li { position: relative; padding-left: 18px; }
.na-card li::before { content: "-"; position: absolute; left: 0; color: var(--na-gold-bright); }

/* ===================================================================
   EXPERTISES (accordéon)
   =================================================================== */
.na-expertises .na-wrap { margin-top: 46px; }
.na-acc { border-bottom: 1px solid var(--na-line); }
.na-acc summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--na-font-body); font-size: 19px; color: var(--na-navy); }
.na-acc summary::-webkit-details-marker { display: none; }
.na-acc summary::after { content: "↓"; display: inline-block; flex: none; font-size: 18px; color: var(--na-navy); transition: transform .3s ease; }
.na-acc[open] summary::after { transform: rotate(180deg); }
.na-acc__body { padding: 0 4px 26px; max-width: 640px; font-size: 16px; line-height: 1.65; color: var(--na-muted); }

/* ===================================================================
   ÉQUIPE
   =================================================================== */
.na-equipe { padding-top: 70px; }
.na-equipe .na-fineprint { margin-top: 42px; }
.na-equipe .na-media { margin-top: 38px; }

/* ===================================================================
   CONTACT
   =================================================================== */
.na-contact { position: relative; overflow: hidden; background: linear-gradient(135deg, #3d4f63 0%, #33455a 45%, #2b3c4f 100%); padding: 80px 24px 96px; }
.na-contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background: radial-gradient(ellipse at 80% 0%, rgba(255,255,255,.06), transparent 50%); }
.na-contact > * { position: relative; z-index: 1; }
.na-contact .na-eyebrow__label, .na-contact .na-eyebrow__num { color: #f4f1ea; }
.na-contact__grid { max-width: var(--na-col); margin: 46px auto 0; display: grid; grid-template-columns: 200px 1fr; gap: 30px; align-items: start; }
.na-contact__info { color: #dfe4e9; }
.na-contact__info strong { color: #fff; font-size: 15px; }
.na-contact__info .na-mail { font-size: 13.5px; margin-top: 4px; color: #c3ccd5; text-decoration: none; }
.na-contact__info .na-req { font-style: italic; font-size: 12.5px; margin-top: 26px; color: #9fb0bd; }

.na-form { display: flex; flex-direction: column; gap: 16px; }
.na-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.na-form input[type=text], .na-form input[type=email], .na-form textarea {
  width: 100%; background: var(--na-navy-deep); border: 1px solid rgba(255,255,255,.12); color: #fff;
  font-family: var(--na-font-body); font-size: 15px; padding: 15px 16px; outline: none;
}
.na-form ::placeholder { color: rgba(255,255,255,.62); }
.na-form input:focus, .na-form textarea:focus { border-color: var(--na-gold); }
.na-form textarea { min-height: 200px; resize: vertical; }
.na-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 8px; flex-wrap: wrap; }
.na-form__check { display: flex; align-items: center; gap: 10px; color: #dfe4e9; font-size: 14px; cursor: pointer; }
.na-form__check input { width: 16px; height: 16px; accent-color: var(--na-gold); cursor: pointer; }
.na-form__check a { color: var(--na-gold-bright); text-decoration: none; }
.na-form__submit { background: var(--na-navy-deep); border: 1px solid rgba(255,255,255,.12); color: #fff; font-family: var(--na-font-display); font-size: 13px; letter-spacing: 2px; padding: 16px 30px; display: inline-flex; align-items: center; gap: 50px; cursor: pointer; transition: background .2s ease; }
.na-form__submit:hover { background: #2f465e; }
.na-form__status { min-height: 22px; font-size: 14px; margin-top: 4px; }
.na-form__status.is-ok { color: var(--na-gold-bright); }
.na-form__status.is-err { color: #e7a9a9; }

/* ===================================================================
   FOOTER
   =================================================================== */
.na-footer { background: var(--na-cream); padding: 54px 24px; }
.na-footer__inner { max-width: var(--na-wrap); margin: 0 auto; display: flex; gap: 50px; align-items: flex-start; flex-wrap: wrap; }
.na-footer .na-logo__word { color: var(--na-navy); }
.na-footer__cols { display: flex; gap: 50px; flex-wrap: wrap; font-family: var(--na-font-display); font-size: 12.5px; letter-spacing: 1.2px; }
.na-footer__col { display: flex; flex-direction: column; gap: 14px; }
.na-footer__col a { text-decoration: none; color: var(--na-navy); }
.na-footer__legal { display: flex; flex-direction: column; gap: 10px; font-family: var(--na-font-body); letter-spacing: 0; font-size: 13px; }
.na-footer__legal a { color: var(--na-muted); text-decoration: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .na-menu, .na-socials { display: none; }
  .na-burger { display: block; }
  .na-nav__right.is-open { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid rgba(43,59,78,.1); padding: 16px 24px 24px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .na-nav__right.is-open .na-menu { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .na-nav__right.is-open .na-socials { display: flex; }
  .na-offre__cards { grid-template-columns: 1fr; max-width: 520px; }
  .na-hero__title { font-size: 46px; padding-left: 0; }
  .na-hero .na-cta { margin-left: 0; }
  .na-h3 { font-size: 34px; }
  .na-contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .na-eyebrow__label { font-size: 22px; }
  .na-eyebrow__num { font-size: 30px; }
  .na-lead p { font-size: 18px; }
  .na-form__row { grid-template-columns: 1fr; }
  .na-hero__title { font-size: 38px; }
}
