/* ============================================================
   OUKIWEB — pages/home.css
   Styles spécifiques à la page d'accueil
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero-badge { margin-bottom: 2rem; }

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .line { display: block; }
.hero-title .line-accent {
  background: var(--ow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(var(--fs-base), 1.5vw + 0.5rem, var(--fs-xl));
  color: var(--ow-text-secondary);
  line-height: var(--lh-relaxed);
  max-width: 54ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Compteur de clients */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ow-border);
}

.proof-avatars {
  display: flex;
}
.proof-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--ow-bg);
  background: var(--ow-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  margin-right: -10px;
}

.proof-text {
  font-size: var(--fs-sm);
  color: var(--ow-text-secondary);
}
.proof-text strong {
  color: var(--ow-text);
  font-weight: 700;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--ow-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-indicator .mouse {
  width: 22px; height: 36px;
  border: 1.5px solid var(--ow-border);
  border-radius: 11px;
  position: relative;
}
.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  background: var(--ow-primary);
  border-radius: 2px;
  animation: scroll-dot 2s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  80%       { transform: translateX(-50%) translateY(10px); opacity: 0; }
}

/* ── LOGOS CLIENTS ──────────────────────────────────────────── */
.clients-section {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--ow-border);
  border-bottom: 1px solid var(--ow-border);
  overflow: hidden;
}

.clients-label {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ow-muted);
  text-align: center;
  margin-bottom: 1.75rem;
}

/* Masques de fondu sur les bords */
.clients-track-wrapper {
  position: relative;
  overflow: hidden;
}
.clients-track-wrapper::before,
.clients-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--ow-bg), transparent);
}
.clients-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--ow-bg), transparent);
}

/* Piste de défilement */
.clients-logos {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 28s linear infinite;
}
/* Pause au survol */
.clients-logos:hover { animation-play-state: paused; }

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

.client-logo {
  opacity: 0.4;
  transition: opacity 0.2s ease, color 0.2s ease;
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-base);
  color: var(--ow-text-secondary);
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding: 0 2.5rem;
  position: relative;
  flex-shrink: 0;
}
/* Séparateur vertical */
.client-logo::after {
  content: '';
  position: absolute;
  right: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: var(--ow-border);
}
.client-logo:hover { opacity: 1; color: var(--ow-text); }

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .clients-logos { animation: none; }
  .clients-track-wrapper::before,
  .clients-track-wrapper::after { display: none; }
}

/* ── SERVICES HOME ──────────────────────────────────────────── */
.services-home { padding-block: var(--section-gap); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.service-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--ow-gradient-subtle);
  border: 1px solid var(--ow-border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--ow-text-secondary);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.25rem;
}

.service-card .card-link {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--ow-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}
.service-card .card-link:hover {
  gap: 0.7rem;
  color: var(--ow-accent);
}

/* ── STATS ──────────────────────────────────────────────────── */
.stats-section {
  padding-block: var(--section-gap);
  background: var(--ow-bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Liseré haut et bas */
.stats-section::before,
.stats-section::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--ow-edge-gradient);
  opacity: 0.4;
}
.stats-section::before { top: 0; }
.stats-section::after  { bottom: 0; }

/* Orbe décoratif en fond */
.stats-section .container { position: relative; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 1px; /* séparateur de 1px via background sur le parent */
  background: var(--ow-border);
  border: 1px solid var(--ow-border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* Chaque item sur fond card */
.stat-item {
  background: var(--ow-bg-secondary);
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.stat-item:hover {
  background: var(--ow-card-hover);
}

/* Icône */
.stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: var(--ow-gradient-subtle);
  border: 1px solid var(--ow-border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--ow-primary);
  transition: var(--transition);
}
.stat-item:hover .stat-icon {
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(46,229,255,0.15));
  color: var(--ow-accent);
  box-shadow: 0 0 20px var(--ow-glow);
}

.stat-number {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 4vw + 0.5rem, 3.75rem);
  font-weight: 800;
  background: var(--ow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.625rem;
  display: block;
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ow-text);
  font-family: var(--font-primary);
  margin-bottom: 0.25rem;
}

.stat-sub {
  font-size: var(--fs-xs);
  color: var(--ow-muted);
  font-family: var(--font-secondary);
  font-weight: 400;
}

/* ── PORTFOLIO HOME ─────────────────────────────────────────── */
.portfolio-home { padding-block: var(--section-gap); }

.portfolio-grid-home {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--ow-bg-tertiary);
  border: 1px solid var(--ow-border);
  cursor: pointer;
  transition: var(--transition);
  /* Nécessaire pour container queries height */
  container-type: size;
}

.portfolio-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

/* ── Image scroll animation ── */
.portfolio-item img {
  /* Hauteur auto pour permettre le défilement vertical */
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  /* Position initiale : en haut */
  transform: translateY(0);
  transition: transform 4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
  filter: brightness(0.75);
  will-change: transform;
}

/* Défilement vers le bas au hover — révèle le bas de la page */
.portfolio-item:hover img {
  /* translateY négatif : la valeur réelle dépend de la hauteur de l'image
     Pour une image full-page ~4000px dans un conteneur ~400px :
     on défile de calc(100% de l'image - 100% du conteneur) */
  transform: translateY(calc(-100% + 100cqh));
  filter: brightness(0.55);
}

/* Fallback pour navigateurs sans container queries */
@supports not (height: 100cqh) {
  .portfolio-item:hover img {
    transform: translateY(-60%);
  }
}

/* Gradient permanent en bas — lisibilité du titre */
.portfolio-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(7, 10, 18, 0.92) 0%,
    rgba(7, 10, 18, 0.5) 50%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.portfolio-item:hover::after {
  opacity: 0.7; /* s'estompe un peu pour mieux voir le contenu en bas */
}

.portfolio-item-meta { z-index: 2; }

/* portfolio-item-overlay supprimé — gradient géré par ::after */

.portfolio-item-meta {
  position: absolute;
  bottom: 1.5rem; left: 1.75rem;
  transition: var(--transition);
  transform: translateY(4px);
  z-index: 2;
}
.portfolio-item:hover .portfolio-item-meta { transform: translateY(0); }

.portfolio-item-title {
  font-size: var(--fs-xl);
  font-weight: 700;
}
.portfolio-item-type {
  font-size: var(--fs-sm);
  color: var(--ow-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.portfolio-cta { text-align: center; margin-top: 3rem; }

/* ── PROCESSUS ──────────────────────────────────────────────── */
.process-section { padding-block: var(--section-gap); }

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  position: relative;
  align-items: start;
}

/* Ligne de connexion centrée sur les bulles */
.process-steps::before {
  content: '';
  position: absolute;
  top: 25px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(124,92,255,0.4) 10%,
    rgba(46,229,255,0.6) 50%,
    rgba(124,92,255,0.4) 90%,
    transparent 100%
  );
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 1.25rem 1.5rem;
  position: relative;
}

.step-number {
  width: 50px; height: 50px;
  border-radius: 50%;
  /* Anneau dégradé charte Kito Digital */
  background: var(--ow-bg-secondary);
  border: 2px solid transparent;
  background-clip: padding-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: 800;
  color: var(--ow-text);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 2px var(--ow-primary), 0 0 20px var(--ow-glow);
  transition: var(--transition);
}

/* Numéro en dégradé */
.step-number span {
  background: var(--ow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  font-size: var(--fs-lg);
}

.process-step:hover .step-number {
  box-shadow: 0 0 0 2px var(--ow-accent), 0 0 30px var(--ow-glow-strong);
}

.process-step h3 {
  font-size: var(--fs-base);
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--ow-text);
}

.process-step p {
  font-size: var(--fs-sm);
  color: var(--ow-text-secondary);
  line-height: var(--lh-relaxed);
}

/* ── TÉMOIGNAGES ────────────────────────────────────────────── */
.testimonials-section {
  padding-block: var(--section-gap);
  background: var(--ow-bg-secondary);
  position: relative;
  overflow: hidden;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.testimonial-card .stars {
  color: #F59E0B;
  font-size: var(--fs-base);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-card blockquote {
  font-size: var(--fs-base);
  color: var(--ow-text-secondary);
  line-height: var(--lh-relaxed);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ow-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: var(--fs-sm);
}
.author-role {
  font-size: var(--fs-xs);
  color: var(--ow-muted);
}

/* ── CTA FINALE ─────────────────────────────────────────────── */
.cta-section {
  padding-block: var(--section-gap);
  padding-bottom: calc(var(--section-gap) * 1.5);
  text-align: center;
}

.cta-card {
  background: linear-gradient(135deg, rgba(124,92,255,0.12), rgba(46,229,255,0.08));
  border: 1px solid var(--ow-border-accent);
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(124,92,255,0.2), transparent 70%);
  pointer-events: none;
}

.cta-card .section-title { font-size: clamp(var(--fs-2xl), 3.5vw, var(--fs-4xl)); }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

/* Responsive consolidé ci-dessous */


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE HOME — Tablet & Mobile
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .hero-title  { font-size: clamp(2.5rem, 5vw + 0.5rem, 4rem); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid-home { grid-template-columns: 1fr 1fr; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  /* Hero */
  .hero { min-height: 100svh; padding-top: calc(var(--header-height) + 1rem); }
  .hero-content { padding-block: 3rem 4rem; }
  .hero-title   { font-size: clamp(2rem, 6vw + 0.5rem, 3rem); }
  .hero-description { font-size: var(--fs-base); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-social-proof { flex-wrap: wrap; gap: 0.75rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid       { grid-template-columns: repeat(2, 1fr); }

  /* Process — colonne unique, bulle centrée au-dessus du texte */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-steps::before { display: none; }
  .process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1.25rem;
    position: relative;
  }
  /* Trait vertical entre les étapes */
  .process-step:not(:last-child)::before {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 100%;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(124,92,255,0.3) 30%,
      rgba(46,229,255,0.3) 70%,
      transparent
    );
    z-index: 0;
  }
  .step-number {
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
  }
  .process-step h3 { margin-bottom: 0.5rem; }

  /* Portfolio */
  .portfolio-grid-home { grid-template-columns: 1fr; }
  .portfolio-item:first-child { grid-column: 1; grid-row: auto; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-score { flex-wrap: wrap; gap: 0.5rem; }

  /* CTA */
  .cta-card { padding: 2rem 1.25rem; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; justify-content: center; }
}

/* ── Small mobile (≤ 480px) ── */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item  { padding: 1.75rem 1rem 1.5rem; }
  .stat-icon  { width: 40px; height: 40px; margin-bottom: 1rem; }
  .hero-social-proof { display: none; } /* Masqué sur très petit écran */
}

/* ═══════════════════════════════════════════════════════════
   BADGE DISPONIBLE — Hero
   ═══════════════════════════════════════════════════════════ */
.badge--available {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #10B981;
  padding-left: 0.75rem;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10B981;
  flex-shrink: 0;
}

.badge-dot--pulse {
  animation: dot-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
}

@keyframes dot-pulse {
  0%  { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  70% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
  100%{ box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}

/* ═══════════════════════════════════════════════════════════
   ICÔNES SERVICES — SVG
   ═══════════════════════════════════════════════════════════ */
.service-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--ow-gradient-subtle);
  border: 1px solid var(--ow-border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--ow-primary);
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(46,229,255,0.18));
  color: var(--ow-accent);
  box-shadow: 0 0 20px var(--ow-glow);
}

/* ═══════════════════════════════════════════════════════════
   AVIS GOOGLE
   ═══════════════════════════════════════════════════════════ */
.reviews-section {
  padding-block: var(--section-gap);
}

/* Score global */
/* ── Score Google : carte propre, pas de pill ── */
.reviews-score {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--ow-card);
  border: 1px solid var(--ow-border-accent);
  border-radius: var(--radius);
  padding: 1.25rem 2rem;
  margin-top: 2rem;
  /* Pas de flex-wrap — ligne unique claire */
}

.reviews-score-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--ow-text-secondary);
  padding-right: 1.25rem;
  border-right: 1px solid var(--ow-border);
}

.reviews-score-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reviews-score-top {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.reviews-score-stars {
  display: flex;
  gap: 2px;
}

.star-icon {
  width: 16px; height: 16px;
  fill: none;
}
.star-filled {
  fill: #FBBF24;
  stroke: none;
}
.star-empty {
  fill: var(--ow-border);
  stroke: none;
}

.reviews-score-num {
  font-weight: 800;
  font-family: var(--font-primary);
  color: var(--ow-text);
  font-size: var(--fs-xl);
  line-height: 1;
}

.reviews-score-bottom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reviews-score-count {
  font-size: var(--fs-xs);
  color: var(--ow-muted);
}

.reviews-score-meta {
  /* Compat ancien code — masqué, remplacé par reviews-score-top/bottom */
  display: none;
}

/* Grille avis */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* Card avis */
.review-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.review-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--ow-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  font-family: var(--font-primary);
}

.review-avatar--cyan  { background: linear-gradient(135deg, #2EE5FF, #06b6d4); }
.review-avatar--green { background: linear-gradient(135deg, #10B981, #34D399); }

.review-author-info { flex: 1; min-width: 0; }

.review-author-name {
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--ow-text);
  font-family: var(--font-primary);
}

.review-author-sub {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--fs-xs);
  color: var(--ow-muted);
  margin-top: 2px;
}

.review-stars {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}

.review-text {
  font-size: var(--fs-sm);
  color: var(--ow-text-secondary);
  line-height: var(--lh-relaxed);
  flex: 1;
  font-style: normal;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  border-top: 1px solid var(--ow-border);
  font-size: var(--fs-xs);
}

.review-date  { color: var(--ow-muted); }
.review-source {
  color: var(--ow-primary);
  font-weight: 600;
  font-family: var(--font-primary);
}

.reviews-cta {
  text-align: center;
  margin-top: 2.5rem;
}

/* Responsive reviews */
@media (max-width: 1024px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-score { gap: 0.625rem; }
}

/* ═══════════════════════════════════════════════════════════
   FAQ HOME
   ═══════════════════════════════════════════════════════════ */
.faq-home-section { padding-block: var(--section-gap); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* align-items:start critique — empêche les colonnes de s'étirer mutuellement */
  align-items: start;
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* Chaque colonne est un stack vertical indépendant */
.faq-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  padding: 0;
  overflow: hidden; /* évite que le contenu dépasse le border-radius */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  /* Pas de transform ! details est un élément interactif */
}
.faq-item[open] {
  border-color: var(--ow-border-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
/* Supprimer triangle natif sur tous navigateurs */
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { display: none; content: ""; }

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  font-family: var(--font-primary);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--ow-text);
  cursor: pointer;
  user-select: none;
  /* Pas de border-radius ici, overflow:hidden sur le parent gère ça */
  transition: color 0.2s ease, background 0.2s ease;
}
.faq-question:hover {
  color: var(--ow-accent);
  background: rgba(124, 92, 255, 0.05);
}

.faq-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid var(--ow-border-accent);
  color: var(--ow-primary);
  transition: transform 0.3s ease, background 0.2s ease;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: rgba(124, 92, 255, 0.2);
  color: var(--ow-accent);
}

.faq-answer {
  /* padding en une seule déclaration — pas de conflit */
  padding: 1.25rem 1.5rem 1.75rem;
  font-size: var(--fs-sm);
  color: var(--ow-text-secondary);
  line-height: var(--lh-relaxed);
  border-top: 1px solid var(--ow-border);
}
.faq-answer strong { color: var(--ow-text); }

/* Reviews adresse link */
.reviews-location {
  color: var(--ow-muted);
  text-decoration: none;
  font-size: var(--fs-xs);
  transition: var(--transition-fast);
}
.reviews-location:hover { color: var(--ow-primary); }

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ── Reviews score CTA ── */
.reviews-score-cta {
  margin-left: 0.5rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Reviews score responsive ── */
@media (max-width: 640px) {
  .reviews-score {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1rem 1.25rem;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }
  .reviews-score-logo {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid var(--ow-border);
    padding-bottom: 0.75rem;
    width: 100%;
  }
  .reviews-score-cta { margin-left: 0; }
}