/* ═══════════════════════════════════════
   SECTIONS — Styles spécifiques
═══════════════════════════════════════ */

/* ── Hero ── */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: calc(72px + var(--s-3xl)) var(--s-xl);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--c-accent-rgb), 0.12) 0%,
    rgba(var(--c-cyan-rgb), 0.06) 35%,
    transparent 65%
  );
  filter: blur(40px);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 70%);
}

.hero-inner {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2xl);
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
  max-width: 560px;
}

/* ── Workflow visual ── */
.hero-visual {
  flex: 0 0 300px;
  margin-top: var(--s-xl);
}

/* App window */
.wf-window {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(55,48,163,0.14), 0 2px 8px rgba(0,0,0,0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: nodeIn 0.5s ease 0.1s forwards;
}

.wf-chrome {
  background: #F1F3FA;
  border-bottom: 1px solid #E4E8F5;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wf-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.wf-title {
  flex: 1;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #8896AA;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

.wf-status-bar {
  background: #F7F9FF;
  border-bottom: 1px solid #E4E8F5;
  padding: 7px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: var(--font-body);
}

.wf-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: dotPulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

.wf-live-text {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #22c55e;
}

.wf-counter {
  margin-left: auto;
  color: #8896AA;
  font-size: 11px;
}

.wf-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
}

/* Node */
.wf-node {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F7F9FF;
  border: 1px solid #E4E8F5;
  border-left: 3px solid var(--nc, #4F46E5);
  border-radius: 8px;
  padding: 8px 10px;
  opacity: 0;
  transform: translateX(10px);
  animation: nodeIn 0.4s ease forwards;
  animation-delay: var(--nd, 0s);
}

.wf-node-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wf-node-info {
  flex: 1;
  min-width: 0;
}

.wf-node-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #0D1B2E;
  line-height: 1.3;
  font-family: var(--font-body);
}

.wf-node-sub {
  display: block;
  font-size: 10px;
  color: #8896AA;
  margin-top: 1px;
  font-family: var(--font-body);
}

.wf-node-badge {
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.wf-done {
  color: #22c55e;
}

/* Pipe entre nodes */
.wf-pipe {
  padding-inline: 20px;
  height: 24px;
  position: relative;
}

.wf-ball {
  animation: ballDrop 2s ease-in-out infinite;
  animation-delay: var(--pd, 0s);
}

@keyframes nodeIn {
  to { opacity: 1; transform: translate(0); }
}

@keyframes ballDrop {
  0%   { cy: 2;  opacity: 1; }
  80%  { cy: 22; opacity: 0.3; }
  100% { cy: 22; opacity: 0; }
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.08); }
}

.hero-label {
  margin-bottom: var(--s-lg);
}

.hero-title {
  font-size: var(--t-4xl);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: var(--fw-bold);
  margin-bottom: var(--s-xl);
}

.hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--c-accent), var(--c-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: var(--t-md);
  color: var(--c-text-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: var(--s-xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  flex-wrap: wrap;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--s-md);
  margin-top: var(--s-xl);
  padding-top: var(--s-lg);
  border-top: 1px solid var(--c-border);
  flex-wrap: wrap;
}

.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-proof-item strong {
  font-family: 'FunnelNumbers', 'Fraunces', serif;
  font-size: var(--t-xl);
  font-weight: var(--fw-bold);
  background: linear-gradient(90deg, var(--c-text), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-proof-item span {
  font-size: var(--t-xs);
  color: var(--c-text-muted);
}

.hero-proof-divider {
  width: 1px;
  height: 40px;
  background: var(--c-border-strong);
}

/* ── Tech strip ── */
.tech-strip {
  padding-block: var(--s-lg);
  border-block: 1px solid var(--c-border);
  background: var(--c-bg-alt);
  overflow: hidden;
}

.tech-strip-label {
  text-align: center;
  font-size: var(--t-xs);
  color: var(--c-text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-md);
}

/* Marquee */
.tech-marquee-wrap {
  overflow: hidden;
  position: relative;
}

.tech-marquee-wrap::before,
.tech-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 1;
  pointer-events: none;
}

.tech-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--c-bg-alt), transparent);
}

.tech-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--c-bg-alt), transparent);
}

.tech-marquee-track {
  display: flex;
  align-items: center;
  animation: tech-scroll 30s linear infinite;
  width: max-content;
}

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

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

.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--t-xs);
  font-weight: var(--fw-medium);
  color: var(--c-text-muted);
  white-space: nowrap;
  padding: 0 var(--s-lg);
  opacity: 0.75;
  transition: opacity var(--dur-fast);
}

.tech-item:hover { opacity: 1; }

.tech-sep {
  color: var(--c-accent);
  opacity: 0.4;
  font-size: 10px;
  flex-shrink: 0;
}

.tech-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text-muted);
  flex-shrink: 0;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
}

.feature-card .card-title {
  font-size: var(--t-lg);
  margin-block: var(--s-md) var(--s-sm);
}

.feature-card .card-text {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ── How it works ── */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-xl);
  position: relative;
}

.how-grid::before {
  content: '';
  position: absolute;
  top: 26px;
  left: calc((100% - 2 * var(--s-xl)) / 6);
  right: calc((100% - 2 * var(--s-xl)) / 6);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(var(--c-accent-rgb), 0.4),
    rgba(var(--c-cyan-rgb), 0.4)
  );
}

.how-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-md);
}

.how-step > div:not(.how-number) {
  width: 100%;
}

.how-number {
  width: 52px;
  height: 52px;
  min-width: 52px;
  min-height: 52px;
  border-radius: 50%;
  background: var(--c-bg-card);
  border: 1px solid rgba(var(--c-accent-rgb), 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-number);
  font-weight: var(--fw-bold);
  font-size: var(--t-sm);
  color: var(--c-accent);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.how-step h3 {
  font-size: var(--t-lg);
}

.how-step p {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-base);
  text-align: center;
}

.stat-item {
  padding: var(--s-xl);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--t-3xl);
  font-weight: var(--fw-extra);
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--c-text), var(--c-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--s-sm);
}

.stat-label {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
}

/* ── Pricing / Offres ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-lg);
  align-items: stretch;
}

.pricing-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: var(--s-xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
  transition: border-color var(--dur-base),
              transform    var(--dur-base) var(--ease-out),
              box-shadow   var(--dur-base);
}

.pricing-card:hover {
  transform: translateY(-6px);
}

.pricing-card.featured {
  border-color: rgba(var(--c-accent-rgb), 0.40);
  background: linear-gradient(
    160deg,
    rgba(var(--c-accent-rgb), 0.07) 0%,
    var(--c-bg-card) 60%
  );
  position: relative;
}

.pricing-card.featured:hover {
  box-shadow: var(--shadow-accent);
  border-color: rgba(var(--c-accent-rgb), 0.60);
}

.pricing-badge-wrap {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
}

.pricing-header {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
}

.pricing-name {
  font-size: var(--t-lg);
  font-weight: var(--fw-bold);
}

.pricing-desc {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: var(--s-xs);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: var(--t-3xl);
  font-weight: var(--fw-extra);
  letter-spacing: -0.04em;
}

.pricing-period {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-sm);
  font-size: var(--t-sm);
  color: var(--c-text-muted);
}

.pricing-features li::before {
  content: '✓';
  color: var(--c-accent);
  font-weight: var(--fw-bold);
  flex-shrink: 0;
  line-height: 1.5;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--c-bg-card) 0%, rgba(var(--c-accent-rgb), 0.08) 100%);
  border: 1px solid rgba(var(--c-accent-rgb), 0.20);
  border-radius: var(--r-2xl);
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(
    ellipse at center,
    rgba(var(--c-accent-rgb), 0.12) 0%,
    transparent 60%
  );
  filter: blur(20px);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: var(--t-3xl);
  margin-bottom: var(--s-md);
}

.cta-banner p {
  font-size: var(--t-md);
  color: var(--c-text-muted);
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: var(--s-2xl);
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: var(--s-md);
  flex-wrap: wrap;
}

/* ── FAQ ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-sm);
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--dur-base);
}

.faq-item.open {
  border-color: rgba(var(--c-accent-rgb), 0.30);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: var(--s-lg) var(--s-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-lg);
  cursor: pointer;
  text-align: left;
  color: var(--c-text);
  font-size: var(--t-base);
  font-weight: var(--fw-medium);
  font-family: var(--font-body);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--c-border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--c-text-muted);
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base),
              color       var(--dur-fast);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}

.faq-body p {
  padding: 0 var(--s-xl) var(--s-lg);
  color: var(--c-text-muted);
  font-size: var(--t-sm);
  line-height: 1.75;
}

/* ── Page hero (intérieur) ── */
.page-hero {
  padding-block: calc(72px + var(--s-3xl)) var(--s-lg);
  text-align: center;
}

.page-hero-title {
  font-size: var(--t-4xl);
  font-weight: var(--fw-bold);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-block: var(--s-md) var(--s-lg);
}

.page-hero-title em {
  font-style: normal;
}

.page-hero-lead {
  font-size: var(--t-lg);
  color: var(--c-text-muted);
  max-width: 780px;
  margin-inline: auto;
}

/* ── Contact page ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-3xl);
  align-items: start;
}

.contact-info h3 {
  font-size: var(--t-xl);
  margin-bottom: var(--s-lg);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-md);
  margin-bottom: var(--s-xl);
}

.contact-info-item {
  display: flex;
  gap: var(--s-md);
  align-items: flex-start;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  background: var(--c-accent-light);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: var(--t-xs);
  color: var(--c-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: var(--t-sm);
  font-weight: var(--fw-medium);
}

.contact-form-card {
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-2xl);
  padding: var(--s-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--s-lg);
}

/* ── About ── */
.about-founder {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3xl);
  align-items: center;
}

.founder-visual {
  aspect-ratio: 4/5;
  border-radius: var(--r-2xl);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder-placeholder {
  font-size: 80px;
  line-height: 1;
}

.founder-visual-badge {
  position: absolute;
  bottom: var(--s-lg);
  left: var(--s-lg);
  right: var(--s-lg);
  background: rgba(247, 249, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  padding: var(--s-md);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-md);
  margin-top: var(--s-xl);
}

.value-item {
  padding: var(--s-lg);
  background: var(--c-bg-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
}

.value-item h4 {
  font-size: var(--t-base);
  margin-bottom: var(--s-xs);
}

.value-item p {
  font-size: var(--t-sm);
  color: var(--c-text-muted);
  line-height: 1.6;
}
