/* ==========================================================
   LÉO GAY-ODOUX — Consultant Web Annecy
   Design tokens : fond marbré sombre, glassmorphism, dégradés
   ========================================================== */

:root {
  --bg: #07070c;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.22);
  --text-hi: #f5f5f7;
  --text-lo: #9ba0ae;
  --text-faint: #6b7080;
  --accent-1: #3b82f6;
  --accent-2: #8b5cf6;
  --accent-3: #22d3ee;
  --gradient: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  --radius: 1rem;
  --radius-lg: 1.25rem;
  --shadow-glow: 0 0 60px rgba(59, 130, 246, 0.15);
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-hi);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* Dimensionnement par défaut de toutes les icônes SVG (sans attribut width/height,
   ce qui exclut le logo qui définit ses propres dimensions). Corrige les icônes
   qui s'affichaient à une taille par défaut du navigateur, bien trop grande. */
svg:not([width]) {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn .icon-arrow,
.card-link svg,
.footer-cta-link svg {
  width: 14px;
  height: 14px;
}

.phone-chip .icon-wrap svg {
  width: 12px;
  height: 12px;
}

.icon-box svg {
  width: 20px;
  height: 20px;
}

.contact-info-icon svg {
  width: 18px;
  height: 18px;
}

.success-icon svg {
  width: 26px;
  height: 26px;
}

.upcoming-icon svg {
  width: 20px;
  height: 20px;
}

.project-tag svg {
  width: 14px;
  height: 14px;
}

.value-icon-box svg {
  width: 15px;
  height: 15px;
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
}

.form-field label svg {
  width: 13px;
  height: 13px;
}

.service-block-bullets svg {
  width: 14px;
  height: 14px;
}

.zone-heading-icon svg {
  width: 16px;
  height: 16px;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(34, 211, 238, 0.3);
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-md {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-sm {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---------- Ambient background ---------- */

.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.ambient-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 0px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.3) 0px, transparent 1px);
  background-size: 3px 3px, 4px 4px;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.glow-1 {
  top: -10rem;
  left: -10rem;
  width: 32rem;
  height: 32rem;
  background: rgba(59, 130, 246, 0.1);
}

.glow-2 {
  top: 33%;
  right: -10rem;
  width: 28rem;
  height: 28rem;
  background: rgba(139, 92, 246, 0.1);
}

.glow-3 {
  bottom: 0;
  left: 25%;
  width: 26rem;
  height: 26rem;
  background: rgba(34, 211, 238, 0.1);
}

/* ---------- Typography helpers ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(1.5rem, 3.8vw, 2.15rem);
  line-height: 1.25;
}

h2 {
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  line-height: 1.28;
}

h3 {
  font-size: 0.92rem;
}

p {
  color: var(--text-lo);
  margin: 0;
}

.section-title {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.9rem 1.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  border: none;
  overflow: hidden;
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-3);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gradient);
  background-size: 130% 130%;
  background-position: 0% 50%;
  transition: background-position 0.4s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
}

.btn-outline:hover {
  border-color: rgba(34, 211, 238, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.btn-full {
  width: 100%;
  padding: 1.1rem;
}

.icon-arrow {
  transition: transform 0.25s ease;
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

/* ---------- Phone chip ---------- */

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.header-actions .phone-chip {
  padding: 0.32rem 0.75rem 0.32rem 0.32rem;
  font-size: 0.72rem;
  gap: 0.35rem;
}

.header-actions .phone-chip .icon-wrap {
  width: 1.3rem;
  height: 1.3rem;
}

.phone-chip:hover {
  border-color: rgba(34, 211, 238, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.phone-chip .icon-wrap {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #05050a;
  flex-shrink: 0;
}

.center {
  justify-content: center;
  width: 100%;
}

/* ---------- Glass card ---------- */

.card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(18, 18, 26, 0.92);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.card.hoverable:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--surface-hover);
}

.card-dashed {
  border-style: dashed;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 8, 12, 0.85);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(6, 6, 10, 0.96);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  padding-top: max(0.7rem, env(safe-area-inset-top));
  max-width: 1280px;
  margin: 0 auto;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-text {
  line-height: 1.25;
}

.logo-name {
  font-weight: 700;
  letter-spacing: 0.01em;
  font-size: 0.85rem;
  color: var(--text-hi);
}

.logo-role {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-lo);
}

.main-nav {
  display: none;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.05rem;
  flex: 1;
  min-width: 0;
}

.main-nav a {
  position: relative;
  padding: 0.5rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 999px;
  color: var(--text-lo);
  white-space: nowrap;
  word-break: keep-all;
  hyphens: none;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text-hi);
}

.main-nav a.active {
  color: var(--text-hi);
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0.6rem;
  right: 0.6rem;
  bottom: -1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-3));
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.header-actions .btn {
  padding: 0.5rem 0.95rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.burger {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0.65rem;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 20;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mobile-nav-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  position: relative;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.close-line {
  position: absolute;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.close-line:first-child {
  transform: rotate(45deg);
}

.close-line:last-child {
  transform: rotate(-45deg);
}

/* Mobile nav overlay */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: #08080c;
  display: block;
  cursor: pointer;
}

.mobile-nav-panel {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #08080c;
}

.maquette-card {
  overflow: hidden;
  padding: 0;
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  width: 100%;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.maquette-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  background: #000;
}

.maquette-modal.open {
  display: flex;
}

.maquette-modal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: #0a0a0f;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.maquette-modal-title {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.maquette-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.maquette-modal-link {
  font-size: 0.82rem;
  color: var(--text-lo);
  white-space: nowrap;
  display: none;
}

.maquette-modal-link:hover {
  color: var(--text-hi);
}

.maquette-modal-close {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-hi);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.maquette-modal-close svg {
  width: 16px;
  height: 16px;
}

.maquette-modal-content {
  flex: 1;
  width: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: #000;
  position: relative;
  z-index: 1;
}

.maquette-modal-loading {
  position: absolute;
  inset: 0;
  top: 57px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: #0a0a0f;
  color: var(--text-lo);
  font-size: 0.85rem;
  z-index: 2;
}

.maquette-modal-loading.visible {
  display: flex;
}

.maquette-spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--accent-1);
  animation: maquette-spin 0.7s linear infinite;
}

@keyframes maquette-spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 700px) {
  .maquette-modal-link {
    display: inline-block;
  }
}

.maquette-media {
  position: relative;
  height: 11rem;
}

.maquette-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.maquette-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
}

.maquette-body {
  padding: 1.5rem;
}

.maquette-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.maquette-body p {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.maquette-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.maquette-tag {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-lo);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-links a {
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-lo);
  font-size: 1.05rem;
  font-weight: 500;
}

.mobile-nav-links a.active {
  color: var(--text-hi);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.08);
}

.mobile-nav-bottom {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 6rem;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-lo);
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent-3);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-actions .btn {
  width: 250px;
  font-size: 0.88rem;
  justify-content: center;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.hero-phone {
  margin-top: 1.5rem;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 4rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  max-width: 760px;
  margin: 0 auto 1.25rem;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Sections ---------- */

section {
  padding: 4rem 0;
}

.section-tight {
  padding: 2.5rem 0;
}

/* ---------- Grids ---------- */

.grid {
  display: grid;
  gap: 1.25rem;
}

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

.grid-3 {
  grid-template-columns: 1fr;
}

.grid-4 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .span-2-desktop {
    grid-column: span 2;
  }
}

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

/* ---------- Service / feature cards ---------- */

.service-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-align: center;
  align-items: center;
}

.service-card-link h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .service-card-link h3 {
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.service-card-link p {
  font-size: 0.9rem;
  text-align: center;
  flex: 1;
}

.card-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-3);
}

/* Detailed service block (services.html) — design compact et sobre */

.service-block {
  padding: 1.6rem 1.75rem;
  display: flex;
  gap: 1.1rem;
  flex-direction: column;
  border-radius: 0.85rem;
  border-color: var(--border);
}

@media (min-width: 640px) {
  .service-block { flex-direction: row; align-items: flex-start; }
}

.service-block .icon-box {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.7rem;
}

.service-block .icon-box svg {
  width: 19px;
  height: 19px;
}

.service-block-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
  text-align: left;
}

.service-block p {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 0.9rem;
}

.service-block-bullets {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  margin: 0 0 1.1rem;
}

.service-block-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.service-block .btn-outline {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.service-block-bullets svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent-3);
}

/* ---------- Step preview cards (accueil) ---------- */

.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 640px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

.step-card {
  padding: 1.75rem 1.35rem 2.25rem;
  text-align: center;
  border-width: 2px;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.step-card .step-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-lo);
  margin-bottom: 0.85rem;
}

.step-card .icon-box {
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.5rem;
  margin-bottom: 1.1rem;
}

.step-card .icon-box svg {
  width: 13px;
  height: 13px;
}

.step-card h3 {
  font-size: 1.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.6rem;
}

.step-card p {
  font-size: 0.98rem;
  line-height: 1.5;
}

/* ---------- Timeline (méthode) ---------- */

.timeline {
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

.timeline-icon {
  display: none;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.16), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.14);
  align-items: center;
  justify-content: center;
  color: var(--accent-3);
}

@media (min-width: 640px) {
  .timeline-icon { display: flex; }
}

.timeline-item:nth-child(3n+2) .timeline-icon {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.18), rgba(59, 130, 246, 0.1));
  color: var(--accent-2);
}

.timeline-item:nth-child(3n) .timeline-icon {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.18), rgba(139, 92, 246, 0.1));
  color: var(--accent-3);
}

.timeline-content {
  flex: 1;
  padding: 1.1rem 1.35rem;
  border-left: 3px solid var(--accent-1);
}

.timeline-item:nth-child(3n+2) .timeline-content {
  border-left-color: var(--accent-2);
}

.timeline-item:nth-child(3n) .timeline-content {
  border-left-color: var(--accent-3);
}

.timeline-content h3 {
  font-size: 1.2rem;
}

.timeline-content p {
  font-size: 1rem;
  line-height: 1.55;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.timeline-step {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-lo);
}

.timeline-duration {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent-3);
}

.timeline-deliverable {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-top: 0.85rem;
}

/* ---------- Réalisations ---------- */

.project-card {
  overflow: hidden;
  padding: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.project-media {
  position: relative;
  height: 18rem;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.05) 60%, transparent);
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-hover);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.7rem;
  font-weight: 500;
}

.project-heading {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
}

.project-body {
  padding: 1.75rem;
}

.project-tags {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
  margin-top: 1.25rem;
}

.project-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  padding: 0.85rem 0.5rem;
}

.project-tag svg {
  color: var(--accent-3);
  margin-bottom: 0.35rem;
}

.project-tag span {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.upcoming-card {
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.upcoming-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--text-lo);
}

.tag-soon {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-faint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-top: 1.5rem;
}

.project-badge-done {
  background: rgba(16, 40, 30, 0.75);
  border-color: rgba(52, 211, 153, 0.45);
  color: #6ee7b7;
}

.project-badge-done::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  margin-right: 0.4rem;
}

/* ---------- Value grid (à propos) ---------- */

.value-card {
  padding: 1.65rem;
}

.value-icon-box {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-3);
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.value-card p {
  font-size: 0.85rem;
}

/* ---------- À propos : signature & médaillon portrait ---------- */

.about-media {
  position: relative;
}

.about-media::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 1.1rem;
  background: var(--gradient);
  opacity: 0.35;
  filter: blur(18px);
  z-index: -1;
}

.pull-quote {
  position: relative;
  margin: 1.75rem auto 0;
  padding: 1.25rem 1.5rem;
  max-width: 640px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.85rem;
  text-align: center;
  font-size: 0.92rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Zone tags ---------- */

.zone-map-card {
  padding: 0;
  overflow: hidden;
  line-height: 0;
  min-width: 0;
}

.zone-map-card iframe {
  width: 100%;
  max-width: 100%;
  display: block;
  box-sizing: border-box;
  filter: saturate(0.85) brightness(0.92) contrast(1.05);
}

.zone-heading {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.zone-tags span {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
}

.zone-tags span.zone-tag-region {
  color: #fff;
  font-weight: 600;
  border-color: rgba(34, 211, 238, 0.5);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(34, 211, 238, 0.1));
}

/* ---------- CTA banner ---------- */

.cta-banner {
  position: relative;
  text-align: center;
  padding: 3rem 1.5rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .cta-banner { padding: 4rem 3.5rem; }
  .cta-banner h3 { white-space: nowrap; }
}

.cta-banner .glow {
  top: -6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 36rem;
  height: 14rem;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2), rgba(34, 211, 238, 0.2));
}

.cta-banner h3 {
  position: relative;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  position: relative;
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.cta-banner-actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-banner-actions .btn {
  padding: 0.75rem 1.4rem;
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .cta-banner-actions { flex-direction: row; justify-content: center; }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.4);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding: 3.5rem 0;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

.footer-grid h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 1rem;
}

.footer-grid p {
  font-size: 0.875rem;
  max-width: 20rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-lo);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-lo);
  margin-bottom: 0.65rem;
}

.footer-contact-item svg {
  color: var(--accent-3);
  flex-shrink: 0;
}

.footer-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--accent-3);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-faint);
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 2fr 3fr; }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon.filled {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #05050a;
}

.contact-info-icon.outline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--accent-3);
}

.contact-info-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-lo);
  margin-bottom: 0.15rem;
}

.contact-info-value {
  display: block;
  font-weight: 600;
  color: var(--text-hi);
}

.contact-form-card {
  padding: 1.75rem;
}

@media (min-width: 640px) {
  .contact-form-card { padding: 2.25rem; }
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.5rem;
}

.form-field label svg {
  color: var(--accent-3);
}

.required {
  color: var(--accent-3);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239ba0ae' stroke-width='2' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-field select option {
  background: #0a0a0f;
  color: #fff;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-faint);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(34, 211, 238, 0.6);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15);
}

.form-error {
  color: #f87171;
  font-size: 0.75rem;
  margin-top: 0.4rem;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 1rem;
}

.form-success {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 34rem;
  margin: 0 auto;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #05050a;
}

/* ---------- Utility ---------- */

.mb-0 { margin-bottom: 0 !important; }
.mt-lg { margin-top: 2.5rem; }
.text-center { text-align: center; }
.hidden { display: none !important; }

.about-media {
  padding: 0.5rem;
}

.about-media img {
  border-radius: 0.85rem;
  height: 24rem;
  object-fit: cover;
  width: 100%;
}

.about-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-layout { grid-template-columns: 2fr 3fr; }
}

.reassurance-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
}

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

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 2rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.check-bullet {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #05050a;
}

.reassurance-media {
  padding: 0.5rem;
}

.reassurance-media img {
  border-radius: 0.85rem;
  height: 20rem;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 1120px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
  }
  .main-nav { display: flex; }
  .header-actions { display: flex; }
  .burger { display: none; }
}

/* ---------- Ajustements MOBILE uniquement (n'affectent pas le desktop) ---------- */

.text-mobile-only {
  display: none;
}

@media (max-width: 767px) {
  .text-desktop-only {
    display: none;
  }

  .text-mobile-only {
    display: inline;
  }

  .justify-mobile {
    text-align: justify;
  }

  .center-mobile {
    text-align: center;
  }

  .small-text-mobile {
    font-size: 0.9rem;
  }

  .maquette-modal-bar {
    padding: 0.65rem 0.85rem;
  }

  .maquette-modal-title {
    font-size: 0.85rem;
  }

  .maquette-modal-close {
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
  }

  .maquette-modal-loading {
    top: 49px;
  }

  .maquette-tags {
    flex-wrap: nowrap;
    gap: 0.3rem;
  }

  .maquette-tag {
    font-size: 0.58rem;
    padding: 0.2rem 0.45rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .zone-tags span {
    font-size: 0.68rem;
    padding: 0.3rem 0.65rem;
  }

  .btn {
    white-space: normal;
    text-align: center;
  }

  .service-card-link h3 {
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .service-card-link p {
    font-size: 0.85rem;
  }

  .check-list {
    align-items: center;
  }

  .check-list li {
    justify-content: center;
    text-align: center;
  }

  .service-block p {
    font-size: 0.88rem;
  }

  .timeline-content h3 {
    font-size: 1.2rem;
  }

  .timeline-content p {
    font-size: 0.88rem;
  }

  .timeline-deliverable {
    display: flex;
    justify-content: center;
    text-align: center;
  }

  /* Contours colorés (comme la timeline méthode), mobile uniquement */
  .service-card {
    border-left: 3px solid var(--accent-1);
  }
  .service-card:nth-child(3n+2) {
    border-left-color: var(--accent-2);
  }
  .service-card:nth-child(3n) {
    border-left-color: var(--accent-3);
  }

  .step-card {
    border-left: 3px solid var(--accent-1);
  }
  .step-card:nth-child(3n+2) {
    border-left-color: var(--accent-2);
  }
  .step-card:nth-child(3n) {
    border-left-color: var(--accent-3);
  }

  .service-block {
    border-left: 3px solid var(--accent-1);
  }
  .service-block:nth-child(3n+2) {
    border-left-color: var(--accent-2);
  }
  .service-block:nth-child(3n) {
    border-left-color: var(--accent-3);
  }
}

/* ---------- Bandeau cookies ---------- */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10, 10, 16, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-banner-inner p {
  margin: 0;
  color: var(--text-lo);
  font-size: 0.9rem;
  flex: 1 1 320px;
}

.cookie-banner-inner p a {
  color: var(--accent-3);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-banner-actions .btn {
  padding: 0.7rem 1.35rem;
  font-size: 0.88rem;
}

@media (max-width: 640px) {
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-actions .btn {
    flex: 1 1 auto;
  }
}

.cookie-manage-link {
  background: none;
  border: none;
  padding: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-manage-link:hover {
  color: var(--text-hi);
}

/* ---------- Pages légales (contenu texte long) ---------- */

.legal-content {
  color: var(--text-lo);
  font-size: 0.98rem;
  line-height: 1.7;
}

.legal-content h2 {
  color: var(--text-hi);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  color: var(--text-hi);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--accent-3);
}

.legal-content .legal-updated {
  color: var(--text-faint);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.legal-content .legal-placeholder {
  background: rgba(139, 92, 246, 0.12);
  border: 1px dashed rgba(139, 92, 246, 0.5);
  border-radius: 0.5rem;
  padding: 0.15rem 0.4rem;
  color: #c4b5fd;
  font-style: normal;
}


/* ---------- Texte justifié sans trous ni mot seul ---------- */
main section:not(.page-hero) p:not(.rb-quote):not(.form-note):not(.cta-banner p),
main li, .faq-item .faq-answer, .sector-block p {
  text-align: justify; text-align-last: auto;
  hyphens: none !important; -webkit-hyphens: none !important; overflow-wrap: normal;
}
.cta-banner p, .page-hero p { text-align: center; }
.footer-social { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-top: 1rem; border: 1px solid var(--border); border-radius: 50%; color: var(--text-hi); transition: border-color .2s, color .2s; }
.footer-social svg { width: 18px; height: 18px; }
.footer-social:hover { border-color: var(--accent-3); color: var(--accent-3); }
/* ---------- Bannière avis Google (système connect-google-reviews) ---------- */
.reviews-banner {
  margin-top: 0;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
}
.rb-score { display: flex; flex-direction: column; gap: 0.15rem; min-width: 150px; }
.rb-num { font-size: 1.9rem; font-weight: 800; color: var(--text-hi); line-height: 1; }
.rb-stars { color: var(--accent-3); letter-spacing: 2px; font-size: 0.85rem; margin-top: 0.15rem; }
.rb-count { font-size: 0.8rem; color: var(--text-lo); margin-top: 0.15rem; }
.rb-divider { width: 1px; align-self: stretch; background: var(--border); }
@media (max-width: 640px) { .rb-divider { display: none; } }
.rb-track { flex: 1; min-width: 220px; overflow: hidden; }
.rb-content { transform: translateX(0); opacity: 1; transition: transform 0.4s ease, opacity 0.4s ease; }
.rb-content.rb-out { transform: translateX(44px); opacity: 0; }
.rb-content.rb-in { transform: translateX(-44px); opacity: 0; }
.rb-quote { font-style: italic; font-size: 0.98rem; color: var(--text-hi); margin: 0; text-align: left; overflow-wrap: break-word; }
.rb-tag { display: block; margin-top: 0.5rem; font-size: 0.82rem; color: var(--text-lo); }
.rb-date { color: var(--accent-3); font-weight: 500; }
.rb-dots { display: flex; align-items: center; gap: 0.5rem; align-self: flex-end; }
.rb-dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 1px solid var(--accent-2); background: transparent; cursor: pointer; flex-shrink: 0; }
.rb-dot.active { background: var(--accent-2); }
.rb-counter { font-size: 0.78rem; color: var(--text-lo); white-space: nowrap; }
.rb-mini-stars { color: var(--accent-3); font-size: 0.78rem; letter-spacing: 1px; margin-right: 0.4rem; }
@media (max-width: 640px) {
  .reviews-banner { flex-direction: column; align-items: flex-start; }
  .rb-track { width: 100%; }
  .rb-dots { align-self: flex-start; margin-top: 0.6rem; }
}

/* ---------- FAQ (pages services) ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.4rem;
  font-weight: 600;
  color: var(--text-hi);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent-1);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  padding: 0 1.4rem 1.25rem;
  color: var(--text-lo);
  font-size: 0.92rem;
  text-align: justify;
}

/* ---------- Blocs secteurs (page zone) ---------- */
.sector-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .sector-grid { grid-template-columns: 1fr 1fr; } }
.sector-block { padding: 1.5rem 1.75rem; }
.sector-block h3 { margin-bottom: 0.6rem; font-size: 1.05rem; }
.sector-block p { font-size: 0.88rem; color: var(--text-lo); text-align: justify; margin: 0; }

/* ---------- Footer : colonne Services (liens internes) ---------- */
.footer-links.footer-links-services a { font-size: 0.85rem; }

.pourqui-text { max-width: 40rem; margin: 0 auto; text-align: center !important; }
.step-card p, .service-card p { text-align: center !important; text-wrap: balance; }
@media (min-width: 1024px) {
  .grid-4.grid-wide2 { grid-template-columns: repeat(2, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; }
}
/* ---------- Desktop : cartes plus larges pour un texte justifié sans trous ---------- */
@media (min-width: 768px) {
  .step-grid { max-width: 920px; gap: 1.75rem; }
  .step-card { padding: 1.75rem 1.75rem 2.25rem; }
  .step-card p { font-size: 0.95rem; }
}
[hidden] { display: none !important; }
/* ---------- Bouton Appeler (mobile) ---------- */
.call-fab { display: none; }
@media (max-width: 767px) {
  .call-fab { display: inline-flex; align-items: center; gap: .5rem; position: fixed; right: 1rem; bottom: 1rem; z-index: 900; padding: .8rem 1.15rem; border-radius: 999px; background: linear-gradient(90deg, var(--accent-1), var(--accent-2)); color: #fff; font-weight: 600; font-size: .95rem; box-shadow: 0 8px 24px rgba(0,0,0,.45); }
  .call-fab svg { width: 18px; height: 18px; }
  body { padding-bottom: 4.5rem; }
}
:focus-visible { outline: 2px solid var(--accent-3); outline-offset: 3px; }

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