/* Pro24h Plombier — Dépannage plomberie 24h/24 France
   Teal + sky blue + coral CTA. Mobile-first. */

:root {
  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f0f9ff;         /* sky-50 tint */
  --bg-section: #ecfeff;      /* cyan-50 tint */
  --bg-warn: #fef3c7;
  --bg-warn-strong: #fde68a;
  --bg-dark: #134e4a;         /* teal-900 for dark sections */
  --bg-dark-2: #115e59;

  /* Ink */
  --text: #0f172a;
  --text-soft: #475569;
  --text-mute: #94a3b8;
  --text-warn: #78350f;
  --text-on-dark: #f0fdfa;

  /* Brand — teal (water, hygiene, freshness) */
  --primary: #0d9488;         /* teal-600 */
  --primary-dark: #0f766e;    /* teal-700 */
  --primary-light: #14b8a6;   /* teal-500 */
  --primary-soft: #ccfbf1;    /* teal-100 */
  --primary-softer: #f0fdfa;  /* teal-50 */

  /* Accent — sky blue (water flow) */
  --accent: #0ea5e9;
  --accent-dark: #0284c7;
  --accent-soft: #e0f2fe;

  /* CTA — bright coral/rose (action, urgency, distinctive) */
  --cta: #f43f5e;             /* rose-500 */
  --cta-dark: #e11d48;        /* rose-600 */
  --cta-text: #ffffff;
  --cta-glow: rgba(244, 63, 94, 0.30);

  /* Status */
  --success: #10b981;
  --success-soft: #d1fae5;

  /* Borders */
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --border-warn: #f59e0b;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-sm: 6px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px;
}

img, svg { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
a { color: var(--primary); text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 20px; }

/* ========== TOP STRIP ========== */
.topstrip {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 16px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.topstrip .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-soft 1.8s ease-in-out infinite;
}

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

.topstrip .sep { opacity: 0.4; margin: 0 2px; }

/* ========== HEADER ========== */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 1px 6px rgba(13, 148, 136, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}

.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark svg { width: 22px; height: 22px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name { font-weight: 800; font-size: 15.5px; letter-spacing: -0.01em; color: var(--text); }
.brand-text .sub { font-size: 10.5px; color: var(--text-mute); font-weight: 700; text-transform: uppercase; letter-spacing: 0.10em; margin-top: 3px; }

.header-call {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--cta);
  color: var(--cta-text) !important;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 13.5px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: all 0.15s ease;
  box-shadow: 0 2px 12px var(--cta-glow);
}

.header-call:hover { background: var(--cta-dark); transform: translateY(-1px); }
.header-call svg { width: 16px; height: 16px; }

/* ========== HERO ========== */
.hero {
  padding: 44px 0 56px;
  background: linear-gradient(180deg, var(--bg) 0%, var(--primary-softer) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at top, rgba(13, 148, 136, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

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

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid rgba(13, 148, 136, 0.20);
}

.hero-eyebrow .live-dot {
  width: 8px; height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-soft 1.6s ease-in-out infinite;
}

.hero h1 {
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.0;
  color: var(--text);
  margin-bottom: 16px;
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

/* The line sits below the descenders with a gap, in the CTA colour — it must never run through the letters */
.hero h1 .accent-underline {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--cta);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.3em;
  text-decoration-skip-ink: none;
}

.hero h1 .line-2 {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-top: 12px;
  letter-spacing: -0.015em;
  line-height: 1.5;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-lead {
  font-size: 16px;
  color: var(--text-soft);
  margin: 0 auto 28px;
  line-height: 1.6;
  max-width: 54ch;
}

.hero-lead strong { color: var(--text); font-weight: 700; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--cta);
  color: var(--cta-text) !important;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -0.01em;
  padding: 18px 32px;
  min-height: 60px;
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.15s ease;
  box-shadow: 0 4px 16px var(--cta-glow);
}

.btn-cta:hover {
  background: var(--cta-dark);
  color: var(--cta-text) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--cta-glow);
}

.btn-cta svg { width: 22px; height: 22px; flex-shrink: 0; }
.btn-cta .num { font-size: 19px; font-weight: 900; letter-spacing: -0.01em; }

.btn-cta .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.15;
  gap: 2px;
}

.btn-cta .btn-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.92;
}

.hero-trust {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.hero-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--text);
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border);
}

.hero-trust-chip svg { width: 14px; height: 14px; color: var(--primary); }

/* Source photos are 600×500 — keep the box at 6/5 and ≤560px so nothing is upscaled or cropped */
.hero-photo {
  margin: 30px auto 0;
  max-width: 560px;
  aspect-ratio: 6 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--primary-softer);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.16), 0 0 0 4px rgba(13, 148, 136, 0.06);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== SERVICES MATRIX ========== */
.services {
  padding: 56px 0;
  background: var(--bg);
}

.section-head {
  text-align: center;
  margin-bottom: 36px;
}

.section-head .kicker {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 10px;
}

.section-head h2 .accent {
  color: var(--primary);
}

.section-head p {
  font-size: 15px;
  color: var(--text-soft);
  max-width: 54ch;
  margin: 0 auto;
}

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

.service-tile {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 14px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}

.service-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--cta);
  border-radius: var(--radius) var(--radius) 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.service-tile:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.15);
  color: var(--text);
}

.service-tile:hover::before { transform: scaleX(1); }

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg { width: 22px; height: 22px; }

.service-tile h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--text);
}

.service-tile p {
  font-size: 12px;
  color: var(--text-mute);
  line-height: 1.4;
}

/* Service tile with photo — overrides the icon-based layout */
.service-tile.with-photo {
  padding: 0;
  overflow: hidden;
  text-align: left;
  align-items: stretch;
  gap: 0;
}

.service-tile.with-photo .service-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary-softer);
}

.service-tile.with-photo .service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-tile.with-photo:hover .service-photo img { transform: scale(1.05); }

.service-tile.with-photo > h3 {
  padding: 13px 13px 0;
  font-size: 15px;
}

.service-tile.with-photo > p {
  padding: 5px 13px 15px;
  font-size: 12.5px;
  color: var(--text-soft);
}

/* ========== PROCESS ========== */
.process {
  padding: 56px 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.process-list {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  list-style: none;
  padding: 0;
}

.process-list::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 32px;
  bottom: 32px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary) 0%, var(--accent) 50%, var(--cta) 100%);
  border-radius: 3px;
  z-index: 0;
}

.process-step {
  position: relative;
  padding: 8px 0 8px 62px;
  min-height: 60px;
}

.process-step + .process-step { margin-top: 8px; }

.step-num {
  position: absolute;
  left: 0;
  top: 16px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 17px;
  line-height: 1;
  border: 3px solid var(--bg-section);
  box-shadow: 0 0 0 2px var(--primary), 0 4px 12px rgba(13, 148, 136, 0.25);
  z-index: 1;
  transition: transform 0.2s ease;
}

.process-step:hover .step-num {
  transform: scale(1.08);
  background: var(--cta);
  color: var(--cta-text);
  box-shadow: 0 0 0 2px var(--cta), 0 6px 18px var(--cta-glow);
}

.step-body {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px 16px;
  transition: all 0.2s ease;
}

.process-step:hover .step-body {
  border-color: var(--primary);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.10);
  transform: translateX(4px);
}

.step-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}

.step-body h4 {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
  flex: 1 1 170px;
  min-width: 0;
  margin: 0;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 1px solid rgba(13, 148, 136, 0.30);
  white-space: nowrap;
  flex-shrink: 0;
}

.step-body p {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  margin: 0;
}

.step-body p strong { color: var(--primary); font-weight: 700; }

/* ========== CERTIFICATIONS ========== */
.certifs {
  padding: 48px 0;
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.certifs .section-head .kicker { color: var(--primary-light); }
.certifs .section-head h2 { color: #ffffff; }
.certifs .section-head h2 .accent { color: var(--primary-light); }
.certifs .section-head p { color: rgba(255, 255, 255, 0.7); }

.certifs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.certif-card {
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.certif-card .badge {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--bg-dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certif-card .badge svg { width: 22px; height: 22px; }

.certif-card h4 {
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.005em;
  margin-bottom: 3px;
}

.certif-card p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* ========== CONSEILS ========== */
.conseils {
  padding: 56px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.conseils-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.conseil-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px 20px;
  transition: all 0.18s;
}

.conseil-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.10);
  transform: translateY(-2px);
}

.conseil-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.conseil-card h3 {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.28;
  margin-bottom: 8px;
  color: var(--text);
}

.conseil-card p {
  font-size: 13.5px;
  color: var(--text-soft);
  line-height: 1.55;
}

.conseil-card p strong {
  color: var(--text);
  background: var(--primary-soft);
  padding: 0 3px;
  border-radius: 2px;
  font-weight: 700;
}

/* Conseil card with photo */
.conseil-card.with-photo {
  padding: 0;
  overflow: hidden;
}

.conseil-card.with-photo .conseil-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary-softer);
}

.conseil-card.with-photo .conseil-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.conseil-card.with-photo:hover .conseil-photo img { transform: scale(1.04); }

.conseil-card.with-photo > .conseil-tag,
.conseil-card.with-photo > h3,
.conseil-card.with-photo > p {
  margin-left: 16px;
  margin-right: 16px;
}

.conseil-card.with-photo > .conseil-tag { margin-top: 16px; }
.conseil-card.with-photo > p:last-of-type { margin-bottom: 20px; }

/* ========== THEMEN-XL ========== */
.themen-xl {
  padding: 56px 0;
  background: var(--bg);
}

.themen-xl-list {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.themen-xl-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.themen-xl-strip {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.themen-xl-strip .marker {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--cta);
  border-radius: 3px;
  flex-shrink: 0;
}

.themen-xl-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--primary-softer);
  border-bottom: 1px solid var(--border);
}

.themen-xl-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.5s ease;
}

.themen-xl-card:hover .themen-xl-photo img { transform: scale(1.04); }

.themen-xl-card .body {
  padding: 22px 22px 26px;
}

.themen-xl-card h3 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 12px;
}

.themen-xl-card p {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.7;
}

.themen-xl-card p strong {
  color: var(--text);
  background: var(--primary-soft);
  padding: 0 3px;
  border-radius: 2px;
  font-weight: 700;
}

/* ========== FAQ ========== */
.faq {
  padding: 56px 0;
  background: var(--bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 8px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

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

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: baseline;
  letter-spacing: -0.005em;
  line-height: 1.35;
}

.faq-num {
  font-size: 11px;
  font-weight: 900;
  color: var(--primary);
  letter-spacing: 0.10em;
  flex-shrink: 0;
  padding-top: 3px;
  font-family: "SF Mono", Menlo, Consolas, monospace;
}

.faq-q .q-text {
  flex: 1;
  font-size: 15.5px;
  font-weight: 800;
}

.faq-q .sign {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--primary);
  transition: transform 0.25s;
  font-weight: 900;
  font-size: 20px;
  line-height: 22px;
  text-align: center;
}

.faq-item.open .faq-q .sign {
  transform: rotate(45deg);
  color: var(--cta);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px 0 52px;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.65;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding-bottom: 18px;
}

/* ========== FINAL CTA ========== */
.final {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 64px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.final::before {
  content: '';
  position: absolute;
  bottom: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(244, 63, 94, 0.20) 0%, transparent 60%);
  pointer-events: none;
}

.final > .container { position: relative; z-index: 1; }

.final-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cta);
  color: #ffffff;
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.final-eyebrow .live-dot {
  width: 8px; height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse-soft 1.6s ease-in-out infinite;
}

.final h2 {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 14px;
}

.final h2 .accent-highlight {
  background: linear-gradient(to top, var(--cta) 30%, transparent 30%);
  padding: 0 6px;
}

.final p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 46ch;
  margin: 0 auto 28px;
}

.final-meta {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.65);
  padding: 26px 0;
  font-size: 13px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.footer a { color: rgba(255, 255, 255, 0.85); }
.footer a:hover { color: var(--primary-light); }

.footer .legal {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  line-height: 1.5;
  max-width: 60ch;
}

/* ========== FLOATING MOBILE CALL ========== */
.mobile-call {
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  background: var(--cta);
  color: var(--cta-text) !important;
  padding: 12px 20px 12px 14px;
  border-radius: 100px;
  font-weight: 900;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px var(--cta-glow), 0 12px 34px rgba(0, 0, 0, 0.20);
  border: 2px solid var(--cta-dark);
  letter-spacing: -0.005em;
  white-space: nowrap;
}

.mobile-call:hover {
  background: var(--cta-dark);
  transform: translateX(-50%) translateY(-2px);
  color: var(--cta-text) !important;
}

.mobile-call svg { width: 18px; height: 18px; }
.mobile-call .num { font-weight: 900; font-size: 15px; }
.mobile-call .label {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.85;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-right: 2px;
}

/* ========== TABLET 640+ ========== */
@media (min-width: 640px) {
  body { padding-bottom: 0; }
  .mobile-call { display: none; }

  .hero { padding: 72px 0 88px; }
  .hero h1 { font-size: 64px; }
  .hero h1 .line-2 { font-size: 26px; }
  .hero-lead { font-size: 18px; }

  .section-head h2 { font-size: 36px; }

  .services { padding: 88px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-tile { padding: 22px 16px; }
  .service-tile h3 { font-size: 15.5px; }
  .service-tile.with-photo { padding: 0; }
  .service-tile.with-photo > h3 { padding: 16px 18px 0; font-size: 17px; }
  .service-tile.with-photo > p { padding: 6px 18px 18px; font-size: 13.5px; }

  .hero-photo { margin-top: 40px; }

  .process { padding: 88px 0; }
  .step-body { padding: 18px 22px 20px; }
  .step-body h4 { font-size: 18.5px; }
  .step-body p { font-size: 14.5px; }

  .certifs { padding: 72px 0; }
  .certifs-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .certif-card { flex-direction: column; text-align: center; padding: 22px 14px; gap: 12px; }
  .certif-card h4 { font-size: 13.5px; }
  .certif-card p { font-size: 12px; }

  .conseils { padding: 88px 0; }
  .conseils-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .conseil-card { padding: 22px 20px 24px; }
  .conseil-card h3 { font-size: 17px; }
  .conseil-card p { font-size: 14px; }
  .conseil-card.with-photo { padding: 0; }
  .conseil-card.with-photo > .conseil-tag,
  .conseil-card.with-photo > h3,
  .conseil-card.with-photo > p { margin-left: 20px; margin-right: 20px; }

  .themen-xl { padding: 88px 0; }
  .themen-xl-card .body { padding: 28px 30px 32px; }
  .themen-xl-card h3 { font-size: 24px; }
  .themen-xl-card p { font-size: 16px; }

  /* Photo beside the text: a 600px source never has to stretch across the 880px card */
  .themen-xl-card {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  }
  .themen-xl-strip { grid-column: 1 / -1; }
  .themen-xl-photo {
    position: relative;
    aspect-ratio: auto;
    min-height: 260px;
    border-bottom: none;
    border-right: 1px solid var(--border);
  }
  .themen-xl-photo img { position: absolute; inset: 0; object-position: center; }

  .faq { padding: 88px 0; }
  .faq-q .q-text { font-size: 17px; }
  .faq-q { padding: 22px 24px; gap: 16px; }
  .faq-a { padding: 0 24px 0 60px; }
  .faq-item.open .faq-a { padding-bottom: 20px; }

  .final { padding: 96px 0 110px; }
  .final h2 { font-size: 52px; }
  .final p { font-size: 17px; }
}

/* ========== DESKTOP 1024+ ========== */
@media (min-width: 1024px) {
  .hero h1 { font-size: 76px; }
  .hero h1 .line-2 { font-size: 30px; }

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

  .conseils-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }

  .final h2 { font-size: 64px; }
}

/* ========== ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: var(--radius-sm); }
