/*
Theme Name: Bestcleann72
Theme URI: https://bestcleann72.fr/
Author: Bestcleann72
Description: Thème vitrine léger pour le lavage et le detailing automobile.
Version: 1.0.7
Text Domain: bestcleann72
*/

:root {
  --ink-950: #020711;
  --ink-900: #06101d;
  --ink-850: #0a1625;
  --ink-800: #0d1b2d;
  --ink-700: #16273b;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --text: #dce6f2;
  --text-muted: #94a6bb;
  --dark-text: #0a1524;
  --dark-muted: #536276;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(10, 21, 36, 0.12);
  --blue: #1d8fff;
  --blue-light: #55c9ff;
  --cyan: #39e4e8;
  --whatsapp: #20bd5a;
  --gold: #ffc857;
  --shadow-sm: 0 10px 30px rgba(2, 7, 17, 0.09);
  --shadow-lg: 0 24px 70px rgba(2, 7, 17, 0.22);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --header-height: 78px;
  --container: 1180px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink-950);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

h2 {
  font-size: clamp(2.5rem, 5.8vw, 5rem);
  text-wrap: balance;
}

h3 {
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.05;
}

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

strong {
  color: inherit;
}

address {
  font-style: normal;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

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

.section {
  position: relative;
  padding-block: clamp(84px, 10vw, 150px);
}

.eyebrow {
  color: var(--blue-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto clamp(42px, 6vw, 76px);
  text-align: center;
}

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

.section-heading .eyebrow,
.section-heading-left .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2 {
  color: #fff;
}

.section-heading > p:last-child {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.section-heading-left > p:last-child {
  margin-left: 0;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--dark-text);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(2, 7, 17, 0.84), rgba(2, 7, 17, 0));
  transition:
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.is-scrolled,
.site-header.is-open {
  border-color: var(--line);
  background: rgba(5, 13, 24, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  width: max-content;
  text-decoration: none;
}

.brand-name {
  color: #fff;
  font-size: 1.55rem;
  line-height: 0.9;
}

.brand-name span {
  color: var(--blue-light);
}

.brand-tagline {
  margin-top: 5px;
  color: var(--text-muted);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.desktop-nav a {
  position: relative;
  color: #dce6f2;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: #fff;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  max-height: calc(100svh - var(--header-height));
  padding: 18px 20px 28px;
  border-top: 1px solid var(--line);
  overflow-y: auto;
  background: rgba(5, 13, 24, 0.98);
}

.mobile-menu a {
  display: block;
  width: min(100%, 700px);
  margin-inline: auto;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(110deg, var(--blue), #12b8e7);
  box-shadow: 0 10px 30px rgba(29, 143, 255, 0.24);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.button:hover {
  box-shadow: 0 16px 38px rgba(29, 143, 255, 0.32);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 0.82rem;
}

.button-ghost,
.button-outline {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.button-ghost:hover,
.button-outline:hover {
  border-color: var(--blue-light);
  background: rgba(85, 201, 255, 0.11);
  box-shadow: none;
}

.button-whatsapp {
  background: var(--whatsapp);
  box-shadow: 0 12px 32px rgba(32, 189, 90, 0.2);
}

.button-whatsapp:hover {
  background: #19aa50;
  box-shadow: 0 16px 38px rgba(32, 189, 90, 0.3);
}

.button-light {
  background: #fff;
  box-shadow: 0 12px 32px rgba(2, 7, 17, 0.13);
  color: var(--dark-text);
}

.button-card {
  width: 100%;
  margin-top: auto;
  background: rgba(29, 143, 255, 0.12);
  box-shadow: none;
  color: #cbeeff;
}

.button-card:hover {
  background: var(--blue);
  color: #fff;
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--blue-light);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: #fff;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  align-items: center;
  padding: calc(var(--header-height) + 32px) 0 68px;
  background-color: #080d14;
  background-image: url("https://bestcleann72.fr/images/bestcleann72logo");
  background-position: center 54%;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 72% 46%, transparent 0, rgba(2, 7, 17, 0.08) 34%, rgba(2, 7, 17, 0.72) 100%),
    linear-gradient(180deg, rgba(2, 7, 17, 0.2) 0%, rgba(2, 7, 17, 0.04) 43%, rgba(2, 7, 17, 0.9) 100%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  right: -20%;
  bottom: -45%;
  width: 70%;
  height: 68%;
  border-radius: 50%;
  background: rgba(29, 143, 255, 0.16);
  filter: blur(110px);
  content: "";
}

.hero-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 7, 17, 0.76), rgba(2, 7, 17, 0.08) 72%);
  pointer-events: none;
}

.hero-content {
  display: flex;
  min-height: calc(100svh - var(--header-height) - 100px);
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(85, 201, 255, 0.3);
  border-radius: 999px;
  background: rgba(5, 13, 24, 0.45);
  backdrop-filter: blur(12px);
}

.hero h1 {
  width: min(100%, 1000px);
  margin-top: 20px;
  color: #fff;
  font-size: clamp(2.4rem, 6.7vw, 6.5rem);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.72);
}

.hero h1 > span:first-child,
.hero h1 strong {
  display: inline;
}

.hero h1 strong {
  background: linear-gradient(95deg, #72d4ff, #39e4e8 48%, #fff 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}



.hero-intro {
  width: min(660px, 100%);
  margin-top: 20px;
  color: #dce6f2;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-shadow: 0 3px 15px rgba(0, 0, 0, 0.78);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-top: 30px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #dce6f2;
  font-size: 0.77rem;
  font-weight: 700;
}

.hero-trust span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
  content: "";
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: grid;
  width: 32px;
  height: 48px;
  place-items: start center;
  padding-top: 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 20px;
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: #fff;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(16px);
  }
}

/* Intro */
.intro-section {
  overflow: hidden;
  background: var(--surface);
  color: var(--dark-text);
}

.intro-section::before {
  position: absolute;
  top: 8%;
  left: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(29, 143, 255, 0.08);
  content: "";
  filter: blur(12px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 100px);
}

.intro-copy .eyebrow {
  margin-bottom: 16px;
  color: #087cd0;
}

.intro-copy h2 {
  color: var(--dark-text);
  font-size: clamp(2.6rem, 5.5vw, 5.3rem);
}

.intro-copy p {
  color: var(--dark-muted);
}

.intro-copy .section-lead {
  margin-top: 26px;
  color: #263a52;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.intro-copy > p + p {
  margin-top: 18px;
}

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.intro-highlights span {
  display: flex;
  min-height: 92px;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--dark-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.intro-highlights strong {
  margin-bottom: 5px;
  color: var(--blue);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
}

.intro-visual {
  position: relative;
}

.intro-visual::before {
  position: absolute;
  z-index: 0;
  top: -22px;
  right: -22px;
  width: 58%;
  height: 50%;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  content: "";
}

.intro-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 650px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.intro-visual figcaption {
  position: absolute;
  z-index: 2;
  right: -24px;
  bottom: 28px;
  display: flex;
  width: min(320px, 86%);
  flex-direction: column;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(5, 13, 24, 0.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.intro-visual figcaption span {
  color: var(--blue-light);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-visual figcaption strong {
  margin-top: 4px;
  color: #fff;
  font-size: 1rem;
}

/* Plans */
.plans-section {
  background:
    radial-gradient(circle at 85% 5%, rgba(29, 143, 255, 0.15), transparent 28%),
    var(--ink-900);
}

.plan-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -22px auto 42px;
}

.filter-button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}

.filter-button:hover,
.filter-button.is-active {
  border-color: rgba(85, 201, 255, 0.48);
  background: rgba(29, 143, 255, 0.14);
  color: #fff;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  min-height: 510px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015)),
    var(--ink-850);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.plan-card::after {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(29, 143, 255, 0.08);
  content: "";
  filter: blur(12px);
}

.plan-card:hover {
  border-color: rgba(85, 201, 255, 0.42);
  box-shadow: 0 24px 60px rgba(2, 7, 17, 0.35);
  transform: translateY(-5px);
}

.plan-card-featured {
  border-color: rgba(57, 228, 232, 0.56);
  background:
    linear-gradient(145deg, rgba(29, 143, 255, 0.24), rgba(57, 228, 232, 0.06)),
    var(--ink-850);
}

.popular-badge {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 26px;
  padding: 7px 13px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(100deg, var(--blue), var(--cyan));
  color: #03101d;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-topline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.plan-label {
  color: var(--blue-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.plan-price strong {
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
}

.plan-card h3 {
  position: relative;
  z-index: 1;
  color: #fff;
}

.plan-summary {
  position: relative;
  z-index: 1;
  min-height: 55px;
  margin-top: 15px;
  font-size: 0.9rem;
}

.check-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin: 24px 0 30px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 23px;
  color: #c5d1df;
  font-size: 0.82rem;
  line-height: 1.45;
}

.check-list li::before {
  position: absolute;
  top: 0.13em;
  left: 0;
  display: grid;
  width: 15px;
  height: 15px;
  place-items: center;
  border-radius: 50%;
  background: rgba(57, 228, 232, 0.15);
  color: var(--cyan);
  content: "✓";
  font-size: 0.62rem;
  font-weight: 900;
}

.pricing-note {
  margin-top: 24px;
  font-size: 0.78rem;
  text-align: center;
}

.card-pricing-note {
  position: relative;
  z-index: 1;
  margin-top: 11px;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.4;
  text-align: center;
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(54px, 8vw, 90px);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(85, 201, 255, 0.22);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(110deg, rgba(29, 143, 255, 0.18), rgba(57, 228, 232, 0.04)),
    rgba(255, 255, 255, 0.035);
}

.section-cta h3 {
  max-width: 620px;
  margin-top: 10px;
  color: #fff;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.section-cta-actions {
  display: flex;
  min-width: max-content;
  align-items: center;
  flex-direction: column;
  gap: 6px;
}

/* Extras */
.extras-section {
  overflow: hidden;
  background: var(--surface-soft);
  color: var(--dark-text);
}

.extras-section::after {
  position: absolute;
  right: -12%;
  bottom: -28%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(29, 143, 255, 0.08);
  content: "";
  filter: blur(20px);
}

.extras-section .section-heading h2,
.extras-section .section-heading > p:last-child {
  color: var(--dark-text);
}

.extras-section .section-heading > p:last-child {
  color: var(--dark-muted);
}

.extras-section .eyebrow {
  color: #087cd0;
}

.extras-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.extra-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.extra-card-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-dark);
}

.extra-number {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--blue-light);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.extra-card h3 {
  margin-top: 6px;
  color: var(--dark-text);
}

.price-list {
  margin-top: 18px;
}

.price-list > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}

.price-list dt {
  color: var(--dark-muted);
}

.price-list dd {
  color: var(--dark-text);
  font-weight: 800;
}

.extras-note {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  color: var(--dark-muted);
  font-size: 0.82rem;
  text-align: center;
}

/* Before / After */
.comparisons-section {
  background:
    radial-gradient(circle at 15% 8%, rgba(57, 228, 232, 0.08), transparent 24%),
    var(--ink-950);
}

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

.comparison {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-850);
  box-shadow: var(--shadow-sm);
}

.comparison-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #101926;
}

.comparison-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
}

.comparison-after {
  clip-path: inset(0 calc(100% - var(--position)) 0 0);
}

.comparison-label {
  position: absolute;
  z-index: 3;
  top: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(2, 7, 17, 0.72);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.label-before {
  left: 16px;
}

.label-after {
  right: 16px;
}

.comparison-divider {
  position: absolute;
  z-index: 4;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
  pointer-events: none;
}

.comparison-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
  color: #fff;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.comparison-range {
  position: absolute;
  z-index: 5;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.comparison figcaption {
  padding: 18px 20px;
  color: #dce6f2;
  font-weight: 700;
}

.centered-action {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

/* Benefits */
.benefits-section {
  background: var(--ink-850);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.benefit-card {
  min-height: 300px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform var(--transition),
    border-color var(--transition);
}

.benefit-card:hover {
  border-color: rgba(85, 201, 255, 0.38);
  transform: translateY(-4px);
}

.benefit-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 32px;
  border: 1px solid rgba(85, 201, 255, 0.28);
  border-radius: 50%;
  background: rgba(29, 143, 255, 0.1);
  color: var(--cyan);
  font-size: 1.5rem;
}

.benefit-card h3 {
  margin: 8px 0 18px;
  color: #fff;
}

.benefit-card p:last-child {
  font-size: 0.9rem;
}

/* Gallery */
.gallery-section {
  background: var(--surface);
  color: var(--dark-text);
}

.gallery-section .section-heading h2 {
  color: var(--dark-text);
}

.gallery-section .section-heading > p:last-child {
  color: var(--dark-muted);
}

.gallery-section .eyebrow {
  color: #087cd0;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 230px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #d8e0e9;
  cursor: zoom-in;
}

.gallery-item::after {
  position: absolute;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  opacity: 0;
  background: rgba(5, 13, 24, 0.7);
  color: #fff;
  content: "+";
  font-size: 1.45rem;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -40%);
  transition:
    opacity var(--transition),
    transform var(--transition);
  backdrop-filter: blur(8px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.gallery-item-large {
  grid-row: span 2;
  grid-column: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

.gallery-placeholder {
  display: grid;
  place-items: center;
  border: 2px dashed rgba(8, 124, 208, 0.35);
  background:
    linear-gradient(135deg, rgba(29, 143, 255, 0.08), rgba(57, 228, 232, 0.13)),
    #e8eef4;
  color: #31516a;
  cursor: default;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
}

.gallery-placeholder::after {
  display: none;
}

.gallery-placeholder small {
  color: #657c8e;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Reviews */
.testimonials-section {
  background:
    linear-gradient(rgba(2, 7, 17, 0.95), rgba(2, 7, 17, 0.95)),
    url("https://bestcleann72.fr/images/bestcleann72-galerie-photo12") center / cover fixed;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(13, 27, 45, 0.78);
  backdrop-filter: blur(14px);
}

.testimonial-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #03101d;
  font-weight: 900;
}

.testimonial-card h3 {
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}

.stars {
  margin-top: 4px;
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.testimonial-card blockquote {
  margin: 28px 0 24px;
  color: #e6edf5;
  font-size: 0.95rem;
  line-height: 1.75;
}

.review-meta {
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 700;
}

.reviews-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 40px;
}

/* Contact banner */
.contact-banner {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 96px);
  background: linear-gradient(115deg, #087fe0, #0eafce 58%, #36d4d8);
}

.contact-banner::before {
  position: absolute;
  top: -80%;
  right: 12%;
  width: 340px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  content: "";
}

.contact-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-banner .eyebrow {
  color: rgba(2, 7, 17, 0.76);
}

.contact-banner h2 {
  max-width: 720px;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
}

.contact-banner-actions {
  display: flex;
  min-width: max-content;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.contact-phone {
  color: #03223a;
  font-size: 0.85rem;
  font-weight: 900;
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 86px 0 110px;
  background: #030914;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1.25fr 1fr;
  gap: 42px;
}

.brand-footer {
  margin-bottom: 24px;
}

.brand-footer .brand-name {
  font-size: 2rem;
}

.footer-about > p {
  max-width: 340px;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a,
.footer-links a,
.footer-contact-link,
.footer-bottom a {
  color: #c9d5e3;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition);
}

.social-links a:hover,
.footer-links a:hover,
.footer-contact-link:hover,
.footer-bottom a:hover {
  color: var(--blue-light);
}

.site-footer h2 {
  margin-bottom: 22px;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list {
  display: grid;
  gap: 9px;
}

.hours-list > div {
  display: grid;
  grid-template-columns: minmax(85px, auto) 1fr;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.hours-list dt {
  color: #c9d5e3;
  font-weight: 700;
}

.footer-note {
  margin-top: 14px;
  font-size: 0.7rem;
}

.site-footer address {
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-contact-link {
  display: block;
  width: fit-content;
  margin-top: 9px;
}

.map-wrap {
  margin-top: 58px;
}

.map-wrap iframe {
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  filter: grayscale(0.25) contrast(1.05);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-bottom p,
.footer-bottom a {
  font-size: 0.72rem;
}

/* Mobile CTA */
.mobile-cta {
  position: fixed;
  z-index: 800;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  display: none;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 13, 24, 0.94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.mobile-cta a {
  display: grid;
  min-height: 45px;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.mobile-cta-primary {
  background: var(--whatsapp);
}

/* Lightbox */
.lightbox {
  width: min(1200px, calc(100% - 32px));
  max-width: none;
  height: min(90svh, 900px);
  max-height: none;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  background: #030914;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.6);
  color: #fff;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  display: grid;
  width: 100%;
  height: 100%;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.lightbox figcaption {
  width: 100%;
  padding: 14px 70px;
  color: #dce6f2;
  font-size: 0.78rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(5, 13, 24, 0.82);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.lightbox-close {
  top: 16px;
  right: 16px;
  font-size: 1.7rem;
}

.lightbox-nav {
  top: 50%;
  font-size: 2.3rem;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1080px) {
  .desktop-nav {
    gap: 16px;
  }

  .desktop-nav a {
    font-size: 0.78rem;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 22px);
    background-color: #0c121a;
    background-position: center 28%;
    background-size: contain;
  }

  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(2, 7, 17, 0.28) 0%,
      rgba(2, 7, 17, 0.04) 35%,
      rgba(2, 7, 17, 0.9) 73%,
      rgba(2, 7, 17, 0.98) 100%
    );
  }

  .hero-overlay {
    background: transparent;
  }

  .hero-content {
    min-height: calc(100svh - var(--header-height) - 76px);
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 9.5vw, 4.1rem);
  }

  

  .hero-intro {
    max-width: 580px;
    margin-top: 13px;
    font-size: 0.96rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-trust {
    margin-top: 22px;
  }

  .scroll-cue {
    display: none;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    max-width: 720px;
  }

  .intro-visual {
    width: min(600px, calc(100% - 24px));
    margin: 10px auto 0;
  }

  .extras-grid,
  .comparisons-grid {
    grid-template-columns: 1fr;
  }

  .benefits-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .testimonial-card {
    min-height: 0;
  }

  .gallery-grid {
    grid-auto-rows: 210px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-banner-inner,
  .section-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-banner-actions,
  .section-cta-actions {
    min-width: 0;
    align-items: flex-start;
  }

  .testimonials-section {
    background-attachment: scroll;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 78px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .hero {
    padding-bottom: 92px;
    background-position: center 24%;
  }

  .hero-eyebrow {
    padding: 7px 11px;
    font-size: 0.62rem;
  }

  

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
    align-self: stretch;
    text-align: left;
  }

  .hero-trust span:last-child {
    grid-column: 1 / -1;
  }

  .intro-highlights {
    grid-template-columns: 1fr;
  }

  .intro-highlights span {
    min-height: 74px;
  }

  .intro-visual figcaption {
    right: -12px;
    bottom: 18px;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: 0;
  }

  .plan-filters {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-button {
    width: 100%;
  }

  .section-cta,
  .extra-card {
    padding: 25px;
    border-radius: var(--radius);
  }

  .section-cta-actions,
  .section-cta-actions .button,
  .contact-banner-actions,
  .contact-banner-actions .button {
    width: 100%;
  }

  .comparison-stage {
    aspect-ratio: 1 / 1;
  }

  .gallery-grid {
    grid-auto-rows: 180px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item-large {
    grid-row: span 2;
    grid-column: span 2;
  }

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

  .reviews-actions .button,
  .reviews-actions .text-link {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-cta {
    display: grid;
  }

  .site-footer {
    padding-bottom: 130px;
  }

  .lightbox {
    width: calc(100% - 16px);
    height: 84svh;
  }

  .lightbox-close,
  .lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }

  .lightbox-close {
    top: 8px;
    right: 8px;
  }
}

@media (max-width: 390px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-name {
    font-size: 1.35rem;
  }

  .hero h1 {
    font-size: 2.15rem;
  }

  

  .hero-intro {
    font-size: 0.9rem;
  }

  .hero-trust span {
    font-size: 0.68rem;
  }

  .plan-card,
  .testimonial-card,
  .benefit-card {
    padding: 24px;
  }

  .price-list > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.social-links {
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}

.social-links svg {
  flex-shrink: 0;
}

/* Keep the desktop heading on one line. */
.hero-content {
  container-type: inline-size;
}

.hero h1 {
  width: 100%;
  font-size: min(3.6vw, 3rem);
  font-size: min(4cqi, 3rem);
  white-space: nowrap;
  line-height: 1.15;
}

.social-links a {
  gap: 9px;
  flex-shrink: 0;
}

.social-links svg {
  display: block;
  box-sizing: border-box;
  width: 38px;
  height: 38px;
  min-width: 38px;
  max-width: none;
  padding: 7px;
  border-radius: 11px;
  color: #fff;
}

.social-links a[href*="instagram.com"] svg {
  background: radial-gradient(circle at 30% 105%, #feda75 0%, #fa7e1e 28%, #d62976 52%, #962fbf 75%, #4f5bd5 100%);
}

.social-links a[href*="facebook.com"] svg {
  background: #1877f2;
}

/* A larger, naturally wrapping heading for phones. */
@media (max-width: 600px) {
  .hero h1 {
    font-size: clamp(2rem, 9vw, 3.25rem);
    white-space: normal;
    text-wrap: balance;
    line-height: 1.08;
  }
}

.hero-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

@media (max-width: 860px) {
  .hero {
    padding-bottom: 0;
    background-position: center 130px;
    background-size: 100% auto;
  }

  .hero-details {
    position: relative;
    width: 100vw;
    margin-top: clamp(100px, 28vw, 220px);
    padding: 16px 20px 36px;
    background: #020711;
  }

  .hero-details .hero-actions {
    margin-top: 0;
  }
}
