/* ============================================================
   CVC Plomberie Marseille — style.css
   Mobile-first, breakpoints 768px / 1024px
   ============================================================ */

:root {
  --navy:           #0D1B2A;
  --navy-light:     #162236;
  --orange:         #F4622A;
  --orange-hover:   #e0521a;
  --bg-light:       #F5F7FA;
  --white:          #FFFFFF;
  --text-dark:      #0D1B2A;
  --text-secondary: #6B7280;
  --border:         #E5E7EB;
  --radius-sm:      8px;
  --radius-md:      16px;
  --radius-lg:      24px;
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:      0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg:      0 8px 32px rgba(0,0,0,0.16);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Outfit', sans-serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(244,98,42,0.35);
}
.btn-primary:hover { background: var(--orange-hover); box-shadow: 0 6px 20px rgba(244,98,42,0.45); }
.btn-dark {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
}
.btn-dark:hover { background: rgba(255,255,255,0.2); }

/* ── Section Labels ── */
.section-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

/* ── Reveal animations ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s ease;
}
#header.header-hidden {
  transform: translateY(-100%);
}
#header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-circle {
  width: 38px;
  height: 38px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
}
.logo-text {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.2;
}
.logo-text span { color: var(--orange); }

.header-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--orange); }

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  text-decoration: none;
}
.header-phone svg { color: var(--orange); }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 8px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu .btn-primary { margin-top: 12px; justify-content: center; }

@media (min-width: 768px) {
  .header-phone { display: flex; }
}
@media (max-width: 1023px) {
  .header-right .btn-primary { display: none; }
}
@media (min-width: 1024px) {
  .header-nav { display: flex; }
  .hamburger { display: none; }
  .header-inner { padding: 0 40px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f47 100%);
  color: var(--white);
  padding: 80px 0 60px;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244,98,42,0.15);
  border: 1px solid rgba(244,98,42,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fca;
  margin-bottom: 20px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 .orange { color: var(--orange); }

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
}
.hero-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  white-space: nowrap;
}
.hero-perk-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  line-height: 1;
}

/* Hero image side */
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 340px;
}
.hero-reviews-badge {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}
.hero-avatars {
  display: flex;
}
.hero-avatars span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: var(--navy);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
}
.hero-avatars span:first-child { margin-left: 0; }
.badge-text { font-size: 0.78rem; color: var(--text-dark); }
.badge-text strong { color: var(--text-dark); font-weight: 700; }
.badge-stars { color: #f59e0b; font-size: 0.85rem; }

@media (min-width: 1024px) {
  .hero { padding: 100px 0 80px; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 64px; }
  .hero-image-wrap img { height: 460px; }
  .hero-perks { grid-template-columns: repeat(4, auto); }
  .hero-reviews-badge { left: auto; right: 24px; transform: none; bottom: -20px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background: var(--bg-light);
  padding: 80px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.icon-blue  { background: #EFF6FF; }
.icon-cyan  { background: #ECFEFF; }
.icon-orange{ background: #FFF7ED; }
.icon-green { background: #F0FDF4; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card ul {
  margin-bottom: 20px;
}
.service-card ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 3px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-card ul li::before {
  content: "·";
  color: var(--orange);
  font-weight: 700;
}
.service-card .link-cta {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.service-card .link-cta:hover { gap: 8px; }

@media (min-width: 768px)  { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   WHY US
   ============================================================ */
.why-us {
  padding: 80px 0;
  background: var(--white);
}
.why-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.why-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.why-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 400px;
}
.why-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  border: 1px solid var(--border);
}
.why-card-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.why-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .why-inner { grid-template-columns: 1fr 1.5fr; }
}

/* ============================================================
   COUNTERS
   ============================================================ */
.counters {
  background: var(--navy);
  padding: 60px 0;
}
.counters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: center;
}
.counter-item .counter-num {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--orange);
  display: block;
}
.counter-item .counter-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

@media (min-width: 768px) { .counters-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   REALISATIONS
   ============================================================ */
.realisations {
  padding: 80px 0;
  background: var(--bg-light);
}
.section-header-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-header-flex h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
}
.link-more {
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  white-space: nowrap;
  align-self: center;
  transition: gap 0.2s;
}
.link-more:hover { gap: 8px; }

.real-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.real-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  transition: transform 0.3s;
}
.real-card:hover { transform: scale(1.02); }
.real-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.real-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.85) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.real-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.real-title {
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

@media (min-width: 768px)  { .real-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .real-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   AVIS CLIENTS
   ============================================================ */
.reviews {
  padding: 80px 0;
  background: var(--white);
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.review-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
}
.review-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 12px; }
.review-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 0.9rem; }
.review-location { font-size: 0.78rem; color: var(--text-secondary); }

@media (min-width: 768px)  { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   ZONES
   ============================================================ */
.zones {
  padding: 80px 0;
  background: var(--bg-light);
}
.zones-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: start;
}
.zones-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.zones-text p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.7;
}
.zones-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zone-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--white);
  border: 1.5px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
}
.zone-pill:hover, .zone-pill.active {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--white);
}
#map {
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  z-index: 0;
}

@media (min-width: 1024px) {
  .zones-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 80px 0;
  background: var(--white);
}
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-light); }
.faq-question.active { background: var(--bg-light); color: var(--orange); }
.faq-chevron {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
  color: var(--text-secondary);
}
.faq-question.active .faq-chevron { transform: rotate(180deg); color: var(--orange); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 80px 0;
  background: var(--bg-light);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.contact-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}
.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-weight: 700; font-size: 0.85rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-detail-text a { color: var(--text-dark); font-weight: 600; }
.contact-detail-text a:hover { color: var(--orange); }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244,98,42,0.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit { width: 100%; justify-content: center; margin-bottom: 12px; }
.form-rgpd {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.5;
}

@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .contact-inner { grid-template-columns: 1fr 1.2fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo-circle { background: var(--orange); margin-bottom: 16px; }
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 12px 0 20px;
  max-width: 280px;
}
.footer-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-phone-btn:hover { background: var(--orange-hover); }

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-right {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

@media (min-width: 768px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 9999;
  animation: wa-pulse 3s infinite;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.7); }
}

/* ============================================================
   INNER PAGE HERO (service pages & arrondissement pages)
   ============================================================ */
.hero-inner-page {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2f47 100%);
  color: var(--white);
  padding: 60px 0 50px;
}
.hero-inner-page h1 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.hero-inner-page .hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin-bottom: 24px;
}
.breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.75); }

/* ============================================================
   SERVICE PAGE CONTENT
   ============================================================ */
.service-content {
  padding: 72px 0;
}
.service-content-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.service-main h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.service-main p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}
.service-list {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  padding: 12px 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  font-weight: 500;
}
.service-list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 800;
  flex-shrink: 0;
}

.tarifs-section {
  padding: 72px 0;
  background: var(--bg-light);
}
.tarifs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.tarif-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.tarif-label { font-weight: 600; font-size: 0.95rem; }
.tarif-label small { display: block; font-size: 0.78rem; color: var(--text-secondary); font-weight: 400; }
.tarif-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--orange);
  white-space: nowrap;
}

@media (min-width: 768px) { .tarifs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .service-content-inner { grid-template-columns: 2fr 1fr; } }

/* Sidebar CTA */
.sidebar-cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  position: sticky;
  top: 88px;
}
.sidebar-cta h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar-cta p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
  line-height: 1.6;
}
.sidebar-cta .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.sidebar-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 8px;
}
.sidebar-certs {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
}

/* Maillage arrondissements */
.arrdt-links {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.arrdt-links h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ============================================================
   ARRONDISSEMENT PAGES
   ============================================================ */
.local-reviews {
  padding: 60px 0;
  background: var(--bg-light);
}
.neighbors-section {
  padding: 60px 0;
  background: var(--white);
}
.neighbors-section h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.neighbors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   UTILITY
   ============================================================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-16 { margin-bottom: 16px; }
.orange { color: var(--orange); }

/* ============================================================
   LOGO HEADER — real image
   ============================================================ */
.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* ============================================================
   SERVICE CARDS WITH PHOTO
   ============================================================ */
.service-card { overflow: hidden; padding: 0; }
.service-card-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-photo { transform: scale(1.04); }
.service-card-body {
  padding: 20px 24px 28px;
}

/* ============================================================
   HERO PHOTO UPGRADE
   ============================================================ */
.hero-image-wrap img {
  object-position: center 30%;
}

/* ============================================================
   GALERIE RÉALISATIONS
   ============================================================ */
.galerie {
  padding: 80px 0;
  background: var(--navy);
}
.galerie .section-label { color: #fca; }
.galerie .section-header h2 { color: var(--white); }
.galerie .section-header p  { color: rgba(255,255,255,0.6); }

.galerie-masonry {
  column-count: 2;
  column-gap: 12px;
  margin-top: 40px;
}
.galerie-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
}
.galerie-item img {
  width: 100%;
  display: block;
  transition: transform 0.45s ease;
}
.galerie-item:hover img { transform: scale(1.05); }
.galerie-item .galerie-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.9) 0%, transparent 100%);
  padding: 28px 14px 14px;
  opacity: 0;
  transition: opacity 0.3s;
}
.galerie-item:hover .galerie-caption { opacity: 1; }
.galerie-caption span {
  display: block;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
}
.galerie-caption small {
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
}

@media (min-width: 768px)  { .galerie-masonry { column-count: 3; } }
@media (min-width: 1024px) { .galerie-masonry { column-count: 4; } }

/* ============================================================
   AVANT / APRÈS
   ============================================================ */
.avant-apres {
  padding: 80px 0;
  background: var(--bg-light);
}
.avant-apres-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}
.avant-apres-chantier {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.avant-apres-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.avant-apres-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.avant-apres-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.avant-apres-photo:hover img { transform: scale(1.05); }
.avant-apres-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-avant { background: rgba(0,0,0,0.6); color: #fff; }
.badge-apres { background: var(--orange); color: #fff; }
.avant-apres-info {
  padding: 20px 24px 24px;
}
.avant-apres-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.avant-apres-info p { font-size: 0.85rem; color: var(--text-secondary); }

@media (min-width: 768px) {
  .avant-apres-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  text-align: center;
  max-width: 400px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

/* ============================================================
   TRUST BAR (logos partenaires / certifications)
   ============================================================ */
.trust-bar {
  padding: 32px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.trust-badge-icon {
  font-size: 1.3rem;
}

/* ============================================================
   MOBILE OPTIMISATIONS (max 767px)
   ============================================================ */
@media (max-width: 767px) {

  /* ── Sections : padding réduit ── */
  .hero            { padding: 48px 0 36px; }
  .services,
  .why-us,
  .reviews,
  .zones,
  .faq,
  .contact,
  .realisations,
  .avant-apres,
  .galerie,
  .local-reviews,
  .neighbors-section,
  .service-content,
  .tarifs-section  { padding: 52px 0; }
  .counters        { padding: 44px 0; }
  .hero-inner-page { padding: 40px 0 32px; }

  /* ── Hero ── */
  .hero h1       { font-size: 1.85rem; }
  .hero-sub      { font-size: 0.95rem; margin-bottom: 24px; }
  .hero-buttons  { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero-image-wrap img { height: 240px; }
  .hero-reviews-badge { font-size: 0.82rem; padding: 8px 12px; gap: 8px; }
  .badge-stars   { font-size: 0.78rem; }
  .hero-perks    { display: none; }

  /* ── Section headers ── */
  .section-header      { margin-bottom: 32px; }
  .section-header h2   { font-size: 1.55rem; }

  /* ── Services ── */
  .service-card-photo  { height: 150px; }

  /* ── Why Us : 1 colonne ── */
  .why-cards { grid-template-columns: 1fr; gap: 12px; }
  .why-card  { padding: 18px 16px; }

  /* ── Counters ── */
  .counters-grid    { gap: 20px; }
  .counter-item .counter-num { font-size: 1.8rem; }
  .counter-item .counter-label { font-size: 0.78rem; }

  /* ── Galerie captions toujours visibles sur mobile (pas de hover) ── */
  .galerie-item .galerie-caption { opacity: 1; }

  /* ── Avant/Après ── */
  .avant-apres-info { padding: 16px 18px 20px; }

  /* ── Map ── */
  #map { height: 260px; }

  /* ── FAQ ── */
  .faq-question { font-size: 0.88rem; padding: 14px 16px; gap: 10px; }

  /* ── Contact ── */
  .contact-form { padding: 20px 16px; border-radius: var(--radius-md); }

  /* ── Footer ── */
  .footer-top { gap: 24px; }
  .footer-brand p { max-width: 100%; }

  /* ── Sidebar CTA : non collante sur mobile ── */
  .sidebar-cta { position: static; top: auto; }

  /* ── Service inner page ── */
  .hero-inner-page h1 { font-size: 1.55rem; }
  .hero-inner-page .hero-sub { font-size: 0.9rem; }
  .service-main h2 { font-size: 1.25rem; }

  /* ── Zones pills ── */
  .zone-pill { font-size: 0.78rem; padding: 5px 12px; }

  /* ── WhatsApp bouton : plus petit sur mobile ── */
  .whatsapp-float { width: 48px; height: 48px; bottom: 16px; right: 16px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
}
