/* ============ VARIABLES ============ */
:root {
  --primary: #0a66ff;
  --primary-dark: #0048cc;
  --accent: #00c2a8;
  --dark: #0b1220;
  --dark-2: #131c2e;
  --gray: #5b6776;
  --light: #f4f7fb;
  --border: #e3e8f0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(10, 26, 60, 0.08);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }

p { color: var(--gray); }

.accent { color: var(--accent); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 20px rgba(10, 102, 255, 0.35);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 102, 255, 0.45);
}

.btn--outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn--outline:hover {
  background: #fff;
  color: var(--primary-dark);
}

.section--alt .btn--outline,
.cta__inner .btn--outline,
#pourquoi .btn--outline {
  border-color: var(--primary);
  color: var(--primary);
}
.section--alt .btn--outline:hover,
#pourquoi .btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ============ TOPBAR ============ */
.topbar {
  background: var(--dark);
  color: #cfd8e6;
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar__info { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar__phone {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ============ HEADER ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--dark);
}
.logo__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-size: 1.3rem;
}
.logo--light { color: #fff; }

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a:hover { color: var(--primary); }

.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.25s;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  color: #fff;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,194,168,0.35), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(10,102,255,0.45), transparent 50%),
    linear-gradient(135deg, rgba(11,18,32,0.92) 0%, rgba(19,28,46,0.92) 60%, rgba(28,44,74,0.85) 100%);
}
.hero__content { text-align: center; max-width: 820px; margin: 0 auto; }

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 18px;
}

.hero__subtitle {
  color: #cdd6e6;
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 36px;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent);
}
.stat span {
  font-size: 0.85rem;
  color: #b9c4d6;
}

/* ============ AD BANNER ============ */
.ad-banner { padding: 30px 0; }
.ad-slot {
  position: relative;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}
.ad-label {
  position: absolute;
  top: 6px;
  left: 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}
.ad-placeholder {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============ SECTIONS ============ */
.section { padding: 90px 0; }
.section--alt { background: var(--light); }

.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}
.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

/* ============ GRID ============ */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--center { align-items: center; }

/* ============ CARDS ============ */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, rgba(10,102,255,0.1), rgba(0,194,168,0.15));
  border-radius: 14px;
  margin-bottom: 18px;
}

/* ============ CHECK LIST ============ */
.check-list { margin: 24px 0 28px; display: grid; gap: 12px; }
.check-list li {
  font-weight: 500;
  font-size: 1rem;
}

/* ============ INFO CARD / FORMS ============ */
.info-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.info-card__or {
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
  margin: 14px 0;
}

.form { display: flex; flex-direction: column; gap: 14px; }
.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--light);
  transition: border-color 0.2s;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.form--card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  color: var(--dark);
}
.form__note {
  font-size: 0.85rem;
  text-align: center;
  min-height: 18px;
  color: var(--accent);
  font-weight: 600;
}

/* ============ GALLERY ============ */
.gallery__item {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}
.gallery__item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6));
}
.gallery__item span { position: relative; z-index: 1; }

/* ============ POURQUOI IMAGE ============ */
.pourquoi__img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* ============ REVIEWS ============ */
.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.review__stars {
  color: #ffb800;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.review p { color: var(--dark); font-style: italic; margin-bottom: 16px; }
.review__author { font-weight: 700; font-size: 0.9rem; }

/* ============ ACCORDION ============ */
.accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.accordion__item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.accordion__header {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--dark);
  transition: background 0.2s;
}
.accordion__header:hover { background: var(--light); }
.accordion__icon {
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.25s;
  flex-shrink: 0;
}
.accordion__item.active .accordion__icon { transform: rotate(45deg); }
.accordion__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 22px;
  background: var(--light);
}
.accordion__item.active .accordion__body {
  padding: 16px 22px 22px;
}

/* ============ CTA / CONTACT ============ */
.cta {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #fff;
  padding: 90px 0;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.cta__text h2 { color: #fff; }
.cta__text p { color: #cdd6e6; margin-bottom: 28px; }

/* ============ FOOTER ============ */
.footer {
  background: #060b16;
  color: #b9c4d6;
  padding: 70px 0 0;
}
.footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
}
.footer p { color: #8c9ab0; margin-top: 16px; font-size: 0.9rem; }
.footer ul { display: grid; gap: 12px; font-size: 0.9rem; }
.footer ul a:hover { color: var(--accent); }
.footer__bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #6f7d96;
}

/* ============ SCROLL REVEAL ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ FLOATING ACTIONS ============ */
.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s, opacity 0.2s;
}
.float-btn:hover { transform: translateY(-3px); }
.float-btn--whatsapp { background: #25d366; color: #fff; }
.float-btn--top {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
  opacity: 0;
  pointer-events: none;
}
.float-btn--top.visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 640px) {
  .floating-actions { bottom: 76px; right: 16px; }
}

/* ============ STICKY CALL (mobile) ============ */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 16px;
  font-size: 1rem;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.15);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: flex; }
  .header__cta { display: none; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .cta__inner { gap: 36px; }
  .form--card, .info-card { padding: 24px; }
}

@media (max-width: 640px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .hero { padding: 90px 0 70px; }
  .topbar__inner { justify-content: center; text-align: center; }
  .sticky-call { display: block; }
  body { padding-bottom: 56px; }
  .header__inner { padding: 12px 20px; }
  .logo__text { font-size: 1.1rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
}

@media (max-width: 460px) {
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .topbar__info { flex-direction: column; gap: 4px; align-items: center; }
}
