/* ===================================================================
   AZIMUT NEXUS CONSEIL — feuille de style
   Branding 2026 : Marine + Or + Sable
   =================================================================== */

:root {
  --ink:        #1C304A;
  --indigo:     #1C304A;
  --violet:     #1C304A;
  --violet-soft:#1C304A;
  --brass:      #FFBF35;
  --brass-light:#FFBF35;
  --brass-ink:  #1C304A;
  --paper:      #F0E9E0;
  --paper-deep: #F0E9E0;
  --line:       #F0E9E0;
  --white:      #FFFFFF;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Open Sans", "Segoe UI", sans-serif;
  --font-mono: "Open Sans", "Segoe UI", sans-serif;

  --container: 1140px;
  --radius: 3px;
  --shadow-soft: 0 12px 32px -16px rgba(28, 48, 74, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--indigo); text-decoration: none; }
a:hover { color: var(--violet); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--indigo);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
.lede { font-size: 1.15rem; color: var(--violet); max-width: 46ch; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------- eyebrow / bearing label ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brass);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-brass {
  background: var(--brass);
  color: var(--indigo);
}
.btn-brass:hover { background: var(--indigo); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}
.btn-outline:hover { background: var(--indigo); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--indigo);
}
.logo-mark { width: 26px; height: 26px; flex-shrink: 0; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--indigo);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text small {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-ink);
  font-weight: 500;
}


/* ---------- logo (charte Azimut Nexus Conseil) ---------- */
.logo-lockup { display: inline-flex; flex-direction: column; align-items: flex-end; line-height: 1; }
.logo-word {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--indigo);
}
.logo-sub {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--indigo);
  margin-top: 1px;
}
.logo-rule { position: relative; display: block; width: 100%; height: 10px; margin-top: 3px; }
.logo-rule::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass) 18%, var(--brass) 82%, transparent);
}
.logo-rule::after {
  content: "\2726"; position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -52%); font-size: 10px; line-height: 1; color: var(--brass);
}
.logo-signature {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--indigo);
  margin-top: 2px;
  text-align: center;
  align-self: stretch;
}
.footer-brand .logo-word, .footer-brand .logo-sub, .footer-brand .logo-signature { color: var(--white); }
.footer-brand .logo-lockup { align-items: flex-end; }

.main-nav { display: flex; align-items: center; }
.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover,
.nav-menu a[aria-current="page"] {
  color: var(--indigo);
  border-bottom-color: var(--brass);
}

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--indigo);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
    gap: 4px;
    display: none;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
}

/* ---------- hero ---------- */
.hero {
  padding: 64px 0 80px;
  background:
    radial-gradient(ellipse at top right, var(--paper-deep), transparent 60%),
    var(--paper);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 20px; }
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-visual { display: flex; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 360px; }
.hero-photo {
  width: 100%; max-width: 460px; height: auto; display: block;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 240px; margin: 0 auto 12px; }
}

/* ---------- page header (inner pages) ---------- */
.page-hero {
  padding: 56px 0 48px;
  background: var(--indigo);
  color: var(--white);
}
.page-hero .eyebrow { color: var(--brass); }
.page-hero .eyebrow::before { background: var(--brass); }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.82); max-width: 60ch; font-size: 1.05rem; }

/* ---------- bearing divider ---------- */
.bearing-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 40px;
  color: var(--violet-soft);
}
.bearing-divider::before,
.bearing-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.bearing-divider span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

/* ---------- stats bar ---------- */
.stats-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 32px 20px;
  text-align: center;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  color: var(--indigo);
  font-weight: 500;
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--violet);
  margin-top: 4px;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(odd) { border-left: none; }
}

/* ---------- sections ---------- */
section { padding: 80px 0; }
.section-head { max-width: 62ch; margin-bottom: 48px; }
.section-alt { background: var(--white); }

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--brass); transform: translateY(-3px); }
.card .eyebrow { margin-bottom: 18px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--violet); font-size: 0.96rem; margin-bottom: 0; }

@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- two-path cards (clientèle) ---------- */
.path-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 28px;
}
.path-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
}
.path-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.path-card ul { padding-left: 20px; margin: 20px 0; color: var(--violet); }
.path-card li { margin-bottom: 8px; }
@media (max-width: 760px) { .path-grid { grid-template-columns: 1fr; } }

/* ---------- numbered steps (real sequence) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 0 28px 0 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.step:first-child { border-left: none; padding-left: 0; }
.step-num {
  font-family: var(--font-mono);
  color: var(--brass-ink);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .step:first-child { border-top: none; padding-top: 0; }
}

/* ---------- pourquoi / list points ---------- */
.point-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
}
.point {
  display: flex;
  gap: 16px;
}
.point-mark {
  font-family: var(--font-mono);
  color: var(--brass-ink);
  font-size: 0.85rem;
  flex-shrink: 0;
  padding-top: 3px;
}
.point h4 { font-family: var(--font-body); font-size: 1.02rem; color: var(--ink); margin-bottom: 6px; }
.point p { color: var(--violet); font-size: 0.95rem; margin-bottom: 0; }
@media (max-width: 760px) { .point-list { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--indigo);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 50ch; margin: 0 auto 28px; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--indigo);
}
input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--brass);
  outline-offset: 1px;
  border-color: var(--brass);
}
textarea { resize: vertical; min-height: 120px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }

.contact-info-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}
.contact-card dt {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-ink);
  margin-top: 22px;
}
.contact-card dt:first-child { margin-top: 0; }
.contact-card dd { margin: 4px 0 0; font-size: 1.05rem; }
@media (max-width: 860px) { .contact-info-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-group { margin-bottom: 52px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group h2 { margin-bottom: 4px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--indigo);
  font-size: 1.08rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  color: var(--brass-ink);
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-answer {
  padding: 0 0 24px;
  color: var(--violet);
  max-width: 68ch;
}
.faq-item .faq-answer p { margin: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding-top: 56px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-text small { color: var(--brass-light); }
.footer-brand p { margin-top: 14px; color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 32ch; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: var(--brass-light); }
.footer-contact p { margin: 0 0 10px; font-size: 0.95rem; }
.footer-contact a { color: rgba(255,255,255,0.85); }
.footer-contact a:hover { color: var(--brass-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 760px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- placeholder flag (visible only when editing; safe to leave, unobtrusive) ---------- */
.todo {
  background: rgba(255, 191, 53, 0.18);
  border-bottom: 1px dashed var(--brass);
}

/* ---------- logo image (fichier officiel) ---------- */
.logo-img { height: 58px; width: auto; display: block; }
.footer-logo-chip {
  display: inline-block; background: var(--white); border-radius: 8px;
  padding: 8px 14px; line-height: 0;
}
.footer-logo-chip img { height: 64px; width: auto; display: block; }
.footer-signature { margin-top: 12px; font-size: 0.82rem; color: rgba(255,255,255,0.75); max-width: 30ch; }
@media (max-width: 560px) { .logo-img { height: 46px; } }

/* ---------- photo bandeau + ressources ---------- */
.banner-photo { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 6px; margin-top: 48px; display: block; }
.ressources-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 8px; }
.ressource-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow .2s; }
.ressource-card:hover { box-shadow: 0 8px 24px -8px rgba(28,48,74,.15); }
.ressource-icon { width: 44px; height: 44px; background: var(--paper-deep); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--indigo); flex-shrink: 0; }
.ressource-tag { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brass-ink); }
.ressource-card h3 { font-size: 1.05rem; margin: 0; color: var(--ink); }
.ressource-card p { font-size: .9rem; margin: 0; flex: 1; }
.ressource-card .btn { align-self: flex-start; margin-top: 8px; font-size: .88rem; }

/* Ressources : article + PDF */
.ressource-card h3 a { color: inherit; text-decoration: none; }
.ressource-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--brass); }
.ressource-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.ressource-actions .btn { margin-top: 0; }
.footer-bottom a { color: rgba(255,255,255,0.85); text-decoration: underline; text-decoration-color: var(--brass); }
.footer-bottom a:hover { color: var(--brass); }

/* À propos : portrait */
.conseillere-grid { grid-template-columns: minmax(0, 380px) 1fr; align-items: start; gap: 32px; }
.conseillere-photo { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: var(--shadow-soft); }
@media (max-width: 860px) { .conseillere-grid { grid-template-columns: 1fr; } .conseillere-photo { max-width: 420px; } }
