/* V. Solution — site v1
   Palette derived from the official logo (steel blue / silver)
   and the brand cover (bocage greens, oak wood). */

:root {
  --blue-950: #001830;
  --blue-900: #00243c;
  --blue-800: #0c3054;
  --blue-700: #1a4a6c;
  --blue-600: #2a6288;
  --steel: #546a77;
  --silver: #9ca8a8;
  --green-900: #163025;
  --green-800: #1e4030;
  --green-700: #2a5a40;
  --green-600: #34724e;
  --green-500: #3f8a5c;
  --wood-900: #3a2716;
  --wood-700: #6b4528;
  --wood-600: #8a5a34;
  --wood-500: #a67c52;
  --wood-300: #d4b48a;
  --wood-200: #e6d3b8;
  --wood-100: #f3eadc;
  --cream: #f6f1e8;
  --paper: #fbf8f2;
  --white: #ffffff;
  --ink: #15202b;
  --muted: #5c6b75;
  --line: rgba(0, 36, 60, 0.12);
  --danger: #8a2f2f;
  --ok: #2a5a40;
  --radius: 1.6rem;
  --radius-sm: 0.9rem;
  --radius-pill: 999px;
  --shadow: 0 14px 40px rgba(0, 24, 48, 0.12);
  --shadow-soft: 0 8px 24px rgba(0, 24, 48, 0.08);
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --space: 1.25rem;
  --max: 72rem;
  --header-h: 4.75rem;
  --focus: 0 0 0 3px var(--cream), 0 0 0 6px var(--blue-700);
}

*,
*::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: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
}

img, picture, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--green-700); }

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--blue-900);
  color: var(--cream);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
}
.skip-link:focus { top: 1rem; color: var(--cream); box-shadow: var(--focus); }

/* ---------- Header (IEL-inspired pill nav) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 1rem 0.7rem;
}
.header-inner {
  max-width: calc(var(--max) + 2rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 36, 60, 0.08);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-soft);
  padding: 0.45rem 0.5rem 0.45rem 0.85rem;
  min-height: 3.6rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--blue-900);
  flex: 0 0 auto;
}
.logo img {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo:hover { color: var(--blue-900); }

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  margin-right: 0.35rem;
}
.nav a {
  text-decoration: none;
  color: var(--blue-900);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--wood-100);
  color: var(--blue-900);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--green-700);
  color: var(--cream);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--green-800);
  color: var(--cream);
}
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 232, 0.65);
}
.btn-secondary:hover {
  background: rgba(246, 241, 232, 0.12);
  color: var(--cream);
}
.btn-ghost {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--line);
}
.btn-ghost:hover { background: var(--wood-100); color: var(--blue-900); }
.btn-wood {
  background: var(--wood-700);
  color: var(--cream);
}
.btn-wood:hover { background: var(--wood-900); color: var(--cream); }
.btn-lg { padding: 0.95rem 1.4rem; font-size: 1rem; }
.btn .price { font-variant-numeric: tabular-nums; }

.header-cta { flex: 0 0 auto; }
.header-cta .btn { white-space: nowrap; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  content: "";
}
.nav-toggle span::before { transform: translate(-50%, calc(-50% - 6px)); }
.nav-toggle span::after { transform: translate(-50%, calc(-50% + 6px)); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translate(-50%, -50%) rotate(-45deg); }

@media (max-width: 960px) {
  .header-cta { display: none; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% - 0.35rem);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 0.6rem;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.75rem 0.9rem; }
  .nav-mobile-cta { display: block; margin: 0.35rem 0.4rem 0.5rem; text-align: center; }
}
@media (min-width: 961px) {
  .nav-mobile-cta { display: none; }
}

/* ---------- Layout ---------- */
.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}
.section { padding: 4.5rem 0; }
.section-sm { padding: 3.25rem 0; }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }
.section-navy {
  background: var(--blue-900);
  color: var(--cream);
}
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-wood {
  background:
    linear-gradient(180deg, rgba(246,241,232,0.08), rgba(246,241,232,0.08)),
    var(--wood-900);
  color: var(--cream);
}
.section-green {
  background: var(--green-900);
  color: var(--cream);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood-600);
  margin: 0 0 0.7rem;
}
.section-navy .eyebrow,
.section-wood .eyebrow,
.hero .eyebrow { color: var(--wood-300); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--blue-900);
  margin: 0 0 0.85rem;
}
h1 { font-size: clamp(2.05rem, 4.6vw, 3.6rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
.lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.4rem;
}
.hero .lead { color: rgba(246, 241, 232, 0.92); }

/* ---------- Hero ---------- */
.hero-shell {
  width: min(calc(100% - 1.5rem), calc(var(--max) + 4rem));
  margin: 0 auto 0;
  padding-bottom: 0.25rem;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(18rem, 0.92fr) minmax(0, 1.2fr);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: min(72vh, 40rem);
  background: var(--blue-900);
  box-shadow: var(--shadow);
  color: var(--cream);
}
.hero-media {
  position: relative;
  margin: 0;
  min-height: min(72vh, 40rem);
  order: 2;
}
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 55%;
}
.hero-shade { display: none; }
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: clamp(2rem, 5vh, 3.5rem) clamp(1.35rem, 3.2vw, 2.7rem) 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  order: 1;
  background: var(--blue-900);
}
.hero h1 { color: var(--cream); text-wrap: balance; font-size: clamp(1.85rem, 3.4vw, 3.1rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0.4rem 0 0; }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  position: static;
  margin-top: 1.45rem;
  z-index: 2;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(251, 248, 242, 0.92);
  color: var(--blue-900);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}
.pill:hover { background: var(--white); color: var(--blue-900); }
.pill-ghost {
  background: rgba(0, 36, 60, 0.45);
  color: var(--cream);
  border: 1px solid rgba(246, 241, 232, 0.25);
  box-shadow: none;
}
.pill-ghost:hover { background: rgba(0, 36, 60, 0.65); color: var(--cream); }
.hero > .hero-pills { align-self: start; width: max-content; max-width: 100%; }
.pill { align-self: center; }

@media (max-width: 800px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    grid-template-columns: none;
  }
  .hero-media {
    position: relative;
    height: 17.5rem;
    min-height: 17.5rem;
    order: 0;
  }
  .hero-media img { position: absolute; }
  .hero-copy {
    min-height: 0;
    padding: 1.6rem 1.2rem 1.6rem;
    background: var(--blue-900);
    order: 1;
  }
  .hero-pills { margin-top: 1.2rem; }
}

/* ---------- Cards / grids ---------- */
.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1.25rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
@media (min-width: 861px) and (max-width: 1020px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
a.card:hover { color: inherit; border-color: var(--wood-300); }
.card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--wood-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 1.3rem 1.35rem 1.5rem; }
.card-body p { margin: 0 0 0.8rem; color: var(--muted); }
.card-body p:last-child { margin-bottom: 0; }
.card-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-700);
}

.audience-card .card-body { padding-top: 1.5rem; }
.icon-dot {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: var(--wood-100);
  color: var(--blue-800);
  margin-bottom: 0.9rem;
  font-size: 1.15rem;
}

/* Offer / steps */
.offer-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: end;
  margin-bottom: 2.2rem;
}
@media (max-width: 800px) { .offer-head { grid-template-columns: 1fr; gap: 1.2rem; } }

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  padding: 1.35rem 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}
.price-card .amount {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--blue-900);
  line-height: 1;
}
.price-card .amount small {
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: 0;
  margin-left: 0.2rem;
}
.price-card .ttc {
  color: var(--muted);
  margin: 0.45rem 0 0.9rem;
  font-size: 1rem;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--white);
  border-radius: 1.15rem;
  padding: 1.3rem 1.2rem 1.4rem;
  border: 1px solid var(--line);
  position: relative;
}
.step-n {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--wood-600);
  margin-bottom: 0.55rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.45rem; }
.step p { margin: 0; color: var(--muted); font-size: 1.02rem; }

/* ---------- Qui suis-je ---------- */
.about-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; justify-items: start; }
}
.portrait {
  width: 11.5rem;
  flex: 0 0 auto;
}
.portrait img {
  width: 11.5rem;
  height: 11.5rem;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
  background: var(--wood-200);
}
.portrait figcaption {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.1rem 0 1.3rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--wood-100);
  color: var(--blue-900);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.75rem;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-display);
}
.chip img { width: 1.05rem; height: 1.05rem; object-fit: cover; border-radius: 2px; }

/* Placeholders for missing content */
.placeholder {
  border: 1.5px dashed var(--wood-500);
  background: repeating-linear-gradient(
    -45deg,
    rgba(166, 124, 82, 0.07),
    rgba(166, 124, 82, 0.07) 8px,
    rgba(246, 241, 232, 0.4) 8px,
    rgba(246, 241, 232, 0.4) 16px
  );
  color: var(--wood-700);
  border-radius: 0.85rem;
  padding: 0.85rem 1rem;
  font-size: 0.98rem;
}
.placeholder strong { color: var(--wood-900); }
.success-card .placeholder { min-height: 6.5rem; }

/* Engagement */
.engage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 800px) { .engage-grid { grid-template-columns: 1fr; } }
.engage-grid img {
  width: 100%;
  height: 100%;
  max-height: 22rem;
  object-fit: cover;
  border-radius: 1.15rem;
}
.feature-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.feature-list li {
  padding: 0.7rem 0 0.7rem 1.8rem;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--green-600);
  box-shadow: 0 0 0 4px rgba(52, 114, 78, 0.18);
}

/* Page hero (inner pages) */
.page-hero {
  padding: 3.2rem 0 2.2rem;
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { margin-bottom: 0; }

/* Forms */
form { margin: 0; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow-soft);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem 1.1rem;
}
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 650; font-size: 0.95rem; font-family: var(--font-display); color: var(--blue-900); }
.req { color: var(--wood-600); font-weight: 500; }
input, select, textarea {
  border: 1px solid rgba(0, 36, 60, 0.18);
  background: var(--paper);
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: 0 0 0 3px rgba(26, 74, 108, 0.18);
  background: var(--white);
}
textarea { min-height: 7rem; resize: vertical; }
.form-actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; }
.form-note, .legal-mini { font-size: 0.92rem; color: var(--muted); margin: 0.7rem 0 0; }
.alert {
  display: none;
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
  background: var(--wood-100);
  border: 1px solid var(--wood-300);
  color: var(--wood-900);
}
.alert.is-visible { display: block; }
.alert-ok { background: #e7f3ea; border-color: #b7d8c0; color: var(--green-900); }

.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.prose { max-width: 44rem; }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.prose h2 { margin-top: 2.2rem; }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}
.cta-band p { margin: 0; max-width: 36rem; color: rgba(246,241,232,0.88); }
.cta-band h2 { margin-bottom: 0.4rem; color: var(--cream); }

/* Footer */
.site-footer {
  background: var(--blue-950);
  color: rgba(246, 241, 232, 0.86);
  padding: 3rem 0 1.6rem;
  margin-top: 0;
}
.site-footer a { color: var(--wood-300); }
.site-footer a:hover { color: var(--cream); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { display: flex; gap: 0.75rem; align-items: flex-start; }
.footer-brand img { width: 3rem; height: 3rem; }
.footer-brand p { margin: 0.4rem 0 0; font-size: 0.98rem; }
.footer-col h2 {
  color: var(--cream);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: 0.3rem 0; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(246, 241, 232, 0.12);
  padding-top: 1.1rem;
  font-size: 0.92rem;
}
.bretagne {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(246, 241, 232, 0.86);
}
.bretagne img { width: 1.25rem; height: 1.25rem; border-radius: 2px; }

/* Legal / utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.section-head { margin-bottom: 2rem; max-width: 40rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}


/* Honeypot anti-spam (hors écran, reste dans le flux accessible au robot seulement) */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Encadré « bientôt » pour les réussites, en attendant le contenu confirmé */
.soon-block {
  max-width: 40rem;
  padding: 1.8rem 2rem;
  background: var(--cream);
  border: 1px solid var(--wood-100, #e6d3b8);
  border-left: 4px solid var(--wood-700, #6b4528);
  border-radius: 4px;
}
.soon-block p { margin: 0.65rem 0 0; color: var(--steel, #546a77); }
.soon-block p:first-child { margin-top: 0; }
