/* ================================================================
   TP CONCEPTIONS — Feuille de style partagée
   Terrassement, VRD & Assainissement — Vaucluse
   ================================================================ */

:root {
  --anthracite: #1a1d21;
  --anthracite-2: #23272c;
  --anthracite-3: #2e3339;
  --sand: #f5f2ec;
  --sand-2: #ebe6dc;
  --paper: #ffffff;
  --ink: #14171a;
  --ink-2: #3a3f45;
  --ink-3: #6b7178;
  --line: #e2ddd2;
  --amber: #e8a53a;         /* accent BTP */
  --amber-deep: #c98718;
  --amber-glow: rgba(232, 165, 58, 0.12);
  --brick: #a03a1a;
  --success: #4f7a3a;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 1px 2px rgba(20, 23, 26, 0.06), 0 1px 3px rgba(20, 23, 26, 0.05);
  --shadow: 0 4px 12px rgba(20, 23, 26, 0.08), 0 2px 6px rgba(20, 23, 26, 0.05);
  --shadow-lg: 0 20px 40px -12px rgba(20, 23, 26, 0.28);

  --ff-display: "Barlow Condensed", "Oswald", Impact, sans-serif;
  --ff-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: 0.005em;
  line-height: 1.08;
  color: var(--anthracite);
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { text-wrap: pretty; color: var(--ink-2); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- NAV ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(20,23,26,0.08);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.footer .brand-mark { background: #fff; }

.brand-name {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.02em;
  color: var(--anthracite);
  line-height: 1;
}
.brand-tag {
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav-link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 6px;
  position: relative;
  transition: color 0.15s, background 0.15s;
}
.nav-link:hover { color: var(--anthracite); background: var(--sand); }
.nav-link.active { color: var(--anthracite); }
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--amber);
}

.nav-cta {
  padding: 10px 18px;
  background: var(--anthracite);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--amber-deep); }

/* Sub-nav (dropdown) */
.has-sub { position: relative; }
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 50;
}
.has-sub:hover .sub-menu,
.has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: 4px;
}
.sub-menu a:hover { background: var(--sand); color: var(--anthracite); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg,
    rgba(26, 29, 33, 0.55) 0%,
    rgba(26, 29, 33, 0.35) 40%,
    rgba(26, 29, 33, 0.85) 100%);
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 24px 90px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(232, 165, 58, 0.15);
  border: 1px solid rgba(232, 165, 58, 0.4);
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 100px;
  background: var(--amber);
}

.hero h1 {
  color: var(--paper);
  max-width: 900px;
  margin-bottom: 20px;
}

.hero-sub {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: 40px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}
.hero-badge svg { flex-shrink: 0; color: var(--amber); }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s, background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--amber); color: var(--anthracite); }
.btn-primary:hover { background: var(--amber-deep); color: var(--paper); }

.btn-dark { background: var(--anthracite); color: var(--paper); }
.btn-dark:hover { background: var(--anthracite-2); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(255, 255, 255, 0.06); }

.btn-outline {
  background: var(--paper);
  color: var(--anthracite);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--anthracite); }

.btn-call {
  background: var(--amber);
  color: var(--anthracite);
  padding: 16px 26px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 6px 20px -8px rgba(232, 165, 58, 0.65);
}
.btn-call:hover { background: var(--amber-deep); color: var(--paper); }

/* ---------- Sections ---------- */
section { padding: 80px 0; }

.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}
.eyebrow {
  display: inline-block;
  padding: 4px 12px;
  background: var(--amber-glow);
  color: var(--amber-deep);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 4px;
  margin-bottom: 16px;
}
.section-head p {
  font-size: 1.05rem;
  margin-top: 16px;
}

.rule {
  width: 40px;
  height: 3px;
  background: var(--amber);
  margin: 20px auto 0;
}

/* ---------- Cards / services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--amber);
}
.service-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--sand);
  display: grid; place-items: center;
  color: var(--amber-deep);
  margin-bottom: 16px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.95rem; margin: 0; }

/* alt dark card variant (used on services page) */
.services-grid.dark .service-card {
  background: var(--anthracite-2);
  border-color: var(--anthracite-3);
  color: var(--paper);
}
.services-grid.dark .service-card h3 { color: var(--paper); }
.services-grid.dark .service-card p { color: rgba(255,255,255,0.7); }
.services-grid.dark .service-card .icon {
  background: var(--anthracite-3);
  color: var(--amber);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
  aspect-ratio: 4/3;
  grid-column: span 4;
}
.gallery-item.wide { grid-column: span 6; }
.gallery-item.tall { grid-column: span 4; aspect-ratio: 3/4; }
.gallery-item.full { grid-column: span 12; aspect-ratio: 16/6; }

.gallery-item img,
.gallery-item .ph {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img,
.gallery-item:hover .ph { transform: scale(1.06); }

.gallery-item .cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  background: linear-gradient(180deg, transparent, rgba(20,23,26,0.85));
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 500;
}

/* Placeholder pattern (when no image) */
.ph {
  background:
    repeating-linear-gradient(45deg,
      transparent 0 12px,
      rgba(232,165,58,0.08) 12px 13px),
    linear-gradient(135deg, #e8e2d3, #d6ccb6);
  display: grid;
  place-items: center;
  color: var(--ink-3);
  font-family: monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 20px;
}

@media (max-width: 800px) {
  .gallery-item, .gallery-item.wide, .gallery-item.tall { grid-column: span 6; }
  .gallery-item.full { grid-column: span 12; }
}
@media (max-width: 500px) {
  .gallery-item, .gallery-item.wide, .gallery-item.tall, .gallery-item.full { grid-column: span 12; }
}

/* ---------- Benefits (checked list) ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.benefit {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: var(--sand);
  border-radius: var(--radius);
  border-left: 3px solid var(--amber);
}
.benefit-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--anthracite);
  display: grid; place-items: center;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.benefit h4 { margin-bottom: 4px; color: var(--anthracite); }
.benefit p { font-size: 0.9rem; margin: 0; color: var(--ink-2); }

/* ---------- Zone / info bands ---------- */
.band-dark {
  background: var(--anthracite);
  color: var(--paper);
}
.band-dark h2 { color: var(--paper); }
.band-dark p { color: rgba(255,255,255,0.75); }

.band-sand { background: var(--sand); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- CTA banner ---------- */
.cta-band {
  background: var(--anthracite);
  color: var(--paper);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: 50%;
  width: 260px; height: 260px;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
  transform: translateY(-50%);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
}
.cta-band h2 { color: var(--paper); max-width: 620px; }
.cta-band p { color: rgba(255,255,255,0.7); margin-top: 8px; }

/* ---------- Zone map / intervention ---------- */
.zone {
  padding: 28px;
  background: var(--sand);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.zone-icon {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--amber-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.zone-body { flex: 1; min-width: 260px; }
.zone h3 { margin-bottom: 4px; }
.zone p { margin: 0; }
.zone-cities {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 12px;
}
.zone-cities span {
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 12px;
  color: var(--ink-2);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--anthracite);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.footer h4 {
  color: var(--paper);
  font-family: var(--ff-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a { font-size: 14px; }
.footer a:hover { color: var(--amber); }
.footer .brand-mark { background: var(--anthracite-2); }
.footer-brand p { margin-top: 16px; font-size: 14px; }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--anthracite-3);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Sticky call button (mobile) ---------- */
.floating-call {
  position: fixed;
  bottom: 18px; right: 18px;
  padding: 14px 20px;
  background: var(--amber);
  color: var(--anthracite);
  border-radius: 100px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.floating-call:hover { background: var(--amber-deep); color: var(--paper); }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  padding: 100px 0 70px;
  position: relative;
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.page-hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  filter: brightness(0.55);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,29,33,0.7), rgba(26,29,33,0.85));
}
.crumbs {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.crumbs a:hover { color: var(--amber); }
.crumbs span { margin: 0 8px; opacity: 0.5; }

.page-hero h1 { color: var(--paper); max-width: 900px; }
.page-hero .sub {
  color: rgba(255,255,255,0.85);
  max-width: 720px;
  margin-top: 18px;
  font-size: 1.05rem;
}

/* Text content */
.prose { max-width: 780px; }
.prose p { font-size: 1.02rem; margin: 0 0 16px; }
.prose h2 { margin-top: 40px; margin-bottom: 12px; }
.prose h3 { margin-top: 28px; margin-bottom: 8px; }

/* Utility */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.max-720 { max-width: 720px; margin-left: auto; margin-right: auto; }

/* Categories grid (hub) */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  color: var(--paper);
  display: flex;
  align-items: flex-end;
  padding: 32px;
  isolation: isolate;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s;
  box-shadow: 0 6px 24px -12px rgba(20,23,26,0.4);
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -16px rgba(20,23,26,0.55);
}
.cat-card .img {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(26,29,33,0.05) 20%, rgba(26,29,33,0.5) 55%, rgba(26,29,33,0.95));
  transition: background 0.4s;
}
.cat-card:hover .img { transform: scale(1.08); }
.cat-card:hover::before {
  background: linear-gradient(180deg, rgba(232,165,58,0.18) 0%, rgba(26,29,33,0.4) 45%, rgba(26,29,33,0.96));
}
.cat-card h3 {
  color: var(--paper);
  font-size: 1.7rem;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.cat-card p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.cat-card .arrow {
  position: absolute; top: 22px; right: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  display: grid; place-items: center;
  color: var(--paper);
  transition: background 0.25s, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s;
}
.cat-card:hover .arrow {
  background: var(--amber);
  color: var(--anthracite);
  transform: rotate(-45deg) scale(1.08);
  border-color: var(--amber);
}

/* Tag catégorie (petit label au-dessus du titre) */
.cat-card .cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(232,165,58,0.9);
  color: var(--anthracite);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}

/* Form (contact) */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--anthracite);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: inherit;
  font-size: 15px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}
.field textarea { min-height: 140px; resize: vertical; }

/* Info sidebar (contact) */
.info-block {
  padding: 24px;
  background: var(--anthracite);
  color: var(--paper);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}
.info-block h4 { color: var(--paper); margin-bottom: 12px; font-family: var(--ff-display); }
.info-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--anthracite-3);
}
.info-row:first-of-type { border-top: 0; }
.info-row .k { color: rgba(255,255,255,0.5); font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; }
.info-row .v { color: var(--paper); font-size: 15px; }
.info-row .v a:hover { color: var(--amber); }

/* Focused CTA card on realisations */
.action-card {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--anthracite), var(--anthracite-2));
  border-radius: var(--radius-lg);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.action-card::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
}
.action-card h3 { color: var(--paper); font-size: 1.5rem; }
.action-card p { color: rgba(255,255,255,0.75); margin: 4px 0 0; }
.action-card .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Numbers strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2px;
  background: var(--anthracite-3);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stat {
  background: var(--anthracite-2);
  padding: 28px 24px;
  color: var(--paper);
  text-align: center;
}
.stat .num {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 6px;
}
.stat .lbl { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ================================================================
   Google Reviews Widget
   ================================================================ */
.tp-stars { display: inline-flex; align-items: center; gap: 1px; line-height: 0; }
.tp-stars svg { display: block; }

/* Compact variant (petit encart de note globale) */
.tp-review-stats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--anthracite);
  font-size: 14px;
  font-weight: 500;
  transition: box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
}
.tp-review-stats:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}
.tp-review-stats strong { font-size: 15px; font-weight: 700; }
.tp-review-count { color: var(--ink-3); font-size: 13px; }

/* Full widget (bloc complet avec cards) */
.tp-reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.tp-reviews-summary {
  display: flex;
  align-items: center;
  gap: 16px;
}
.tp-reviews-title {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--anthracite);
  line-height: 1.1;
  margin-bottom: 4px;
}
.tp-reviews-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tp-reviews-rating-row strong {
  font-family: var(--ff-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--anthracite);
  line-height: 1;
}
.tp-reviews-total { color: var(--ink-3); font-size: 13px; }
.tp-reviews-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid var(--anthracite);
  background: var(--anthracite);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.tp-reviews-cta:hover {
  background: var(--amber);
  color: var(--anthracite);
  border-color: var(--amber);
}

.tp-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.tp-review-card {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.tp-review-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--amber);
}
.tp-review-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.tp-review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--anthracite);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.tp-review-author {
  font-weight: 600;
  color: var(--anthracite);
  font-size: 14px;
  line-height: 1.2;
}
.tp-review-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-3);
}
.tp-review-google {
  margin-left: auto;
  opacity: 0.7;
}
.tp-review-text {
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tp-reviews-demo-note {
  margin-top: 20px;
  padding: 12px 16px;
  background: var(--amber-glow);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
  color: var(--anthracite);
  font-size: 13px;
}

/* ================================================================
   Bouton "Laisser un avis Google"
   ================================================================ */
.btn-google-review {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--paper);
  color: var(--anthracite);
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: transform 0.06s, box-shadow 0.15s, border-color 0.15s;
  cursor: pointer;
  text-decoration: none;
}
.btn-google-review:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(20, 23, 26, 0.1);
  border-color: var(--amber);
}
.btn-google-review .g-logo {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn-google-review strong {
  font-weight: 600;
}

/* Version claire (sur fond sombre) */
.btn-google-review.on-dark {
  background: var(--paper);
  color: var(--anthracite);
  border-color: var(--paper);
}
.btn-google-review.on-dark:hover {
  background: var(--sand);
  border-color: var(--amber);
}

/* Bloc "Laisser un avis" mis en avant (sidebar contact) */
.review-invite-block {
  padding: 22px;
  background: var(--sand);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  text-align: center;
  margin-top: 16px;
}
.review-invite-block h4 {
  color: var(--anthracite);
  font-family: var(--ff-display);
  margin-bottom: 6px;
  font-size: 1.05rem;
}
.review-invite-block p {
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 14px;
}

/* Wrapper centré pour bouton sous widget avis */
.review-cta-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
