/* =========================================================
   sections.css — Sections de page (hero, problème, services, etc.)
   Conteneurs spécifiques aux blocs visuels du site.
   ========================================================= */

/* ============== HERO ============== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  animation: float 16s ease-in-out infinite;
}
.blob.b1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, #FF6B00, transparent 70%);
  top: -120px; left: -80px;
}
.blob.b2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #FF8C38, transparent 70%);
  bottom: -200px; right: -120px;
  animation-delay: -8s;
}
.blob.b3 {
  width: 340px; height: 340px;
  background: radial-gradient(circle, #B33A00, transparent 70%);
  top: 40%; left: 40%;
  animation-delay: -4s;
  opacity: .35;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(40px, -30px) scale(1.08); }
}
.grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .06;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-title { max-width: 14ch; }
.hero-title .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0 .05em;
  margin-right: .05em;
}
.word > span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  animation: rise .9s var(--ease) forwards;
}
@keyframes rise { to { transform: translateY(0); opacity: 1; } }
.hero-sub {
  color: #BFBFBF;
  font-size: 1.15rem;
  margin: 26px 0 40px;
  max-width: 560px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 860px;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  letter-spacing: -.02em;
}
.stat .num .plus { color: var(--accent); }
.stat .lbl { color: var(--muted); font-size: .9rem; margin-top: 2px; }

/* ============== SECTION PROBLÈME ============== */
.problem .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 50px;
}
.transition-line {
  margin-top: 56px;
  padding: 22px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 107, 0, .08), rgba(255, 140, 56, .02));
  border: 1px solid rgba(255, 107, 0, .25);
  text-align: center;
  font-size: 1.15rem;
}
.transition-line strong { color: var(--accent); }

/* ============== SECTION SERVICES (svc-list) ============== */
.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}
.svc-list { margin-top: 64px; }
.svc-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 52px 0;
  border-top: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: padding-left .35s var(--ease);
}
.svc-row:last-child { border-bottom: 1px solid var(--border); }
@media (hover: hover) {
  .svc-row:hover { padding-left: 12px; }
  .svc-row:hover .svc-name { color: var(--accent); }
  .svc-row:hover .svc-arrow {
    transform: translateX(8px);
    color: var(--accent);
  }
}
.svc-num {
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .18em;
  padding-top: 6px;
  align-self: flex-start;
}
.svc-name {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  margin-bottom: 12px;
  transition: color .3s;
}
.svc-desc {
  color: var(--muted);
  font-size: 1rem;
  max-width: 560px;
  line-height: 1.7;
}
.svc-arrow {
  font-size: 1.8rem;
  color: #444;
  transition: transform .4s var(--ease), color .3s;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 300;
}

/* ============== SECTION PLATFORMS ============== */
.platforms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.platform-card {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-align: center;
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.platform-card:hover { transform: translateY(-4px); border-color: #3a3a3a; }
.platform-card.featured {
  border-color: rgba(255, 107, 0, .35);
  box-shadow: 0 0 40px -20px rgba(255, 107, 0, .3);
}
.platform-card .icon-pill {
  display: inline-flex;
  width: 54px; height: 54px;
  border-radius: 15px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 0, .1);
  border: 1px solid rgba(255, 107, 0, .25);
  margin-bottom: 16px;
}
.platform-card h3 { font-size: 1.25rem; margin-bottom: 6px; }
.platform-card .figure {
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  letter-spacing: -.03em;
  margin: 12px 0 8px;
}
.platform-card .caption {
  color: #BFBFBF;
  font-size: .93rem;
}

/* ============== SECTION RÉSULTATS ============== */
.results-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* ============== SECTION RÉALISATIONS ============== */
.realisations { background: #080808; }
.realisations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.real-placeholder p {
  font-size: .78rem;
  color: #444;
  text-align: center;
  padding: 0 24px;
  line-height: 1.5;
  font-family: var(--font-body);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ============== SECTION MÉTHODE ============== */
.method-timeline {
  margin-top: 60px;
  position: relative;
  display: grid;
  gap: 30px;
}
.method-timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 10px; bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

/* ============== SECTION POURQUOI ============== */
.why-grid {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

/* ============== SECTION FORFAITS ============== */
.forfaits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 60px;
  align-items: start;
}
.forfaits-addon {
  margin-top: 36px;
  padding: 24px 30px;
  border-radius: var(--radius);
  background: rgba(255, 107, 0, .07);
  border: 1px solid rgba(255, 107, 0, .3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.forfaits-addon-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.forfaits-addon-desc {
  color: #BFBFBF;
  font-size: .95rem;
}
.forfaits-addon-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--accent);
  white-space: nowrap;
}
.forfaits-addon-price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============== SECTION CONTACT ============== */
.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 0, .25), transparent 55%),
    radial-gradient(circle at 80% 90%, rgba(255, 140, 56, .18), transparent 55%),
    #0A0A0A;
  border-block: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.contact h2 { max-width: 12ch; }
.contact .section-lead {
  font-size: 1.1rem;
  color: #DADADA;
  margin-top: 18px;
}
.contact-bullets {
  margin-top: 28px;
  display: grid;
  gap: 10px;
}
.contact-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #DADADA;
}
.contact-bullets svg {
  width: 18px; height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
  .realisations-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .forfaits-grid { grid-template-columns: 1fr; }
  .forfait.featured { transform: none; }
  .forfait.featured:hover { transform: translateY(-6px); }
}

@media (max-width: 768px) {
  .logo img { height: 72px; }
  .nav { padding: 12px 0; }
  .nav-links {
    position: fixed;
    top: 96px; left: 0; right: 0;
    background: rgba(8, 8, 8, .97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
    gap: 22px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s var(--ease), opacity .25s ease;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
  }
  .nav-links a { font-size: 1.1rem; width: 100%; padding: 4px 0; }
  .nav.open .nav-links {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-cta { display: none; }
  .burger { display: flex; }

  .hero { padding: 110px 0 56px; }
  .hero-sub { font-size: 1rem; margin: 20px 0 32px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn { width: 100%; justify-content: center; padding: 16px 24px; }
  .hero-stats { grid-template-columns: 1fr; gap: 0; margin-top: 48px; }
  .hero-stats .stat {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
  }
  .hero-stats .stat:last-child { border-bottom: none; }

  .container { padding: 0 18px; }
  .section { padding: clamp(52px, 9vw, 100px) 0; }
  .services-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .svc-row { grid-template-columns: 48px 1fr; gap: 16px; padding: 30px 0; }
  .svc-arrow { display: none; }
  .platforms-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .realisations-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 18px 16px;
    margin: 40px -18px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .realisations-grid::-webkit-scrollbar { display: none; }
  .real-card {
    min-width: 75vw;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .forfait { padding: 26px 20px 22px; }
  .forfait-price .amount,
  .forfait-price .currency { font-size: 2.6rem; }
  .method-timeline { gap: 20px; }
  .step { grid-template-columns: 50px 1fr; gap: 16px; padding: 18px; }
  .step-num {
    width: 50px; height: 50px;
    border-radius: 14px;
    font-size: 1.1rem;
  }
  .method-timeline::before { left: 24px; }
  .faq-q { padding: 18px; font-size: .97rem; }
  .faq-a { padding: 0 18px; }
  .faq-item.open .faq-a { padding: 0 18px 20px; }
  .form .row { grid-template-columns: 1fr; }
  .field input, .field textarea { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer .logo img { height: 72px; }
}

@media (max-width: 480px) {
  .logo img { height: 64px; }
  .nav-links { top: 88px; max-height: calc(100dvh - 88px); }
  .hero { padding: 100px 0 48px; }
  .container { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .real-card { min-width: 84vw; }
  .why-grid { grid-template-columns: 1fr; }
  .forfait-price .amount,
  .forfait-price .currency { font-size: 2.4rem; }
  .btn { padding: 14px 22px; font-size: .9rem; }
}
