/* ==========================================================================
   CONCIERGERIE ESSONNE — Design System
   Version 2.0 — Full visual overhaul
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --ce-primary: #FF5722;
  --ce-primary-dark: #E64A19;
  --ce-primary-light: #FF8A65;
  --ce-secondary: #046BD2;
  --ce-secondary-dark: #045cb4;
  --ce-bg: #FFFFFF;
  --ce-bg-alt: #F8FAFC;
  --ce-bg-dark: #1E293B;
  --ce-text: #334155;
  --ce-text-light: #64748B;
  --ce-text-heading: #0F172A;
  --ce-border: #E2E8F0;
  --ce-border-light: #F1F5F9;
  --ce-whatsapp: #25D366;
  --ce-shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --ce-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --ce-shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --ce-shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --ce-radius-sm: 6px;
  --ce-radius-md: 12px;
  --ce-radius-lg: 16px;
  --ce-radius-xl: 24px;
  --ce-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ce-max-width: 1200px;
  --ce-font-heading: 'Playfair Display', Georgia, serif;
  --ce-font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Override Astra constraints ── */
body.ce-standalone {
  overflow-x: hidden !important;
}

body.ce-standalone .site-content,
body.ce-standalone .site-content .ast-container,
body.ce-standalone #primary,
body.ce-standalone .content-area {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 auto !important;
  width: 100% !important;
}

body.ce-standalone .entry-header,
body.ce-standalone .ast-breadcrumbs-wrapper,
body.ce-standalone .post-navigation {
  display: none !important;
}

.ce-page-wrap {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

.ce-page-wrap .entry-content {
  max-width: 100% !important;
  padding: 0 !important;
}

/* ── Full-bleed sections ── */
.ce-full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* ---------- Reset & Base ---------- */
.ce-full-bleed h1,
.ce-full-bleed h2,
.ce-full-bleed h3,
.ce-full-bleed h4 {
  font-family: var(--ce-font-heading);
  color: var(--ce-text-heading);
  line-height: 1.25;
  margin-top: 0;
}

.ce-full-bleed {
  font-family: var(--ce-font-body);
  color: var(--ce-text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

.ce-full-bleed p {
  margin-bottom: 1em;
}

.ce-full-bleed ul {
  list-style: disc;
  padding-left: 1.5em;
}

.ce-full-bleed ul li {
  padding: 4px 0;
  border-bottom: none;
}

/* ---------- Section base ---------- */
.ce-section {
  padding: 80px 0;
  position: relative;
}

.ce-section--alt {
  background: var(--ce-bg-alt);
}

.ce-section--dark {
  background: var(--ce-bg-dark);
  color: #CBD5E1;
}

.ce-section--dark h2,
.ce-section--dark h3,
.ce-section--dark .ce-section-title {
  color: #FFFFFF;
}

.ce-section--dark .ce-section-subtitle {
  color: #94A3B8;
}

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

.ce-section-label {
  display: inline-block;
  font-family: var(--ce-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ce-primary);
  margin-bottom: 12px;
}

.ce-section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ce-text-heading);
}

.ce-section-subtitle {
  font-size: 18px;
  color: var(--ce-text-light);
  max-width: 640px;
  line-height: 1.6;
}

.ce-section-header {
  text-align: center;
  margin-bottom: 56px;
}

.ce-section-header .ce-section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- HERO Section ---------- */
.ce-hero {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 40%, #F0F9FF 100%);
  overflow: hidden;
}

.ce-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,87,34,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(4,107,210,0.05) 0%, transparent 50%);
  pointer-events: none;
}

.ce-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255,87,34,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,87,34,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.ce-hero .ce-container {
  position: relative;
  z-index: 1;
}

.ce-hero-content {
  max-width: 720px;
}

.ce-hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--ce-text-heading);
}

.ce-hero h1 span {
  color: var(--ce-primary);
}

.ce-hero-tagline {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ce-text);
  margin-bottom: 12px;
}

.ce-hero-highlight {
  font-size: 18px;
  font-weight: 600;
  color: var(--ce-text-heading);
  margin-bottom: 32px;
}

.ce-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,87,34,0.08);
  color: var(--ce-primary);
  font-weight: 700;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.ce-hero-stat .ce-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--ce-primary);
  border-radius: 50%;
  animation: ce-pulse-dot 2s ease-in-out infinite;
}

.ce-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Inner Hero (subpages) ---------- */
.ce-hero-inner {
  padding: 60px 0 48px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFFFFF 50%, #F0F9FF 100%);
  position: relative;
  overflow: hidden;
}

.ce-hero-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,87,34,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,87,34,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.ce-hero-inner .ce-container {
  position: relative;
  z-index: 1;
}

.ce-hero-inner h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ce-text-heading);
}

.ce-hero-inner p {
  font-size: 18px;
  color: var(--ce-text);
  max-width: 640px;
  line-height: 1.6;
}

.ce-breadcrumb {
  font-family: var(--ce-font-body);
  font-size: 13px;
  color: var(--ce-text-light);
  margin-bottom: 20px;
}

.ce-breadcrumb a {
  color: var(--ce-text-light);
  text-decoration: none;
  transition: color var(--ce-transition);
}

.ce-breadcrumb a:hover {
  color: var(--ce-primary);
}

.ce-breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* ---------- Buttons ---------- */
.ce-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--ce-font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--ce-radius-sm);
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--ce-transition);
  border: 2px solid transparent;
  line-height: 1.4;
}

.ce-btn--primary {
  background: var(--ce-primary);
  color: #FFFFFF !important;
  border-color: var(--ce-primary);
}

.ce-btn--primary:hover {
  background: var(--ce-primary-dark);
  border-color: var(--ce-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,87,34,0.3);
}

.ce-btn--secondary {
  background: transparent;
  color: var(--ce-text-heading) !important;
  border-color: var(--ce-border);
}

.ce-btn--secondary:hover {
  border-color: var(--ce-primary);
  color: var(--ce-primary) !important;
  transform: translateY(-2px);
}

.ce-btn--whatsapp {
  background: var(--ce-whatsapp);
  color: #FFFFFF !important;
  border-color: var(--ce-whatsapp);
}

.ce-btn--whatsapp:hover {
  background: #20BA5A;
  border-color: #20BA5A;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.ce-btn--white {
  background: #FFFFFF;
  color: var(--ce-text-heading) !important;
  border-color: #FFFFFF;
}

.ce-btn--white:hover {
  background: var(--ce-bg-alt);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.ce-btn--outline-white {
  background: transparent;
  color: #FFFFFF !important;
  border-color: rgba(255,255,255,0.3);
}

.ce-btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
}

.ce-btn--small {
  padding: 10px 20px;
  font-size: 14px;
}

.ce-btn svg,
.ce-btn img {
  width: 18px;
  height: 18px;
}

/* ---------- Cards ---------- */
.ce-card {
  background: var(--ce-bg);
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius-md);
  padding: 32px;
  transition: all var(--ce-transition);
  position: relative;
}

.ce-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ce-shadow-lg);
  border-color: transparent;
}

.ce-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255,87,34,0.08);
  border-radius: var(--ce-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
}

.ce-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ce-text-heading);
}

.ce-card p {
  color: var(--ce-text);
  line-height: 1.6;
  margin-bottom: 0;
}

.ce-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ce-card-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.ce-card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.ce-card-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.ce-card-link .ce-card {
  height: 100%;
}

.ce-card-link:hover .ce-card h3 {
  color: var(--ce-primary);
}

/* ---------- Stats Grid ---------- */
.ce-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0;
}

.ce-stat {
  text-align: center;
}

.ce-stat-value {
  font-family: var(--ce-font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--ce-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.ce-stat-label {
  font-size: 14px;
  color: var(--ce-text-light);
  font-weight: 500;
}

/* ---------- Process Steps ---------- */
.ce-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  counter-reset: process-step;
}

.ce-process::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--ce-primary), var(--ce-secondary));
  z-index: 0;
}

.ce-process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  counter-increment: process-step;
}

.ce-process-num {
  width: 72px;
  height: 72px;
  background: var(--ce-bg);
  border: 3px solid var(--ce-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ce-font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--ce-primary);
  margin: 0 auto 20px;
  position: relative;
}

.ce-process-step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ce-text-heading);
}

.ce-process-step p {
  color: var(--ce-text);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Testimonials ---------- */
.ce-testimonials {
  position: relative;
  overflow: hidden;
}

.ce-testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ce-testimonial {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--ce-bg);
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius-md);
  padding: 32px;
  position: relative;
}

.ce-testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 64px;
  font-family: Georgia, serif;
  color: rgba(255,87,34,0.1);
  line-height: 1;
}

.ce-testimonial-stars {
  color: #F59E0B;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.ce-testimonial-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ce-text);
  margin-bottom: 20px;
  font-style: italic;
}

.ce-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ce-testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ce-primary-light), var(--ce-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 16px;
}

.ce-testimonial-name {
  font-weight: 600;
  color: var(--ce-text-heading);
  font-size: 15px;
}

.ce-testimonial-role {
  font-size: 13px;
  color: var(--ce-text-light);
}

/* ---------- FAQ Accordion ---------- */
.ce-faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.ce-faq-item {
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--ce-transition);
}

.ce-faq-item:hover {
  border-color: var(--ce-primary);
}

.ce-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--ce-font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--ce-text-heading);
  background: var(--ce-bg);
  border: none;
  width: 100%;
  text-align: left;
  transition: all var(--ce-transition);
  gap: 16px;
}

.ce-faq-question:hover {
  color: var(--ce-primary);
}

.ce-faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--ce-transition);
}

.ce-faq-chevron::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

.ce-faq-open .ce-faq-chevron {
  transform: rotate(180deg);
}

.ce-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ce-faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--ce-text);
  line-height: 1.7;
  font-size: 15px;
}

.ce-faq-answer-inner a {
  color: var(--ce-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ce-faq-answer-inner a:hover {
  color: var(--ce-secondary);
}

.ce-faq-open .ce-faq-answer {
  max-height: 500px;
}

/* ---------- CTA Sections ---------- */
.ce-cta {
  padding: 80px 0;
  text-align: center;
}

.ce-cta--dark {
  background: var(--ce-bg-dark);
  color: #CBD5E1;
}

.ce-cta--dark h2 {
  color: #FFFFFF;
}

.ce-cta--dark p {
  color: #94A3B8;
}

.ce-cta--gradient {
  background: linear-gradient(135deg, #FF5722, #FF8A65);
  color: #FFFFFF;
}

.ce-cta--gradient h2,
.ce-cta--gradient p {
  color: #FFFFFF;
}

.ce-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ce-cta p {
  font-size: 18px;
  margin-bottom: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.ce-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* ---------- City Cards Grid ---------- */
.ce-city-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.ce-city-card {
  display: block;
  background: var(--ce-bg);
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius-md);
  padding: 24px 20px;
  text-align: center;
  text-decoration: none !important;
  color: var(--ce-text-heading) !important;
  transition: all var(--ce-transition);
}

.ce-city-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ce-shadow-lg);
  border-color: var(--ce-primary);
}

.ce-city-card-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.ce-city-card-name {
  font-family: var(--ce-font-heading);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--ce-text-heading);
}

.ce-city-card-dept {
  font-size: 13px;
  color: var(--ce-text-light);
}

.ce-city-card:hover .ce-city-card-name {
  color: var(--ce-primary);
}

/* ---------- Info Cards (Contact page) ---------- */
.ce-info-card {
  background: var(--ce-bg);
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius-md);
  padding: 32px;
  text-align: center;
  transition: all var(--ce-transition);
}

.ce-info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ce-shadow-lg);
}

.ce-info-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: rgba(255,87,34,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.ce-info-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--ce-text-heading);
}

.ce-info-card p {
  color: var(--ce-text);
  font-size: 15px;
  margin-bottom: 0;
}

.ce-info-card a {
  color: var(--ce-primary);
  text-decoration: none;
  font-weight: 600;
}

.ce-info-card a:hover {
  color: var(--ce-secondary);
}

/* ---------- Value Cards (About page) ---------- */
.ce-value-card {
  background: var(--ce-bg);
  border: 1px solid var(--ce-border);
  border-radius: var(--ce-radius-md);
  padding: 32px;
  text-align: center;
  transition: all var(--ce-transition);
}

.ce-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ce-shadow-lg);
}

.ce-value-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.ce-value-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--ce-text-heading);
}

.ce-value-card p {
  color: var(--ce-text);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- Service Detail Block ---------- */
.ce-service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}

.ce-service-block:nth-child(even) {
  direction: rtl;
}

.ce-service-block:nth-child(even) > * {
  direction: ltr;
}

.ce-service-block-content h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--ce-text-heading);
}

.ce-service-block-content p {
  color: var(--ce-text);
  margin-bottom: 16px;
}

.ce-service-block-visual {
  background: var(--ce-bg-alt);
  border-radius: var(--ce-radius-lg);
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  min-height: 280px;
}

/* ---------- Check list ---------- */
.ce-check-list {
  list-style: none !important;
  padding-left: 0 !important;
}

.ce-check-list li {
  position: relative;
  padding-left: 28px;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: none !important;
}

.ce-check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--ce-primary);
  font-weight: 700;
  font-size: 14px;
  top: 8px;
  line-height: 1;
}

/* ---------- Tarif Card ---------- */
.ce-tarif-card {
  background: linear-gradient(135deg, #FFF7ED, #FFFFFF);
  border: 2px solid var(--ce-primary);
  border-radius: var(--ce-radius-lg);
  padding: 40px;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.ce-tarif-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--ce-text-heading);
}

.ce-tarif-price {
  font-family: var(--ce-font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--ce-primary);
  line-height: 1.1;
  margin-bottom: 8px;
}

.ce-tarif-note {
  color: var(--ce-text-light);
  font-size: 14px;
  margin-bottom: 24px;
}

/* ---------- Nearby cities ---------- */
.ce-nearby {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.ce-nearby a {
  display: inline-block;
  padding: 8px 16px;
  background: var(--ce-bg-alt);
  border: 1px solid var(--ce-border);
  border-radius: 100px;
  color: var(--ce-text) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--ce-transition);
}

.ce-nearby a:hover {
  background: var(--ce-primary);
  color: #FFFFFF !important;
  border-color: var(--ce-primary);
}

/* ---------- Divider ---------- */
.ce-divider {
  width: 60px;
  height: 3px;
  background: var(--ce-primary);
  margin: 24px auto;
  border-radius: 2px;
}

.ce-section-header .ce-divider {
  margin: 16px auto 24px;
}

/* ---------- Badge ---------- */
.ce-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(255,87,34,0.08);
  color: var(--ce-primary);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}

/* ---------- Animations ---------- */
@keyframes ce-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes ce-pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

@keyframes ce-fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ce-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes ce-counter-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ---------- Reveal on scroll ---------- */
.ce-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---------- Stagger children ---------- */
.ce-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ce-stagger.ce-visible > *:nth-child(1) { transition-delay: 0s; }
.ce-stagger.ce-visible > *:nth-child(2) { transition-delay: 0.09s; }
.ce-stagger.ce-visible > *:nth-child(3) { transition-delay: 0.18s; }
.ce-stagger.ce-visible > *:nth-child(4) { transition-delay: 0.27s; }
.ce-stagger.ce-visible > *:nth-child(5) { transition-delay: 0.36s; }
.ce-stagger.ce-visible > *:nth-child(6) { transition-delay: 0.45s; }
.ce-stagger.ce-visible > *:nth-child(7) { transition-delay: 0.54s; }
.ce-stagger.ce-visible > *:nth-child(8) { transition-delay: 0.63s; }
.ce-stagger.ce-visible > *:nth-child(9) { transition-delay: 0.72s; }
.ce-stagger.ce-visible > *:nth-child(10) { transition-delay: 0.81s; }

.ce-stagger.ce-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .ce-hero h1 {
    font-size: 38px;
  }

  .ce-section-title {
    font-size: 30px;
  }

  .ce-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ce-card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ce-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .ce-process {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .ce-process::before {
    left: calc(16.67% + 10px);
    right: calc(16.67% + 10px);
  }

  .ce-testimonial {
    flex: 0 0 calc(50% - 12px);
  }

  .ce-city-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ce-service-block {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ce-service-block:nth-child(even) {
    direction: ltr;
  }

  .ce-service-block-visual {
    min-height: 200px;
    font-size: 60px;
  }
}

/* Mobile large */
@media (max-width: 768px) {
  .ce-section {
    padding: 56px 0;
  }

  .ce-hero {
    padding: 72px 0 56px;
  }

  .ce-hero h1 {
    font-size: 32px;
  }

  .ce-hero-inner h1 {
    font-size: 30px;
  }

  .ce-hero-tagline {
    font-size: 17px;
  }

  .ce-section-title {
    font-size: 26px;
  }

  .ce-section-header {
    margin-bottom: 40px;
  }

  .ce-card-grid {
    grid-template-columns: 1fr;
  }

  .ce-card-grid--2 {
    grid-template-columns: 1fr;
  }

  .ce-card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .ce-process {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .ce-process::before {
    display: none;
  }

  .ce-process-num {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .ce-stat-value {
    font-size: 36px;
  }

  .ce-testimonial {
    flex: 0 0 100%;
  }

  .ce-city-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .ce-cta h2 {
    font-size: 26px;
  }

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

  .ce-btn {
    justify-content: center;
    text-align: center;
  }

  .ce-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .ce-tarif-price {
    font-size: 40px;
  }
}

/* Mobile small */
@media (max-width: 544px) {
  .ce-hero h1 {
    font-size: 28px;
  }

  .ce-hero-inner h1 {
    font-size: 26px;
  }

  .ce-section-title {
    font-size: 24px;
  }

  .ce-container {
    padding: 0 16px;
  }

  .ce-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .ce-card {
    padding: 24px;
  }

  .ce-card-grid--4 {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .ce-city-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ce-faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }

  .ce-faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 14px;
  }

  .ce-hero-stat {
    font-size: 13px;
    padding: 6px 12px;
  }
}

/* ---------- Astra / Theme overrides ---------- */
.ce-full-bleed .ce-section h2 {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.ce-full-bleed .ce-hero h1,
.ce-full-bleed .ce-hero-inner h1 {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.ce-full-bleed .ce-card h3,
.ce-full-bleed .ce-process-step h3,
.ce-full-bleed .ce-faq-item h3 {
  font-size: inherit;
  color: inherit;
}

.ce-full-bleed .ce-check-list,
.ce-full-bleed .ce-nearby {
  list-style: none;
  padding-left: 0;
}

/* Hide old breadcrumb first-child paragraph style */
.ce-hero .ce-breadcrumb,
.ce-hero-inner .ce-breadcrumb {
  font-size: 13px;
}

/* Override Astra/Theme link styles inside ce- components */
.ce-full-bleed .ce-btn,
.ce-full-bleed .ce-city-card,
.ce-full-bleed .ce-card-link,
.ce-full-bleed .ce-nearby a {
  text-decoration: none !important;
  text-decoration-color: transparent !important;
}

/* Ensure ce-sections override theme widget defaults */
.ce-full-bleed .ce-card ul,
.ce-full-bleed .ce-service-block ul {
  list-style: disc;
  padding-left: 1.5em;
}

.ce-full-bleed .ce-card ul li,
.ce-full-bleed .ce-service-block ul li {
  border-bottom: none;
  padding: 4px 0;
}

/* ---------- Print ---------- */
@media print {
  .ce-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
