/* ============================================================
   VitrinAI — components.css
   Boutons, nav, cartes, modales, pricing, calculateur, formulaires
   ============================================================ */

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: var(--s4) var(--s6); border-radius: var(--r-full);
  font-weight: 600; font-size: 1rem; line-height: 1;
  transition: transform var(--t-fast), background var(--t-base), box-shadow var(--t-base), color var(--t-base);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--dark); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--accent); box-shadow: var(--shadow-lg); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: var(--shadow-md); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--border); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-dark); }
.btn--light { background: #fff; color: var(--dark); }
.btn--light:hover { background: var(--accent-light); }
.btn--lg { padding: var(--s5) var(--s7); font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn .arrow { transition: transform var(--t-fast); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow { color: var(--accent-dark); font-weight: 600; display: inline-flex; align-items: center; gap: var(--s2); }
.link-arrow .arrow { transition: transform var(--t-fast); }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  padding: 6px var(--s4); border-radius: var(--r-full);
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
}
.badge--eu { background: var(--surface); border: 1px solid var(--border); color: var(--dark); box-shadow: var(--shadow-sm); }
.badge--green { background: var(--green-light); color: var(--green); }
.badge--accent { background: var(--accent-light); color: var(--accent-dark); }
.badge--cat { background: var(--surface-2); color: var(--muted); font-size: 0.72rem; }
.badge--soon { background: #EEE9F5; color: #6B4F9E; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61,139,94,0.5); animation: pulse-ring 2s infinite; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(248,246,241,0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: var(--s6); }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--dark); position: relative; padding: var(--s2) 0; }
.nav-links a::after {
  content: ''; position: absolute; left: 50%; bottom: -2px; height: 2px; width: 0;
  background: var(--accent); transform: translateX(-50%); transition: width var(--t-base);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent-dark); }
.nav-cta { display: flex; align-items: center; gap: var(--s4); }
.nav-burger { display: none; flex-direction: column; gap: 5px; width: 28px; height: 22px; justify-content: center; }
.nav-burger span { display: block; height: 2px; width: 100%; background: var(--dark); border-radius: 2px; transition: transform var(--t-base), opacity var(--t-base); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); opacity: 0; visibility: hidden; transition: opacity var(--t-base), visibility var(--t-base); z-index: 1100; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(320px, 84vw);
  background: var(--surface); z-index: 1200; padding: var(--s8) var(--s6);
  transform: translateX(100%); transition: transform var(--t-slow);
  display: flex; flex-direction: column; gap: var(--s2); box-shadow: var(--shadow-xl);
}
.drawer.open { transform: translateX(0); }
.drawer a { padding: var(--s4) 0; font-size: 1.1rem; border-bottom: 1px solid var(--border); }
.drawer .btn { margin-top: var(--s5); }
.drawer-close { position: absolute; top: var(--s5); right: var(--s5); font-size: 1.6rem; color: var(--muted); }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: calc(var(--nav-h) + 80px) 0 var(--s9); position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; top: -10%; right: -5%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(184,132,58,0.10), transparent 70%); z-index: 0;
}
.hero .container { position: relative; z-index: 1; text-align: center; }
.hero h1 { margin: var(--s5) 0 var(--s6); }
.hero-sub { max-width: 640px; margin: 0 auto var(--s6); font-size: 1.2rem; color: var(--muted); }
.hero-ctas { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; margin-bottom: var(--s7); }

/* Price comparator */
.price-contrast {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: var(--s4);
  max-width: 880px; margin: var(--s7) auto; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-lg);
}
.price-col { text-align: left; padding: var(--s4); }
.price-col h4 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: var(--s3); }
.price-col .price-big { font-family: var(--font-display); font-size: 2.4rem; margin-bottom: var(--s4); }
.price-col--old .price-big { color: var(--red); text-decoration: line-through; }
.price-col--new .price-big { color: var(--accent); }
.price-col .price-unit { font-size: 1rem; color: var(--muted); -webkit-text-decoration: none; text-decoration: none; }
.price-col ul li { display: flex; gap: var(--s2); align-items: flex-start; margin-bottom: var(--s3); font-size: 0.95rem; color: var(--muted); }
.price-col--old ul li { transition: opacity var(--t-slow), color var(--t-slow); }
.price-col--old.struck ul li { color: var(--muted); text-decoration: line-through; opacity: 0.55; }
.price-col--new ul li .check { color: var(--green); flex-shrink: 0; font-weight: 700; }
.price-arrow { display: grid; place-items: center; font-size: 1.8rem; color: var(--accent); }

/* Trust strip */
.trust-strip { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: center; max-width: 820px; margin: var(--s7) auto 0; }
.trust-item { display: inline-flex; align-items: center; gap: var(--s2); font-size: 0.9rem; color: var(--muted); }
.trust-item .check { color: var(--green); font-weight: 700; }

/* Stats counter */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); max-width: 880px; margin: var(--s9) auto 0; text-align: center; }
.stat .stat-num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--accent); line-height: 1; }
.stat .stat-label { font-size: 0.95rem; color: var(--muted); margin-top: var(--s3); }

/* ============================================================
   PROCESS / COMMENT ÇA MARCHE
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.process-step { padding: var(--s7) var(--s6); border-right: 1px solid var(--border); cursor: pointer; transition: background var(--t-base); position: relative; }
.process-step:last-child { border-right: none; }
.process-step:hover { background: var(--surface-2); }
.process-num { position: absolute; top: var(--s5); right: var(--s6); font-family: var(--font-display); font-size: 3rem; color: var(--accent-light); line-height: 1; }
.process-icon { width: 56px; height: 56px; border-radius: var(--r-md); background: var(--accent-light); display: grid; place-items: center; color: var(--accent-dark); margin-bottom: var(--s5); }
.process-step h3 { font-size: 1.35rem; margin-bottom: var(--s3); }
.process-step p { color: var(--muted); font-size: 0.98rem; margin-bottom: var(--s4); }
.process-meta { display: inline-flex; align-items: center; gap: var(--s2); font-size: 0.85rem; font-weight: 600; color: var(--accent-dark); }
.process-hint { margin-top: var(--s4); font-size: 0.85rem; color: var(--accent-dark); font-weight: 600; }

/* Timeline */
.timeline { display: flex; align-items: center; justify-content: space-between; max-width: 900px; margin: var(--s8) auto 0; gap: var(--s3); }
.timeline-node { text-align: center; flex: 1; position: relative; }
.timeline-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); margin: 0 auto var(--s3); position: relative; z-index: 1; }
.timeline-node:not(:last-child)::after { content: ''; position: absolute; top: 8px; left: 50%; width: 100%; height: 2px; background: var(--accent-light); z-index: 0; }
.timeline-day { font-weight: 700; color: var(--accent-dark); font-size: 0.9rem; }
.timeline-label { font-size: 0.82rem; color: var(--muted); margin-top: 2px; }

/* ============================================================
   OFFRE DE BASE
   ============================================================ */
.base-offer { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s7); align-items: center; }
.base-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s7); box-shadow: var(--shadow-lg); }
.base-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.base-item { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-md); cursor: pointer; transition: background var(--t-fast); text-align: left; width: 100%; }
.base-item:hover { background: var(--surface-2); }
.base-item .check { color: var(--green); font-weight: 700; flex-shrink: 0; }
.base-item span { font-size: 0.95rem; }
.base-item .info-i { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border); color: var(--muted); font-size: 0.7rem; display: grid; place-items: center; flex-shrink: 0; }
.base-price { text-align: center; }
.base-price .from { font-size: 0.9rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.base-price .price-row { display: flex; align-items: baseline; justify-content: center; gap: var(--s4); margin: var(--s4) 0; flex-wrap: wrap; }
.base-price .p1 { font-family: var(--font-display); font-size: 2.4rem; color: var(--muted); }
.base-price .p2 { font-family: var(--font-display); font-size: 3.2rem; color: var(--accent); }
.base-price .p2 small { font-size: 1rem; color: var(--muted); }
.base-price .save { color: var(--green); font-weight: 600; }

/* ============================================================
   MODULES
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-bottom: var(--s7); }
.filter-btn { padding: var(--s2) var(--s5); border-radius: var(--r-full); border: 1.5px solid var(--border); font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: all var(--t-fast); background: var(--surface); }
.filter-btn:hover { border-color: var(--accent); color: var(--accent-dark); }
.filter-btn.active { background: var(--dark); border-color: var(--dark); color: #fff; }

.modules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.module-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); display: flex; flex-direction: column; transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.module-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-light); }
.module-card.is-hidden { display: none; }
.module-card .module-icon { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--accent-light); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: var(--s4); }
.module-badges { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s3); }
.module-card h3 { font-size: 1.3rem; margin-bottom: var(--s3); }
.module-card .module-price { font-weight: 700; color: var(--accent-dark); margin-bottom: var(--s3); font-size: 1.05rem; }
.module-card p { color: var(--muted); font-size: 0.95rem; flex: 1; margin-bottom: var(--s5); }
.module-card .btn { align-self: flex-start; }

/* ============================================================
   PRICING / BUNDLES
   ============================================================ */
.billing-toggle { display: flex; align-items: center; justify-content: center; gap: var(--s4); margin-bottom: var(--s8); }
.billing-toggle span { font-weight: 600; color: var(--muted); transition: color var(--t-fast); }
.billing-toggle span.active { color: var(--dark); }
.switch { width: 56px; height: 30px; border-radius: var(--r-full); background: var(--dark); position: relative; transition: background var(--t-base); }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform var(--t-base); }
.switch.annual { background: var(--green); }
.switch.annual::after { transform: translateX(26px); }
.save-pill { background: var(--green-light); color: var(--green); font-size: 0.78rem; font-weight: 700; padding: 3px var(--s3); border-radius: var(--r-full); }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); align-items: stretch; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); display: flex; flex-direction: column; position: relative; transition: transform var(--t-base), box-shadow var(--t-base); }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--featured { background: var(--dark); color: #fff; border-color: var(--dark); transform: scale(1.03); box-shadow: var(--shadow-xl); }
.price-card--featured h3, .price-card--featured .pc-price b { color: #fff; }
.price-card--featured p, .price-card--featured .pc-ideal { color: rgba(255,255,255,0.7); }
.price-card--featured .pc-features li { color: rgba(255,255,255,0.85); }
.price-card--featured:hover { transform: scale(1.03) translateY(-6px); }
.pc-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px var(--s4); border-radius: var(--r-full); letter-spacing: 0.04em; white-space: nowrap; }
.price-card h3 { font-size: 1.5rem; margin-bottom: var(--s2); }
.pc-ideal { font-size: 0.85rem; color: var(--muted); margin-bottom: var(--s5); min-height: 2.4em; }
.pc-price { margin-bottom: var(--s4); }
.pc-price b { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); }
.price-card--featured .pc-price b { color: var(--accent-light); }
.pc-price small { color: var(--muted); font-size: 0.9rem; }
.pc-save { display: inline-block; background: var(--green-light); color: var(--green); font-size: 0.8rem; font-weight: 700; padding: 4px var(--s3); border-radius: var(--r-full); margin-bottom: var(--s5); }
.pc-features { flex: 1; margin-bottom: var(--s5); }
.pc-features li { display: flex; gap: var(--s2); align-items: flex-start; font-size: 0.92rem; margin-bottom: var(--s3); }
.pc-features .check { color: var(--green); flex-shrink: 0; font-weight: 700; }
.pc-vs { font-size: 0.82rem; color: var(--muted); margin-bottom: var(--s4); font-style: italic; }
.price-card--featured .pc-vs { color: rgba(255,255,255,0.6); }

/* ============================================================
   CALCULATEUR
   ============================================================ */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s7); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s8); box-shadow: var(--shadow-lg); }
.calc-controls .field { margin-bottom: var(--s5); }
.calc-controls label { display: block; font-weight: 600; margin-bottom: var(--s3); font-size: 0.95rem; }
.calc-controls label .val { float: right; color: var(--accent-dark); }
.calc-controls select { width: 100%; padding: var(--s4); border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--surface); }
.calc-controls input[type=range] { width: 100%; accent-color: var(--accent); height: 6px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: var(--s3) 0; border-bottom: 1px solid var(--border); }
.toggle-row span { font-size: 0.95rem; }
.mini-switch { width: 46px; height: 26px; border-radius: var(--r-full); background: var(--border); position: relative; transition: background var(--t-base); flex-shrink: 0; }
.mini-switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform var(--t-base); box-shadow: var(--shadow-sm); }
.mini-switch.on { background: var(--green); }
.mini-switch.on::after { transform: translateX(20px); }

.calc-result { background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: var(--s7); display: flex; flex-direction: column; align-items: center; text-align: center; }
.calc-gauge { position: relative; width: 200px; height: 200px; margin-bottom: var(--s5); }
.calc-gauge svg { transform: rotate(-90deg); }
.calc-gauge .gauge-text { position: absolute; inset: 0; display: grid; place-items: center; flex-direction: column; }
.calc-gauge .gauge-amount { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent-light); line-height: 1; }
.calc-gauge .gauge-unit { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.calc-result h4 { color: #fff; font-family: var(--font-body); font-size: 1rem; margin-bottom: var(--s2); }
.calc-projections { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); width: 100%; margin: var(--s5) 0; }
.calc-proj { background: rgba(255,255,255,0.06); border-radius: var(--r-md); padding: var(--s4); }
.calc-proj b { font-family: var(--font-display); font-size: 1.5rem; color: var(--accent-light); display: block; }
.calc-proj small { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.calc-reco { font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-bottom: var(--s5); }
.calc-reco b { color: var(--accent-light); }

/* ============================================================
   DIFFÉRENCIATEURS
   ============================================================ */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.diff-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); cursor: pointer; transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); display: flex; gap: var(--s5); align-items: flex-start; }
.diff-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-light); }
.diff-emoji { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.diff-card h3 { font-size: 1.25rem; margin-bottom: var(--s2); }
.diff-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: var(--s3); }

/* ============================================================
   COMPARATIF TABLE
   ============================================================ */
.compare-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.compare-table th, .compare-table td { padding: var(--s4) var(--s5); text-align: left; border-bottom: 1px solid var(--border); }
.compare-table thead th { background: var(--surface-2); font-family: var(--font-body); font-size: 0.95rem; }
.compare-table thead th:last-child { background: var(--accent-light); color: var(--accent-dark); }
.compare-table td:first-child { font-weight: 600; color: var(--muted); }
.compare-table td.yes { color: var(--green); font-weight: 600; }
.compare-table td.no { color: var(--red); }
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ============================================================
   GALERIE
   ============================================================ */
.gallery-tabs { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-bottom: var(--s7); }
.gallery-panel { display: none; }
.gallery-panel.active { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s7); align-items: center; }
.mockup { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.mockup-bar { height: 32px; background: var(--surface-2); display: flex; align-items: center; gap: 6px; padding: 0 var(--s4); border-bottom: 1px solid var(--border); }
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mockup-body { padding: var(--s5); min-height: 280px; }
.mockup-hero { height: 110px; border-radius: var(--r-md); margin-bottom: var(--s4); display: grid; place-items: center; color: #fff; font-family: var(--font-display); font-size: 1.4rem; }
.mockup-lines span { display: block; height: 10px; border-radius: var(--r-full); background: var(--surface-2); margin-bottom: var(--s3); }
.mockup-lines span:nth-child(1) { width: 80%; }
.mockup-lines span:nth-child(2) { width: 95%; }
.mockup-lines span:nth-child(3) { width: 60%; }
.mockup-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s3); margin-top: var(--s4); }
.mockup-cards div { height: 56px; border-radius: var(--r-md); background: var(--surface-2); }
.gallery-info h3 { margin-bottom: var(--s4); }
.gallery-info ul { margin-bottom: var(--s5); }
.gallery-info ul li { display: flex; gap: var(--s2); margin-bottom: var(--s3); color: var(--muted); }
.gallery-info ul li .check { color: var(--green); font-weight: 700; }
.gallery-quote { background: var(--surface); border-left: 3px solid var(--accent); padding: var(--s4) var(--s5); border-radius: 0 var(--r-md) var(--r-md) 0; font-style: italic; color: var(--muted); margin-bottom: var(--s5); }
.gallery-quote .label { display: block; font-style: normal; font-size: 0.78rem; color: var(--accent-dark); font-weight: 700; margin-top: var(--s2); }

/* ============================================================
   OFFRES SPÉCIALES
   ============================================================ */
.special-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.special-card { border-radius: var(--r-lg); padding: var(--s8); }
.special-card--artisan { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: #fff; }
.special-card--solidarity { background: var(--surface); border: 1px solid var(--border); }
.special-card h3 { color: inherit; margin-bottom: var(--s4); }
.special-card--artisan h3 { color: #fff; }
.special-card p { margin-bottom: var(--s5); opacity: 0.95; }
.special-card--artisan p { color: rgba(255,255,255,0.92); }
.siret-row { display: flex; gap: var(--s3); flex-wrap: wrap; }
.siret-row input { flex: 1; min-width: 160px; padding: var(--s4); border-radius: var(--r-md); border: none; }
.siret-result { margin-top: var(--s4); font-weight: 600; min-height: 1.4em; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: var(--s5) 0; text-align: left; font-weight: 600; font-size: 1.08rem; }
.faq-q .faq-icon { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; transition: background var(--t-fast), transform var(--t-base); }
.faq-item.open .faq-q .faq-icon { background: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t-slow); }
.faq-a-inner { padding: 0 0 var(--s5); color: var(--muted); }

/* ============================================================
   WIZARD CONTACT
   ============================================================ */
.wizard { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s8); box-shadow: var(--shadow-lg); }
.wizard-progress { display: flex; gap: var(--s3); margin-bottom: var(--s7); }
.wizard-progress .step { flex: 1; }
.wizard-progress .bar { height: 6px; border-radius: var(--r-full); background: var(--surface-2); overflow: hidden; }
.wizard-progress .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width var(--t-slow); }
.wizard-progress .step.done .bar i, .wizard-progress .step.current .bar i { width: 100%; }
.wizard-progress .lbl { font-size: 0.8rem; color: var(--muted); margin-top: var(--s2); }
.wizard-progress .step.current .lbl, .wizard-progress .step.done .lbl { color: var(--accent-dark); font-weight: 600; }
.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fade-up var(--t-slow) ease; }
.field-group { margin-bottom: var(--s5); }
.field-group label { display: block; font-weight: 600; margin-bottom: var(--s2); font-size: 0.95rem; }
.field-group .req { color: var(--accent); }
.field-group input, .field-group select, .field-group textarea {
  width: 100%; padding: var(--s4); border: 1.5px solid var(--border); border-radius: var(--r-md); background: var(--surface); transition: border-color var(--t-fast);
}
.field-group input:focus, .field-group select:focus, .field-group textarea:focus { border-color: var(--accent); outline: none; }
.field-group textarea { min-height: 110px; resize: vertical; }
.field-group .error { color: var(--red); font-size: 0.82rem; margin-top: var(--s2); display: none; }
.field-group.invalid input, .field-group.invalid select { border-color: var(--red); }
.field-group.invalid .error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.choice { border: 1.5px solid var(--border); border-radius: var(--r-md); padding: var(--s4); cursor: pointer; transition: all var(--t-fast); font-size: 0.92rem; }
.choice:hover { border-color: var(--accent); }
.choice.selected { border-color: var(--accent); background: var(--accent-light); color: var(--accent-dark); font-weight: 600; }
.checks-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.check-item { display: flex; align-items: center; gap: var(--s2); font-size: 0.9rem; cursor: pointer; padding: var(--s2); }
.check-item input { width: auto; }
.wizard-nav { display: flex; justify-content: space-between; margin-top: var(--s6); gap: var(--s4); }
.wizard-recap { background: var(--surface-2); border-radius: var(--r-md); padding: var(--s5); margin-bottom: var(--s5); }
.wizard-recap dl { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) var(--s4); }
.wizard-recap dt { font-weight: 600; color: var(--muted); font-size: 0.9rem; }
.wizard-recap dd { font-size: 0.9rem; }
.consent { display: flex; gap: var(--s3); align-items: flex-start; margin-bottom: var(--s4); font-size: 0.9rem; color: var(--muted); }
.consent input { width: auto; margin-top: 4px; }
.wizard-success { text-align: center; padding: var(--s7) 0; }
.wizard-success .success-ring { width: 80px; height: 80px; border-radius: 50%; background: var(--green-light); color: var(--green); display: grid; place-items: center; margin: 0 auto var(--s5); font-size: 2rem; animation: pop var(--t-slow) ease; }

/* ============================================================
   MODALES
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,10,8,0.6); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: grid; place-items: center; padding: var(--s5); z-index: 1500; opacity: 0; visibility: hidden; transition: opacity var(--t-base), visibility var(--t-base); }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: var(--surface); border-radius: var(--r-lg); max-width: 640px; width: 100%; max-height: 86vh; overflow-y: auto; padding: var(--s8); box-shadow: var(--shadow-xl); transform: scale(0.95); opacity: 0; transition: transform var(--t-base), opacity var(--t-base); position: relative; }
.modal-overlay.open .modal { transform: scale(1); opacity: 1; }
.modal-close { position: absolute; top: var(--s5); right: var(--s5); width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 1.3rem; display: grid; place-items: center; transition: background var(--t-fast); }
.modal-close:hover { background: var(--border); }
.modal h3 { margin-bottom: var(--s4); padding-right: var(--s7); }
.modal .modal-badges { margin-bottom: var(--s4); }
.modal p { color: var(--muted); margin-bottom: var(--s4); }
.modal ul { margin: var(--s4) 0; padding-left: var(--s5); list-style: none; }
.modal ul li { position: relative; padding-left: var(--s5); margin-bottom: var(--s3); color: var(--muted); }
.modal ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.modal .modal-callout { background: var(--surface-2); border-radius: var(--r-md); padding: var(--s5); margin: var(--s5) 0; }
.modal .modal-callout b { color: var(--accent-dark); }
.modal h4 { margin: var(--s5) 0 var(--s3); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner { position: fixed; bottom: var(--s5); left: var(--s5); right: var(--s5); max-width: 540px; margin: 0 auto; background: var(--dark); color: #fff; border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-xl); z-index: 1400; transform: translateY(150%); transition: transform var(--t-slow); }
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { color: rgba(255,255,255,0.78); font-size: 0.9rem; margin-bottom: var(--s4); }
.cookie-banner p a { color: var(--accent-light); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--s3); flex-wrap: wrap; }
.cookie-actions .btn { flex: 1; padding: var(--s3) var(--s4); font-size: 0.9rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta .btn { display: none; }
  .modules-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .price-card--featured { transform: none; }
  .price-card--featured:hover { transform: translateY(-6px); }
  .base-offer { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; }
  .gallery-panel.active { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .price-contrast { grid-template-columns: 1fr; }
  .price-arrow { transform: rotate(90deg); }
  .stats { grid-template-columns: 1fr; gap: var(--s7); }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--border); }
  .process-step:last-child { border-bottom: none; }
  .modules-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .calc-wrap { grid-template-columns: 1fr; padding: var(--s6); }
  .base-list { grid-template-columns: 1fr; }
  .special-grid { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; gap: var(--s5); align-items: flex-start; }
  .timeline-node:not(:last-child)::after { display: none; }
  .timeline-node { display: flex; align-items: center; gap: var(--s4); text-align: left; }
  .timeline-dot { margin: 0; }
  .field-row { grid-template-columns: 1fr; }
  .choice-grid, .checks-grid { grid-template-columns: 1fr; }
  .wizard { padding: var(--s6); }
  .modal { padding: var(--s6); }
}
