/* ==========================================================================
   Impact Finance — feuille de style
   Reprise fidèle de la maquette Claude Design « Impact Finance.dc.html ».
   ========================================================================== */

:root {
  /* Couleurs */
  --cream: #F6F1E6;        /* fond de page */
  --paper: #FFFDF7;        /* cartes */
  --sand: #EDE4D2;         /* section études de cas */
  --ink: #17160F;          /* texte, contours */
  --night: #22201B;        /* section méthode, pied de page */
  --night-card: #2C2924;
  --yellow: #F3C337;
  --green: #16745F;

  --line: #E4DAC6;
  --line-strong: #D9CEB8;
  --line-button: #CFC4AC;
  --line-sand: #DED3BC;
  --shadow-soft: #E7DCC5;

  --text: #4F4A3E;
  --text-muted: #6A6354;
  --text-strong: #2D2A20;
  --text-on-yellow: #453F1D;
  --label-on-yellow: #4A4320;
  --text-on-night: #C8C1AF;
  --muted-on-night: #A39B89;
  --footer-muted: #8E8778;
  --line-on-night: rgba(246, 241, 230, .14);

  /* Typographies */
  --font-display: 'Bricolage Grotesque', sans-serif;
  --font-serif: Newsreader, serif;
  --font-body: 'Schibsted Grotesk', system-ui, sans-serif;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* --- Base ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-padding-top: var(--header-offset, 0px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a { color: var(--green); text-decoration: none; }

input, textarea, button { font-family: inherit; }

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.page {
  width: 100%;
  overflow-x: hidden;
  overflow-x: clip; /* « clip » garde l'en-tête collant fonctionnel */
}

/* Accent italique à empattements utilisé dans les titres */
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Petit sur-titre en capitales */
.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green);
}

/* Titres de section */
.h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 14px 0 0;
}

/* En-tête de section : titre à gauche, texte à droite */
.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-end;
  justify-content: space-between;
}

.section-head-title { flex: 1 1 460px; min-width: 0; }

.section-head-text {
  flex: 1 1 300px;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  max-width: 420px;
}

/* --- Boutons --------------------------------------------------------------- */

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: 1.5px solid var(--line-button);
}

.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }

/* --- En-tête ---------------------------------------------------------------- */

.site-header {
  position: relative;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 230, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

/* Collant dès que la navigation tient sur une ligne */
@media (min-width: 860px) {
  .site-header { position: sticky; }
}

.nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  flex: 0 0 auto;
}

.brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  margin-left: auto;
  align-items: center;
  font-size: 14.5px;
  font-weight: 500;
}

.nav-links a { color: var(--text); }

.nav-cta {
  flex: 0 0 auto;
  background: var(--ink);
  color: var(--cream);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid var(--ink);
}

.nav-cta:hover { background: var(--yellow); color: var(--ink); border-color: var(--ink); }

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

.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 86px) 24px clamp(30px, 4vw, 54px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(30px, 4vw, 56px);
  align-items: center;
}

.hero-text { flex: 1 1 440px; min-width: 0; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  animation: rise .7s var(--ease) both;
}

.hero-tag-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6.2vw, 74px);
  line-height: .96;
  letter-spacing: -.035em;
  margin: 22px 0 0;
  animation: rise .8s var(--ease) .06s both;
}

.hero-title .serif { letter-spacing: -.01em; }

.hero-lead {
  font-size: clamp(16.5px, 1.5vw, 19px);
  line-height: 1.55;
  color: var(--text);
  max-width: 540px;
  margin: 22px 0 0;
  animation: rise .8s var(--ease) .12s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: rise .8s var(--ease) .18s both;
}

.hero-note {
  margin: 18px 0 0;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-media {
  flex: 1 1 320px;
  min-width: 0;
  position: relative;
  animation: rise .9s var(--ease) .1s both;
}

.hero-frame {
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shadow-soft);
}

.hero-frame img {
  display: block;
  width: 100%;
  height: clamp(300px, 38vw, 430px);
  object-fit: cover;
}

.sticker {
  position: absolute;
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 10px 15px;
  box-shadow: 3px 3px 0 var(--ink);
}

.sticker-views {
  top: -16px;
  left: -8px;
  background: var(--yellow);
  transform: rotate(-4deg);
}

.sticker-since {
  bottom: -18px;
  right: -6px;
  background: var(--green);
  color: var(--cream);
  transform: rotate(3deg);
}

.sticker-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.sticker-label {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sticker-since .sticker-label { opacity: .85; }

/* --- Logos clients ------------------------------------------------------------ */

.logos {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px clamp(36px, 5vw, 64px);
}

.logos-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px 26px;
}

.logos-label {
  margin: 0 0 16px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
  color: var(--text-muted);
  white-space: nowrap;
  padding-right: 56px;
}

/* --- Chiffres clés ------------------------------------------------------------ */

.stats {
  background: var(--yellow);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.stats-grid {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(34px, 4vw, 52px) 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 30px 24px;
}

.stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 4.6vw, 54px);
  line-height: 1;
  letter-spacing: -.04em;
}

.stat-label {
  margin: 10px 0 0;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-on-yellow);
}

/* --- Offres ---------------------------------------------------------------------- */

.offers-head {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 100px) 24px clamp(20px, 3vw, 40px);
}

.offers {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px clamp(56px, 7vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
}

.offer {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(20px, 2.4vw, 30px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(22px, 3vw, 44px);
  align-items: center;
}

.offer:hover { border-color: var(--ink); }

.offer-body { flex: 1 1 300px; min-width: 0; }

.offer-media {
  flex: 1 1 280px;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.offer-media img {
  display: block;
  width: 100%;
  height: clamp(230px, 26vw, 320px);
  object-fit: cover;
}

.offer-kicker {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}

.offer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.08;
  letter-spacing: -.03em;
  margin: 12px 0 0;
}

.offer-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  margin: 14px 0 0;
}

.included {
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  padding: 14px 18px 6px;
}

.included-label {
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.included-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  align-items: baseline;
  justify-content: space-between;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.included-item {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-strong);
}

.included-qty {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -.01em;
  color: var(--green);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.offer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1.5px solid var(--yellow);
  padding-bottom: 2px;
}

.offer-link:hover { border-color: var(--ink); color: var(--ink); }

/* --- Méthode ------------------------------------------------------------------- */

.method {
  background: var(--night);
  color: var(--cream);
}

.method-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 100px) 24px;
}

.method .section-head-title { flex-basis: 440px; }
.method .eyebrow { color: var(--yellow); }
.method .h2 .serif { color: var(--yellow); }
.method .section-head-text { color: var(--text-on-night); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: clamp(32px, 4vw, 52px);
}

.step {
  background: var(--night-card);
  border: 1px solid var(--line-on-night);
  border-radius: 20px;
  padding: 26px;
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
  margin: 18px 0 0;
}

.step-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-night);
  margin: 10px 0 0;
}

.step-when {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted-on-night);
  margin: 16px 0 0;
}

.method-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: clamp(30px, 4vw, 44px);
  padding-top: 28px;
  border-top: 1px solid var(--line-on-night);
}

.method-cta-text {
  margin: 0;
  flex: 1 1 300px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.2vw, 26px);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.method-cta-btn {
  background: var(--yellow);
  color: var(--ink);
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  border: 1.5px solid var(--yellow);
}

.method-cta-btn:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

/* --- Études de cas --------------------------------------------------------------- */

.cases {
  background: var(--sand);
  border-bottom: 1px solid var(--line-sand);
}

.cases-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 100px) 24px;
}

.cases .h2 { max-width: 720px; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: clamp(30px, 4vw, 48px);
}

.case {
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 5px 5px 0 var(--ink);
}

.case-sector {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.case-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 4.6vw, 50px);
  line-height: 1;
  letter-spacing: -.04em;
  margin: 18px 0 0;
}

.case-result {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.02em;
}

.case-text {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 14px 0 20px;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.case-tag {
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12.5px;
  font-weight: 600;
}

.case-yellow { background: var(--yellow); }
.case-yellow .case-sector,
.case-yellow .case-text { color: var(--label-on-yellow); }
.case-yellow .case-tag { background: rgba(23, 22, 15, .1); }

.case-paper { background: var(--paper); }
.case-paper .case-sector { color: var(--text-muted); }
.case-paper .case-text { color: var(--text); }
.case-paper .case-tag { background: var(--cream); }

.case-green { background: var(--green); color: var(--cream); }
.case-green .case-sector { color: #CDE7DE; }
.case-green .case-text { color: #E6F1ED; }
.case-green .case-tag {
  background: rgba(246, 241, 230, .14);
  border-color: rgba(246, 241, 230, .4);
}

.cases-note {
  margin: 26px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* --- Témoignage ------------------------------------------------------------------- */

.testimonial {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 24px;
}

.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(26px, 4vw, 56px);
  position: relative;
}

.quote-proof {
  display: flex;
  align-items: center;
  margin-bottom: 26px;
}

.avatars { display: flex; }

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
}

.avatar + .avatar { margin-left: -12px; }

.avatar-sand { background: var(--sand); color: var(--text); }
.avatar-yellow { background: var(--yellow); color: var(--ink); }
.avatar-green { background: var(--green); color: var(--cream); }
.avatar-night { background: var(--night); color: var(--cream); }

.quote-rating {
  margin-left: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.quote-text {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1.3;
  letter-spacing: -.01em;
  max-width: 900px;
}

.quote-author {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: baseline;
}

.quote-name { font-weight: 600; font-size: 16px; }

.quote-role { font-size: 14.5px; color: var(--text-muted); }

.quote-badge {
  position: absolute;
  top: -14px;
  right: 22px;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  transform: rotate(-3deg);
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
}

/* --- L'agence --------------------------------------------------------------------- */

.team {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px clamp(56px, 7vw, 96px);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

/* Ces sections n'ont pas de marge haute : un peu d'air quand on y arrive par le menu */
.team,
.faq { scroll-margin-top: 28px; }

.team-text { flex: 1 1 380px; min-width: 0; }

.team .h2 { font-size: clamp(32px, 4.4vw, 52px); }

.team-lead {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text);
  margin: 18px 0 0;
  max-width: 520px;
}

.roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px 20px;
  margin-top: 26px;
}

.role {
  border-top: 1px solid var(--line-strong);
  padding-top: 12px;
}

.role-title { margin: 0; font-weight: 600; font-size: 15px; }

.role-text { margin: 4px 0 0; font-size: 13.5px; color: var(--text-muted); }

.team-photos {
  flex: 1 1 300px;
  min-width: 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.team-photo {
  flex: 1 1 0;
  min-width: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
}

.team-photo-offset { margin-top: 26px; }

.team-photo img {
  display: block;
  width: 100%;
  height: clamp(200px, 24vw, 290px);
  object-fit: cover;
}

/* --- FAQ -------------------------------------------------------------------------- */

.faq {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px clamp(56px, 7vw, 96px);
}

.faq .h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  margin: 14px 0 clamp(24px, 3vw, 36px);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 20px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}

.faq-sign {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--green);
  flex: 0 0 auto;
}

.faq-answer {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text);
  max-width: 660px;
}

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

.contact {
  background: var(--yellow);
  border-top: 1.5px solid var(--ink);
}

.contact-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(52px, 6.5vw, 92px) 24px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(30px, 4vw, 60px);
}

.contact-text { flex: 1 1 360px; min-width: 0; }

.contact .eyebrow { color: var(--label-on-yellow); }

.contact .h2 {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1;
  letter-spacing: -.04em;
}

.contact-lead {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text-on-yellow);
  margin: 20px 0 0;
  max-width: 460px;
}

.contact-steps {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-steps li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 15.5px;
  font-weight: 500;
}

.contact-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.contact-details {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 22, 15, .2);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 15px;
  font-weight: 500;
}

.contact-email {
  color: var(--ink);
  border-bottom: 1.5px solid rgba(23, 22, 15, .3);
}

.contact-email:hover { border-color: var(--ink); color: var(--ink); }

.contact-side { flex: 1 1 380px; min-width: 0; }

.contact-form,
.contact-success {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
}

.contact-form {
  padding: clamp(20px, 2.6vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-strong);
}

.field input,
.field textarea {
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  padding: 12px 14px;
  font-size: 15px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 400;
}

.field textarea { resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--paper);
}

.choices {
  border: 0;
  padding: 0;
  margin: 0;
}

.choices legend {
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-strong);
  margin-bottom: 10px;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 15px;
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  background: var(--cream);
}

.choice:hover { border-color: var(--ink); }

.choice input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  margin: 0;
}

/* Champ piège anti-spam, invisible pour les visiteurs */
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 11px;
  background: #FBEDE6;
  border: 1px solid #E9C3B4;
  color: #8A2A12;
  font-size: 13.5px;
  line-height: 1.5;
}

.form-error a { color: inherit; text-decoration: underline; }

.form-submit {
  background: var(--ink);
  color: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.form-submit:hover { background: var(--green); border-color: var(--green); }

.form-submit:disabled { opacity: .7; cursor: wait; }

.form-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  text-align: center;
}

.contact-success {
  padding: clamp(26px, 3vw, 40px);
  text-align: center;
}

.success-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--green);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
}

.success-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.03em;
  margin: 20px 0 0;
}

.success-title:focus { outline: none; }

.success-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  margin: 12px 0 0;
}

.success-reset {
  margin-top: 22px;
  background: transparent;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.success-reset:hover { border-color: var(--ink); }

/* --- Pied de page ------------------------------------------------------------------ */

.site-footer {
  background: var(--night);
  color: var(--cream);
}

.footer-main {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(44px, 5vw, 72px) 24px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}

.footer-about { flex: 1 1 280px; min-width: 0; }

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-mark {
  background: var(--yellow);
  color: var(--ink);
}

.footer-pitch {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-on-night);
  margin: 16px 0 0;
  max-width: 320px;
}

.footer-cta {
  display: inline-block;
  margin-top: 20px;
  background: var(--yellow);
  color: var(--ink);
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
}

.footer-cta:hover { background: var(--cream); color: var(--ink); }

.footer-col { flex: 1 1 150px; min-width: 0; }

.footer-col-contact { flex-basis: 180px; }

.footer-title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 15px;
}

.footer-links a { color: var(--cream); }

.footer-col-contact .footer-links { color: var(--text-on-night); }

.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 20px 24px 32px;
  border-top: 1px solid var(--line-on-night);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--footer-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal a { color: var(--footer-muted); }

/* --- Pages d'offre (landing pages) -------------------------------------------------- */
/* Mêmes codes que l'accueil ; l'en-tête centré reprend la variante B de la maquette. */

.lp-hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 76px) 24px clamp(30px, 4vw, 48px);
  text-align: center;
}

.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-button);
}

.breadcrumb a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--line-button);
}

.breadcrumb a:hover { color: var(--ink); border-color: var(--ink); }

.lp-hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: .98;
  letter-spacing: -.04em;
  max-width: 1000px;
  margin: 24px auto 0;
  animation: rise .8s var(--ease) .06s both;
}

.lp-hero-lead {
  font-size: clamp(16.5px, 1.6vw, 19px);
  line-height: 1.55;
  color: var(--text);
  max-width: 660px;
  margin: 24px auto 0;
  animation: rise .8s var(--ease) .12s both;
}

.lp-hero .hero-actions { justify-content: center; }

.lp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  animation: rise .8s var(--ease) .24s both;
}

.lp-badge {
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 9px 16px;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}

.lp-badge-paper { background: var(--paper); transform: rotate(-3deg); }
.lp-badge-yellow { background: var(--yellow); transform: rotate(2deg); }
.lp-badge-green { background: var(--green); color: var(--cream); transform: rotate(-2deg); }

.lp-hero-frame {
  margin-top: 44px;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  box-shadow: 8px 8px 0 var(--shadow-soft);
  animation: rise .9s var(--ease) .3s both;
}

.lp-hero-frame img {
  display: block;
  width: 100%;
  height: clamp(220px, 28vw, 340px);
  object-fit: cover;
  object-position: 50% 30%;
}

/* En bref */
.lp-brief {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(16px, 2vw, 24px) 24px 0;
}

.lp-brief-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 3vw, 34px);
}

.lp-brief-title { margin: 0 0 18px; }

.lp-brief-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 16px 28px;
  margin: 0;
}

.lp-brief-item {
  border-top: 1px solid var(--line-strong);
  padding-top: 12px;
}

.lp-brief-item dt { font-weight: 600; font-size: 15px; }

.lp-brief-item dd {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text);
}

/* Sections claires */
.lp-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 100px) 24px 0;
}

.lp-section-end { padding-bottom: clamp(56px, 7vw, 100px); }

.lp-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 18px;
  margin-top: clamp(32px, 4vw, 52px);
}

.lp-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
}

.lp-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.02em;
  margin: 18px 0 0;
}

.lp-card-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  margin: 10px 0 0;
}

.lp-conclusion {
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
  max-width: 900px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
}

.lp-conclusion strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--ink);
}

.lp-note {
  margin: 26px 0 0;
  max-width: 780px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.lp-note a,
.section-head-text a {
  color: inherit;
  border-bottom: 1px solid var(--line-button);
}

.lp-note a:hover,
.section-head-text a:hover { color: var(--ink); border-color: var(--ink); }

/* En-tête de section avec encadré à droite */
.lp-head-aside {
  flex: 1 1 320px;
  min-width: 0;
  max-width: 460px;
}

.lp-head-aside .included { margin-top: 0; }

/* Formats */
.lp-format-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 18px 0 0;
}

/* Pourquoi une agence spécialisée */
.lp-why {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 100px) 24px;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
  align-items: flex-start;
}

.lp-why-text { flex: 1 1 360px; min-width: 0; }

.lp-why-lead {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--text);
  margin: 18px 0 0;
  max-width: 520px;
}

.lp-why-lead a {
  color: var(--ink);
  border-bottom: 1.5px solid var(--yellow);
}

.lp-why-lead a:hover { border-color: var(--ink); }

.lp-why-grid {
  flex: 1.3 1 480px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}

.lp-why-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.lp-why-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
  margin: 0;
}

.lp-why-card p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

/* Preuves */
.lp-quote { margin-top: clamp(36px, 5vw, 56px); }

/* Déroulé */
.lp-timeline {
  list-style: none;
  padding: 0;
  margin: clamp(30px, 4vw, 48px) 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 28px 24px;
}

.lp-timeline li {
  position: relative;
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}

.lp-timeline li::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  border: 1.5px solid var(--ink);
}

.lp-when {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
}

.lp-timeline h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -.02em;
  margin: 8px 0 0;
}

.lp-timeline p:not(.lp-when) {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

.lp-faq { padding-top: clamp(56px, 7vw, 100px); }

/* --- Mouvements réduits ------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .hero-tag,
  .hero-title,
  .hero-lead,
  .hero-actions,
  .hero-media,
  .lp-hero-title,
  .lp-hero-lead,
  .lp-badges,
  .lp-hero-frame { animation: none; }

  .marquee-track { animation-play-state: paused; }
}
