/* ===========================================================
   LE MAJORDOME · Template Plombier Premium FR
   Direction visuelle : "Sea Green moderne"
   Distincte d'Abribat V3 (navy/ivoire/terracotta/serif)
   et de Selfcity (vert mint + jaune vif).
   =========================================================== */

/* ---------- 0. Reset & tokens ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

:root {
  /* Palette Sea Green moderne */
  --sea-green: #1F6F6E;
  --sea-green-deep: #154F4E;
  --sea-green-soft: #2F8F8E;
  --sea-green-tint: #E7F0EF;
  --cream: #F8F4EB;
  --cream-warm: #F4EFE6;
  --cream-pure: #FBF9F4;
  --gold: #C9974A;
  --gold-light: #D2A05B;
  --gold-soft: #E8C589;
  --charcoal: #1F2937;
  --charcoal-soft: #374151;
  --slate: #6B7280;
  --slate-light: #9CA3AF;
  --line: #E5E1D6;
  --line-soft: #EDE9DE;
  --coral: #E07A5F;
  --coral-deep: #C8634A;
  --white: #FFFFFF;

  /* Typo */
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'General Sans', 'Plus Jakarta Sans', 'Outfit', -apple-system, sans-serif;

  /* Geometry */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --header-h: 72px;
  --topbar-h: 40px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur: 320ms;
  --dur-slow: 560ms;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(31, 111, 110, 0.06);
  --shadow: 0 8px 24px rgba(31, 111, 110, 0.10);
  --shadow-lg: 0 20px 48px rgba(31, 111, 110, 0.16);
}

/* ---------- 1. Typo ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--charcoal);
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 600;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 600; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; color: var(--charcoal-soft); }
a { color: var(--sea-green); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--sea-green-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sea-green);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- 2. Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
section.tight { padding: clamp(48px, 6vw, 80px) 0; }

/* ---------- 3. Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--sea-green), var(--gold));
  z-index: 1000;
  transition: width 60ms linear;
}

/* ---------- 4. Top bar ---------- */
.top-bar {
  background: var(--sea-green-deep);
  color: var(--cream-pure);
  font-size: 0.83rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  white-space: nowrap;
  overflow: hidden;
}
.top-bar-inner > span:first-child,
.top-bar-inner > a {
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-bar .pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.08);
  font-size: 0.78rem;
  color: var(--gold-soft);
}
.top-bar a {
  color: var(--cream-pure);
  font-weight: 600;
}
.top-bar a:hover { color: var(--gold-soft); }
@media (max-width: 980px) {
  .top-bar .pill { display: none; }
}
@media (max-width: 720px) {
  .top-bar { font-size: 0.75rem; }
  .top-bar-inner > span:first-child {
    max-width: 60vw;
  }
}
@media (max-width: 480px) {
  .top-bar-inner > span:first-child { display: none; }
  .top-bar-inner { justify-content: center; }
}

/* ---------- 5. Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 244, 235, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
header.site.scrolled {
  background: rgba(248, 244, 235, 0.98);
  box-shadow: var(--shadow-sm);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
  font-family: var(--font-display);
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sea-green);
  color: var(--cream-pure);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.brand { flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-sub { font-size: 0.72rem; color: var(--slate); font-weight: 500; white-space: nowrap; }

@media (max-width: 1080px) {
  .brand-sub { display: none; }
}

nav.primary ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 20px;
}
nav.primary li { white-space: nowrap; }
nav.primary a {
  color: var(--charcoal-soft);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
  display: inline-block;
  line-height: 1.4;
}
nav.primary a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  height: 1.5px;
  width: 0;
  background: var(--gold);
  transition: width var(--dur) var(--ease);
}
nav.primary a:hover::after,
nav.primary a.active::after { width: 100%; }
nav.primary a.active { color: var(--sea-green); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--charcoal-soft);
  font-weight: 500;
  white-space: nowrap;
}
.rating-badge .stars { color: var(--gold); letter-spacing: 1px; font-size: 0.82rem; }

/* hide rating-badge on tighter desktop widths to keep nav on 1 line — kicks in before mobile burger */
@media (max-width: 1180px) {
  .rating-badge { display: none; }
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
  padding: 6px 8px;
  color: var(--charcoal);
  cursor: pointer;
}

@media (max-width: 980px) {
  nav.primary, .rating-badge { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ---------- 6. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--sea-green);
  color: var(--cream-pure);
  border-color: var(--sea-green);
  box-shadow: 0 6px 16px rgba(31, 111, 110, 0.25);
}
.btn-primary:hover {
  background: var(--sea-green-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 111, 110, 0.35);
  color: var(--cream-pure);
}
.btn-coral {
  background: var(--coral);
  color: var(--cream-pure);
  border-color: var(--coral);
  box-shadow: 0 6px 16px rgba(224, 122, 95, 0.28);
}
.btn-coral:hover {
  background: var(--coral-deep);
  transform: translateY(-2px);
  color: var(--cream-pure);
  box-shadow: 0 10px 24px rgba(224, 122, 95, 0.40);
}
.btn-ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--sea-green);
  color: var(--sea-green);
  transform: translateY(-2px);
}
.btn-gold {
  background: var(--gold);
  color: var(--cream-pure);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-light); color: var(--white); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 28px; font-size: 1.02rem; }

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 80px) 0 clamp(60px, 8vw, 112px);
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(201, 151, 74, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(31, 111, 110, 0.08) 0%, transparent 60%),
    var(--cream);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero-text h1 {
  margin-bottom: 18px;
  line-height: 1.1;
  word-break: normal;
  overflow-wrap: break-word;
}
.hero-text h1 em {
  font-style: normal;
  color: var(--sea-green);
  position: relative;
}
.hero-text h1 em::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0.1em;
  height: 0.12em;
  background: var(--gold-soft);
  opacity: 0.55;
  z-index: -1;
}
.hero-lede {
  font-size: 1.08rem;
  max-width: 540px;
  color: var(--charcoal-soft);
  margin-bottom: 28px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
}
.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--charcoal-soft);
}
.hero-meta-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sea-green);
  letter-spacing: -0.02em;
}

.hero-visual {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--sea-green-tint), var(--cream-warm));
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  will-change: transform;
}
.hero-visual img,
.hero-visual svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-visual .visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(21, 79, 78, 0.18) 100%);
  pointer-events: none;
}
.hero-floating-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--cream-pure);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
  border: 1px solid var(--line-soft);
}
.hero-floating-badge .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--slate);
  font-weight: 600;
}
.hero-floating-badge .value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sea-green);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-floating-badge .stars { color: var(--gold); letter-spacing: 1px; font-size: 0.9rem; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4 / 5; max-width: 480px; margin: 0 auto; }
}

/* ---------- 8. Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--cream-pure);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  letter-spacing: -0.005em;
}
.marquee-item .dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- 9. Section heads ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head.left {
  text-align: left;
  margin: 0 0 48px;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--slate);
  margin: 8px auto 0;
}
.section-head.left p { margin-left: 0; }

/* ---------- 10. Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: var(--cream-pure);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sea-green), var(--gold));
  transition: width var(--dur-slow) var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sea-green-tint);
}
.service-card:hover::before { width: 100%; }
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--sea-green-tint);
  color: var(--sea-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover .service-icon {
  background: var(--sea-green);
  color: var(--cream-pure);
  transform: rotate(-4deg) scale(1.05);
}
.service-card h3 { margin: 0; }
.service-tagline {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
}
.service-card p {
  font-size: 0.94rem;
  color: var(--slate);
  margin: 0;
  flex-grow: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--sea-green);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 6px;
}
.service-link svg { transition: transform var(--dur) var(--ease); }
.service-card:hover .service-link svg { transform: translateX(4px); }

@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- 11. Stats / Why ---------- */
.why {
  background: var(--cream-warm);
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.stat-card {
  background: var(--cream-pure);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-out);
}
.stat-card.in-view::before { transform: scaleX(1); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--sea-green);
  letter-spacing: -0.025em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.stat-num .suffix {
  font-size: 0.5em;
  color: var(--gold);
  font-weight: 600;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--slate);
  margin-top: 8px;
  font-weight: 500;
}
@media (max-width: 880px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- 12. Process 3 steps ---------- */
.process {
  background: var(--sea-green-deep);
  color: var(--cream-pure);
}
.process h2, .process .eyebrow { color: var(--cream-pure); }
.process .eyebrow { color: var(--gold-soft); }
.process .section-head p { color: rgba(248, 244, 235, 0.7); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  opacity: 0.4;
  z-index: 0;
}
.step {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(8px);
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease);
}
.step:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { color: var(--cream-pure); margin-bottom: 6px; }
.step p { color: rgba(248, 244, 235, 0.75); margin: 0; font-size: 0.95rem; }
@media (max-width: 880px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-grid::before { display: none; }
}

/* ---------- 13. Testimonials ---------- */
.testimonials {
  background: var(--cream);
}
.testimonials-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cream-pure);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-sm);
}
.google-badge .glyph {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: conic-gradient(from -30deg, #4285F4, #DB4437, #F4B400, #0F9D58, #4285F4);
  position: relative;
  flex-shrink: 0;
}
.google-badge .glyph::after {
  content: 'G';
  position: absolute;
  inset: 4px;
  background: var(--cream-pure);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.google-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.google-badge-rating {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.google-badge-rating .stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 1px; }
.google-badge-meta { font-size: 0.8rem; color: var(--slate); }

.testi-carousel {
  position: relative;
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 20px;
  transition: transform var(--dur-slow) var(--ease-out);
  will-change: transform;
}
.testi-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  background: var(--cream-pure);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.testi-card .stars { color: var(--gold); letter-spacing: 2px; font-size: 0.95rem; }
.testi-quote {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--charcoal);
  font-style: italic;
  position: relative;
  padding-left: 14px;
  border-left: 2px solid var(--gold-soft);
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.85rem;
}
.testi-author .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--sea-green-tint);
  color: var(--sea-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.testi-empty {
  color: var(--slate-light);
  font-style: italic;
  font-size: 0.88rem;
}
.testi-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  padding: 0;
}
.testi-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--sea-green);
}

@media (max-width: 880px) { .testi-card { flex-basis: 100%; } }

/* ---------- 14. Zones / Map ---------- */
.zones { background: var(--cream-pure); }
.zones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.zones-map {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--sea-green-tint);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.zones-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  margin-top: 18px;
  list-style: none;
  padding: 0;
}
.zones-list li {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.zones-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sea-green);
}
@media (max-width: 880px) { .zones-grid { grid-template-columns: 1fr; } }

/* ---------- 15. Signature ---------- */
.signature {
  background: var(--sea-green);
  color: var(--cream-pure);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.signature::before, .signature::after {
  content: '"';
  position: absolute;
  font-family: var(--font-display);
  font-size: 16rem;
  line-height: 1;
  color: rgba(248, 244, 235, 0.06);
  pointer-events: none;
}
.signature::before { top: -3rem; left: 2rem; }
.signature::after { bottom: -8rem; right: 2rem; transform: rotate(180deg); }
.signature-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.4;
  max-width: 820px;
  margin: 0 auto;
  letter-spacing: -0.015em;
}
.signature-author {
  margin-top: 24px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-soft);
  font-style: normal;
  font-weight: 600;
}

/* ---------- 16. CTA form ---------- */
.cta-section { background: var(--cream-warm); }
.cta-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.cta-info { padding-top: 16px; }
.cta-info ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}
.cta-info li svg {
  flex-shrink: 0;
  color: var(--sea-green);
  margin-top: 2px;
}

.form-card {
  background: var(--cream-pure);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal-soft);
}
.form-field label .req { color: var(--coral); }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-pure);
  color: var(--charcoal);
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--sea-green);
  box-shadow: 0 0 0 3px rgba(31, 111, 110, 0.12);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.form-mention { font-size: 0.78rem; color: var(--slate); }

@media (max-width: 880px) {
  .cta-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- 17. Footer ---------- */
footer.site {
  background: var(--charcoal);
  color: rgba(248, 244, 235, 0.75);
  padding: 64px 0 32px;
  font-size: 0.92rem;
}
footer.site h4 {
  color: var(--cream-pure);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
footer.site ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
footer.site a {
  color: rgba(248, 244, 235, 0.75);
}
footer.site a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(248, 244, 235, 0.5);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- 18. Mobile drawer ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 79, 78, 0.4);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
  z-index: 200;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: min(360px, 86vw);
  background: var(--cream-pure);
  z-index: 201;
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  display: flex;
  flex-direction: column;
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.drawer-close {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--charcoal);
}
.drawer ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer a {
  display: block;
  padding: 14px 12px;
  border-radius: 10px;
  color: var(--charcoal);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  transition: background var(--dur-fast) var(--ease);
}
.drawer a:hover, .drawer a.active {
  background: var(--sea-green-tint);
  color: var(--sea-green);
}
.drawer-cta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---------- 19. Sticky bar (mobile) + floating call button (desktop) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--cream-pure);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  z-index: 90;
  display: none;
  gap: 10px;
}
.sticky-cta .btn { flex: 1; }
@media (max-width: 720px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 80px; }
}
@media (min-width: 721px) {
  /* Desktop: la barre devient un floating button tel bas-droite (Robin V2 forward-compat) */
  .sticky-cta {
    display: inline-flex;
    flex-direction: row;
    bottom: 24px;
    left: auto;
    right: 24px;
    width: auto;
    border-radius: 999px;
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
  .sticky-cta .btn { flex: none; }
  .sticky-cta a[data-robin-action="book-appointment"] { display: none; }
  .sticky-cta a[data-robin-action="urgent-callback"] {
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  }
}

/* ---------- 20. Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
.reveal.delay-4 { transition-delay: 320ms; }

/* ---------- 21. Service detail pages ---------- */
.page-hero {
  padding: clamp(64px, 7vw, 100px) 0 clamp(48px, 5vw, 72px);
  background:
    radial-gradient(ellipse 70% 50% at 90% 30%, rgba(201, 151, 74, 0.08) 0%, transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--sea-green-tint);
}
.page-hero-photo img,
.page-hero-photo svg { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 880px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-photo { max-width: 440px; margin: 0 auto; aspect-ratio: 4/3; }
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--sea-green); }
.breadcrumb .sep { color: var(--line); }

.tasks-section { background: var(--cream-pure); }
.tasks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.task-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: all var(--dur) var(--ease);
}
.task-item:hover {
  background: var(--cream-pure);
  border-color: var(--sea-green-tint);
  transform: translateX(4px);
}
.task-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--sea-green-tint);
  color: var(--sea-green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.task-text {
  font-size: 0.95rem;
  color: var(--charcoal-soft);
  line-height: 1.5;
}
@media (max-width: 720px) { .tasks-grid { grid-template-columns: 1fr; } }

.related-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card {
  background: var(--cream-pure);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: all var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.related-card:hover {
  border-color: var(--sea-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.related-card h4 { margin: 0; color: var(--charcoal); }
.related-card p { margin: 0; font-size: 0.88rem; color: var(--slate); }
@media (max-width: 880px) { .related-services { grid-template-columns: 1fr; } }

/* ---------- 22. Savoir-faire / Portfolio ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}
.ba-card {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ba-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sea-green-tint);
  border: 1px solid var(--line-soft);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.ba-img img,
.ba-img svg {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ba-img.after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 60ms linear;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--cream-pure);
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}
.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-pure);
  border: 1.5px solid var(--sea-green);
  box-shadow: var(--shadow);
}
.ba-handle::before {
  content: '⇄';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  color: var(--sea-green);
  font-weight: 600;
  font-size: 14px;
  z-index: 2;
}
.ba-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
}
.ba-label .tag {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--charcoal);
}
.ba-label .ba-marker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}

/* ---------- 23. Animations utilitaires ---------- */
@keyframes pulse-pin {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.map-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sea-green);
  border: 3px solid var(--cream-pure);
  box-shadow: 0 0 0 0 rgba(31, 111, 110, 0.5);
  animation: pulse-ring 2.4s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(31, 111, 110, 0.5); }
  100% { box-shadow: 0 0 0 16px rgba(31, 111, 110, 0); }
}

/* ---------- 24. Misc / accessibility ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
}

::selection { background: var(--sea-green-tint); color: var(--sea-green-deep); }
img { max-width: 100%; height: auto; display: block; }

/* ---------- 25. Focus-visible accessibility ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 2px solid var(--sea-green);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { outline-offset: 4px; }

/* ---------- 26. Skip to content ---------- */
.skip-to-content {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--sea-green);
  color: var(--cream-pure);
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  border-radius: 0 0 8px 0;
  transform: translateY(-120%);
  transition: transform var(--dur) var(--ease);
}
.skip-to-content:focus,
.skip-to-content:focus-visible {
  transform: translateY(0);
  color: var(--cream-pure);
}

/* ============================================================
   27. Tarifs Transparence — "Menu Restaurant" typographique
   Section premium : pointillés gold-soft, prix gold, filets ornement
   Gemini R48/R49/R50 validé
   ============================================================ */
.tarifs {
  background: var(--cream-pure);
}
.tarifs .container {
  max-width: 880px;
  margin: 0 auto;
}

.tarifs-head {
  text-align: center;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.tarifs-eyebrow {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.tarifs-title {
  font-family: var(--font-display);
  color: var(--sea-green-deep);
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.tarifs-sub {
  color: var(--sea-green-soft);
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0 auto;
}

/* Filet décoratif R50 — 2px gold 80px width centré, encadre la liste */
.tarifs-divider {
  border: none;
  height: 2px;
  width: 80px;
  background: var(--gold);
  margin: clamp(28px, 3.5vw, 40px) auto;
}

/* Menu typographique */
.tarifs-menu {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.tarif-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px dotted var(--gold-soft);
}
.tarif-row:last-child {
  border-bottom: none;
}

.tarif-service {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
.tarif-name {
  font-family: var(--font-display);
  color: var(--sea-green-deep);
  font-weight: 500;
  font-size: 1.06rem;
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.tarif-time {
  color: var(--sea-green-soft);
  font-size: 0.82rem;
  font-style: italic;
  letter-spacing: 0.01em;
}

.tarif-price {
  margin: 0;
  flex-shrink: 0;
  color: var(--sea-green-soft);
  font-size: 0.9rem;
  white-space: nowrap;
}
.tarif-amount {
  font-family: var(--font-display);
  color: var(--gold);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-left: 4px;
}

/* Footnote */
.tarifs-footnote {
  margin: 0 auto;
  max-width: 64ch;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--sea-green-soft);
  font-style: italic;
}
.tarifs-footnote strong {
  color: var(--sea-green-deep);
  font-weight: 600;
  font-style: normal;
}

/* Mobile tablette */
@media (max-width: 640px) {
  .tarif-row {
    padding: 14px 0;
    gap: 16px;
  }
  .tarif-name { font-size: 1rem; }
  .tarif-amount { font-size: 1.18rem; }
}

/* Mobile small <480px — stack vertical obligatoire (R50 Q6) */
@media (max-width: 480px) {
  .tarif-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 16px 0;
  }
  .tarif-price {
    align-self: flex-end;
  }
  .tarif-amount { font-size: 1.2rem; }
  .tarifs-divider { width: 60px; }
}

/* Tarifs reveal cascade — stagger 60ms entre rows (Gemini R51) */
.tarifs-menu .tarif-row.reveal:nth-child(1) { transition-delay: 0ms; }
.tarifs-menu .tarif-row.reveal:nth-child(2) { transition-delay: 60ms; }
.tarifs-menu .tarif-row.reveal:nth-child(3) { transition-delay: 120ms; }
.tarifs-menu .tarif-row.reveal:nth-child(4) { transition-delay: 180ms; }
.tarifs-menu .tarif-row.reveal:nth-child(5) { transition-delay: 240ms; }
.tarifs-menu .tarif-row.reveal:nth-child(6) { transition-delay: 300ms; }
.tarifs-menu .tarif-row.reveal:nth-child(7) { transition-delay: 360ms; }
.tarifs-menu .tarif-row.reveal:nth-child(8) { transition-delay: 420ms; }
.tarifs-footnote.reveal { transition-delay: 480ms; }
