

:root {
  --text-3: #4B5A66;   
  --text-4: #5E6E7B;   
  --label:  #075E6B;   

  
  --r-pill: 40px;
  --r-lg:   24px;
  --r-md:   16px;
}

h1, h2,
.services-header h2, .process-section h2, .cta-card h2, .form-step h2,
.apropos-content h2, .probleme-section h2, .form-confirmation h2,
.svc-page-hero h1, .svc-cas-section h2, .svc-tarif-section h2,
.svc-faq-section h2, .svc-desc-section h2 {
  text-wrap: balance;
}
body {
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

.svc-body, .process-body, .pb-body, .apropos-body p,
.cta-right p, .step-subtitle, .services-subtitle {
  max-width: 62ch;
}

.section-label, .hero-tag, .svc-tag, .step-label, .cta-label,
.pb-tag, .sbw-eyebrow, .cas-label,
.svc-cas-section .section-label, .svc-tarif-section .section-label,
.svc-faq-section .section-label {
  color: var(--label);
  opacity: 1;
}

.tarif-card:not(.featured) .tarif-name {
  color: var(--label);
  opacity: 1;
}
.section-label::before, .hero-tag::before { background: var(--label); opacity: 0.8; }

.footer-code, .apropos-code-line, .footer-col-label,
.footer-bottom span, .footer-bottom .footer-code-line,
.apropos-photo figcaption { color: var(--text-4); }

.nav-announce {
  position: absolute;
  top: calc(100% - 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(233,238,243,0.94);
  box-shadow: var(--raised-xs);
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 200ms var(--ease);
}
.nav-announce:hover { color: var(--copper); }
.nav-announce .announce-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  
  .nav-announce { display: none; }
}

.hero-tag { margin-bottom: 22px; letter-spacing: 0.14em; }
.section-label, .svc-tag, .step-label, .cta-label { letter-spacing: 0.14em; }

.neu-btn { letter-spacing: 0.005em; }
.neu-btn.primary {
  box-shadow:
    4px 5px 13px rgba(7, 60, 70, 0.34),
    -2px -2px 7px rgba(255, 255, 255, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.neu-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow:
    6px 8px 18px rgba(7, 60, 70, 0.42),
    -2px -2px 8px rgba(255, 255, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.neu-btn.primary:active { transform: scale(0.975); }

.svc-card:hover, .cas-card:hover, .tarif-card:hover {
  box-shadow:
    11px 13px 28px rgba(30, 38, 48, 0.24),
    0 0 0 1px rgba(10, 124, 140, 0.28);
}

.field input:focus,
.field textarea:focus {
  box-shadow: var(--pressed-sm), 0 0 0 3px rgba(10, 124, 140, 0.32);
}
.service-option.selected { color: var(--label); }
::placeholder { color: var(--text-4); opacity: 1; }

.nav-link[aria-current="page"] { color: var(--label); }
.footer-link:hover, .nav-drawer-link:hover { color: var(--label); }

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (max-width: 639px) {
  body::before { display: none; }
  .main-nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(233,238,243,0.96); }
  .hero-text { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: color-mix(in srgb, var(--bg) 90%, transparent) !important; }
  .apropos-content { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(233,238,243,0.92); }
}

.neu-btn.primary, .svc-card, .cas-card, .tarif-card {
  transition:
    transform 260ms var(--ease-snap),
    box-shadow 260ms var(--ease-snap);
}
@media (prefers-reduced-motion: reduce) {
  body::before { opacity: 0.02; }
}

.to-top { display: none; }
.faq-seemore { display: none; }

@media (max-width: 639px) {

  
  :root {
    --raised:    5px 6px 14px rgba(30, 38, 48, 0.16);
    --raised-sm: 3px 4px 9px  rgba(30, 38, 48, 0.15);
    --raised-xs: 2px 3px 6px  rgba(30, 38, 48, 0.14);
  }
  .svc-card, .pb-card, .process-card, .temo-card,
  .cas-card, .tarif-card, .sbw {
    border: 1px solid rgba(30, 38, 48, 0.06);
  }

  
  .nav-link, .footer-link, .svc-cta, .service-option, .faq-question {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .neu-btn.sm { min-height: 44px; }
  .neu-btn.md, .neu-btn.lg { min-height: 48px; }
  .nav-burger, .nav-drawer-close { width: 44px; height: 44px; }

  
  .temoignages-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    grid-template-columns: none;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: none;
  }
  .temoignages-grid::-webkit-scrollbar { display: none; }
  .temoignages-grid > * { scroll-snap-align: start; }

  
  .temoignages-grid .temo-card.sr,
  .faq-list .faq-item.sr {
    opacity: 1;
    animation: none;
  }

  
  .js-enh .services-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .js-enh .svc-card.svc-accordion {
    position: relative;
    cursor: pointer;
  }
  .js-enh .svc-card.svc-accordion::after {
    content: '';
    position: absolute;
    top: 34px;
    right: 24px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--label);
    border-bottom: 2px solid var(--label);
    transform: rotate(45deg);
    transition: transform 220ms var(--ease-snap);
  }
  .js-enh .svc-card.svc-accordion.open::after { transform: rotate(-135deg); }
  .js-enh .svc-card.svc-accordion:not(.open) .svc-body,
  .js-enh .svc-card.svc-accordion:not(.open) .svc-items { display: none; }

  
  .js-enh .garanties-head { position: relative; }
  .js-enh .gar-toggle {
    margin-top: 16px;
    width: 100%;
  }
  .js-enh .garanties-card:not(.open) .garanties-list { display: none; }

  
  .js-enh .cas-grid, .js-enh .tarif-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .js-enh .cas-card, .js-enh .tarif-card {
    position: relative;
    cursor: pointer;
    padding-right: 44px;
  }
  .js-enh .cas-card::after, .js-enh .tarif-card::after {
    content: '';
    position: absolute;
    top: 26px;
    right: 24px;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--label);
    border-bottom: 2px solid var(--label);
    transform: rotate(45deg);
    transition: transform 220ms var(--ease-snap);
  }
  .js-enh .tarif-card.featured::after { border-color: rgba(255, 255, 255, 0.9); }
  .js-enh .cas-card.open::after, .js-enh .tarif-card.open::after {
    transform: rotate(-135deg);
  }
  .js-enh .cas-card:not(.open) .cas-body { display: none; }
  .js-enh .tarif-card:not(.open) .tarif-desc,
  .js-enh .tarif-card:not(.open) .tarif-note { display: none; }

  
  .js-enh .probleme-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .js-enh .probleme-grid .pb-title {
    cursor: pointer;
    position: relative;
    padding-right: 28px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .js-enh .probleme-grid .pb-title::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--label);
    border-bottom: 2px solid var(--label);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 220ms var(--ease-snap);
  }
  .js-enh .probleme-grid .pb-card.open .pb-title::after {
    transform: translateY(-30%) rotate(-135deg);
  }
  .js-enh .probleme-grid .pb-card:not(.open) .pb-body { display: none; }

  
  .js-enh .faq-list.is-collapsed .faq-item:nth-child(n+4) { display: none; }
  .js-enh .faq-seemore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
  }

  
  .to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 240;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--label);
    box-shadow: var(--raised-sm);
    font-size: 20px;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 240ms var(--ease-snap), transform 240ms var(--ease-snap);
  }
  .to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.hero { padding: 92px 40px 48px; }

.dial--sm { --ds: 170px; }
.hero-dial--v11 {
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 20px;
  max-width: 440px;
  width: 100%;
  justify-self: center;
}
.hero-dial-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.hero-dial-top .dial-time { font-size: 12px; }

.hero-svc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hsvc {
  background: var(--bg);
  border-radius: var(--r-md, 16px);
  box-shadow: var(--raised-sm);
  overflow: hidden;
  transition: box-shadow 250ms var(--ease);
}
.hsvc[open] { box-shadow: var(--raised); }
.hsvc-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.hsvc-summary::-webkit-details-marker { display: none; }
.hsvc-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: var(--raised-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  flex-shrink: 0;
  transition: color 150ms var(--ease-snap);
}
.hsvc[open] .hsvc-icon,
.hsvc-summary:hover .hsvc-icon { color: var(--copper); }
.hsvc-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.hsvc-tag {
  font-family: var(--font-m);
  font-size: 11px;
  color: var(--label, var(--copper));
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hsvc-title {
  font-family: var(--font-d);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1.25;
}
.hsvc-chevron {
  color: var(--text-3);
  flex-shrink: 0;
  transition: transform 250ms var(--ease);
}
.hsvc[open] .hsvc-chevron { transform: rotate(180deg); }
.hsvc-body {
  padding: 0 16px 14px 66px;
}
.hsvc-body p {
  font-family: var(--font-b);
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 8px;
}

.hsvc-btn { margin-top: 8px; font-size: 12px; padding: 6px 14px; }

.hero-stats { gap: 8px; }
.stat-tile { padding: 9px 13px; border-radius: 12px; min-width: 0; }
.stat-n { font-size: 16px; }
.stat-l { font-size: 10.5px; margin-top: 2px; }
.hero-ctas { margin-bottom: 26px; }

@media (max-width: 1024px) {
  .dial--sm { --ds: 150px; }
}

@media (max-width: 720px) {
  .hero { padding: 84px 20px 44px; }
  .hero-inner { gap: 28px; }
  .dial--sm { --ds: 120px; }
  .hero-dial--v11 { max-width: 100%; gap: 14px; }
  .hero-dial-top { gap: 12px; }
  .hsvc-body { padding-left: 16px; }
}

/* Cartes de tarifs : prix sous le texte, aligné en bas de carte */
.tarif-card .tarif-price { margin-top: auto; }
.tarif-card .tarif-note { margin-top: 0; }
.tarif-note a { color: inherit; font-weight: 600; }

/* Exemples : phrase d'introduction et carte large (prospection) */
.cas-intro { font-family: var(--font-b); font-size: 17px; line-height: 1.6; color: var(--text-2); max-width: 720px; margin: -8px 0 28px; }
.cas-card--wide { grid-column: 1 / -1; }

/* Page entretien : bloc des conditions communes sous les formules */
.entretien-conditions { margin-top: 32px; }
