:root {
  --bg: #0a0e13;
  --bg-alt: #0e141b;
  --card: #131a22;
  --card-border: #212b36;
  --text: #e8edf2;
  --text-dim: #9aa8b5;
  --accent: #2dd4c4;
  --accent-dim: #1ba99b;
  --accent-blue: #38bdf8;
  --radius: 14px;
  --max-width: 1140px;
}

* { box-sizing: border-box; }


body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
}

h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { color: var(--text-dim); margin: 0 0 12px; }

.icon { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #06110f;
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-outline {
  border-color: var(--card-border);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-ghost {
  color: var(--text-dim);
  padding: 8px 4px;
}
.btn-ghost:hover { color: var(--accent); }

.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #0c1117;
  border-bottom: 1px solid var(--card-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  background: #fff;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--card-border);
}
.brand-badge img { width: 100%; height: 100%; object-fit: contain; }
.brand-badge.small { width: 36px; height: 36px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; letter-spacing: 0.02em; }
.brand-text small { color: var(--text-dim); font-size: 0.72rem; }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--card-border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  background: var(--text);
  margin: 0 auto;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, rgba(45, 212, 196, 0.18), transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 760px; }

.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.hero h1 span { color: var(--accent); }

.hero-lead {
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-dim);
  font-size: 0.88rem;
}
.hero-trust li { display: flex; align-items: center; gap: 8px; }
.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

.grid { display: grid; gap: 22px; }

.services-grid { grid-template-columns: repeat(3, 1fr); margin-top: 36px; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--accent-dim); transform: translateY(-3px); }

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(45, 212, 196, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.card p { font-size: 0.92rem; margin-bottom: 0; }

/* Pourquoi */
.pourquoi-grid { grid-template-columns: repeat(4, 1fr); margin-top: 36px; }
.pourquoi-item { border-top: 2px solid var(--accent-dim); padding-top: 18px; }
.pourquoi-num {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 6px;
}
.pourquoi-item p { font-size: 0.9rem; margin-bottom: 0; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(10, 14, 19, 0.75);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Avis */
.avis-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-dim);
  margin-top: -4px;
}
.stars { color: var(--accent); letter-spacing: 2px; font-size: 0.95rem; }

.reviews-marquee {
  margin-top: 30px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.reviews-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: scroll-reviews 32s linear infinite;
}
.reviews-marquee:hover .reviews-track { animation-play-state: paused; }

@keyframes scroll-reviews {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px;
  width: 340px;
  flex-shrink: 0;
}
.review-card p {
  font-size: 0.92rem;
  color: var(--text);
  margin: 10px 0 16px;
}
.review-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}
.review-author span {
  font-weight: 400;
  color: var(--text-dim);
}

@media (max-width: 720px) {
  .review-card { width: 280px; }
}

/* Zone */
.zone-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.zone-lead { max-width: 480px; }

.zone-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.zone-list li {
  font-size: 0.94rem;
  padding-left: 20px;
  position: relative;
}
.zone-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.zone-note { font-size: 0.85rem; color: var(--text-dim); }

.zone-visual { display: flex; justify-content: center; }

.radar {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(45, 212, 196, 0.35);
}
.radar-ring.r1 { width: 100%; height: 100%; }
.radar-ring.r2 { width: 68%; height: 68%; }
.radar-ring.r3 { width: 36%; height: 36%; }
.radar-center {
  position: relative;
  z-index: 2;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  color: #06110f;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  line-height: 1.25;
  box-shadow: 0 0 40px rgba(45, 212, 196, 0.35);
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
}
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-details a:hover { color: var(--accent); }

.contact-form {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.94rem;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-note {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.85rem;
  text-align: center;
}
.form-note.success { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--card-border);
  padding: 30px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy { font-size: 0.82rem; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pourquoi-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .zone-inner, .contact-inner { grid-template-columns: 1fr; }
  .zone-visual { order: -1; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    padding: 18px 24px;
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .pourquoi-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .zone-list { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 60px; }
}
