:root {
  --blue: #0F5BDC;
  --blue-dark: #0B1F3A;
  --blue-soft: #EAF2FF;
  --text: #19304E;
  --muted: #5F738C;
  --white: #FFFFFF;
  --line: #E4ECF6;
  --bg: #F7FAFF;
  --shadow: 0 16px 40px rgba(15, 91, 220, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", Arial, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.topbar { background: var(--blue-dark); color: rgba(255,255,255,0.92); font-size: 0.92rem; }
.topbar-content { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 50px; height: 50px; border-radius: 14px; }
.logo-main { display: block; font-weight: 800; font-size: 1.2rem; color: var(--blue); line-height: 1; }
.logo-sub { display: block; font-weight: 700; color: var(--blue-dark); line-height: 1.1; }

.nav-menu { display: flex; align-items: center; gap: 24px; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 22px; }
.nav-links a { font-weight: 600; color: var(--blue-dark); }
.nav-links a:hover { color: var(--blue); }

.menu-toggle { display: none; border: none; background: transparent; width: 46px; height: 46px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--blue-dark); margin: 5px auto; border-radius: 5px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 700; border: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); box-shadow: 0 12px 24px rgba(15, 91, 220, 0.18); }
.btn-primary:hover { background: #0C52CA; }
.btn-secondary { background: var(--blue-soft); color: var(--blue); }

.hero { padding: 80px 0 50px; background: radial-gradient(circle at top right, rgba(15, 91, 220, 0.10), transparent 28%), linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 42px; align-items: center; }
.eyebrow { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: 1.05; color: var(--blue-dark); margin-bottom: 18px; max-width: 12ch; }
.hero-description { font-size: 1.08rem; max-width: 620px; color: var(--muted); margin-bottom: 28px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 18px; padding: 18px; }
.mini-card strong { display: block; margin-bottom: 6px; color: var(--blue-dark); }
.mini-card span { color: var(--muted); font-size: 0.95rem; }

.device-card { background: linear-gradient(180deg, #11284A 0%, #0B1F3A 100%); border-radius: 28px; padding: 14px; box-shadow: 0 28px 60px rgba(11, 31, 58, 0.22); max-width: 430px; margin-left: auto; }
.device-header { display: flex; gap: 8px; padding: 6px 4px 12px; }
.dot { width: 10px; height: 10px; background: rgba(255,255,255,0.7); border-radius: 50%; }
.device-screen { border-radius: 22px; background: linear-gradient(180deg, #0F5BDC 0%, #EAF2FF 100%); min-height: 470px; padding: 32px 28px; color: var(--white); }
.service-badge { display: inline-block; font-weight: 700; background: rgba(255,255,255,0.18); padding: 8px 12px; border-radius: 999px; margin-right: 8px; margin-bottom: 18px; }
.service-badge-light { background: rgba(11,31,58,0.18); }
.device-screen h2 { font-size: 2rem; margin-bottom: 8px; }
.device-screen p { margin-bottom: 20px; color: rgba(255,255,255,0.92); }
.device-screen ul { list-style: none; display: grid; gap: 12px; }
.device-screen li { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.16); backdrop-filter: blur(6px); }

.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-items { min-height: 74px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: center; text-align: center; font-weight: 700; color: var(--blue-dark); }

.section { padding: 88px 0; }
.section-alt { background: var(--bg); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 42px; }
.section-heading.left { text-align: left; margin-left: 0; }
.section-heading p { color: var(--blue); font-weight: 800; margin-bottom: 8px; }
.section-heading h2 { font-size: clamp(2rem, 3vw, 3rem); line-height: 1.1; color: var(--blue-dark); margin-bottom: 10px; }
.section-heading span { color: var(--muted); }

.services-group + .services-group { margin-top: 38px; }
.group-title { margin-bottom: 18px; }
.group-title h3 { color: var(--blue-dark); font-size: 1.35rem; margin-bottom: 4px; }
.group-title p { color: var(--muted); }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.service-card, .price-card, .step-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.service-card { padding: 24px; }
.icon { width: 52px; height: 52px; display: grid; place-items: center; background: var(--blue-soft); border-radius: 16px; font-size: 1.5rem; margin-bottom: 16px; }
.service-card h4 { color: var(--blue-dark); margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { color: var(--muted); font-size: 0.97rem; }

.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.price-card { padding: 28px; }
.price-card h3 { margin-bottom: 16px; color: var(--blue-dark); }
.price-card ul { list-style: none; display: grid; gap: 12px; }
.price-card li { color: var(--muted); padding-left: 18px; position: relative; }
.price-card li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); position: absolute; left: 0; top: 10px; }
.featured { background: linear-gradient(180deg, #0F5BDC 0%, #0C52CA 100%); color: var(--white); }
.featured h3, .featured li { color: var(--white); }
.featured li::before { background: rgba(255,255,255,0.95); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card { padding: 24px; text-align: center; }
.step-number { width: 52px; height: 52px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 800; margin-bottom: 14px; }
.step-card h3 { margin-bottom: 8px; color: var(--blue-dark); }
.step-card p { color: var(--muted); }

.faq-list { display: grid; gap: 14px; max-width: 900px; margin: 0 auto; }
.faq-list details { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--blue-dark); }
.faq-list p { color: var(--muted); margin-top: 12px; }

.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 28px; align-items: start; }
.contact-text-block { padding-top: 8px; }
.contact-details { display: grid; gap: 12px; }
.contact-details a, .contact-details p { color: var(--muted); font-size: 1rem; }

.contact-form { background: var(--white); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 26px; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 14px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #D6E2F0; border-radius: 14px; padding: 14px 16px; font: inherit; color: var(--text); background: #fff; outline: none; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(15, 91, 220, 0.08); }
.contact-form textarea { min-height: 140px; resize: vertical; margin-bottom: 14px; }
.form-message { min-height: 24px; margin-top: 12px; color: var(--blue); font-weight: 600; }

.footer { background: var(--blue-dark); color: rgba(255,255,255,0.92); padding: 26px 0; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-logo { width: 44px; height: 44px; border-radius: 12px; }

.whatsapp-btn { position: fixed; right: 20px; bottom: 20px; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: #25D366; color: white; font-size: 1.7rem; box-shadow: 0 16px 32px rgba(0,0,0,0.18); z-index: 999; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

/* Produits */
.products-hero-apple {
  padding: 96px 0 64px;
  background:
    radial-gradient(circle at top left, rgba(15, 91, 220, 0.14), transparent 24%),
    radial-gradient(circle at bottom right, rgba(15, 91, 220, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}
.products-hero-apple-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}
.products-hero-apple-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 0.98;
  color: var(--blue-dark);
  margin-bottom: 18px;
  max-width: 11ch;
}
.products-hero-apple-text {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 620px;
  margin-bottom: 28px;
}
.products-hero-apple-visual { min-height: 460px; position: relative; }
.hero-glass-card-large {
  position: absolute;
  inset: 30px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(234,242,255,0.84));
  border: 1px solid rgba(255,255,255,0.56);
  box-shadow: 0 30px 70px rgba(15, 91, 220, 0.16);
  backdrop-filter: blur(14px);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-floating-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.hero-device-stack { position: relative; height: 230px; }
.hero-phone {
  position: absolute;
  width: 140px;
  height: 230px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, #dce9ff 100%);
  box-shadow: 0 26px 44px rgba(0, 0, 0, 0.16);
  left: 50%;
  top: 50%;
}
.hero-phone::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #0F5BDC 0%, #0B1F3A 100%);
}
.hero-phone::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-phone-back { transform: translate(-70%, -50%) rotate(-10deg); opacity: 0.9; }
.hero-phone-front { transform: translate(-30%, -50%) rotate(8deg); }
.hero-card-content h3 { color: var(--blue-dark); font-size: 2rem; margin-bottom: 10px; }
.hero-card-content p { color: var(--muted); }

.products-stats-section { padding: 24px 0 60px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
  text-align: center;
}
.stat-card strong { display: block; font-size: 2rem; color: var(--blue-dark); margin-bottom: 6px; }
.stat-card span { color: var(--muted); }

.shop-section { padding: 84px 0; }
.chip-toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 28px; }
.chip-toolbar-double { justify-content: space-between; }
.chip-group { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip {
  border: none;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.filter-chip:hover, .filter-chip.active { background: var(--blue); color: #fff; }

.apple-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.apple-product-card {
  position: relative;
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(15, 91, 220, 0.08);
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}
.apple-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 70px rgba(15, 91, 220, 0.16);
}
.best-choice-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
}
.apple-product-image-wrap {
  height: 250px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(15, 91, 220, 0.1), transparent 56%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}
.apple-product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.apple-product-info { padding: 24px; }
.apple-product-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.apple-product-category,
.apple-product-status {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}
.apple-product-category {
  background: var(--blue-soft);
  color: var(--blue);
  text-transform: capitalize;
}
.apple-product-status {
  background: rgba(11,31,58,0.08);
  color: var(--blue-dark);
}
.apple-product-info h3 {
  color: var(--blue-dark);
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.apple-product-info p {
  color: var(--muted);
  margin-bottom: 16px;
}
.apple-product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.apple-product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.apple-product-bottom strong {
  color: var(--blue-dark);
  font-size: 1.28rem;
}
.apple-detail-btn {
  border: none;
  background: var(--blue-soft);
  color: var(--blue);
  padding: 11px 16px;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
}
.grade-pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}
.grade-pill-a { background: rgba(15, 91, 220, 0.12); color: #0F5BDC; }
.grade-pill-b { background: rgba(40, 167, 69, 0.12); color: #1f8a3a; }
.grade-pill-c { background: rgba(255, 140, 0, 0.14); color: #d97706; }
.filter-chip.grade-a.active { background: #0F5BDC; color: #fff; }
.filter-chip.grade-b.active { background: #22a65b; color: #fff; }
.filter-chip.grade-c.active { background: #f59e0b; color: #fff; }
.product-grade-row { margin-bottom: 16px; }
.subsection-head { margin-bottom: 18px; }
.subsection-head h3 { color: var(--blue-dark); font-size: 1.5rem; }

.empty-products {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px;
  text-align: center;
  color: var(--muted);
}

.trade-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 22px;
}
.trade-simple-card, .trade-simple-highlight {
  border-radius: 28px;
  padding: 28px;
}
.trade-simple-card {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.trade-simple-card h3 {
  color: var(--blue-dark);
  margin-bottom: 16px;
}
.trade-simple-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}
.trade-simple-card li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.trade-simple-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 10px;
}
.trade-simple-highlight {
  background: linear-gradient(180deg, #11284A 0%, #0B1F3A 100%);
  color: #fff;
  box-shadow: 0 28px 60px rgba(11, 31, 58, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trade-highlight-badge {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 14px;
}
.trade-simple-highlight h3 {
  font-size: 2rem;
  line-height: 1.08;
  margin-bottom: 14px;
}
.trade-simple-highlight p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.product-modal { position: fixed; inset: 0; display: none; z-index: 3000; }
.product-modal.open { display: block; }
.product-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.5);
  backdrop-filter: blur(8px);
}
.product-modal-card {
  position: relative;
  width: min(1080px, calc(100% - 32px));
  margin: 40px auto;
  background: rgba(255,255,255,0.96);
  border-radius: 30px;
  box-shadow: 0 40px 80px rgba(11, 31, 58, 0.22);
  padding: 28px;
  z-index: 1;
  max-height: calc(100vh - 80px);
  overflow: auto;
}
.product-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.4rem;
  cursor: pointer;
}
.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.product-modal-gallery { display: grid; gap: 14px; }
.modal-main-image {
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
  border-radius: 24px;
  padding: 20px;
}
.modal-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.modal-thumb {
  width: 78px;
  height: 78px;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  padding: 0;
}
.modal-thumb.active { border-color: var(--blue); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.modal-top-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.modal-badge, .modal-status {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}
.modal-badge { background: var(--blue-soft); color: var(--blue); }
.modal-status { background: rgba(11,31,58,0.08); color: var(--blue-dark); }

.product-modal-content h3 {
  font-size: 2rem;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.modal-description { color: var(--muted); margin-bottom: 16px; }
.modal-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  margin-bottom: 18px;
  text-transform: capitalize;
}
.modal-details {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}
.modal-details li {
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.modal-details li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  position: absolute;
  left: 0;
  top: 10px;
}
.modal-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.modal-price-row strong {
  color: var(--blue-dark);
  font-size: 2rem;
}
.modal-open { overflow: hidden; }

@media (max-width: 991px) {
  .menu-toggle { display: block; }
  .nav { flex-wrap: wrap; min-height: 76px; padding: 12px 0; }
  .nav-menu { width: 100%; display: none; flex-direction: column; align-items: stretch; padding: 10px 0 4px; gap: 14px; }
  .nav-menu.open { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 14px; }
  .nav-cta { width: 100%; }
  .hero-grid, .contact-grid, .pricing-grid, .steps-grid, .products-hero-apple-grid, .stats-grid, .apple-products-grid, .trade-simple-grid, .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .hero-points, .trust-items { grid-template-columns: repeat(2, 1fr); }
  .chip-toolbar-double { flex-direction: column; align-items: center; }
}

@media (max-width: 700px) {
  .topbar-content { flex-direction: column; justify-content: center; padding: 8px 0; text-align: center; }
  .hero { padding-top: 54px; }
  .hero h1, .products-hero-apple-copy h1 { max-width: none; }
  .hero-buttons .btn { width: 100%; }
  .hero-points, .trust-items, .form-row { grid-template-columns: 1fr; }
  .device-screen { min-height: auto; padding: 26px 20px; }
  .section, .shop-section { padding: 72px 0; }
  .contact-form, .product-modal-card { padding: 20px; }
  .footer-grid { flex-direction: column; text-align: center; }
  .footer-brand { justify-content: center; }
  .modal-main-image { height: 300px; }
  .modal-price-row, .apple-product-bottom { flex-direction: column; align-items: flex-start; }
}