/* ==========================================================================
   CAP FUTURE MAROC — Feuille de style principale
   ========================================================================== */

/* ---------- Ancrage sous la nav fixe ---------- */
section[id], .hero[id] { scroll-margin-top: 84px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r-md);
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { background: var(--orange-400); box-shadow: var(--shadow-cta-hover); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--lg { padding: 17px 36px; font-size: 16px; border-radius: var(--r-md); }
.btn--sm { padding: 10px 20px; font-size: 13px; border-radius: var(--r-full); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }
.btn__spinner { display: none; animation: btn-spin 0.8s linear infinite; }
.btn__spinner.is-visible { display: inline-block; }
@keyframes btn-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn__spinner { animation-duration: 1.6s; } }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--r-full);
  background: var(--orange-tint-12);
  border: 1px solid rgba(232, 135, 26, 0.28);
  color: var(--orange-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.badge-pill svg { width: 15px; height: 15px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--orange-tint-08);
  color: var(--orange-600);
}
.section--dark .tag { background: rgba(232,135,26,.12); color: var(--orange-300); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 31, 58, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--navy-line); background: rgba(11, 31, 58, 0.97); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.nav__brand img { border-radius: 10px; }
.nav__brand em { color: var(--orange-500); font-style: normal; }
.nav__links { display: none; align-items: center; gap: 4px; }
.nav__links a:not(.btn) { padding: 9px 14px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.65); border-radius: 8px; transition: color var(--t-fast); }
.nav__links a:not(.btn):hover { color: var(--white); }
.nav__links .btn { margin-left: 8px; }
.nav__toggle { display: flex; padding: 8px; color: var(--white); }
.nav__toggle svg { width: 24px; height: 24px; }

.nav__mobile {
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--navy-800);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
  padding: 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease);
  z-index: 90;
}
.nav__mobile.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav__mobile a:not(.btn) { padding: 16px 4px; text-align: center; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.75); border-bottom: 1px solid var(--navy-line-soft); }
.nav__mobile .btn { margin-top: 16px; }

@media (min-width: 940px) {
  .nav__links { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
  background: radial-gradient(ellipse 900px 600px at 15% -10%, rgba(232,135,26,0.10), transparent 60%),
              radial-gradient(ellipse 700px 700px at 105% 65%, rgba(232,135,26,0.06), transparent 60%),
              var(--navy-800);
}
.hero__atmosphere { position: absolute; inset: 0; pointer-events: none; display: flex; align-items: center; justify-content: flex-end; }
.hero__compass-motif {
  width: 780px; height: 780px; max-width: none;
  transform: translateX(18%);
  color: rgba(255,255,255,0.09); stroke: currentColor; fill: none; stroke-width: 1;
  overflow: visible;
}
.hero__compass-ring { color: rgba(255,255,255,0.10); transform-origin: 300px 300px; animation: compass-spin 90s linear infinite; }
.hero__compass-ticks { color: rgba(232,135,26,0.28); }
.hero__compass-needle { color: rgba(232,135,26,0.5); transform-origin: 300px 300px; animation: compass-wobble 7s ease-in-out infinite; }
.hero__compass-orbit { color: rgba(232,135,26,0.65); transform-origin: 300px 300px; animation: compass-spin 14s linear infinite; }

@keyframes compass-spin { to { transform: rotate(360deg); } }
@keyframes compass-wobble {
  0%, 100% { transform: rotate(-6deg); }
  50% { transform: rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__compass-ring, .hero__compass-needle, .hero__compass-orbit { animation: none; }
}
@media (max-width: 940px) {
  .hero__atmosphere { justify-content: center; opacity: 0.28; }
  .hero__compass-motif { width: 460px; height: 460px; transform: translateY(8%); }
}

.hero__grid { display: grid; grid-template-columns: 1fr; gap: 56px; position: relative; z-index: 1; }
.hero__title { font-size: clamp(34px, 6vw, 58px); color: var(--white); margin-bottom: 22px; }
.hero__lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.65); max-width: 480px; margin-bottom: 14px; }
.hero__sub { font-size: 14.5px; line-height: 1.75; color: rgba(255,255,255,.42); max-width: 480px; margin-bottom: 30px; }

.hero__checklist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 38px; }
.hero__checklist li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: rgba(255,255,255,.72); }
.hero__checklist svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--orange-tint-18); color: var(--orange-400); box-sizing: content-box; stroke-width: 2.2; }

.hero__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.hero__cta-note { font-size: 12.5px; color: rgba(255,255,255,.4); padding-left: 4px; }

.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 22px 18px;
  text-align: center;
  transition: background var(--t-med), border-color var(--t-med), transform var(--t-med);
}
.stat-card:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); transform: translateY(-3px); }
.stat-card__icon { width: 24px; height: 24px; color: var(--orange-500); margin-bottom: 12px; stroke-width: 1.5; }
.stat-card__value { display: block; font-family: var(--font-display); font-size: 27px; font-weight: 700; color: var(--orange-500); margin-bottom: 4px; }
.stat-card__label { font-size: 11.5px; color: rgba(255,255,255,.4); letter-spacing: 0.01em; }

@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 64px; }
}

/* ---------- Diagnostic express (quiz) ---------- */
.quiz {
  max-width: 620px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--r-xl);
  padding: 40px 32px; box-shadow: var(--shadow-card);
  position: relative; overflow: hidden;
}
.quiz__progress { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; }
.quiz__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--paper-line); transition: background var(--t-med), transform var(--t-med); }
.quiz__dot.is-active { background: var(--orange-500); transform: scale(1.3); }
.quiz__dot.is-done { background: var(--orange-300); }

.quiz__step { display: none; text-align: center; animation: quiz-in 0.4s var(--ease); }
.quiz__step.is-active { display: block; }
@keyframes quiz-in { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }

.quiz__step h3 { font-size: 19px; color: var(--ink); margin-bottom: 22px; }
.quiz__options { display: flex; flex-direction: column; gap: 10px; }
.quiz__option {
  width: 100%; text-align: left; padding: 15px 20px; border-radius: var(--r-md);
  border: 1.5px solid var(--paper-line); background: var(--paper); color: var(--ink);
  font-weight: 600; font-size: 14.5px;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.quiz__option span { display: block; font-weight: 400; font-size: 12px; color: rgba(11,31,58,.4); margin-top: 2px; }
.quiz__option:hover { border-color: var(--orange-400); background: var(--orange-tint-08); transform: translateX(3px); }

.quiz__back {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 20px;
  font-size: 13px; font-weight: 600; color: rgba(11,31,58,.4);
}
.quiz__back:hover { color: var(--orange-500); }
.quiz__back svg { width: 14px; height: 14px; }

.quiz__result-icon {
  width: 54px; height: 54px; border-radius: 50%; background: var(--orange-tint-12); color: var(--orange-500);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.quiz__result-icon svg { width: 24px; height: 24px; }
.quiz__result-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(232,135,26,.7); margin-bottom: 8px; }
.quiz__result h3 { font-size: 21px; color: var(--ink); margin-bottom: 12px; }
.quiz__result > p { font-size: 14.5px; line-height: 1.7; color: rgba(11,31,58,.55); max-width: 440px; margin: 0 auto 16px; }
.quiz__result-note { font-size: 12.5px !important; color: rgba(11,31,58,.35) !important; margin-bottom: 24px !important; }

@media (min-width: 560px) { .quiz__options { flex-direction: row; flex-wrap: wrap; } .quiz__option { flex: 1 1 calc(50% - 5px); } }

/* ---------- Problème ---------- */
.problem-list { display: flex; flex-direction: column; gap: 18px; }
.problem-card {
  background: var(--white);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-lg);
  padding: 30px 32px;
  position: relative;
  padding-left: 40px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.problem-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.problem-card:hover .problem-card__badge { transform: scale(1.1) rotate(6deg); }
.problem-card__badge { transition: transform var(--t-med) var(--ease); }
.problem-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(to bottom, var(--orange-400), #d94b3a);
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.problem-card__badge {
  width: 34px; height: 34px; border-radius: 10px;
  background: rgba(217, 75, 58, 0.1); color: #d94b3a;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.problem-card__badge svg { width: 18px; height: 18px; }
.problem-card__num { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(11,31,58,.35); margin-bottom: 10px; }
.problem-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 10px; }
.problem-card p { font-size: 14px; line-height: 1.8; color: rgba(11,31,58,.45); }

/* ---------- Méthode / Route ---------- */
.route { position: relative; max-width: 640px; margin: 0 auto; }
.route__line {
  position: absolute; left: 27px; top: 6px; bottom: 6px; width: 2px;
  background-image: repeating-linear-gradient(to bottom, rgba(232,135,26,.8) 0 5px, transparent 5px 13px);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 78%, transparent 100%);
  transform: scaleY(0); transform-origin: top;
  transition: transform 1.6s var(--ease);
}
.route.is-drawn .route__line { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .route__line { transform: scaleY(1); transition: none; } }
.route__step { position: relative; display: flex; gap: 22px; padding-bottom: 34px; }
.route__step:last-child { padding-bottom: 0; }
.route__marker {
  position: relative; z-index: 1; flex-shrink: 0;
  width: 56px; height: 56px; border-radius: var(--r-lg);
  background: var(--navy-700); border: 1px solid rgba(232,135,26,.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-500);
  transition: border-color var(--t-med), background var(--t-med);
}
.route__step:hover .route__marker { border-color: rgba(232,135,26,.5); background: var(--orange-tint-12); transform: scale(1.08); }
.route__marker svg { width: 22px; height: 22px; stroke-width: 1.5; }
.route__content { padding-top: 4px; }
.route__eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(232,135,26,.55); margin-bottom: 4px; }
.route__content h3 { font-size: 19px; color: var(--white); margin-bottom: 6px; }
.route__content p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.42); max-width: 400px; }

.engagement-banner {
  margin-top: 64px;
  max-width: 620px;
  margin-left: auto; margin-right: auto;
  background: var(--navy-700);
  border: 1px solid var(--navy-line);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  text-align: center;
}
.engagement-banner__icon {
  width: 56px; height: 56px; border-radius: var(--r-lg);
  background: var(--orange-tint-12); color: var(--orange-500);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}
.engagement-banner__icon svg { width: 26px; height: 26px; }
.engagement-banner h3 { font-size: 20px; color: var(--white); margin-bottom: 8px; }
.engagement-banner__lead { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.65); margin-bottom: 12px; }
.engagement-banner p:last-child { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,.4); max-width: 460px; margin: 0 auto; }

/* ---------- Domaines ---------- */
.domain-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.domain-card {
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--shadow-card);
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.domain-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.domain-card:hover .domain-card__icon { transform: scale(1.1) rotate(-4deg); }
.domain-card__icon {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--orange-tint-08); color: var(--orange-500);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.domain-card__icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.domain-card__icon { transition: transform var(--t-med) var(--ease); }
.domain-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.domain-card p { font-size: 13px; line-height: 1.65; color: rgba(11,31,58,.45); }

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

/* ---------- Pourquoi nous ---------- */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: start; }
.why-grid__label { font-size: 13px; font-weight: 700; color: rgba(11,31,58,.55); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 22px; }
.benefit-list { display: flex; flex-direction: column; gap: 12px; }
.benefit-list li {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--r-md);
  padding: 15px 16px; font-size: 14px; line-height: 1.6; color: rgba(11,31,58,.7);
  box-shadow: var(--shadow-card);
}
.benefit-list__icon { width: 24px; height: 24px; border-radius: 8px; background: var(--orange-tint-12); color: var(--orange-500); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.benefit-list__icon svg { width: 13px; height: 13px; stroke-width: 2.5; }

@media (min-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* ---------- Vidéo ---------- */
.video-frame {
  position: relative; max-width: 380px; margin: 0 auto;
  aspect-ratio: 9/16; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--navy-line); box-shadow: var(--shadow-panel-dark);
  background: #000;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame__play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px;
  border-radius: 50%; background: rgba(232,135,26,.92); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transition: transform var(--t-fast), background var(--t-fast);
}
.video-frame__play:hover { transform: scale(1.06); background: var(--orange-400); }
.video-frame__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-frame__play.is-hidden { display: none; }
.video-frame__sound {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  display: flex; align-items: center; gap: 7px;
  background: rgba(0,0,0,.65); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.16);
  color: var(--white); font-size: 12px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--r-full);
}
.video-frame__sound svg { width: 15px; height: 15px; color: var(--orange-400); }
.video-caption { text-align: center; font-size: 12.5px; color: rgba(255,255,255,.32); margin-top: 20px; }

/* ---------- Témoignages ---------- */
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 56px; }
.testimonial-card {
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-card); display: flex; flex-direction: column;
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.testimonial-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.testimonial-card__stars { display: flex; gap: 3px; color: var(--orange-500); margin-bottom: 18px; }
.testimonial-card__stars svg { width: 15px; height: 15px; }
.testimonial-card p { font-size: 14px; line-height: 1.8; color: rgba(11,31,58,.6); flex: 1; margin-bottom: 22px; }
.testimonial-card__author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--paper-line); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 12px; flex-shrink: 0; }
.avatar--navy { background: var(--navy-800); }
.avatar--orange { background: linear-gradient(135deg, var(--orange-500), var(--orange-600)); }
.testimonial-card__author strong { display: block; font-size: 13.5px; color: var(--ink); }
.testimonial-card__author .testimonial-card__meta { font-size: 12px; color: rgba(11,31,58,.4); }

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

.stat-strip {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: var(--navy-800); border-radius: var(--r-xl); padding: 32px 24px;
}
.stat-strip div { text-align: center; }
.stat-strip strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--orange-500); margin-bottom: 4px; }
.stat-strip span { font-size: 11.5px; color: rgba(255,255,255,.42); }
@media (min-width: 700px) { .stat-strip { grid-template-columns: repeat(4, 1fr); } }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; text-align: left; font-weight: 600; font-size: 15px; color: var(--ink);
}
.faq-item__q svg { width: 19px; height: 19px; color: rgba(11,31,58,.3); flex-shrink: 0; transition: transform var(--t-med), color var(--t-med); }
.faq-item.is-open .faq-item__q svg { transform: rotate(180deg); color: var(--orange-500); }
.faq-item.is-open .faq-item__q { color: var(--orange-500); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height var(--t-med) var(--ease); }
.faq-item__a p { padding: 0 22px 20px; font-size: 14px; line-height: 1.7; color: rgba(11,31,58,.5); }

/* ---------- Formulaire ---------- */
.form-panel {
  background: rgba(17,37,72,.85); border: 1px solid var(--navy-line); border-radius: var(--r-xl);
  padding: 40px 26px; position: relative; overflow: hidden;
}
.form-panel__bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--orange-500), var(--orange-400), var(--orange-500)); }
.form-panel__head { text-align: center; margin-bottom: 36px; }
.form-panel__head h2 { font-size: clamp(22px, 4vw, 29px); color: var(--white); margin-bottom: 10px; }
.form-panel__head p { font-size: 14px; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.form-panel__note { font-size: 13.5px; color: rgba(255,255,255,.38) !important; max-width: 420px; margin: 8px auto 0 !important; line-height: 1.6; }

.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-block__head { display: flex; align-items: center; gap: 9px; margin-bottom: 4px; }
.form-block__head svg { width: 17px; height: 17px; color: var(--orange-500); }
.form-block__head h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,.8); }
.form-block__hint { font-size: 12px; color: rgba(255,255,255,.35); margin-bottom: 18px; }

.form-row { display: grid; gap: 12px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.7); margin-bottom: 7px; }
.field input, .field select {
  width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm); padding: 13px 16px; font-size: 15px; color: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.field input::placeholder { color: rgba(255,255,255,.25); }
.field input:hover, .field select:hover { border-color: rgba(255,255,255,.18); }
.field input:focus, .field select:focus { border-color: var(--orange-500); box-shadow: 0 0 0 3px rgba(232,135,26,.14); outline: none; }
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field select:disabled { opacity: 0.45; cursor: not-allowed; }
.field select option { background: var(--navy-700); color: var(--white); }

.form-divider { height: 1px; background: var(--navy-line); margin: 26px 0; }

.form-error { background: rgba(217,75,58,.1); border: 1px solid rgba(217,75,58,.25); color: #f28b7f; font-size: 13.5px; padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 18px; }

.trust-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 30px; }
.trust-row > div { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; padding: 12px 6px; }
.trust-row svg { width: 17px; height: 17px; color: rgba(232,135,26,.55); }
.trust-row span { font-size: 10.5px; color: rgba(255,255,255,.3); line-height: 1.3; }
@media (min-width: 640px) { .trust-row { grid-template-columns: repeat(4, 1fr); } }

.form-success { text-align: center; padding: 30px 10px; }
.form-success__icon {
  width: 60px; height: 60px; border-radius: 50%; background: rgba(30,158,107,.14); color: var(--green-600);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}
.form-success__icon svg { width: 26px; height: 26px; stroke-width: 2.2; }
.form-success h2 { font-size: 22px; color: var(--white); margin-bottom: 10px; }
.form-success p { font-size: 14.5px; color: rgba(255,255,255,.55); max-width: 380px; margin: 0 auto; line-height: 1.6; }
.form-success strong { color: var(--white); }
.link-reset { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; color: var(--orange-500); font-weight: 700; font-size: 13.5px; }
.link-reset:hover { text-decoration: underline; }

@media (min-width: 640px) { .form-panel { padding: 48px 52px; } }

/* ---------- CTA final ---------- */
.cta-final { position: relative; padding: var(--section-pad-y) 0; background: var(--navy-800); overflow: hidden; }
.cta-final__glow { position: absolute; inset: 0; background: radial-gradient(ellipse 400px 300px at 30% 50%, rgba(232,135,26,.08), transparent 65%), radial-gradient(ellipse 300px 260px at 72% 45%, rgba(232,135,26,.1), transparent 65%); }
.cta-final h2 { font-size: clamp(30px, 5vw, 46px); color: var(--white); margin-bottom: 20px; }
.cta-final p { font-size: 17px; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.cta-final__sub { font-size: 14px !important; color: rgba(255,255,255,.4) !important; max-width: 440px; margin: 0 auto 34px !important; line-height: 1.7; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 900px; margin: 0 auto 34px; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--white); border: 1px solid var(--paper-line); border-radius: var(--r-lg);
  padding: 30px 24px; box-shadow: var(--shadow-card);
  transition: box-shadow var(--t-med), transform var(--t-med);
}
.contact-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.contact-card__icon { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--white); margin-bottom: 18px; }
.contact-card__icon svg { width: 21px; height: 21px; }
.contact-card__icon--green { background: linear-gradient(135deg, #22c55e, #16a34a); }
.contact-card__icon--orange { background: var(--orange-500); }
.contact-card__icon--navy { background: var(--navy-800); }
.contact-card h3 { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(11,31,58,.35); margin-bottom: 8px; }
.contact-card__value { font-size: 14.5px; font-weight: 700; color: var(--ink); margin-bottom: 14px; word-break: break-word; }
.contact-card__cta { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--orange-500); margin-top: auto; }
.contact-card__cta svg { width: 14px; height: 14px; }

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

.contact-meta { display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 13.5px; color: rgba(11,31,58,.42); }
.contact-meta > div { display: flex; align-items: center; gap: 8px; }
.contact-meta svg { width: 16px; height: 16px; color: var(--orange-500); }
.contact-meta strong { color: rgba(11,31,58,.62); }
@media (min-width: 640px) { .contact-meta { flex-direction: row; gap: 40px; } }

/* ---------- Footer ---------- */
.footer { background: var(--navy-800); border-top: 1px solid var(--navy-line); padding: 30px 0; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.footer p { font-size: 13.5px; color: rgba(255,255,255,.35); }
.footer__links { display: flex; align-items: center; gap: 14px; font-size: 12px; color: rgba(255,255,255,.25); }
.footer__links a:hover { color: rgba(255,255,255,.45); }
@media (min-width: 640px) { .footer__inner { flex-direction: row; justify-content: space-between; } }

/* ---------- WhatsApp flottant ---------- */
.fab-whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #25D366, #1da851);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  transition: transform var(--t-fast);
}
.fab-whatsapp svg { width: 27px; height: 27px; }
.fab-whatsapp::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(37, 211, 102, 0.5); animation: pulse-ring 2.4s ease-out infinite;
}
.fab-whatsapp:hover { transform: scale(1.07); }
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .fab-whatsapp::before { animation: none; } }

/* ---------- Barre CTA sticky mobile ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 79;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(11,31,58,.96); backdrop-filter: blur(12px);
  border-top: 1px solid var(--navy-line);
  transform: translateY(120%);
  transition: transform var(--t-med) var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
@media (min-width: 720px) { .sticky-cta { display: none; } }
