
:root {
  --bg: #0f172a;
  --bg-alt: #111827;
  --card: #e5f3f7;
  --primary: #22c5c5;
  --text: #020617;
  --text-on-dark: #f9fafb;
  --muted: #4b5563;
  --border: #cbd5f5;
}

/* RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #e0f2fe, #f9fafb);
  color: var(--text);
  line-height: 1.6;
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(135deg, #f1f5f9, #e0f2fe);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(241, 245, 249, 0.9);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  height: 48px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--muted);
}

/* NAV */
.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.1rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #22c5c5, #38bdf8);
  transition: width 0.22s ease-out;
}

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

.nav a:hover::after {
  width: 100%;
}

/* NAV TOGGLE */
.nav-toggle {
  display: none;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

/* HERO */
.hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) saturate(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.45)
  );
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.6);
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero-text h1 {
  font-size: clamp(2.3rem, 3vw + 1.4rem, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  color: #e5e7eb;
  max-width: 32rem;
  margin-bottom: 1.2rem;
}

.hero-highlight {
  margin-top: 0.8rem;
  font-size: 0.95rem;
  color: #e0f2fe;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background 0.15s ease-out, border-color 0.15s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, #22c5c5, #38bdf8);
  color: #f9fafb;
  box-shadow: 0 18px 35px rgba(34, 197, 197, 0.45);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(34, 197, 197, 0.55);
}

.btn.secondary {
  background: rgba(15, 23, 42, 0.12);
  color: #e5e7eb;
  border-color: rgba(226, 232, 240, 0.6);
}

.btn.secondary:hover {
  background: rgba(15, 23, 42, 0.2);
}

.btn.sms-btn,
.btn.contact-sms {
  background: rgba(15, 23, 42, 0.85);
  color: #e0f2fe;
  border-color: rgba(148, 163, 184, 0.7);
}

.btn.contact-call {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(148, 163, 184, 0.9);
}

.btn.full-width {
  width: 100%;
}

/* HERO CARD */
.hero-card {
  background: rgba(15, 23, 42, 0.88);
  border-radius: 26px;
  padding: 1.7rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.4);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #f9fafb;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.5rem;
  color: #e5e7eb;
}

.hero-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: #22c5c5;
}

/* SECTION TITLES */
.section-title {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 2.2rem;
}

/* GRIDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

/* CARDS */
.card {
  background: var(--card);
  border-radius: 18px;
  padding: 1.5rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
}

.card h3 {
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.card p {
  color: var(--muted);
}

.card-note {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: #64748b;
}

/* ABOUT BOX */
.about-box {
  background: #ffffff;
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
}

/* AVANT / APRÈS */
.ba-grid {
  display: grid;
  gap: 2rem;
}

.ba-block h3 {
  margin-bottom: 0.6rem;
}

.ba-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.3);
  border: 1px solid var(--border);
  background: #000;
}

.ba-img {
  position: absolute;
  inset: 0;
}

.ba-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* After = full */
.ba-after {
  z-index: 1;
}

/* Before = clipped layer */
.ba-before {
  z-index: 2;
  width: 50%;
  overflow: hidden;
}

.ba-label {
  position: absolute;
  top: 10px;
  padding: 0.18rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  z-index: 4;
}

.ba-label-left {
  left: 10px;
}

.ba-label-right {
  right: 10px;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: rgba(255, 255, 255, 0.9);
  z-index: 3;
  transform: translateX(-50%);
}

.ba-handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  background: rgba(15, 23, 42, 0.9);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.5);
}

/* Slider */
.ba-range {
  position: relative;
  margin-top: 0.85rem;
  width: 100%;
  max-width: 520px;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.6);
  outline: none;
}

.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c5c5, #38bdf8);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.5);
}

.ba-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c5c5, #38bdf8);
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.5);
}

/* AVIS */
.stars-line {
  font-size: 1.4rem;
  margin: 0.8rem 0;
}

.stars {
  color: #fbbf24;
}

.reviews-list {
  margin-top: 0.8rem;
  padding-left: 1.1rem;
}

.reviews-list li {
  margin-bottom: 0.6rem;
}

/* CONTACT */
.contact-form {
  background: #ffffff;
  border-radius: 24px;
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
}

.form-group {
  margin-bottom: 1.1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

input,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #f9fafb;
  color: #020617;
}

input:focus,
textarea:focus {
  outline: 1px solid var(--primary);
  box-shadow: 0 0 0 1px rgba(34, 197, 197, 0.25);
}

.contact-info {
  padding: 0.5rem 0;
}

.contact-info p {
  margin-bottom: 0.4rem;
}

.contact-info a {
  color: #0f172a;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.9rem 0 0.3rem;
}

.small {
  font-size: 0.85rem;
  color: var(--muted);
}

/* FOOTER */
.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  background: #e5f3f7;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.footer p {
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.7);
  text-decoration: none;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: #e5f3ff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-card {
    margin-top: 1.5rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .grid-3,
  .grid-2,
  .ba-grid {
    grid-template-columns: 1fr;
  }

  .header-inner {
    height: 4rem;
  }

  .nav {
    position: absolute;
    inset: 4rem 0 auto 0;
    background: rgba(241, 245, 249, 0.98);
    padding: 0.9rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.45);
    flex-direction: column;
    align-items: flex-start;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  }

  .nav a {
    padding: 0.3rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  body.nav-open .nav {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }
}
