/* ═══════════════════════════════════════════════════════════════
   CADENCE DIGITAL — Fiches produit
   Chargé en complément de shared.css sur les pages produit.
   ═══════════════════════════════════════════════════════════════ */

/* ─── Hero produit ───────────────────────────────────────────── */
.product-hero {
  padding: 4rem 0 5rem;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.product-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.06), transparent 60%);
  pointer-events: none;
}

.product-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
}

@media (max-width: 900px) {
  .product-hero-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.product-hero-content { position: relative; z-index: 2; }

.product-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.product-eyebrow-badge {
  background: var(--blue-900);
  color: var(--amber-400);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.product-eyebrow-sep {
  color: var(--ink-400);
  font-weight: 700;
}
.product-eyebrow-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-700);
  letter-spacing: 0.02em;
}

.product-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink-900);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 144;
}
.product-hero-title .amber-word {
  color: var(--amber-500);
  font-style: italic;
  font-variation-settings: "opsz" 144;
}

.product-hero-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 56ch;
  margin-bottom: 2.25rem;
}

.product-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--ink-200);
  border-bottom: 1px solid var(--ink-200);
  margin-bottom: 2rem;
}
.product-metric-num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--blue-700);
  line-height: 1;
  margin-bottom: 0.3rem;
  font-variation-settings: "opsz" 72;
}
.metric-unit {
  font-size: 0.6em;
  color: var(--ink-500);
  font-weight: 500;
}
.product-metric-lbl {
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.35;
}

.product-hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.product-hero-tech {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 12.5px;
}
.tech-label {
  color: var(--ink-500);
  font-weight: 500;
}
.tech-item {
  background: white;
  border: 1px solid var(--ink-200);
  padding: 3px 10px;
  border-radius: 4px;
  color: var(--ink-700);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 11.5px;
}

.product-hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin: 0 auto;
}

/* ─── Section title générique ────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink-900);
  margin-bottom: 1.25rem;
  font-variation-settings: "opsz" 144;
}
.section-title.on-dark { color: white; }
.section-title .amber-word {
  color: var(--amber-500);
  font-style: italic;
}
.section-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-700);
  max-width: 65ch;
  margin-bottom: 3rem;
}
.eyebrow.on-dark { color: var(--amber-400); }

/* ─── Le problème (3 cartes) ─────────────────────────────────── */
.product-problem {
  padding: 5rem 0;
  background: white;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  background: var(--cream);
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s var(--ease-smooth);
}
.problem-card:hover {
  border-color: var(--blue-500);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(30, 64, 175, 0.08);
}
.problem-num {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--amber-500);
  line-height: 1;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 144;
}
.problem-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.problem-desc {
  font-size: 0.95rem;
  color: var(--ink-700);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}
.problem-solved {
  display: flex;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  background: var(--blue-50);
  border-left: 3px solid var(--blue-700);
  border-radius: 6px;
  font-size: 0.9rem;
  color: var(--blue-900);
  font-weight: 500;
  line-height: 1.45;
}
.check-icon {
  color: var(--blue-700);
  font-weight: 700;
  flex-shrink: 0;
}

/* ─── Comment ça marche (fond bleu marine) ───────────────────── */
.product-how {
  padding: 5rem 0;
  background: var(--blue-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.product-how::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent 65%);
  pointer-events: none;
}
.product-how .container { position: relative; }

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .how-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .how-steps { grid-template-columns: 1fr; }
}

.how-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  position: relative;
}
.how-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--amber-400);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}
.how-step-label {
  font-size: 11px;
  color: var(--ink-300);
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.how-step-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.6rem;
}
.how-step-desc {
  font-size: 0.85rem;
  color: var(--ink-300);
  line-height: 1.55;
}

/* ─── Fonctionnalités (6 cartes) ─────────────────────────────── */
.product-features {
  padding: 5rem 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

.feature-card {
  background: var(--cream);
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  padding: 1.5rem;
  transition: all 0.25s var(--ease-smooth);
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--amber-500);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.1);
}
.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--ink-700);
  line-height: 1.55;
}

/* ─── Cas client ─────────────────────────────────────────────── */
.product-case {
  padding: 5rem 0;
  background: var(--cream-warm, #F5F3EE);
}

.case-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: center;
}
@media (max-width: 900px) {
  .case-inner { grid-template-columns: 1fr; }
}

.case-quote {
  background: white;
  border-radius: 14px;
  padding: 2.5rem 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(15, 26, 61, 0.05);
}
.case-quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--amber-500);
  line-height: 0.7;
  margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144;
}
.case-quote p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-900);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 72;
}
.case-quote-attr {
  padding-top: 1rem;
  border-top: 1px solid var(--ink-200);
  font-size: 0.9rem;
  color: var(--ink-500);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.case-quote-attr strong {
  color: var(--ink-900);
  font-weight: 600;
  font-family: var(--font-body);
  font-style: normal;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.case-metric {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  border: 1px solid var(--ink-200);
}
.case-metric-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--blue-700);
  line-height: 1;
  margin-bottom: 0.4rem;
  font-variation-settings: "opsz" 144;
}
.case-metric-lbl {
  font-size: 0.8rem;
  color: var(--ink-500);
  line-height: 1.35;
}

/* ─── Pricing ────────────────────────────────────────────────── */
.product-pricing {
  padding: 5rem 0;
  background: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.pricing-card {
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid var(--ink-200);
}

.pricing-card-setup {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-900));
  color: white;
  border: none;
  position: relative;
  overflow: hidden;
}
.pricing-card-setup::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -20%;
  width: 70%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15), transparent 60%);
  pointer-events: none;
}

.pricing-card-monthly {
  background: var(--cream);
}

.pricing-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber-400);
  margin-bottom: 1rem;
  position: relative;
}
.pricing-card-monthly .pricing-label {
  color: var(--amber-600);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  color: white;
  line-height: 1;
  font-variation-settings: "opsz" 144;
}
.pricing-unit {
  font-size: 0.85rem;
  color: var(--ink-300);
  font-weight: 500;
}

.pricing-card-setup .pricing-desc {
  color: var(--ink-300);
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.pricing-features li {
  padding: 0.55rem 0;
  padding-left: 1.75rem;
  color: white;
  font-size: 0.92rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.55rem;
  color: var(--amber-400);
  font-weight: 700;
}

.pricing-modules {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.pricing-module {
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--ink-200);
}
.pricing-module-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 0.35rem;
}
.pricing-module-price {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-700);
  margin-bottom: 0.35rem;
}
.pricing-module-price span {
  font-size: 0.75rem;
  color: var(--ink-500);
  font-weight: 500;
}
.pricing-module-desc {
  font-size: 0.82rem;
  color: var(--ink-500);
  line-height: 1.45;
}

.pricing-footnote {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ink-200);
  font-size: 0.82rem;
  color: var(--ink-500);
  text-align: center;
  line-height: 1.5;
}

/* ─── FAQ ────────────────────────────────────────────────────── */
.product-faq {
  padding: 5rem 0;
  background: var(--cream);
}

.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.faq-item {
  background: white;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s var(--ease-smooth);
}
.faq-item[open] {
  border-color: var(--blue-500);
  box-shadow: 0 4px 16px rgba(30, 64, 175, 0.06);
}
.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--amber-500);
  font-weight: 300;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
  transform: rotate(0deg);
}
.faq-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--ink-700);
  line-height: 1.65;
  font-size: 0.95rem;
  margin: 0;
}

/* ─── CTA final ──────────────────────────────────────────────── */
.product-cta {
  padding: 5rem 0;
  background: var(--blue-900);
  color: white;
  position: relative;
  overflow: hidden;
}
.product-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at bottom right, rgba(245, 158, 11, 0.15), transparent 60%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
}
@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; }
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  color: white;
  margin-bottom: 1rem;
  font-variation-settings: "opsz" 144;
}
.cta-title .amber-word {
  color: var(--amber-500);
  font-style: italic;
}
.cta-lead {
  font-size: 1.05rem;
  color: var(--ink-300);
  line-height: 1.6;
  max-width: 55ch;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  text-align: center;
  justify-content: center;
}
.btn-outline.on-dark {
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}
.btn-outline.on-dark:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.05);
}

/* ═══════════════════════════════════════════════════════════════
   APLATISSEMENT — pages produit (voir shared.css)
   ═══════════════════════════════════════════════════════════════ */

/* Halos radiaux supprimés */
.product-hero::before,
.product-how::before,
.product-cta::before,
.pricing-card-setup::before { content: none; }

/* Aplats au lieu de dégradés */
.pricing-card-setup { background: var(--ink-900); }

/* Angles vifs */
.problem-card, .feature-card, .pricing-card, .pricing-module,
.faq-item, .case-quote, .case-metric, .how-step,
.feature-icon-wrap, .problem-solved, .tech-item { border-radius: 0; }

/* Survols sobres : bordure, pas de lévitation */
.problem-card:hover,
.feature-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--ink-900);
}

/* Ombres décoratives supprimées */
.case-quote { box-shadow: none; border: 1px solid var(--ink-200); }
.faq-item[open] { box-shadow: none; border-color: var(--ink-900); }

/* Plus d'italique / de serif décoratif */
.case-quote p,
.case-quote-mark,
.product-hero-title .amber-word,
.section-title .amber-word,
.cta-title .amber-word { font-style: normal; }

/* Lisibilité du mot accentué selon le fond :
   violet sur crème, lavande sur charbon. */
.product-hero-title .amber-word,
.section-title .amber-word { color: var(--amber-600); }
.section-title.on-dark .amber-word,
.cta-title .amber-word { color: var(--amber-500); }

.case-quote-mark { display: none; }

/* Labels produit en mono */
.product-eyebrow-badge {
  border-radius: 0;
  font-family: var(--font-mono);
  background: var(--ink-900);
  color: var(--amber-500);
}
.product-eyebrow-label { font-family: var(--font-display); }
.pricing-label { font-family: var(--font-mono); }
.how-step-num { font-family: var(--font-mono); }

/* Puces de pricing : tiret plutôt que coche */
.pricing-features li::before { content: "—"; color: var(--amber-500); }

/* FAQ : +/− remplacés par des chevrons discrets */
.faq-item summary::after { content: "+"; color: var(--amber-600); }
.faq-item[open] summary::after { content: "–"; }

/* Lisibilité mobile : aucune étiquette sous 11 px */
@media (max-width: 800px) { .product-eyebrow-badge { font-size: 11px; } }
