/* ============================================================
   Fresco - site mono-produit climatiseur mobile. Thème clair.
   ============================================================ */

:root {
  --bg: #f5f7f7;
  --bg-raised: #ffffff;
  --bg-elevated: #ecefef;
  --line: rgba(18, 26, 28, 0.1);
  --text: #14191a;
  --text-dim: #5f6668;
  --accent: #0e9aad;
  --accent-strong: #0b8090;
  --accent-soft: rgba(14, 154, 173, 0.1);
  --frost: #e5f4f6;
  --radius: 18px;
  --radius-btn: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Outfit", system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; height: 68px; display: flex; align-items: center; background: rgba(245, 247, 247, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header .container { width: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.logo-mark { width: 32px; height: 32px; display: block; }
.header-right { display: flex; align-items: center; gap: 18px; }
.header-price { font-weight: 600; color: var(--text-dim); font-size: 0.95rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: none; cursor: pointer; font-family: inherit; font-size: 1rem; font-weight: 600; padding: 14px 26px; border-radius: var(--radius-btn); transition: transform 0.2s var(--ease), background 0.2s var(--ease); white-space: nowrap; }
.btn:active { transform: translateY(1px) scale(0.985); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: rgba(18, 26, 28, 0.3); }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

/* Hero */
.hero { padding: 48px 0 64px; }
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 5px 13px; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; margin-bottom: 14px; }
.hero .lead { color: var(--text-dim); font-size: 1.1rem; max-width: 48ch; margin-bottom: 26px; }

.hero-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #ffffff; border: 1px solid var(--line); display: grid; place-items: center; }
.hero-media img { width: 100%; height: 100%; object-fit: contain; }
.media-placeholder { color: var(--text-dim); font-weight: 600; text-align: center; padding: 16px; }

.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gthumb { width: 70px; height: 70px; padding: 0; border-radius: 12px; overflow: hidden; border: 1.5px solid var(--line); background: #fff; cursor: pointer; transition: border-color 0.2s var(--ease); }
.gthumb img { width: 100%; height: 100%; object-fit: contain; }
.gthumb:hover { border-color: rgba(18, 26, 28, 0.35); }
.gthumb.active { border-color: var(--accent); }

/* Bloc achat */
.buy { margin-top: 4px; }
.buy .price { font-size: 2.1rem; font-weight: 700; }
.buy .price small { font-size: 0.95rem; font-weight: 500; color: var(--text-dim); }
.variant-label { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); margin: 18px 0 8px; }
.variant-options { display: flex; gap: 10px; flex-wrap: wrap; }
.variant { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--bg-raised); transition: border-color 0.2s var(--ease); text-align: left; }
.variant:hover { border-color: rgba(18, 26, 28, 0.3); }
.variant.active { border-color: var(--accent); background: var(--accent-soft); }
.variant .v-name { font-weight: 700; font-size: 0.98rem; display: inline-flex; align-items: center; gap: 8px; }
.variant .v-dot { width: 12px; height: 12px; border-radius: 50%; }
.variant .v-desc { font-size: 0.8rem; color: var(--text-dim); }
.buy-actions { display: flex; gap: 12px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.stock-note { font-size: 0.88rem; color: var(--text-dim); }
.stock-note b { color: var(--accent); }
.reassure { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; color: var(--text-dim); font-size: 0.9rem; }
.reassure span { display: inline-flex; align-items: center; gap: 7px; }
.reassure svg { color: var(--accent); flex-shrink: 0; }

/* Sections */
section.block { padding: 56px 0; }
.section-head { max-width: 60ch; margin-bottom: 34px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 8px; }
.section-head p { color: var(--text-dim); }

/* Bénéfices */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.benefit .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: 5px; }
.benefit p { color: var(--text-dim); font-size: 0.93rem; }

/* Présentation */
.presentation { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.presentation .pres-block { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.presentation h3 { font-size: 1.15rem; margin-bottom: 8px; }
.presentation p { color: var(--text-dim); }
@media (max-width: 760px) { .presentation { grid-template-columns: 1fr; } }

/* Specs */
.specs-wrap { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding: 16px 24px; }
.spec-row + .spec-row { border-top: 1px solid var(--line); }
.spec-row .k { color: var(--text-dim); }
.spec-row .v { font-weight: 600; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.faq summary { list-style: none; cursor: pointer; font-weight: 600; padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--text-dim); padding: 0 0 18px; }

/* CTA final */
.cta-final { background: var(--text); color: #fff; border-radius: var(--radius); padding: 48px; text-align: center; }
.cta-final h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.02em; margin-bottom: 10px; }
.cta-final p { color: rgba(255,255,255,0.7); margin-bottom: 24px; }

/* Trust / paiement */
.trust-strip { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 0; margin-top: 56px; }
.trust-strip .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.trust-strip p { font-weight: 600; }
.trust-strip p span { display: block; font-weight: 400; color: var(--text-dim); font-size: 0.9rem; }
.pay-logos { display: flex; flex-wrap: wrap; gap: 12px; }
.pay-chip { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-elevated); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 9px 13px; font-size: 0.85rem; font-weight: 600; color: var(--text-dim); }
.pay-chip img { height: 18px; }

/* Footer */
.site-footer { padding: 40px 0; color: var(--text-dim); font-size: 0.9rem; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }

/* Reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
  .reveal.visible { opacity: 1; transform: none; }
}

/* ---------- Chiffres clés ---------- */
.stats-strip { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%); color: #fff; padding: 30px 0; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.stat-val { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; }
.stat-label { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }

/* ---------- Points forts en image ---------- */
.features { display: grid; gap: 26px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature.reverse .feat-media { order: 2; }
.feat-media { aspect-ratio: 4 / 3; background: #fff; }
.feat-media img { width: 100%; height: 100%; object-fit: cover; }
.feat-text { padding: 30px 34px; }
.feat-text h3 { font-size: 1.35rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.feat-text p { color: var(--text-dim); }
@media (max-width: 760px) {
  .feature { grid-template-columns: 1fr; }
  .feature.reverse .feat-media { order: 0; }
  .feat-text { padding: 24px; }
}

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; margin-bottom: 14px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--text-dim); font-size: 0.95rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Dans la boîte ---------- */
.included { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 720px; }
.included li { display: flex; align-items: center; gap: 10px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 14px 16px; font-weight: 600; }
.included svg { color: var(--accent); flex-shrink: 0; }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.stars { margin-bottom: 10px; letter-spacing: 2px; }
.star { color: var(--line); }
.star.on { color: #f5a623; }
.review p { color: var(--text); margin-bottom: 14px; }
.review-name { color: var(--text-dim); font-weight: 600; font-size: 0.92rem; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Finitions : fraîcheur + ergonomie ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(55% 70% at 80% 16%, rgba(14, 154, 173, 0.13), transparent 68%); pointer-events: none; }
.hero .container { position: relative; z-index: 1; }

.hero-media { box-shadow: 0 22px 55px rgba(16, 60, 66, 0.12); }

.buy { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: 0 10px 30px rgba(16, 60, 66, 0.06); }
.buy .variant-label:first-of-type { margin-top: 0; }

.benefit, .pres-block { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.benefit:hover, .pres-block:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(16, 60, 66, 0.09); }

.spec-row:nth-child(even) { background: rgba(14, 154, 173, 0.035); }
.spec-extra { display: none; }
.specs-wrap.specs-open .spec-extra { display: grid; }
.specs-toggle { margin-top: 16px; }

.cta-final { background: linear-gradient(135deg, #0e9aad 0%, #0a6e7c 100%); }

.gthumb { transition: transform 0.2s var(--ease), border-color 0.2s var(--ease); }
.gthumb:hover { transform: translateY(-2px); }

/* Barre d'achat fixe (mobile) */
.mobile-buybar { display: none; }
@media (max-width: 760px) {
  .mobile-buybar {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: rgba(245, 247, 247, 0.92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); padding: 12px 18px;
  }
  .mobile-buybar .mb-price { font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
  .mobile-buybar .mb-price small { font-weight: 500; font-size: 0.75rem; color: var(--text-dim); display: block; }
  .mobile-buybar .btn { padding: 13px 24px; }
  body { padding-bottom: 78px; }
}

/* Mobile */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; gap: 30px; }
  .hero-media { order: -1; aspect-ratio: 4 / 3; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .header-price { display: none; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
  .cta-final { padding: 32px 22px; }
  .variant-options { flex-direction: column; }
  .variant { width: 100%; }
}
