/* =========================================================
   components.css — Header, footer, marquee, faq, form, cards
   Building blocks réutilisables sur toutes les pages.
   ========================================================= */

/* ============== HEADER / NAV ============== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo img {
  height: 130px;
  width: auto;
  display: block;
  transition: transform .25s var(--ease);
}
.logo:hover img { transform: scale(1.04); }
.footer .logo img { height: 90px; }

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  font-size: .88rem;
  color: #BFBFBF;
  position: relative;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav-links a.active::after { width: 100%; }
.nav-cta { display: inline-flex; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: #fff;
  position: relative;
  transition: .3s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px; height: 2px;
  background: #fff;
  transition: .3s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after  { top: 0; transform: rotate(-45deg); }

/* ============== FOOTER ============== */
.footer {
  padding: 70px 0 40px;
  background: #060606;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: #fff;
  margin-bottom: 18px;
}
.footer a {
  display: block;
  color: #9A9A9A;
  font-size: .95rem;
  padding: 5px 0;
  transition: color .2s ease;
}
.footer a:hover { color: var(--accent); }
.footer .brand-line {
  color: #9A9A9A;
  max-width: 300px;
  margin: 14px 0 22px;
}
.socials { display: flex; gap: 10px; }
.soc {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 1px solid var(--border);
  transition: .25s;
}
.soc:hover { background: var(--accent); border-color: var(--accent); }
.soc:hover svg { stroke: #0A0A0A; }
.soc svg {
  width: 18px; height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  display: block;
  margin: auto;
  transition: stroke .25s;
}
.footer-bottom {
  margin-top: 50px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: #8A8A8A;
  font-size: .9rem;
}

/* ============== MARQUEE (logos défilants) ============== */
.clients-section {
  padding: 60px 0;
  background: #0B0B0B;
  border-block: 1px solid var(--border);
}
.clients-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 36px;
}
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: scroll 70s linear infinite;
  width: max-content;
}
@keyframes scroll { to { transform: translateX(-50%); } }

.client-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 140px; height: 56px;
  flex-shrink: 0;
}
.client-logo-wrap img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .55;
  transition: opacity .3s ease, filter .3s ease;
}
.client-logo-wrap:hover img { opacity: 1; }

/* ============== FAQ ============== */
.faq-list {
  margin-top: 50px;
  display: grid;
  gap: 12px;
  max-width: 860px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .3s ease, background .3s ease;
}
.faq-item.open {
  border-color: rgba(255, 107, 0, .35);
  background: #171717;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  text-align: left;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
}
.faq-q .chev {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .35s var(--ease), background .35s var(--ease);
}
.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
  background: var(--grad);
}
.faq-q .chev svg {
  width: 14px; height: 14px;
  stroke: #fff;
  transition: stroke .3s ease;
}
.faq-item.open .faq-q .chev svg { stroke: #0A0A0A; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), padding .45s var(--ease);
  padding: 0 26px;
  color: #BFBFBF;
}
.faq-item.open .faq-a {
  padding: 0 26px 24px;
  max-height: 400px;
}

/* ============== FORMULAIRE ============== */
.form {
  padding: 34px;
  border-radius: 22px;
  background: rgba(17, 17, 17, .7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  display: grid;
  gap: 16px;
}
.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0F0F0F;
  border: 1px solid var(--border);
  color: #fff;
  transition: border-color .25s ease, background .25s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: #111;
}
.field textarea { resize: vertical; min-height: 130px; }
.form .btn {
  justify-content: center;
  width: 100%;
  padding: 17px 26px;
}
.form-note {
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
}
.form-note strong { color: #fff; }

/* ============== CARDS ============== */
/* Pain card (problème) */
.pain {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.pain:hover { transform: translateY(-4px); border-color: #3a3a3a; }
.pain .emoji {
  margin-bottom: 18px;
  display: inline-flex;
  width: 48px; height: 48px;
  border-radius: 13px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, .1);
  border: 1px solid rgba(255, 107, 0, .25);
}
.pain .emoji svg {
  width: 22px; height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pain p { color: #BFBFBF; font-weight: 500; }

/* Result card */
.result-card {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.result-card:hover { transform: translateY(-4px); border-color: #3a3a3a; }
.client-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.avatar {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .02em;
  color: #0A0A0A;
  background: var(--grad);
}
.avatar.g2 {
  background: linear-gradient(135deg, #3a3a3a, #111);
  color: #fff;
  border: 1px solid var(--border);
}
.client-name { font-weight: 700; font-size: 1rem; line-height: 1.3; }
.client-sector { color: var(--muted); font-size: .85rem; }
.stat-big {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-sec { color: #CFCFCF; margin-top: 4px; font-size: .95rem; }

/* Step (méthode timeline) */
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
  position: relative;
}
.step:hover { transform: translateX(4px); border-color: rgba(255, 107, 0, .35); }
.step-num {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #0A0A0A;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 10px 30px -12px rgba(255, 107, 0, .65);
}
.step h3 { margin-bottom: 6px; }
.step p { color: #BFBFBF; }

/* Why card */
.why-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.why-card:hover { transform: translateY(-4px); border-color: rgba(255, 107, 0, .35); }
.icon-box {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, .12);
  border: 1px solid rgba(255, 107, 0, .3);
  margin-bottom: 18px;
}
.icon-box svg {
  width: 22px; height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.why-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.why-card p { color: #BFBFBF; font-size: .96rem; }

/* Real card (capsule vidéo) */
.real-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
}
.real-card:hover {
  transform: translateY(-8px);
  border-color: #3a3a3a;
  box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .7);
}
.real-embed {
  position: relative;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #0f0f0f;
}
.real-embed iframe,
.real-embed video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  object-fit: cover;
}
.real-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: linear-gradient(160deg, #161616 0%, #0d0d0d 100%);
}
.real-play-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 107, 0, .12);
  border: 1.5px solid rgba(255, 107, 0, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s, border-color .25s;
}
.real-card:hover .real-play-icon {
  background: rgba(255, 107, 0, .22);
  border-color: rgba(255, 107, 0, .8);
}
.real-play-icon svg {
  width: 24px; height: 24px;
  fill: var(--accent);
  margin-left: 3px;
}
.real-info {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
}
.real-client {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .97rem;
  color: #fff;
}
.real-type { font-size: .82rem; color: var(--muted); }

/* Forfait card */
.forfait {
  position: relative;
  padding: 36px 32px 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.forfait:hover {
  transform: translateY(-6px);
  border-color: #3a3a3a;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.forfait.featured {
  background: #141414;
  border-color: rgba(255, 107, 0, .5);
  box-shadow: 0 0 0 1px rgba(255, 107, 0, .25),
              0 40px 80px -30px rgba(255, 107, 0, .25);
  transform: translateY(-12px);
}
.forfait.featured:hover {
  transform: translateY(-18px);
  border-color: rgba(255, 107, 0, .8);
}
.forfait-badge {
  display: inline-flex;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--grad);
  color: #0A0A0A;
  margin-bottom: 18px;
}
.forfait-header {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.forfait-name {
  font-size: 1.35rem;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent);
}
.forfait-price .amount,
.forfait-price .currency {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3.2rem;
  letter-spacing: -.04em;
  color: #fff;
}
.forfait-price .currency {
  vertical-align: baseline;
  margin-left: 4px;
}
.forfait-price .period {
  font-size: .9rem;
  color: var(--muted);
  margin-top: 6px;
}
.forfait-features {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
}
.forfait-features strong { color: #fff; font-weight: 700; }
.forfait-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #CFCFCF;
  font-size: .96rem;
}
.forfait-features li .check {
  width: 20px; height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, .15);
  border: 1px solid rgba(255, 107, 0, .35);
}
.forfait-features li .check svg {
  width: 11px; height: 11px;
  stroke: var(--accent);
  stroke-width: 2.5;
  fill: none;
}
.forfait .btn { width: 100%; justify-content: center; }
.forfait.featured .btn-ghost {
  background: var(--grad);
  color: #0A0A0A;
  border-color: transparent;
  box-shadow: 0 10px 30px -10px rgba(255, 107, 0, .55);
}
.forfait.featured .btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(255, 107, 0, .7);
}
.forfait-note {
  text-align: center;
  margin-top: 30px;
  color: var(--muted);
  font-size: .92rem;
}
.forfait-note a {
  color: var(--accent);
  border-bottom: 1px solid rgba(255, 107, 0, .4);
}
