/* ============================================================
   Hotte Cleaner — style.css
   Palette : fond #101728 · dégradé #9340ff → #ff3c5f
   ============================================================ */

:root {
  --bg: #101728;
  --bg-soft: #161f36;
  --bg-softer: #1c2745;
  --text: #f4f6fb;
  --text-dim: #aab3c9;
  --grad-a: #9340ff;
  --grad-b: #ff3c5f;
  --grad: linear-gradient(92deg, var(--grad-a), var(--grad-b));
  --border: rgba(255, 255, 255, 0.09);
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.18;
  letter-spacing: -0.015em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(1160px, 100% - 48px);
  margin-inline: auto;
}

/* ---------- Texte en dégradé ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 24px rgba(147, 64, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 60, 95, 0.4);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: #181038;
}
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3); }

.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(16, 23, 40, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(16, 23, 40, 0.9);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 500;
}
.brand b { font-weight: 700; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-name b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav ul {
  display: flex;
  gap: 28px;
}
.nav ul a {
  font-family: var(--font-head);
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-dim);
  position: relative;
  transition: color 0.2s ease;
}
.nav ul a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav ul a:hover { color: var(--text); }
.nav ul a:hover::after { transform: scaleX(1); }
.nav-cta { font-size: 0.88rem; padding: 10px 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 84px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -30% -20% auto auto;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(147, 64, 255, 0.22), rgba(31, 65, 187, 0.08) 45%, transparent 70%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-glow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 60, 95, 0.14), transparent 60%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.badge {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}
.badge strong { color: var(--text); }
.badge-gradient {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(147, 64, 255, 0.35);
}
.badge-gradient strong { color: #fff; }

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.15rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 52ch;
  margin-bottom: 30px;
}
.lead strong { color: var(--text); }

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

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.92rem;
  color: var(--text-dim);
}
.hero-points li {
  position: relative;
  padding-left: 26px;
}
.hero-points li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.hero-media {
  position: relative;
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: var(--grad);
  opacity: 0.35;
  border-radius: var(--radius);
  filter: blur(2px);
  z-index: 0;
}
.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-card {
  position: absolute;
  z-index: 2;
  left: -22px; bottom: -26px;
  display: flex;
  flex-direction: column;
  background: rgba(20, 28, 50, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  border-image: var(--grad) 1;
  border-radius: 14px;
  padding: 16px 22px;
  box-shadow: var(--shadow);
}
.hero-card-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.hero-card-label {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ---------- Sections ---------- */
.section { padding: 92px 0; }
.section-alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.section-head p { color: var(--text-dim); }

/* ---------- À propos ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.about-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 18px;
}
.about-copy p { color: var(--text-dim); margin-bottom: 16px; }
.about-copy p strong { color: var(--text); }

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  margin: 24px 0 30px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  font-size: 0.93rem;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: rgba(147, 64, 255, 0.18);
  color: #c79bff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Cartes services ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.card {
  background: var(--bg-softer);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(147, 64, 255, 0.45);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

.card-img {
  position: relative;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img img { transform: scale(1.05); }

.card-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.card-body { padding: 24px; }
.card-body h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card-body p { font-size: 0.93rem; color: var(--text-dim); }

/* ---------- Sécurité ---------- */
.safety {
  padding: 0;
}
.safety-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  background:
    radial-gradient(600px 300px at 15% 50%, rgba(147, 64, 255, 0.18), transparent 70%),
    radial-gradient(500px 300px at 90% 50%, rgba(255, 60, 95, 0.12), transparent 70%),
    var(--bg-soft);
  border-block: 1px solid var(--border);
  padding: 64px 24px;
}
.safety-icon {
  flex: none;
  width: 88px; height: 88px;
  border-radius: 26px;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(147, 64, 255, 0.4);
}
.safety-icon svg { width: 44px; height: 44px; color: #fff; }
.safety-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.safety-copy p { color: var(--text-dim); max-width: 60ch; margin-bottom: 22px; }
.safety-copy p strong { color: var(--text); }

/* ---------- Bandeau CTA ---------- */
.cta-band {
  padding: 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--grad);
  padding: 44px 24px;
}
.cta-inner h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 6px; color: #fff; }
.cta-inner p { color: rgba(255, 255, 255, 0.88); }
.cta-inner p strong { color: #fff; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 60, 95, 0.5);
}
.contact-icon {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: rgba(147, 64, 255, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.contact-icon svg { width: 26px; height: 26px; color: #c79bff; }
.contact-label {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-value {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0c1120;
  padding-top: 56px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 34ch;
}
.footer-nav h3, .footer-contact h3 {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.2s ease;
}
.footer-nav a:hover { color: var(--text); }
.footer-contact ul { display: grid; gap: 10px; font-size: 0.95rem; color: var(--text-dim); }
.footer-contact a { transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-block: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer-bottom a { transition: color 0.2s ease; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Animations reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 640px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-media { order: -1; max-width: 560px; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid .card:last-child { grid-column: 1 / -1; max-width: 560px; margin-inline: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  body { font-size: 15.5px; }
  .section { padding: 68px 0; }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    background: rgba(16, 23, 40, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 18px 24px 26px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul a {
    display: block;
    padding: 12px 6px;
    font-size: 1.02rem;
    border-bottom: 1px solid var(--border);
  }
  .nav ul a::after { display: none; }
  .nav-cta { margin-top: 14px; justify-content: center; }

  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero-card { left: 12px; bottom: -20px; padding: 12px 18px; }
  .hero-card-num { font-size: 1.35rem; }
  .hero-actions .btn { flex: 1; justify-content: center; }

  .safety-inner { flex-direction: column; text-align: center; padding: 48px 20px; }
  .cta-inner { flex-direction: column; text-align: center; }

  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid .card:last-child { max-width: none; }
  .check-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
