/* ═══════════════════════════════════════════════════════════════
   LOGICARIX — style.css (vitrine)
   ═══════════════════════════════════════════════════════════════ */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --bg-primary:       #FFFFFF;
  --bg-soft:          #F7FAFC;
  --bg-accent-soft:   #F0FDFA;
  --border:           #E5E9F0;
  --border-strong:    #CBD5E0;
  --text-primary:     #0F172A;
  --text-secondary:   #475569;
  --text-muted:       #94A3B8;

  --brand-blue:       #0EA5E9;
  --brand-blue-dark:  #0284C7;
  --brand-teal:       #14B8A6;
  --brand-green:      #10B981;
  --brand-green-dark: #059669;

  --gradient-brand:        linear-gradient(90deg,  #0EA5E9 0%, #14B8A6 50%, #10B981 100%);
  --gradient-brand-vert:   linear-gradient(180deg, #0EA5E9 0%, #10B981 100%);
  --gradient-brand-soft:   linear-gradient(135deg, rgba(14,165,233,.08) 0%, rgba(16,185,129,.08) 100%);

  --shadow-sm:    0 1px 2px rgba(15,23,42,.04), 0 1px 3px rgba(15,23,42,.06);
  --shadow-md:    0 4px 6px rgba(15,23,42,.05), 0 10px 15px rgba(15,23,42,.07);
  --shadow-lg:    0 20px 25px rgba(15,23,42,.08), 0 10px 10px rgba(15,23,42,.04);
  --shadow-brand: 0 10px 30px rgba(14,165,233,.15), 0 4px 12px rgba(16,185,129,.10);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --font-body:    'Inter',         system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Inter',   sans-serif;
  --container:    1200px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); color: var(--text-primary); background: var(--bg-primary); font-size: 16px; line-height: 1.65; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }

/* ─── Accessibilité ─────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--brand-blue); color: #fff;
  padding: .5rem 1rem; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600; font-size: .875rem; z-index: 9999;
  transition: top .15s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px; }

/* ─── Container ─────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ─── Typographie ───────────────────────────────────────────── */
h1 { font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.1; }
h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; }
h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.3; }

/* ─── Gradient text ─────────────────────────────────────────── */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ─── Boutons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-weight: 600; font-size: .9375rem;
  cursor: pointer; border: none; transition: transform .15s, box-shadow .15s, opacity .15s;
  text-decoration: none;
}
.btn:active { transform: scale(.98); }
.btn-primary  { background: var(--gradient-brand); color: #fff; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-brand); }
.btn-secondary { background: #fff; color: var(--text-primary); border: 1.5px solid var(--border-strong); }
.btn-secondary:hover { border-color: var(--brand-blue); }
.btn-sm  { padding: .5rem 1rem; font-size: .875rem; }
.btn-lg  { padding: 1rem 2rem; font-size: 1.0625rem; }
.btn-block { width: 100%; justify-content: center; }

/* ─── Sections ──────────────────────────────────────────────── */
.section          { padding: 5rem 0; }
.section--soft    { background: var(--bg-soft); }
.section--accent  { background: var(--bg-accent-soft); }
.section__header  { text-align: center; margin-bottom: 3rem; }
.section__subtitle { color: var(--text-secondary); font-size: 1.125rem; margin-top: .75rem; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: .875rem 0;
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; }
.logo { flex-shrink: 0; min-width: 0; display: inline-flex; align-items: center; }
.logo img { height: 36px; width: auto; min-height: 28px; max-height: 36px; flex-shrink: 0; object-fit: contain; }
@media (max-width: 640px) {
  .logo img { height: 30px; }
}
@media (max-width: 480px) {
  .logo img { height: 26px; }
}
.main-nav { display: flex; gap: 1.5rem; margin-left: auto; }
.main-nav__link { font-weight: 500; color: var(--text-secondary); transition: color .15s; font-size: .9375rem; }
.main-nav__link:hover { color: var(--brand-blue); }
.lang-switcher { display: flex; gap: .375rem; }
.lang-switcher__link {
  display: flex; align-items: center; gap: .25rem;
  font-size: .8125rem; font-weight: 500; color: var(--text-muted);
  padding: .25rem .5rem; border-radius: var(--radius-sm);
  transition: background .1s, color .1s;
}
.lang-switcher__link:hover, .lang-switcher__link--active { color: var(--text-primary); background: var(--bg-soft); }
.header-cta { margin-left: .5rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: .375rem; color: var(--text-primary); }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero { padding: 5rem 0 4rem; background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-primary) 100%); }
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .375rem;
  background: var(--bg-accent-soft); border: 1px solid rgba(14,165,233,.25);
  color: var(--brand-teal); font-size: .8125rem; font-weight: 600;
  padding: .375rem .875rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.hero__title { margin-bottom: 1.25rem; }
.hero__subtitle { color: var(--text-secondary); font-size: 1.125rem; margin-bottom: 2rem; max-width: 480px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__social-proof { display: flex; align-items: center; gap: .5rem; font-size: .9375rem; color: var(--text-secondary); }
.stars { color: #F59E0B; letter-spacing: 1px; font-size: 1rem; }
.dot { color: var(--border-strong); }
.hero__visual img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

/* ─── Activités ─────────────────────────────────────────────── */
.activities__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.activity-card {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 2rem; border: 1px solid var(--border); border-radius: var(--radius-md);
  background: var(--bg-primary);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.activity-card:hover { border-color: var(--brand-teal); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.activity-card__icon { width: 2.5rem; height: 2.5rem; background: var(--gradient-brand-soft); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; }
.activity-card__icon svg { width: 20px; height: 20px; color: var(--brand-blue); }
.activity-card h3 { font-size: 1.0625rem; }
.activity-card p { color: var(--text-secondary); flex: 1; font-size: .9375rem; }
.link-arrow { color: var(--brand-blue); font-weight: 600; font-size: .875rem; margin-top: auto; }

/* ─── Location ──────────────────────────────────────────────── */
.headsets__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 2rem 0; }
.headset-card { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: box-shadow .15s; }
.headset-card:hover { box-shadow: var(--shadow-md); }
.headset-card img { width: 100%; height: 160px; object-fit: cover; background: var(--bg-soft); }
.headset-card__info { padding: .75rem 1rem; }
.headset-card__name  { font-weight: 600; font-size: .9375rem; }
.headset-card__specs { font-size: .8125rem; color: var(--text-muted); margin-top: .25rem; }
.formulas__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2rem 0; }
.formula-card { border: 1.5px solid var(--border); border-radius: var(--radius-md); padding: 1.75rem; text-align: center; transition: border-color .15s, box-shadow .15s; }
.formula-card:hover { border-color: var(--brand-teal); box-shadow: var(--shadow-brand); }
.formula-card h3 { margin-bottom: .375rem; }
.formula-card .duration { color: var(--text-muted); font-size: .875rem; margin-bottom: .75rem; }
.formula-card .price-from { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.formula-includes { list-style: none; margin-top: 1rem; display: flex; flex-direction: column; gap: .375rem; text-align: left; }
.formula-includes li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--text-secondary); }
.formula-includes li::before { content: '✓'; color: var(--brand-green); font-weight: 700; flex-shrink: 0; }

/* ─── Bundles ───────────────────────────────────────────────── */
.bundles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 3rem 0; }
.bundle-card {
  position: relative; display: flex; flex-direction: column;
  border: 1.5px solid var(--border); border-radius: var(--radius-md);
  padding: 2rem; background: var(--bg-primary); box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.bundle-card:hover { border-color: var(--brand-teal); box-shadow: var(--shadow-brand); transform: translateY(-4px); }
.bundle-card--popular { border-color: var(--brand-teal); box-shadow: var(--shadow-brand); }
.bundle-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-brand); color: #fff;
  font-size: .75rem; font-weight: 700; padding: .25rem 1rem;
  border-radius: 999px; white-space: nowrap;
}
.bundle-card__header { margin-bottom: 1rem; }
.bundle-card__name { font-size: 1.25rem; font-weight: 700; }
.bundle-card__tagline { color: var(--text-secondary); font-size: .875rem; margin-top: .25rem; }
.bundle-price {
  font-family: var(--font-display); font-size: 2.5rem; font-weight: 700;
  background: var(--gradient-brand); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin: 1rem 0; line-height: 1;
}
.bundle-features { list-style: none; display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.5rem; flex: 1; }
.bundle-features li { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; color: var(--text-secondary); }
.bundle-features li svg { color: var(--brand-green); flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }
.payment-block { text-align: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.payment-block p { font-size: .8125rem; color: var(--text-muted); }
.payment-icons { display: flex; justify-content: center; gap: .5rem; margin-bottom: .375rem; }
.payment-icons span { font-size: .75rem; background: var(--bg-soft); border: 1px solid var(--border); padding: .25rem .5rem; border-radius: 4px; color: var(--text-secondary); font-weight: 600; }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.step { text-align: center; }
.step__num { font-family: var(--font-display); font-size: 3rem; font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; margin-bottom: .5rem; }
.step h3 { font-size: 1.0625rem; margin-bottom: .375rem; }
.step p { color: var(--text-secondary); font-size: .9rem; }

/* ─── Data B2B ──────────────────────────────────────────────── */
.data__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0; }
.data-card { padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-primary); transition: box-shadow .15s; }
.data-card:hover { box-shadow: var(--shadow-md); }
.data-card h3 { font-size: 1.0625rem; margin-bottom: .5rem; }
.data-card p  { color: var(--text-secondary); font-size: .9rem; }

/* ─── Compatible ────────────────────────────────────────────── */
.compatible { padding: 3rem 0; }
.compatible__label { text-align: center; font-size: .9375rem; color: var(--text-secondary); margin-bottom: 1.5rem; font-weight: 500; }
.compatible__logos { display: flex; justify-content: center; align-items: center; gap: 3rem; flex-wrap: wrap; }
.compatible__logo { height: 36px; width: auto; filter: grayscale(1) opacity(.5); transition: filter .2s, opacity .2s; }
.compatible__logo:hover { filter: grayscale(0) opacity(1); }

/* ─── Stats / KPI ───────────────────────────────────────────── */
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-value { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text-secondary); font-size: .9375rem; margin-top: .375rem; }

/* ─── Témoignages ───────────────────────────────────────────── */
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--bg-primary); display: flex; flex-direction: column; gap: .875rem; }
.testimonial-card__header { display: flex; align-items: center; gap: .75rem; }
.avatar-initials { width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .875rem; flex-shrink: 0; }
.testimonial-card__name { font-weight: 600; font-size: .9375rem; }
.testimonial-card__meta { font-size: .8125rem; color: var(--text-muted); }
.testimonial-card__stars { color: #F59E0B; font-size: .875rem; }
.testimonial-card__text { color: var(--text-secondary); font-size: .9375rem; line-height: 1.6; flex: 1; font-style: italic; }
.testimonial-card__footer { display: flex; justify-content: space-between; align-items: center; }
.pack-tag { font-size: .75rem; background: var(--bg-accent-soft); color: var(--brand-teal); padding: .25rem .625rem; border-radius: 999px; font-weight: 600; }
.testimonial-date { font-size: .75rem; color: var(--text-muted); }

/* ─── FAQ ───────────────────────────────────────────────────── */
.faq__list { max-width: 720px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__question {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 1.25rem 0;
  font-weight: 600; font-size: 1rem; background: none; border: none;
  cursor: pointer; text-align: left; color: var(--text-primary); gap: 1rem;
}
.faq__question svg { flex-shrink: 0; width: 18px; height: 18px; transition: transform .2s; color: var(--text-muted); }
.faq__question[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--brand-blue); }
.faq__answer { padding: 0 0 1.25rem; color: var(--text-secondary); line-height: 1.7; }

/* ─── CTA final ─────────────────────────────────────────────── */
.cta-final { background: var(--gradient-brand-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); text-align: center; padding: 5rem 0; }
.cta-final h2 { margin-bottom: .75rem; }
.cta-final p { color: var(--text-secondary); font-size: 1.125rem; margin-bottom: 2rem; }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--text-primary); color: #E2E8F0; border-top: 3px solid transparent; border-image: var(--gradient-brand) 1; padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 3rem; }
.footer__col h4 { color: #fff; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.footer__col a { color: #94A3B8; font-size: .9rem; display: block; margin-bottom: .5rem; transition: color .15s; }
.footer__col a:hover { color: var(--brand-teal); }
.footer__bottom { border-top: 1px solid #1E293B; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .875rem; color: #64748B; }
.footer-input { width: 100%; background: #1E293B; border: 1px solid #334155; color: #E2E8F0; padding: .5rem .75rem; border-radius: var(--radius-sm); font-size: .875rem; margin-bottom: .5rem; font-family: var(--font-body); }
.footer-input::placeholder { color: #64748B; }
.footer-input:focus { outline: none; border-color: var(--brand-teal); }
.footer-textarea { min-height: 80px; resize: vertical; }

/* ─── Cookie banner ─────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; max-width: 480px;
  background: var(--text-primary); color: #E2E8F0;
  padding: 1.25rem 1.5rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); z-index: 9999;
  flex-direction: column; gap: .875rem;
}
.cookie-banner p { font-size: .875rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: .5rem; }
.btn-cookie { padding: .5rem 1rem; border-radius: var(--radius-sm); border: none; cursor: pointer; font-weight: 600; font-size: .875rem; }
.btn-cookie--accept  { background: var(--gradient-brand); color: #fff; }
.btn-cookie--decline { background: transparent; color: #94A3B8; border: 1px solid #334155; }

/* ─── Animations ────────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bundles__grid      { grid-template-columns: repeat(2, 1fr); }
  .activities__grid   { grid-template-columns: repeat(2, 1fr); }
  .stats__grid        { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }
  .headsets__grid     { grid-template-columns: repeat(2, 1fr); }
  .footer__grid       { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { display: none; }
  .bundles__grid { grid-template-columns: 1fr; }
  .activities__grid { grid-template-columns: 1fr; }
  .formulas__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .data__grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .main-nav.nav--open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: 1rem; z-index: 200; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}
@media (max-width: 480px) {
  .testimonials__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { padding: 3rem 0 2rem; }
  .section { padding: 3rem 0; }
}
