/* ==========================================================================
   OCAP Consulting - feuille de style commune
   Charte graphique officielle : marine #18415F + orange #F39236, Daxline Pro (repli Mulish).
   Realise par l'agence DACOM.
   ========================================================================== */

:root {
  /* Orange (secondaire + CTA, choix client #E8853A) */
  --orange: #E8853A;
  --orange-hover: #D2722B;
  --orange-deep: #B85F22;   /* texte orange lisible AA sur fond clair */
  --orange-soft: #FBEFE3;   /* surfaces douces */

  /* Neutres */
  --white: #FFFFFF;
  --bg-alt: #FAF7F3;        /* sections alternees */
  --ink: #2B2B2B;          /* texte principal */
  --ink-soft: #5E5E5E;     /* texte secondaire */
  --border: #E8E2DB;

  /* Marine OCAP (couleur signature - charte) : accent secondaire + surfaces sombres */
  --navy: #18415F;
  --navy-hover: #123247;
  --navy-soft: #E4EAF0;
  --dark: var(--navy);      /* fond des zones sombres (footer, CTA, sections ink) */

  /* Alias retro-compat : l'ancien role "sarcelle" devient la marine de la charte */
  --teal: var(--navy);
  --teal-soft: var(--navy-soft);

  /* Typo - police de marque Daxline Pro, repli humaniste Mulish (une seule famille) */
  --font-display: 'Daxline Pro', 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Daxline Pro', 'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Rayons */
  --r-btn: 10px;
  --r-card: 16px;
  --r-img: 16px;
  --r-cookie: 14px;

  /* Ombres */
  --sh-card: 0 2px 8px rgba(43,43,43,0.06);
  --sh-card-hover: 0 8px 24px rgba(43,43,43,0.10);
  --sh-header: 0 1px 0 rgba(43,43,43,0.06);
  --sh-header-scroll: 0 4px 16px rgba(43,43,43,0.07);

  /* Largeur */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip (pas hidden) : garde la protection overflow horizontal SANS casser position:sticky du header */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.18; color: var(--ink); letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 5.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.125rem; font-weight: 700; }
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 14px;
  display: inline-block;
}
.eyebrow--teal { color: var(--teal); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-soft); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 96px); }
.section--alt { background: var(--bg-alt); }
.section--soft { background: var(--orange-soft); }
.section--ink { background: var(--dark); color: var(--bg-alt); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section__head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.text-center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  padding: 14px 24px; border-radius: var(--r-btn);
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  text-align: center; text-decoration: none; cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--orange); color: var(--ink); box-shadow: 0 2px 10px rgba(243,146,54,0.30); }
.btn--primary:hover { background: var(--orange-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(224,126,30,0.34); }
.btn--secondary { background: transparent; color: var(--orange-deep); border: 1.5px solid var(--orange); }
.btn--secondary:hover { background: var(--orange-soft); transform: translateY(-2px); }
.btn--ink { background: var(--dark); color: #fff; }
.btn--ink:hover { background: var(--navy-hover); transform: translateY(-2px); }
.btn--on-ink { background: var(--orange); color: var(--ink); }
.btn--on-ink:hover { background: var(--orange-hover); transform: translateY(-2px); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { color: var(--teal); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow .ar { transition: transform .2s ease; }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .ar { transform: translateX(4px); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: var(--sh-header);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: var(--sh-header-scroll); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 54px; width: auto; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.08rem; color: var(--navy); letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 0.95rem; position: relative; padding-block: 6px; }
.main-nav a:hover { color: var(--orange-deep); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--orange-deep); }
.main-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 11px 18px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-7px); }
.nav-toggle span::after { transform: translateY(5px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(0) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .header-cta .btn { display: none; }
  /* Sans filtre sur mobile : sinon le header devient le bloc de reference des
     enfants position:fixed et ecrase le menu (inset 72px sur un header de 72px). */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

  .mobile-menu {
    position: fixed; inset: 72px 0 0 0; z-index: 99;
    background: var(--white);
    transform: translateX(100%); transition: transform .3s ease;
    display: flex; flex-direction: column; padding: 28px var(--gutter) 40px;
    overflow-y: auto; visibility: hidden;
  }
  .mobile-menu.is-open { transform: translateX(0); visibility: visible; }
  .mobile-menu a.m-link { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--border); }
  .mobile-menu a.m-link[aria-current="page"] { color: var(--orange-deep); }
  .mobile-menu .btn { margin-top: 28px; }
  body.menu-open { overflow: hidden; }
  /* Menu ouvert : body passe en overflow:hidden (scroll-container) ce qui casse le
     sticky du header -> on l'epingle en fixed pendant l'ouverture. position:fixed ne
     piege PAS le .mobile-menu fixed enfant (seul un transform/filter le ferait). */
  body.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
}
@media (min-width: 921px) { .mobile-menu { display: none; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding-block: clamp(40px, 6vw, 72px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title { margin: 14px 0 18px; }
.hero__lead { font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--ink-soft); max-width: 36ch; }
.hero__cta { margin-top: 30px; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--r-img); box-shadow: var(--sh-card-hover); aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.hero__badge {
  position: absolute; left: -8px; bottom: -18px; background: var(--white);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--sh-card);
  padding: 14px 18px; max-width: 230px;
}
.hero__badge strong { color: var(--teal); font-family: var(--font-display); }
.hero__badge span { font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 820px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16/10; }
  .hero__badge { position: static; max-width: none; margin-top: 16px; }
  .hero__lead { max-width: none; }
}

.hero--compact .hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
.hero--compact .hero__media img { aspect-ratio: 4/5; }

/* ==========================================================================
   COMPOSANTS
   ========================================================================== */
/* Cartes generiques */
.cards { display: grid; gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card);
  padding: 28px; box-shadow: var(--sh-card); transition: transform .2s ease, box-shadow .2s ease;
}
.card--hover:hover { transform: translateY(-2px); box-shadow: var(--sh-card-hover); }
.card__pill {
  width: 46px; height: 46px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--orange-soft); color: var(--orange-deep); margin-bottom: 18px;
}
.card--teal .card__pill { background: var(--teal-soft); color: var(--teal); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); }
.card .link-arrow { margin-top: 16px; }
@media (max-width: 900px) { .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; } }

/* Split (texte + image alternes) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split__media img { border-radius: var(--r-img); box-shadow: var(--sh-card); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split--reverse .split__media { order: 2; }
.split--portrait .split__media img { aspect-ratio: 3/4; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: -1; }
  .split__media { order: -1; }
}

/* Liste a puces "check" */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.check-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318415F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}
.check-list li strong { color: var(--ink); }

/* Bandeau preuve / logos */
.proof-intro { text-align: center; color: var(--ink-soft); font-weight: 500; margin-bottom: 22px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; align-items: center; }
.logo-chip {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #7a736b;
  letter-spacing: 0.01em; padding: 8px 4px; transition: color .2s ease;
}
.logo-chip:hover { color: var(--ink); }
.proof-note { text-align: center; margin-top: 22px; color: var(--teal); font-weight: 500; }
.proof-note span { display: inline-flex; align-items: center; gap: 8px; }

/* Temoignages */
.quotes { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.quote {
  background: var(--teal-soft); border-radius: var(--r-card); padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.quote--soft { background: var(--orange-soft); }
.quote__mark { font-family: var(--font-display); font-size: 2.6rem; line-height: 0.5; color: var(--teal); height: 22px; }
.quote p { font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; color: var(--ink); font-style: italic; }
.quote__author { font-family: var(--font-body); font-style: normal; font-size: 0.9rem; font-weight: 600; color: var(--ink); margin-top: auto; }
.quote__author span { display: block; font-weight: 400; color: var(--ink-soft); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* Encart autorite / chiffres */
.facts { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.fact { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--sh-card); }
.fact b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--orange-deep); margin-bottom: 4px; }
.fact span { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 600px) { .facts { grid-template-columns: 1fr; } }

/* Methode / steps */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { position: relative; padding-top: 16px; }
.step__num {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--ink);
  width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-deep);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h4 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Profils "pour qui" */
.profiles { display: grid; gap: 20px; }
.profiles--3 { grid-template-columns: repeat(3, 1fr); }
.profiles--2 { grid-template-columns: repeat(2, 1fr); }
.profile { background: var(--bg-alt); border-radius: var(--r-card); padding: 26px; border: 1px solid var(--border); }
.profile h4 { color: var(--teal); margin-bottom: 8px; }
.profile p { color: var(--ink-soft); }
@media (max-width: 820px) { .profiles--3, .profiles--2 { grid-template-columns: 1fr; } }

/* FAQ accordeon */
.faq { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  text-align: left; padding: 22px 4px; font-family: var(--font-display); font-weight: 500; font-size: 1.12rem; color: var(--ink);
}
.faq__q .ico { flex: none; width: 24px; height: 24px; position: relative; transition: transform .25s ease; }
.faq__q .ico::before, .faq__q .ico::after { content: ""; position: absolute; background: var(--orange-deep); border-radius: 2px; inset: 0; margin: auto; }
.faq__q .ico::before { width: 14px; height: 2px; }
.faq__q .ico::after { width: 2px; height: 14px; transition: transform .25s ease; }
.faq__item.is-open .faq__q .ico::after { transform: rotate(90deg); opacity: 0; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 4px 22px; color: var(--ink-soft); }

/* Cas concret */
.case { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.case + .case { margin-top: clamp(48px, 7vw, 80px); }
.case--reverse .case__media { order: 2; }
.case__media img { border-radius: var(--r-img); box-shadow: var(--sh-card); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case__kicker { color: var(--orange-deep); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; }
.case h3 { margin: 8px 0 18px; }
.case__block { margin-bottom: 14px; }
.case__block b { color: var(--teal); display: block; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.case__block p { color: var(--ink-soft); }
.case__result { background: var(--teal-soft); border-radius: 12px; padding: 16px 18px; }
.case__result b { color: var(--teal); }
.case__result p { color: var(--ink); }
.case__result--quote p { font-style: italic; }
@media (max-width: 820px) {
  .case { grid-template-columns: 1fr; }
  .case--reverse .case__media { order: -1; }
  .case__media { order: -1; }
}

/* Bloc CTA final */
.cta-final { text-align: center; }
.cta-final .container { max-width: 720px; }
.cta-final p { color: rgba(250,247,243,0.85); font-size: 1.1rem; margin: 14px 0 30px; }

/* Pourquoi (liste forte) */
.why-list { display: grid; gap: 18px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list .dot { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); margin-top: 8px; }
.why-list p { color: var(--ink-soft); }
.why-list strong { color: var(--ink); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 18px; }
.contact-info .info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .info-item .ic { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-deep); display: inline-flex; align-items: center; justify-content: center; }
.contact-info b { display: block; color: var(--ink); }
.contact-info a { color: var(--teal); word-break: break-word; }
.contact-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-card); padding: clamp(24px, 4vw, 36px); box-shadow: var(--sh-card); }

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 7px; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1.5px solid var(--border); border-radius: var(--r-btn); padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,146,54,0.20); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: #c0392b; }
.field .err { color: #b03124; font-size: 0.82rem; margin-top: 6px; display: none; }
.field.has-error .err { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 22px; }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex: none; }
.consent label { font-size: 0.9rem; color: var(--ink-soft); }
.form-success {
  display: none; background: var(--teal-soft); border: 1px solid var(--teal); border-radius: 12px;
  padding: 18px 20px; color: var(--ink); margin-bottom: 20px;
}
.form-success.is-visible { display: block; }
.form-success b { color: var(--teal); }

/* ==========================================================================
   PAGES LEGALES
   ========================================================================== */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 38px; margin-bottom: 12px; }
.legal h3 { font-size: 1.15rem; margin-top: 24px; margin-bottom: 8px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal p { margin-bottom: 14px; }
.legal ul { margin-bottom: 14px; display: grid; gap: 8px; }
.legal ul li { padding-left: 20px; position: relative; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.legal a { color: var(--teal); text-decoration: underline; }
.page-head { padding-block: clamp(40px, 6vw, 64px); background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.page-head .lead { margin-top: 12px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--dark); color: #c2cdd8; padding-block: clamp(48px, 7vw, 72px) 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { height: 100px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #aab6c2; max-width: 32ch; font-size: 0.95rem; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: #c2cdd8; font-size: 0.95rem; }
.footer-col a:hover { color: var(--orange); text-decoration: none; }
.footer-contact a { color: #c2cdd8; display: inline-flex; align-items: center; gap: 8px; }
.footer-social { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff; }
.footer-social a { display: inline-flex; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); align-items: center; justify-content: center; color: #fff; transition: background .2s ease; }
.footer-social a:hover { background: var(--orange); color: var(--ink); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.14); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.85rem; color: #93a0ad; }
.footer-bottom a { color: #c2cdd8; }
.footer-bottom a:hover { color: var(--orange); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ==========================================================================
   BANDEAU COOKIES
   ========================================================================== */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-cookie);
  box-shadow: 0 12px 40px rgba(43,43,43,0.18); padding: 22px 24px;
  max-width: 880px; margin-inline: auto;
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.7,.3,1); opacity: 0;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h4 { margin-bottom: 8px; font-size: 1.1rem; }
.cookie-banner p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 18px; }
.cookie-banner p a { color: var(--teal); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cookie-actions .btn { padding: 11px 18px; font-size: 0.9rem; }
.cookie-prefs { display: none; margin-top: 6px; }
.cookie-prefs.is-open { display: block; }
.cookie-toggle { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cookie-toggle:first-child { border-top: 1px solid var(--border); }
.cookie-toggle b { color: var(--ink); display: block; }
.cookie-toggle span { font-size: 0.86rem; color: var(--ink-soft); }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: #cfc8c0; border-radius: 999px; transition: background .2s ease; }
.switch .track::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s ease; box-shadow: 0 1px 3px rgba(0,0,0,0.2); }
.switch input:checked + .track { background: var(--teal); }
.switch input:checked + .track::before { transform: translateX(20px); }
.switch input:disabled + .track { background: var(--teal); opacity: 0.55; cursor: not-allowed; }
.cookie-prefs .prefs-save { margin-top: 18px; }
@media (max-width: 540px) {
  .cookie-actions { flex-direction: column; }
  .cookie-actions .btn { width: 100%; }
}

/* ==========================================================================
   ANIMATIONS AU SCROLL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover, .card--hover:hover { transform: none !important; }
}

/* Petites utilitaires */
.muted { color: var(--ink-soft); }
.mt-s { margin-top: 24px; }
.mt-m { margin-top: 40px; }
.divider { height: 1px; background: var(--border); border: 0; margin-block: 32px; }
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   ACCUEIL V2 - composition visuelle (marine immersif + debords)
   Classes namespacees : n'affectent que la page d'accueil.
   ========================================================================== */

/* Boutons additionnels */
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn--ghost { background: rgba(255,255,255,0.06); color: #fff; border: 1.5px solid rgba(255,255,255,0.45); }
.btn--ghost:hover { background: rgba(255,255,255,0.14); border-color: #fff; transform: translateY(-2px); }

/* ---------- HERO immersif marine ---------- */
.xhero {
  position: relative; isolation: isolate; color: #fff; overflow: hidden;
  background:
    radial-gradient(820px 460px at 80% -10%, rgba(232,133,58,0.22), transparent 62%),
    radial-gradient(620px 320px at 8% 116%, rgba(232,133,58,0.10), transparent 60%),
    linear-gradient(158deg, #1b4a6b 0%, #163f5c 48%, #102d44 100%);
}
.xhero__grid {
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; padding-block: clamp(44px, 7vw, 84px) clamp(94px, 11vw, 148px);
}
.xhero .eyebrow { color: #F2B98C; }
.xhero__title { font-size: clamp(2.1rem, 5.4vw, 3.45rem); line-height: 1.08; letter-spacing: -0.02em; color: #fff; margin: 14px 0 18px; }
.xhero__lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: rgba(255,255,255,0.82); max-width: 44ch; }
.xhero__cta { margin-top: 30px; }
.xhero__trust { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: rgba(255,255,255,0.8); font-size: 0.93rem; }
.xhero__trust svg { flex: none; width: 22px; height: 22px; color: #F39E55; }

.xhero__media { position: relative; }
.xhero__media .frame { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 64px rgba(0,0,0,0.38); aspect-ratio: 1 / 1.08; }
.xhero__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.xhero__ring { position: absolute; right: -16px; bottom: -16px; width: 116px; height: 116px; border: 2px dashed rgba(232,133,58,0.55); border-radius: 50%; z-index: -1; }
.xhero__chip {
  position: absolute; left: -22px; bottom: 26px; top: auto; display: flex; gap: 12px; align-items: center; max-width: 248px;
  background: #fff; color: var(--ink); border-radius: 16px; padding: 13px 17px; box-shadow: 0 18px 38px rgba(0,0,0,0.24);
}
.xhero__chip .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-deep); display: grid; place-items: center; }
.xhero__chip b { display: block; font-family: var(--font-display); color: var(--navy); font-size: 0.96rem; line-height: 1.12; }
.xhero__chip span { font-size: 0.8rem; color: var(--ink-soft); }
@media (max-width: 860px) {
  .xhero__grid { grid-template-columns: 1fr; padding-block: 32px clamp(86px, 18vw, 116px); }
  .xhero__media { order: -1; max-width: 420px; }
  .xhero__lead { max-width: none; }
  .xhero__chip { left: 10px; right: auto; top: auto; bottom: 10px; }
}

/* ---------- Bandeau stats flottant ---------- */
.statstrip { position: relative; z-index: 5; margin-top: clamp(-72px, -8vw, -54px); }
.statstrip__inner { background: #fff; border: 1px solid var(--border); border-radius: 22px; box-shadow: 0 26px 60px rgba(16,47,71,0.16); display: grid; grid-template-columns: repeat(3, 1fr); }
.statstrip .stat { padding: clamp(22px, 3vw, 32px); text-align: center; }
.statstrip .stat + .stat { border-left: 1px solid var(--border); }
.statstrip .stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.6rem); color: var(--navy); line-height: 1; }
.statstrip .stat b .u { color: var(--orange); }
.statstrip .stat .lab { margin-top: 8px; color: var(--ink-soft); font-size: 0.92rem; }
@media (max-width: 760px) {
  .statstrip__inner { grid-template-columns: 1fr; }
  .statstrip .stat { border-left: 0 !important; }
  .statstrip .stat + .stat { border-top: 1px solid var(--border); }
}

/* ---------- Offres image-led ---------- */
.offers { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 32px); }
.offer { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; box-shadow: var(--sh-card); transition: transform .25s ease, box-shadow .25s ease; }
.offer:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(16,47,71,0.14); }
.offer__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.offer:hover .offer__media img { transform: scale(1.05); }
.offer__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16,47,71,0.5)); }
.offer__badge { position: absolute; left: 26px; top: -32px; bottom: auto; z-index: 3; width: 64px; height: 64px; border-radius: 18px; background: var(--orange); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 28px rgba(232,133,58,0.42); }
.offer__badge .icon { width: 28px; height: 28px; }
.offer__body { position: relative; padding: 46px 30px 30px; }
.offer__body h3 { margin-bottom: 10px; }
.offer__body p { color: var(--ink-soft); margin-bottom: 18px; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } }

/* ---------- Figure "a propos / methode" avec badge flottant ---------- */
.aboutfig { position: relative; }
.aboutfig > img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 24px; box-shadow: var(--sh-card-hover); }
.aboutfig--portrait { max-width: 420px; margin-inline: auto; }
.aboutfig--portrait > img { aspect-ratio: 3/4; object-position: top center; }
.aboutfig__badge { position: absolute; right: -14px; bottom: -14px; width: 124px; height: 124px; border-radius: 50%; background: linear-gradient(150deg, #1b4a6b, #102d44); color: #fff; display: grid; place-items: center; align-content: center; text-align: center; box-shadow: 0 18px 40px rgba(16,47,71,0.32); padding: 12px; }
.aboutfig__badge b { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: #F39E55; line-height: 1; }
.aboutfig__badge span { font-size: 0.72rem; margin-top: 5px; color: rgba(255,255,255,0.88); line-height: 1.2; }
@media (max-width: 820px) { .aboutfig { max-width: 460px; } }

/* ---------- Methode (etapes + fil conducteur) ---------- */
.method-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.method-steps { position: relative; display: grid; gap: 26px; }
.mstep { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.mstep__ico { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(150deg, #1b4a6b, #102d44); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; box-shadow: 0 8px 20px rgba(16,47,71,0.26); }
.mstep:not(:last-child)::before { content: ""; position: absolute; left: 27px; top: 58px; bottom: -28px; width: 2px; background: linear-gradient(var(--navy-soft), rgba(228,234,240,0)); }
.mstep h4 { margin-bottom: 6px; color: var(--navy); }
.mstep p { color: var(--ink-soft); }
@media (max-width: 820px) { .method-grid { grid-template-columns: 1fr; } .method-grid .aboutfig { margin-inline: auto; } }

/* ---------- Temoignages enrichis ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 30px; box-shadow: var(--sh-card); display: flex; flex-direction: column; gap: 16px; }
.tcard__mark { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 0.5; height: 18px; color: var(--orange); }
.tcard blockquote p { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; color: var(--ink); font-style: italic; }
.tcard__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tavatar { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.tcard__who b { display: block; color: var(--ink); font-size: 0.95rem; }
.tcard__who .role { color: var(--ink-soft); font-size: 0.85rem; }
@media (max-width: 900px) { .tgrid { grid-template-columns: 1fr; } }

/* ---------- Carte CTA marine en debord ---------- */
.ctaband__card { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(40px, 6vw, 76px); text-align: center; color: #fff; box-shadow: 0 30px 70px rgba(16,47,71,0.28);
  background: radial-gradient(680px 340px at 82% -24%, rgba(232,133,58,0.28), transparent 60%), linear-gradient(150deg, #1b4a6b, #102d44); }
.ctaband__card .eyebrow { color: #F2B98C; }
.ctaband__card h2 { color: #fff; }
.ctaband__card p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 14px auto 30px; font-size: 1.1rem; }

/* ---------- Variantes hero pages internes ---------- */
.xhero--band { text-align: center; }
.xhero--band .xhero__inner { max-width: 760px; margin-inline: auto; padding-block: clamp(54px, 8vw, 92px); }
.xhero--band h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.xhero--band .eyebrow { color: #F2B98C; }
.xhero--band .lead { color: rgba(255,255,255,0.84); }
.xhero--solo .xhero__grid { padding-block: clamp(40px, 6vw, 76px); }
.xhero--wide .xhero__media .frame { aspect-ratio: 5/4; }
.xhero--portrait .xhero__media .frame { aspect-ratio: 4/5; }

/* ---------- Methode "flow" verticale centree ---------- */
.method-flow { max-width: 680px; margin-inline: auto; display: grid; gap: 26px; position: relative; }

/* ---------- Badge flottant generique sur image ---------- */
.split__media, .case__media { position: relative; }
.media-badge { position: absolute; right: -14px; bottom: -14px; z-index: 2; width: 116px; height: 116px; border-radius: 50%; background: linear-gradient(150deg, #1b4a6b, #102d44); color: #fff; display: grid; place-items: center; align-content: center; text-align: center; box-shadow: 0 18px 40px rgba(16,47,71,0.3); padding: 12px; }
.media-badge b { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; color: #F39E55; line-height: 1; }
.media-badge span { font-size: 0.7rem; margin-top: 5px; color: rgba(255,255,255,0.88); line-height: 1.2; }
@media (max-width: 820px) { .media-badge { width: 96px; height: 96px; } }

/* ---------- Mur "Ils m'ont fait confiance" (nom + logo) ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-card { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 16px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--sh-card); transition: transform .2s ease, box-shadow .2s ease; }
.trust-card:hover { transform: translateY(-2px); box-shadow: var(--sh-card-hover); }
.trust-card__name { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--navy); text-align: center; line-height: 1.2; }
.trust-card__logo { width: 100%; height: 56px; display: grid; place-items: center; }
.trust-card__logo img { display: none; max-width: 100%; max-height: 56px; width: auto; object-fit: contain; }
.trust-card.has-logo .trust-card__logo img { display: block; }
.trust-card.has-logo .trust-card__ph { display: none; }
/* Libellé en attente du nom de marque : la place est conservée, le texte non affiché. */
.trust-card__name--pending { visibility: hidden; }
.trust-card__ph { width: 56px; height: 56px; border-radius: 12px; background: var(--bg-alt); border: 1px dashed var(--border); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
@media (max-width: 860px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

/* Témoignages : variantes de grille (2 cartes / carte unique large) */
.tgrid--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
.tgrid--feature { grid-template-columns: 1fr; max-width: 860px; margin: 0 auto 40px; }
@media (max-width: 900px) { .tgrid--2 { grid-template-columns: 1fr; } }

/* Honeypot anti-spam du formulaire de contact : invisible pour l'humain, atteignable par les bots. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  display: none; background: #fdeceb; border: 1px solid #b03124; border-radius: 12px;
  padding: 14px 16px; color: #b03124; margin-bottom: 16px; font-size: 0.95rem;
}
.form-error.is-visible { display: block; }
