/* CARVAJAL EXPERTISES — V1.5.8 : raccords éditoriaux et confort de scroll.
   Ajustements de surface uniquement : aucune retouche des contenus, des images
   métier, des formulaires, des scripts ou du panorama d'Angoulême. */
:root{--ce-bridge-cream:#f8f8f4;--ce-bridge-soft:#fafaf6;--ce-bridge-green:#f5f6ee}

/* HERO -> DEVIS : au lieu d'une bande sombre horizontale, une lumière
   identique en bordure des deux photographies. Leur cadrage est inchangé. */
.hero{isolation:isolate}
.hero::after{
  content:"";position:absolute;inset:auto 0 0;
  height:clamp(68px,7vw,104px);opacity:1;
  background:linear-gradient(to bottom,
    rgba(238,235,225,0) 0%,rgba(238,235,225,.07) 24%,
    rgba(237,234,225,.44) 72%,#eeeae1 100%);
  pointer-events:none;z-index:1;
}
#devis.quote-premium{
  margin-top:0;
  padding-top:clamp(76px,6.65vw,102px);
  background-color:#eeeae1;
}
#devis.quote-premium::before{
  background:
    linear-gradient(180deg,#eeeae1 0%,rgba(240,236,227,.94) 17px,
      rgba(243,240,232,.55) 58px,rgba(246,243,235,.14) 112px,
      rgba(246,243,235,0) 176px),
    linear-gradient(90deg,rgba(252,249,242,.63) 0%,
      rgba(254,251,246,.46) 40%,rgba(254,251,246,.09) 75%,
      rgba(255,255,255,.03) 100%);
}
/* DEVIS -> CABINET : une seule surface au lieu d'une barre + d'un rectangle
   clair superposé. Suppression du placage blanc côté texte du cabinet. */
#devis.quote-premium{padding-bottom:clamp(46px,4.2vw,60px)}
#devis.quote-premium::after{
  height:clamp(90px,8.5vw,138px);
  background:linear-gradient(to bottom,rgba(248,248,244,0) 0%,
    rgba(248,248,244,.27) 31%,rgba(248,248,244,.73) 66%,
    #f8f8f4 100%);
}
#devis + #cabinet.cabinet-v13{
  margin-top:0;position:relative;
  padding-top:clamp(40px,4.5vw,60px);
  padding-bottom:clamp(64px,5.7vw,80px);
  background:linear-gradient(180deg,#f8f8f4 0%,#f9faf6 52%,#fafaf6 100%);
  border-top:0;
}
#devis + #cabinet.cabinet-v13::before{content:none}
#cabinet .cabinet-v13-intro::before{content:none}
#cabinet .cabinet-v13-intro{padding-top:clamp(8px,.8vw,13px)}

/* Cabinet / diagnostics / comparatif : limiter les espaces sans coller
   les cartes, en tenant compte de la taille du titre et du support. */
#prestations.services-section-premium{
  padding-top:clamp(49px,4.8vw,65px);
  padding-bottom:clamp(35px,3.5vw,49px);
  background:linear-gradient(180deg,#fafaf6 0%,#fefdfa 22%,#f9faf6 65%,#f5f6ee 100%);
}
#prestations.services-section-premium::before{height:32px;background:linear-gradient(180deg,#fafaf6 0%,rgba(250,250,246,0) 100%)}
#prestations .diagnostics-ledger-v151{padding-bottom:0}
#prestations + #dpe-audit.energy-decision{
  margin-top:-9px;padding-top:clamp(38px,3.7vw,49px);
  background:linear-gradient(180deg,#f5f6ee 0%,#f6f7f0 33%,#f7f7f2 80%,#f4f6ef 100%);
}
#prestations + #dpe-audit.energy-decision::before{
  height:clamp(35px,4vw,52px);
  background:linear-gradient(180deg,rgba(245,246,238,.94) 0%,rgba(245,246,238,0) 100%);
}
#dpe-audit .energy-heading-meta{margin-bottom:11px}
#dpe-audit .energy-decision-head{margin-bottom:clamp(23px,2.6vw,32px)}
#dpe-audit + #implantations.address-section{
  background:linear-gradient(180deg,#f4f6ef 0%,#f7f8f3 58%,#fafaf7 100%);
}
#implantations + #temoignages.trust-section{
  background:linear-gradient(180deg,#fafaf7 0%,#fffefa 22%,#fffefa 84%,#fbfaf6 100%);
}
/* Anchor target rests under sticky header without double-offset. */
html{scroll-padding-top:0!important}
main section[id],footer{scroll-margin-top:var(--ce-nav-offset)}

@media(max-width:860px){
  .hero::after{height:clamp(58px,8vw,80px)}
  #devis.quote-premium{padding-top:clamp(66px,8vw,78px);padding-bottom:49px}
  #devis.quote-premium::before{
    background:linear-gradient(180deg,#eeeae1 0%,rgba(244,240,232,.83) 32px,
      rgba(250,247,240,.45) 78px,rgba(255,252,247,.70) 145px,
      rgba(255,252,247,.68) 100%);
  }
  #devis + #cabinet.cabinet-v13{padding-top:44px;padding-bottom:62px}
  #prestations.services-section-premium{padding-top:44px;padding-bottom:43px}
  #prestations + #dpe-audit.energy-decision{padding-top:35px}
}
@media(max-width:560px){
  .hero::after{height:62px;background:linear-gradient(180deg,transparent 0%,rgba(238,235,225,.32) 65%,#eeeae1 100%)}
  #devis.quote-premium{padding-top:56px;padding-bottom:42px}
  #devis.quote-premium::before{
    background:linear-gradient(180deg,#eeeae1 0%,rgba(245,241,233,.85) 22px,
      rgba(255,252,247,.78) 82px,rgba(255,252,247,.74) 100%);
  }
  #devis.quote-premium::after{height:72px}
  #devis + #cabinet.cabinet-v13{margin-top:0;padding-top:32px;padding-bottom:50px}
  #cabinet .cabinet-v13-intro{padding-top:6px}
  #prestations.services-section-premium{padding-top:35px;padding-bottom:36px}
  #prestations + #dpe-audit.energy-decision{margin-top:-8px;padding-top:30px}
}
