/*
Theme Name:   Astra Child - Clab Extrême
Theme URI:    https://clab-extreme.fr
Template:     astra
Version:      1.0.0
Description:  Thème enfant Astra pour Clab Extrême - Nettoyage extrême & réhabilitation
Author:       Clab Extrême
Text Domain:  astra-child
*/

/* ================================================================
   VARIABLES & RESET
   ================================================================ */
:root {
  --ce-navy:      #1a2e6e;
  --ce-blue:      #1a2e6e;
  --ce-blue-mid:  #29abe2;
  --ce-blue-vif:  #29abe2;
  --ce-blue-lt:   #4fc3e8;
  --ce-green:     #6aa629;
  --ce-green-lt:  #8cc63f;
  --ce-orange:    #29abe2;
  --ce-orange-lt: #4fc3e8;
  --ce-white:     #ffffff;
  --ce-light:     #f4f8ff;
  --ce-gray:      #6b7280;
  --ce-dark:      #111827;
  --ce-border:    #e5e7eb;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 6px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.18);
  --transition: .3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--ce-dark);
  background: var(--ce-white);
}

img { max-width: 100%; height: auto; }

a { color: var(--ce-orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--ce-orange-lt); }

/* ================================================================
   TYPOGRAPHY
   ================================================================ */
.ce-section-tag {
  display: inline-block;
  background: rgba(41,171,226,.12);
  color: var(--ce-orange);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35em .9em;
  border-radius: 30px;
  margin-bottom: .75rem;
}

.ce-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--ce-navy);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.ce-section-title span { color: var(--ce-blue-vif); }

.ce-section-subtitle {
  font-size: 1.05rem;
  color: var(--ce-gray);
  max-width: 560px;
  line-height: 1.7;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.ce-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.ce-btn-primary {
  background: var(--ce-blue-vif);
  color: var(--ce-white);
  border-color: var(--ce-blue-vif);
}
.ce-btn-primary:hover {
  background: var(--ce-blue-lt);
  border-color: var(--ce-blue-lt);
  color: var(--ce-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(41,171,226,.4);
}

.ce-btn-outline {
  background: transparent;
  color: var(--ce-navy);
  border-color: var(--ce-navy);
  border-width: 2px;
}
.ce-btn-outline:hover {
  background: var(--ce-navy);
  color: var(--ce-white);
  transform: translateY(-2px);
}

.ce-btn-ghost {
  background: transparent;
  color: var(--ce-orange);
  border-color: var(--ce-orange);
}
.ce-btn-ghost:hover {
  background: var(--ce-orange);
  color: var(--ce-white);
  transform: translateY(-2px);
}

/* ================================================================
   HEADER / NAVIGATION
   ================================================================ */
#masthead,
.site-header,
.ast-site-header-wrap {
  background: var(--ce-navy) !important;
  position: sticky;
  top: 0;
  z-index: 9999;
}

.ast-primary-header-bar,
.main-header-bar {
  background: var(--ce-navy) !important;
  border-bottom: 3px solid var(--ce-orange) !important;
}

/* Wordmark header */
.ce-wordmark-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  line-height: 1;
}
.ce-wm-clab {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-style: italic;
  font-size: 3rem;
  color: #29abe2;
  letter-spacing: -.02em;
}
.ce-wm-extreme {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: #ffffff;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-left: .4rem;
  opacity: .9;
}
.ce-wordmark-link {
  margin-left: .75rem;
}

/* Top info bar */
.ce-topbar {
  background: var(--ce-blue);
  padding: .45rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ce-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.ce-topbar a { color: rgba(255,255,255,.85); }
.ce-topbar a:hover { color: var(--ce-white); }
.ce-topbar-item {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.ce-topbar-item svg { width: 14px; height: 14px; flex-shrink: 0; }

.ce-header-phone {
  background: var(--ce-orange);
  color: var(--ce-white) !important;
  padding: .3rem .85rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: .9rem;
}
.ce-header-phone:hover { background: var(--ce-orange-lt) !important; color: var(--ce-white) !important; }


.ast-site-identity .site-title a { color: var(--ce-white) !important; }

/* ── Hamburger button ── */
.main-header-menu-toggle,
.ast-mobile-menu-buttons-minimal {
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 8px !important;
  padding: .4rem .6rem !important;
  background: transparent !important;
  transition: background .2s !important;
}
.main-header-menu-toggle:hover {
  background: rgba(255,255,255,.1) !important;
}
.main-header-menu-toggle .menu-toggle-icon,
.main-header-menu-toggle span.svg-iconset {
  fill: #fff !important;
  color: #fff !important;
}


/* ================================================================
   HERO SECTION
   ================================================================ */
.ce-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ce-navy);
}

.ce-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1600&q=80');
  background-size: cover;
  background-position: center;
  opacity: .18;
  transform: scale(1.05);
  animation: heroZoom 12s ease-in-out infinite alternate;
  overflow: hidden;
}
.ce-hero { overflow: hidden; }
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.ce-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,46,110,.96) 40%, rgba(41,171,226,.45) 100%);
}

.ce-hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.ce-hero-left {}

.ce-hero-logo {
  background: transparent;
  border-radius: 50%;
  display: block;
  padding: 0;
  margin: 0 auto 1.5rem;
  width: 300px;
  height: 300px;
  object-fit: cover;
  overflow: hidden;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,.5));
}

.ce-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--ce-white);
  padding: .45rem 1rem;
  border-radius: 30px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.ce-hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--ce-green-lt);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .6; transform: scale(1.3); }
}

.ce-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--ce-white);
  line-height: 1.1;
  margin: 0 0 1.25rem;
}
.ce-hero-title .accent { color: var(--ce-orange); }
.ce-hero-title .green  { color: var(--ce-green-lt); }

.ce-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
}

.ce-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.ce-hero-trust {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.ce-hero-trust-item {
  display: flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.7);
  font-size: .82rem;
  font-weight: 500;
}
.ce-hero-trust-item svg { color: var(--ce-green-lt); width: 16px; height: 16px; }

/* Hero card (right) */
.ce-hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--ce-white);
}
.ce-hero-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--ce-white);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ce-hero-card-title::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background: var(--ce-orange);
  border-radius: 2px;
}
.ce-hero-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}
.ce-hero-services-list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
}
.ce-hero-services-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--ce-green);
  color: white;
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 900;
  flex-shrink: 0;
}
.ce-hero-urgency {
  background: rgba(232,76,14,.15);
  border: 1px solid rgba(232,76,14,.3);
  border-radius: var(--radius-sm);
  padding: .85rem 1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ================================================================
   STATS BAND
   ================================================================ */
.ce-stats {
  background: linear-gradient(90deg, var(--ce-navy) 0%, var(--ce-blue-vif) 100%);
  padding: 1.75rem 1.5rem;
}
.ce-stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.ce-stat-item {}
.ce-stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--ce-white);
  line-height: 1;
}
.ce-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ================================================================
   AVANT / APRÈS
   ================================================================ */
.ce-beforeafter {
  padding: 5rem 1.5rem;
  background: var(--ce-light);
}
.ce-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.ce-section-header .ce-section-subtitle {
  margin: 0 auto;
}

/* ── Carousel ── */
.ce-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  user-select: none;
}
.ce-carousel-track {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.ce-carousel-slide {
  display: none;
}
.ce-carousel-slide.is-active {
  display: block;
  animation: ce-fade-in .4s ease;
}
@keyframes ce-fade-in {
  from { opacity: 0; transform: scale(1.015); }
  to   { opacity: 1; transform: scale(1); }
}
.ce-ba-item {
  position: relative;
  overflow: hidden;
}
.ce-ba-item img {
  width: 100%;
  height: auto;
  background: #111827;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  display: block;
}
.ce-ba-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: var(--ce-white);
  padding: 3rem 1.5rem .9rem;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .02em;
}

/* Boutons prev / next */
.ce-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.92);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ce-navy);
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  transition: background .2s, transform .2s, opacity .25s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}
.ce-carousel:hover .ce-carousel-btn {
  opacity: 1;
  pointer-events: auto;
}
.ce-carousel-btn:hover {
  background: var(--ce-white);
  transform: translateY(-50%) scale(1.08);
}
.ce-carousel-prev { left: -24px; }
.ce-carousel-next { right: -24px; }

/* Dots */
.ce-carousel-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.5rem;
}
.ce-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #c8d0da;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.ce-dot.is-active {
  background: var(--ce-green);
  transform: scale(1.3);
}

/* ================================================================
   SERVICES
   ================================================================ */
.ce-services {
  padding: 5.5rem 1.5rem;
  background: var(--ce-white);
}
.ce-services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.ce-service-card {
  background: var(--ce-white);
  border: 1px solid var(--ce-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.ce-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ce-navy), var(--ce-blue-vif));
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.ce-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.ce-service-card:hover::before { transform: scaleX(1); }

.ce-service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--ce-navy), var(--ce-blue-mid));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.ce-service-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ce-navy);
  margin: 0 0 .6rem;
}
.ce-service-desc {
  font-size: .88rem;
  color: var(--ce-gray);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}
.ce-service-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ce-orange);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.ce-service-link:hover { gap: .6rem; }
.ce-service-link::after { content: '→'; }

/* Featured service card */
.ce-service-card.featured {
  background: linear-gradient(135deg, var(--ce-navy) 0%, var(--ce-blue-mid) 100%);
  border-color: transparent;
  color: var(--ce-white);
}
.ce-service-card.featured .ce-service-icon {
  background: rgba(255,255,255,.15);
}
.ce-service-card.featured .ce-service-title { color: var(--ce-white); }
.ce-service-card.featured .ce-service-desc { color: rgba(255,255,255,.72); }
.ce-service-card.featured .ce-service-link { color: var(--ce-green-lt); }

/* ================================================================
   WHY US (Arguments)
   ================================================================ */
.ce-whyus {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, var(--ce-navy) 0%, #1e4a8a 100%);
  color: var(--ce-white);
}
.ce-whyus .ce-section-title { color: var(--ce-white); }
.ce-whyus .ce-section-subtitle { color: rgba(255,255,255,.7); }

.ce-whyus-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ce-arguments {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}
.ce-argument {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.ce-argument-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.ce-argument-body {}
.ce-argument-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ce-white);
  margin: 0 0 .3rem;
}
.ce-argument-text {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0;
}

/* Credit impot box */
.ce-tax-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.ce-tax-percent {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  color: var(--ce-green-lt);   /* vert lime du logo */
  line-height: 1;
  display: block;
}
.ce-tax-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ce-white);
  margin: .5rem 0;
}
.ce-tax-desc {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.ce-certifs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.ce-certif-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.85);
  padding: .4rem .9rem;
  border-radius: 30px;
  font-size: .75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.ce-testimonials {
  padding: 5.5rem 1.5rem;
  background: var(--ce-light);
}
.ce-testi-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.ce-testi-card {
  background: var(--ce-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--ce-border);
  transition: var(--transition);
}
.ce-testi-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.ce-testi-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: .75rem;
  display: flex;
  gap: 2px;
}
.ce-testi-text {
  font-size: .9rem;
  color: var(--ce-dark);
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 1.25rem;
}
.ce-testi-text::before { content: '"'; }
.ce-testi-text::after  { content: '"'; }
.ce-testi-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.ce-testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ce-navy), var(--ce-blue-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  color: var(--ce-white);
  flex-shrink: 0;
}
.ce-testi-name  { font-weight: 700; font-size: .9rem; color: var(--ce-navy); }
.ce-testi-where { font-size: .78rem; color: var(--ce-gray); }
.ce-testi-google {
  margin-left: auto;
  font-size: .75rem;
  color: var(--ce-gray);
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* ================================================================
   FAQ
   ================================================================ */
.ce-faq {
  padding: 5rem 1.5rem;
  background: var(--ce-light);
}

/* ── Two-card widget ── */
.ce-faq-widget {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* Left card — question list */
.ce-faq-qcard {
  background: #fff;
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 4px 24px rgba(26,46,110,.08);
  overflow: hidden;
}

.ce-faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ce-faq-item {
  border-bottom: 1px solid rgba(26,46,110,.07);
}

.ce-faq-item:last-child {
  border-bottom: none;
}

.ce-faq-trigger {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  text-align: left;
  font-size: .88rem;
  color: var(--ce-dark);
  cursor: pointer;
  transition: background .15s, color .15s;
  line-height: 1.45;
}

.ce-faq-trigger:hover {
  background: var(--ce-light);
  color: var(--ce-navy);
}

.ce-faq-item.is-active .ce-faq-trigger {
  background: var(--ce-navy);
  color: #fff;
  font-weight: 600;
  padding-top: .6rem;
  padding-bottom: .6rem;
}

.ce-faq-plus {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ce-light);
  color: var(--ce-navy);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s, transform .25s;
  line-height: 1;
}

.ce-faq-item.is-active .ce-faq-plus {
  background: var(--ce-blue-vif);
  color: #fff;
  transform: rotate(45deg);
}

/* Right card — answer */
.ce-faq-acard {
  background: #fff;
  border-radius: var(--radius-md, 12px);
  box-shadow: 0 4px 24px rgba(26,46,110,.08);
  display: grid;
  min-height: 220px;
}

.ce-faq-panel {
  grid-area: 1 / 1;
  padding: 2rem 1.75rem;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}

.ce-faq-panel.is-active {
  opacity: 1;
  clip-path: inset(0 0% 0 0);
  pointer-events: auto;
  animation: faqSlide .38s ease forwards;
}

@keyframes faqSlide {
  from { clip-path: inset(0 100% 0 0); opacity: 0; }
  to   { clip-path: inset(0 0% 0 0);   opacity: 1; }
}

.ce-faq-panel-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ce-navy);
  margin: 0 0 1rem;
  padding-bottom: .85rem;
  border-bottom: 2px solid var(--ce-blue-vif);
}

.ce-faq-panel p:not(.ce-faq-panel-q) {
  font-size: .92rem;
  color: var(--ce-gray);
  line-height: 1.75;
  margin: 0;
}

/* ── "Voir plus" button (mobile only) ── */
.ce-faq-more {
  display: none;
  text-align: center;
  margin-top: 1.5rem;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .ce-faq-widget {
    grid-template-columns: 1fr;
    gap: .75rem;
  }
  .ce-faq-item:nth-child(n+4) {
    display: none;
  }
  .ce-faq-acard {
    min-height: 160px;
  }
  .ce-faq-panel {
    padding: 1.25rem;
  }
  .ce-faq-more {
    display: block;
  }
}

/* ================================================================
   PAGE FAQ
   ================================================================ */
.ce-faq-page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.ce-faq-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.ce-faq-page-header .ce-section-tag {
  display: inline-block;
  margin-bottom: .75rem;
}

.ce-faq-category {
  margin-bottom: 3rem;
}

.ce-faq-category-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ce-blue-vif);
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--ce-blue-vif);
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
#ce-back-top {
  position: fixed;
  bottom: 13rem;
  right: 1.75rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ce-navy);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(26,46,110,.3);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .15s;
  pointer-events: none;
  z-index: 9999;
}

#ce-back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#ce-back-top:hover {
  background: var(--ce-blue-vif);
}

/* ================================================================
   COVERAGE ZONE
   ================================================================ */
.ce-zone {
  padding: 5rem 1.5rem;
  background: var(--ce-white);
}
.ce-zone-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}
.ce-zone-map {
  background: var(--ce-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  position: relative;
  border: 1px solid var(--ce-border);
  display: flex;
  align-items: center;
  justify-content: center;
}
#ce-leaflet-map,
#ce-leaflet-map .leaflet-container {
  overflow: hidden !important;
  max-width: 100% !important;
}
.ce-zone-map-placeholder {
  text-align: center;
  color: var(--ce-gray);
}
.ce-zone-map-placeholder .map-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: .5rem;
  color: var(--ce-orange);
}
.ce-zone-cities {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.5rem;
}
.ce-city-tag {
  background: var(--ce-light);
  border: 1px solid var(--ce-border);
  color: var(--ce-navy);
  padding: .35rem .85rem;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 600;
  transition: var(--transition);
}
.ce-city-tag:hover,
.ce-city-tag.main {
  background: var(--ce-navy);
  color: var(--ce-white);
  border-color: var(--ce-navy);
}

/* ================================================================
   CONTACT / DEVIS
   ================================================================ */
.ce-contact {
  padding: 5.5rem 1.5rem;
  background: var(--ce-light);
}
.ce-contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.ce-contact-info { padding-top: .5rem; }
.ce-contact-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ce-navy);
  margin: 0 0 .75rem;
}
.ce-contact-subtitle {
  font-size: .95rem;
  color: var(--ce-gray);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.ce-contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.ce-contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--ce-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--ce-border);
  transition: var(--transition);
}
.ce-contact-channel:hover {
  border-color: var(--ce-orange);
  box-shadow: var(--shadow-sm);
}
.ce-channel-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.ce-channel-icon.phone { background: rgba(30,126,68,.12); }
.ce-channel-icon.email { background: rgba(27,58,107,.1); }
.ce-channel-icon.wa    { background: rgba(37,211,102,.12); }
.ce-channel-label { font-size: .75rem; color: var(--ce-gray); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.ce-channel-value { font-weight: 700; color: var(--ce-navy); font-size: .95rem; }

/* Form */
.ce-devis-form {
  background: var(--ce-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--ce-border);
  width: 100%;
  box-sizing: border-box;
}
.ce-devis-form-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--ce-navy);
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ce-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.ce-form-full { grid-column: 1 / -1; }

.ce-field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.ce-field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ce-navy);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.ce-field input,
.ce-field select,
.ce-field textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--ce-border);
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--ce-dark);
  background: var(--ce-white);
  transition: border-color var(--transition);
  font-family: var(--font-body);
}
.ce-field input:focus,
.ce-field select:focus,
.ce-field textarea:focus {
  outline: none;
  border-color: var(--ce-blue-mid);
  box-shadow: 0 0 0 3px rgba(27,58,107,.1);
}
.ce-field textarea { resize: vertical; min-height: 110px; }
.ce-field select { cursor: pointer; }

.ce-form-submit {
  margin-top: 1.25rem;
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem;
}

/* ================================================================
   FOOTER
   ================================================================ */
.ce-footer {
  background: var(--ce-navy);
  color: rgba(255,255,255,.75);
  padding: 4rem 1.5rem 0;
}
.ce-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ce-footer-brand {}
.ce-footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ce-white);
  margin-bottom: .75rem;
}
.ce-footer-logo span { color: var(--ce-orange); }
.ce-footer-tagline {
  font-size: .82rem;
  font-style: italic;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}
.ce-footer-desc {
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.6);
}
.ce-footer-socials {
  display: flex;
  gap: .6rem;
}
.ce-social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: var(--transition);
}
.ce-social-link:hover { background: var(--ce-orange); border-color: var(--ce-orange); color: var(--ce-white); }

.ce-footer-col-title {
  font-size: .85rem;
  font-weight: 700;
  color: var(--ce-white);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 0 0 1.25rem;
}
.ce-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.ce-footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}
.ce-footer-links a::before { content: '→'; font-size: .7rem; color: var(--ce-orange); }
.ce-footer-links a:hover { color: var(--ce-white); }

.ce-footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .85rem;
}
.ce-footer-contact-line strong { color: rgba(255,255,255,.85); display: block; }

.ce-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .5rem;
}
.ce-footer-bottom a { color: rgba(255,255,255,.4); }
.ce-footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ================================================================
   WHATSAPP FLOATING
   ================================================================ */
.ce-whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
}
/* Boutons flottants téléphone + devis */
.ce-float-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  border-radius: 30px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.ce-float-btn:hover { transform: translateX(-4px); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.28); }
.ce-float-tel  { background: var(--ce-navy); }
.ce-float-devis { background: var(--ce-blue-vif); }
.ce-float-label { font-size: .8rem; }

.ce-wa-btn {
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition);
  color: white;
  text-decoration: none;
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
}
.ce-wa-btn:hover { transform: scale(1.1); color: white; }
.ce-wa-pulse {
  position: absolute;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  animation: waPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.8); opacity: 0; }
}
.ce-wa-tooltip {
  background: var(--ce-navy);
  color: var(--ce-white);
  padding: .45rem .9rem;
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
  animation: fadeSlide .3s ease;
}
@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.ce-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.ce-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.ce-fade-up:nth-child(2) { transition-delay: .1s; }
.ce-fade-up:nth-child(3) { transition-delay: .2s; }
.ce-fade-up:nth-child(4) { transition-delay: .3s; }
.ce-fade-up:nth-child(5) { transition-delay: .4s; }

/* ================================================================
   ASTRA OVERRIDES — Casser le conteneur sur la page d'accueil
   ================================================================ */

/* Reset complet de tous les wrappers Astra sur la homepage */
body.home,
body.home #page,
body.home #content,
body.home .site-content,
body.home #primary,
body.home #main,
body.home .ast-article-post,
body.home article,
body.home .entry-content {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

/* Conteneur Astra — pleine largeur */
body.home .ast-container,
body.home .container,
body.home .ast-grid-right-section,
body.home .ast-grid-left-section {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Site content row (flex parent d'Astra) */
body.home .ast-row,
body.home #primary.content-area {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Masquer éléments Astra inutiles sur la homepage */
body.home .ast-breadcrumbs-wrapper,
body.home .entry-header,
body.home .post-thumbnail,
body.home .entry-meta,
body.home .entry-footer,
body.home .post-navigation,
body.home #comments,
body.home .ast-author-details,
body.home .page-header {
  display: none !important;
}

/* Variable Astra pour la largeur du contenu */
body.home {
  --ast-content-layout-width: 100%;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .ce-services-grid { grid-template-columns: repeat(2, 1fr); }
  .ce-footer-grid   { grid-template-columns: 1fr 1fr; }
  .ce-stats-inner   { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ce-hero-content  { grid-template-columns: 1fr; gap: 2rem; padding: 5rem 1.25rem 3rem; }
  .ce-hero-card     { display: none; }
  .ce-ba-item img   { aspect-ratio: 16 / 9; }
  .ce-carousel-prev { left: 4px; }
  .ce-carousel-next { right: 4px; }
  .ce-services-grid { grid-template-columns: 1fr; }
  .ce-whyus-inner   { grid-template-columns: 1fr; gap: 2.5rem; }
  .ce-testi-grid    { grid-template-columns: 1fr; }
  .ce-zone-inner    { grid-template-columns: 1fr; }
  .ce-contact-inner { grid-template-columns: 1fr; gap: 2rem; }
  .ce-contact       { padding: 3.5rem 1.25rem; overflow-x: hidden; }
  .ce-devis-form    { padding: 1.5rem 1.25rem; }
  .ce-footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .ce-form-grid     { grid-template-columns: 1fr; }
  .ce-stats-inner   { grid-template-columns: repeat(2, 1fr); }
  .ce-hero-title    { font-size: 2rem; }
  /* Email et téléphone ne débordent pas */
  .ce-channel-value { font-size: .82rem; word-break: break-all; }
  /* Boutons flottants : icône seule sur mobile */
  .ce-float-label   { display: none; }
  .ce-float-btn     { width: 48px; height: 48px; padding: 0; justify-content: center; border-radius: 50%; }
  .ce-whatsapp-float { bottom: 6.5rem; right: 1.25rem; }
  #ce-back-top {
    right: 1.25rem;
    bottom: 19rem;
  }

}

@media (max-width: 480px) {
  .ce-stats-inner   { grid-template-columns: repeat(2, 1fr); }
  .ce-hero-actions  { flex-direction: column; }
  .ce-btn           { width: 100%; justify-content: center; }
}

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

  /* Topbar — masquer sur mobile, trop compact */
  .ce-topbar { display: none; }

  /* Footer — padding bas pour ne pas passer sous les boutons flottants */
  .ce-footer { padding-bottom: 6rem; }

  /* 1. Services — masquer le long sous-titre de section */
  .ce-services .ce-section-subtitle { display: none; }

  /* 2. Pourquoi nous — masquer sous-titre intro + texte des arguments */
  .ce-whyus .ce-section-subtitle { display: none; }
  .ce-argument-text { display: none; }

  /* 3. Contact/Devis — masquer la liste d'arguments, garder titre + canaux */
  .ce-contact-args { display: none !important; }
  .ce-contact-subtitle { display: none; }
  .ce-contact-info > p[style] { display: none; }

  /* Toujours afficher le bouton WhatsApp flottant */
  .ce-whatsapp-float { display: flex !important; }
  .ce-wa-btn { display: flex !important; }

  /* 4. Témoignages — masquer le 3e témoignage */
  .ce-testi-card:nth-child(3) { display: none; }

  /* 5. Zone — masquer les villes au-delà des 5 premières */
  .ce-city-tag:nth-child(n+6) { display: none; }

}

/* ── Anti-spam : honeypot (jamais visible, jamais focusable) ── */
.ce-hp-wrap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ── Pages légales ── */
.ce-legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  color: #1e293b;
  font-size: 1rem;
  line-height: 1.8;
}
.ce-legal-section {
  margin-bottom: 2.5rem;
}
.ce-legal-section h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2e6e;
  margin-bottom: .75rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid #e2e8f0;
}
.ce-legal-section ul {
  padding-left: 1.25rem;
  margin: .5rem 0;
}
.ce-legal-section li {
  margin-bottom: .35rem;
}
.ce-legal-section a {
  color: #2563eb;
  text-decoration: underline;
}
