/* =========================================================
   Alexis Foropon — Coach en entreprise
   Palette : navy profond, glace, papier. Signature : la ligne
   d'ascension (trajectoire montante, écho discret du logo
   astronaute et de "prendre de la hauteur").
   ========================================================= */

:root {
  --navy-950: #1E3D59;    /* navy marine — bleu marine de la palette */
  --navy-900: #16304A;    /* nuance plus sombre, dérivée, pour hover/profondeur */
  --navy-700: #2E5478;    /* nuance plus claire, dérivée, pour bordures sur fond navy */
  --slate-500: #6B6355;   /* taupe chaud — texte discret sur fond clair */
  --slate-300: #C7BEA9;   /* taupe clair — texte discret sur fond navy */
  --ice-200: #FF6E40;     /* rouge-orangé — accent d'action (boutons, liens, focus) */
  --ice-100: #FFF1E8;     /* lavis clair du rouge-orangé — fonds d'encart */
  --mango: #FFC13B;       /* mangue — accent décoratif (chiffres, détails, mise en valeur) */
  --paper: #F5F0E1;       /* beige amande — fond de section clair */
  --card-bg: #FBF7EC;     /* nuance plus claire de l'amande — cartes, champs, fond de page */
  --white: #FFFFFF;

  --font-display: "Sora", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy-950);
  background: var(--card-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

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

h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.lede {
  font-size: 1.15rem;
  color: var(--slate-500);
  max-width: 46ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  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:focus-visible {
  outline: 2px solid var(--ice-200);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--ice-200);
  color: var(--navy-950);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--card-bg); }

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

.btn-dark {
  background: var(--navy-950);
  color: var(--white);
}
.btn-dark:hover { transform: translateY(-1px); background: var(--navy-900); }

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,247,236,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E2DCCB;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-950);
}

.brand img { height: 42px; width: 42px; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.15;
}

.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-950);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--ice-200);
}

.nav-cta { display: none; }
@media (min-width: 760px) {
  .nav-cta { display: inline-flex; padding: 10px 20px; font-size: 0.88rem; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-950);
  margin: 5px 0;
}

@media (max-width: 759px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 20px;
    border-bottom: 1px solid #E2DCCB;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid #E9E3D4; }
  .nav-links a { border-bottom: none; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 40px;
  padding: 72px 0 0;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    padding: 96px 0 0;
  }
}

.hero-copy .eyebrow { color: var(--ice-200); }

.hero h1 {
  color: var(--white);
  margin-top: 0.5em;
}

.hero h1 .accent {
  color: var(--mango);
}

.hero .lede { color: var(--slate-300); }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.hero-portrait {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  overflow: hidden;
}

.hero-portrait img {
  width: min(360px, 78%);
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.45));
  position: relative;
  z-index: 1;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 82%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 82%, rgba(0,0,0,0) 100%);
}

.hero-portrait-logo {
  align-items: center;
  overflow: visible;
}

.hero-portrait-logo img {
  width: min(280px, 60%) !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
  filter: none !important;
}

.ascent-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--mango);
  border-radius: 50%;
  opacity: 0.55;
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }

.section-paper { background: var(--paper); }
.section-navy { background: var(--navy-950); color: var(--white); }
.section-navy .eyebrow { color: var(--ice-200); }
.section-navy .lede { color: var(--slate-300); }
.section-navy h2 { color: var(--white); }

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

/* ---------- Two-column intro (positioning) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 880px) {
  .split { grid-template-columns: 0.9fr 1.1fr; gap: 72px; }
}

.split blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.35;
  color: var(--navy-950);
  border-left: 2px solid var(--ice-200);
  padding-left: 24px;
}

.split-reverse { grid-template-columns: 1fr; }
@media (min-width: 880px) {
  .split-reverse { grid-template-columns: 1fr 1fr; align-items: center; }
}

.split-navy { align-items: center; }

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.split-navy .split-image img {
  max-height: 360px;
}

.split .btn { margin-top: 8px; }

/* ---------- Full-width section banner image ---------- */

.section-banner {
  margin-bottom: 48px;
}

.section-banner img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius);
  display: block;
}

.section-banner img.banner-top {
  object-position: center 25%;
}

/* ---------- Pillars / cards ---------- */

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 700px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
}

.pillar-card {
  background: var(--card-bg);
  border: 1px solid #E2DCCB;
  border-radius: var(--radius);
  padding: 36px;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.pillar-card:hover {
  border-color: var(--mango);
  transform: translateY(-2px);
}

.pillar-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--slate-500);
  opacity: 0.7;
  margin-bottom: 18px;
  display: block;
}

.pillar-card h3 { margin-bottom: 0.5em; }
.pillar-card p { color: var(--slate-500); margin-bottom: 0; }

.offer-card { display: flex; flex-direction: column; }
.offer-meta {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ice-200);
  margin-bottom: 12px;
}
.offer-card p { flex-grow: 1; }
.offer-link {
  display: block;
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-950);
}
.offer-card:hover .offer-link { color: var(--ice-200); }

.pillars-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .pillars-3 { grid-template-columns: repeat(3, 1fr); } }

.pillars-4 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .pillars-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .pillars-4 { grid-template-columns: repeat(4, 1fr); } }
.pillars-4 .pillar-card { padding: 26px; }
.pillars-4 .pillar-card h3 { font-size: 1.05rem; }
.pillars-4 .pillar-card p { font-size: 0.92rem; }

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.pillar-icon svg { width: 22px; height: 22px; }

.pillar-icon-orange {
  background: rgba(255, 110, 64, 0.12);
  color: var(--ice-200);
}

.pillar-icon-mango {
  background: rgba(255, 193, 59, 0.18);
  color: #B5750C;
}

/* ---------- Markets strip ---------- */

.markets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
}

@media (min-width: 700px) {
  .markets { grid-template-columns: repeat(3, 1fr); }
}

.markets-4 { grid-template-columns: 1fr; }
@media (min-width: 620px) { .markets-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .markets-4 { grid-template-columns: repeat(4, 1fr); } }

.market {
  background: var(--navy-950);
  padding: 32px;
}

.market span.tag {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin-bottom: 10px;
}

.market strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
}

/* ---------- Process steps ---------- */

.process {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid #E2DCCB;
}

.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid #E2DCCB;
}

.process-step .num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-700);
  font-size: 1.6rem;
}

.process-step h3 { margin-bottom: 6px; }
.process-step p { color: var(--slate-500); margin-bottom: 0; max-width: 60ch; }

/* ---------- About page layout ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}

@media (min-width: 880px) {
  .about-grid { grid-template-columns: 340px 1fr; gap: 64px; }
}

.about-portrait {
  background: var(--navy-950);
  padding: 40px 32px;
}

.about-portrait img {
  margin: 0 auto;
}

.about-copy h2:first-child { margin-top: 0; }
.about-copy .lede { max-width: none; }

.note-card {
  background: var(--ice-100);
  border-left: 3px solid var(--ice-200);
  padding: 20px 24px;
  font-size: 0.92rem;
  color: var(--navy-700);
  margin: 32px 0;
}

.note-card strong { display: block; margin-bottom: 4px; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 880px) {
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-details dl {
  margin: 28px 0 0;
}

.contact-details dt {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-top: 20px;
}

.contact-details dd {
  margin: 4px 0 0;
  font-size: 1.05rem;
}

.contact-details dd a { text-decoration: underline; text-decoration-color: var(--ice-200); }

form.contact-form {
  display: grid;
  gap: 20px;
}

.field { display: grid; gap: 8px; }

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-950);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid #DCD4C0;
  border-radius: var(--radius);
  background: var(--card-bg);
  color: var(--navy-950);
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-900);
}

.form-note { font-size: 0.85rem; color: var(--slate-500); }

.form-status {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.form-status.success { background: #E7F6EC; color: #1E5B33; border: 1px solid #BFE5CB; }
.form-status.error { background: #FBEAEA; color: #7A2020; border: 1px solid #F0C6C6; }

/* ---------- Final CTA band ---------- */

.cta-band {
  background: var(--navy-950);
  color: var(--white);
  text-align: left;
}

.cta-band .container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

@media (min-width: 760px) {
  .cta-band .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.cta-band h2 { color: var(--white); margin: 0; max-width: 20ch; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 12px;
}

.footer-brand img { height: 36px; width: 36px; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin: 0 0 14px;
  font-weight: 600;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: var(--white); font-size: 0.94rem; }
.footer-col a:hover { color: var(--ice-200); }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--navy-950);
  color: var(--white);
  padding: 64px 0 56px;
}

.page-hero .eyebrow { color: var(--ice-200); }
.page-hero h1 { color: var(--white); margin-top: 0.4em; }
.page-hero .lede { color: var(--slate-300); margin-top: 16px; }
