/* Variables et reset global */
:root {
  --black: #050505;
  --black-soft: #080808;
  --dark: #101010;
  --dark-2: #151515;
  --white: #ffffff;
  --light: #fafafa;
  --light-soft: #f4f4f5;
  --text-soft: #d9d9d9;
  --text-dark: #171717;
  --text-muted: #5f5f66;
  --pink: #ff1493;
  --pink-2: #ff0f8a;
  --pink-dark: #9d0057;
  --border: rgba(255, 255, 255, 0.12);
  --shadow-pink: 0 18px 55px rgba(255, 20, 147, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: var(--white);
  color: var(--text-dark);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  
  color: var(--pink);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 8px 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
}

h1 {
  max-width: 920px;
  margin-top: 20px;
  font-size: clamp(3.2rem, 8vw, 7.2rem);
  font-weight: 900;
}

h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 900;
}

h3 {
  font-size: 1.25rem;
  font-weight: 800;
}

p {
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 999px;
  font-weight: 800;
  padding: 14px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
  box-shadow: var(--shadow-pink);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.centered {
  margin: 22px auto 0;
}

/* Header / Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(5, 5, 5, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.navbar {
  width: min(1240px, calc(100% - 32px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 8px;
  background: #111;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.brand-text {
  font-size: 1rem;
  color: #e5e5e5;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--pink);
}

.call-button {
  border: 1px solid rgba(255, 20, 147, 0.6);
  border-radius: 999px;
  background: var(--pink);
  box-shadow: 0 12px 32px rgba(255, 20, 147, 0.22);
  color: var(--white);
  font-weight: 900;
  padding: 12px 18px;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-bg,
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url("img/hero-debarras.jpg");
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
}

.hero-bg::after,
.cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 5, 5, 0.72), rgba(5, 5, 5, 0.32)), radial-gradient(circle at 70% 45%, rgba(255, 20, 147, 0.18), transparent 34%);
}

.hero-overlay,
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(250, 250, 250, 0.12), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 86px;
}

.hero-subtitle {
  max-width: 760px;
  margin-top: 20px;
  color: var(--white);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 700;
}

.hero-text {
  max-width: 620px;
  margin-top: 12px;
  color: var(--text-soft);
  font-size: 1.08rem;
}

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

/* Section Avant / Après */
.before-after {
  background: var(--light);
  color: var(--text-dark);
}

.slider-shell {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  gap: 16px;
}

.slider-window {
  overflow: hidden;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 24px 70px rgba(5, 5, 5, 0.1);
}

.slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.slide-card {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  background: var(--white);
}

.slide-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  background: linear-gradient(135deg, #242424, #0d0d0d);
}

.slide-card span {
  position: absolute;
  left: 22px;
  bottom: 22px;
  border-radius: 999px;
  background: var(--pink);
  color: var(--white);
  font-weight: 900;
  padding: 10px 16px;
}

.slider-arrow {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 50%;
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  font-size: 2.2rem;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.slider-arrow:hover {
  background: var(--pink);
  color: var(--white);
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.slider-dots button {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.18);
  cursor: pointer;
}

.slider-dots button.active {
  width: 34px;
  background: var(--pink);
}

.after-note {
  margin-top: 24px;
  text-align: center;
  color: var(--text-dark);
  font-size: 1.12rem;
  font-weight: 800;
}

/* Section Formules */
.formulas {
  background: var(--white);
  color: var(--text-dark);
}

.formula-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.formula-card {
  min-height: 250px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 8px;
  color: var(--white);
  text-align: center;
  padding: 34px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.formula-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-pink);
}

.formula-card .star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--pink);
  font-size: 1.35rem;
}

.formula-card p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.card-basic {
  background: #181818;
}

.card-standard {
  background: #303034;
}

.card-economic {
  background: #b90068;
}

.card-prestige {
  background: #ff1493;
}

.card-prestige .star {
  color: var(--white);
}

/* Section Types de Prestations */
.services {
  background: var(--light-soft);
  color: var(--text-dark);
}

.services-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.service-lists {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-lists ul,
.zone-list,
.check-list {
  list-style: none;
}

.service-lists li,
.zone-list li,
.check-list li {
  position: relative;
  margin-bottom: 14px;
  padding-left: 28px;
  color: var(--text-muted);
  font-weight: 700;
}

.service-lists li::before,
.zone-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 18px rgba(255, 20, 147, 0.7);
}

/* Section Zone d'intervention */
.intervention-zone {
  background: var(--white);
  color: var(--text-dark);
}

.zone-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.zone-layout p {
  margin: 18px 0 24px;
}

.zone-list {
  margin-bottom: 28px;
}

.map-card {
  min-height: 430px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 20, 147, 0.7);
  border-radius: 8px;
  background:
    linear-gradient(rgba(5, 5, 5, 0.42), rgba(5, 5, 5, 0.62)),
    url("img/map.png") center / cover no-repeat;
  box-shadow: var(--shadow-pink);
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.32;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 48%, rgba(255, 20, 147, 0.16), transparent 42%);
  pointer-events: none;
}

.map-card strong {
  position: absolute;
  left: 28px;
  bottom: 28px;
  color: var(--white);
  font-size: 1.5rem;
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 10px rgba(255, 20, 147, 0.15);
}

.pin-one {
  left: 45%;
  top: 35%;
}

.pin-two {
  left: 62%;
  top: 52%;
}

.pin-three {
  left: 31%;
  top: 60%;
}

/* Section Expert du Débarras */
.expert {
  background: var(--light);
  color: var(--text-dark);
}

.expert-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: center;
}

.check-list {
  margin: 28px 0;
}

.expert-image {
  border: 1px solid rgba(255, 20, 147, 0.45);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-pink);
}

.expert-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  background: linear-gradient(135deg, #262626, #111);
}

/* Section Pourquoi nous choisir */
.reasons {
  background: #f7f5f6;
  color: var(--black);
}

.reasons p {
  color: #555;
}

.reasons .section-kicker {
  background: rgba(255, 20, 147, 0.1);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.reason-card {
  min-height: 230px;
  border: 1px solid rgba(5, 5, 5, 0.08);
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
  box-shadow: 0 16px 36px rgba(5, 5, 5, 0.08);
}

.reason-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--black);
  color: var(--pink);
  font-weight: 900;
}

.reason-card h3 {
  color: var(--pink);
  font-size: 1.1rem;
}

.reason-card p {
  margin-top: 12px;
}

/* Section CTA Contact */
.cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.cta-bg {
  background-image: url("img/cta-debarras.jpg");
}

.cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
}

.cta-content h2 {
  max-width: 820px;
  margin: 0 auto;
}

.cta-content p {
  margin-top: 18px;
  color: var(--text-soft);
  font-size: 1.15rem;
}

.cta-content .hero-actions {
  justify-content: center;
}

/* Section Contact / Siège social */
.contact {
  background: #f7f5f6;
  color: var(--black);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
}

.contact-info p {
  margin-top: 22px;
  color: #424242;
}

.contact-info a {
  color: var(--pink-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  border-radius: 8px;
  background: var(--white);
  padding: 28px;
  box-shadow: 0 20px 45px rgba(5, 5, 5, 0.1);
}

.contact-form label {
  color: var(--black);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(5, 5, 5, 0.14);
  border-radius: 8px;
  background: #fbfbfb;
  color: var(--black);
  padding: 14px 15px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(255, 20, 147, 0.12);
}

.contact-form .full {
  grid-column: 1 / -1;
}

.form-message {
  grid-column: 1 / -1;
  min-height: 24px;
  color: var(--pink-dark);
  font-weight: 800;
}

.form-message.error {
  color: #b00020;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding-top: 58px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding-bottom: 42px;
}

.footer-grid h3 {
  margin-bottom: 18px;
  color: var(--pink);
  font-size: 1rem;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--text-soft);
}

.footer-grid a:hover {
  color: var(--pink);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-soft);
  text-align: center;
  padding: 20px;
}

/* Boutons flottants */
.floating-call,
.floating-whatsapp {
  position: fixed;
  right: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
}

.floating-call {
  bottom: 22px;
  background: var(--pink);
}

.floating-whatsapp {
  bottom: 86px;
  background: #25d366;
}

/* Animations au scroll */
.section-observe {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.section-observe.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Barre de progression du scroll */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  z-index: 100;
  background: linear-gradient(90deg, var(--pink), #ff5bb8);
  box-shadow: 0 0 18px rgba(255, 20, 147, 0.55);
  transform-origin: left center;
  transition: width 0.12s ease-out;
}

/* Fond animé abstrait */
.ambient-background {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.ambient-field {
  position: absolute;
  width: 34vw;
  height: 34vw;
  min-width: 320px;
  min-height: 320px;
  border-radius: 44% 56% 52% 48%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.78), transparent 12%),
    radial-gradient(circle at 62% 66%, rgba(255, 20, 147, 0.52), transparent 36%),
    conic-gradient(from 90deg, rgba(255, 20, 147, 0.08), rgba(255, 20, 147, 0.5), rgba(255, 91, 184, 0.18), rgba(255, 20, 147, 0.08));
  filter: blur(14px);
  opacity: 0.62;
  box-shadow: 0 0 90px rgba(255, 20, 147, 0.42);
  animation: ambientSphere 18s ease-in-out infinite alternate;
}

.field-one {
  top: 10%;
  left: -10%;
}

.field-two {
  top: 42%;
  right: -12%;
  width: 38vw;
  height: 38vw;
  animation-duration: 23s;
  animation-delay: -6s;
}

.field-three {
  bottom: -12%;
  left: 28%;
  width: 28vw;
  height: 28vw;
  opacity: 0.48;
  animation-duration: 28s;
  animation-delay: -12s;
}

@keyframes ambientSphere {
  from {
    border-radius: 44% 56% 52% 48%;
    transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1);
  }

  to {
    border-radius: 58% 42% 46% 54%;
    transform: translate3d(8%, 5%, 0) rotate(42deg) scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Responsive tablette */
@media (max-width: 1024px) {
  .nav-panel {
    gap: 16px;
  }

  .nav-links {
    gap: 14px;
  }

  .formula-grid,
  .reason-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-layout,
  .zone-layout,
  .expert-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Responsive mobile */
@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 72px 0;
  }

  .navbar {
    min-height: 76px;
  }

  .brand-text {
    max-width: 150px;
    white-space: normal;
    line-height: 1.05;
  }

  .burger {
    display: block;
  }

  .nav-panel {
    position: fixed;
    left: 14px;
    right: 14px;
    top: 82px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(5, 5, 5, 0.98);
    padding: 22px;
  }

  .nav-panel.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .call-button {
    text-align: center;
  }

  .hero {
    min-height: 760px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .slider-shell {
    grid-template-columns: 1fr;
  }

  .slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    background: rgba(5, 5, 5, 0.86);
  }

  .slider-arrow:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }

  .slide-card {
    grid-template-columns: 1fr;
  }

  .slide-card img {
    height: 240px;
  }

  .formula-grid,
  .reason-grid,
  .service-lists,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 330px;
  }

  .expert-image img {
    height: 360px;
  }

  .floating-call,
  .floating-whatsapp {
    right: 14px;
  }
}
