/* Site 003: practical insulation decisions in Panorama's blue and white palette. */
body.theme-panorama.page-home .hero-copy :is(.hero-search,.hero-actions,.hero-proof){width:100%;max-width:760px;margin-inline:auto}
body.theme-panorama.page-home .hero-actions{display:flex;justify-content:center;margin-top:24px}
body.theme-panorama.page-home .hero-actions .btn{min-height:64px;padding:18px 36px;font-size:1.2rem;border-radius:999px;text-align:center}
body.theme-panorama.page-home .hero-copy .hero-proof{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:28px}
body.theme-panorama.page-home .hero-proof-row{justify-content:center;flex-wrap:wrap;gap:12px}
body.theme-panorama.page-home #travaux .services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body.theme-panorama.page-home #travaux .service-card{display:flex;flex-direction:column;padding:0 0 24px;overflow:hidden;border-radius:24px}
body.theme-panorama.page-home #travaux .service-photo{margin:0 0 24px;width:100%;aspect-ratio:3/2;overflow:hidden}
body.theme-panorama.page-home #travaux .service-photo img{width:100%;height:100%;object-fit:cover;border-radius:0}
body.theme-panorama.page-home #travaux .service-card>:not(figure){margin-inline:24px}
body.theme-panorama.page-home #travaux .service-card h3{font-size:1.5rem;line-height:1.2;margin-top:0;margin-bottom:12px}
body.theme-panorama.page-home #travaux .service-card p{margin-top:0;margin-bottom:24px}
body.theme-panorama.page-home #travaux .service-card .btn{margin-top:auto;align-self:flex-start;border-radius:999px}
body.theme-panorama.page-home .panorama-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.theme-panorama.page-home .comparison-point{background:#f0f5fa;border:1px solid #cad9e7;border-radius:22px;padding:24px;color:#16334d}
body.theme-panorama.page-home .comparison-point-heading{display:flex;align-items:center;gap:12px}
body.theme-panorama.page-home .comparison-point-heading svg{flex:0 0 28px;color:#0c508e}
body.theme-panorama.page-home .comparison-point h3{margin:0;font-size:1.35rem}
body.theme-panorama.page-home .comparison-point>p{margin:16px 0;color:#3f596e}
body.theme-panorama.page-home .comparison-point .comparison-question{background:#123954;color:#fff;border-radius:14px;padding:16px;margin-bottom:0}
body.theme-panorama.page-home .comparison-question strong{display:block;color:#bcdaf2;margin-bottom:6px;font-size:.875rem}
body.theme-panorama.page-home .professional-roadmap{list-style:none;padding:0;margin:32px 0;display:grid;gap:24px}
body.theme-panorama.page-home .professional-roadmap-step{display:grid;grid-template-columns:56px minmax(180px,.8fr) minmax(0,1.2fr);align-items:center;gap:24px;background:#f2f6fa;border:1px solid #cad9e7;border-radius:24px;padding:24px}
body.theme-panorama.page-home .roadmap-number{display:grid;place-items:center;width:56px;height:56px;background:#123954;color:#fff;border-radius:50%;font-size:1.5rem;font-weight:750}
body.theme-panorama.page-home .roadmap-photo{margin:0;border-radius:16px;overflow:hidden;aspect-ratio:3/2}
body.theme-panorama.page-home .roadmap-photo img{display:block;width:100%;height:100%;object-fit:cover}
body.theme-panorama.page-home .roadmap-copy h3{font-size:1.5rem;margin:0 0 12px}
body.theme-panorama.page-home .roadmap-copy p{margin:0;max-width:60ch;color:#3f596e}
body.theme-panorama.page-home .copy-warning{border:1px solid #c4d5e4;border-radius:28px;background:#eaf2f9;padding:32px}
body.theme-panorama.page-home .copy-warning .home-icon-badge{width:44px;height:44px;border-radius:50%;background:#fff;display:inline-grid;place-items:center}
body.theme-panorama.page-home .copy-warning .institution-links{gap:20px}
body.theme-panorama.page-home .copy-warning .institution-link{border:1px solid #cad9e7;border-radius:20px;background:#fff;padding:24px;display:flex;align-items:center;gap:24px}
body.theme-panorama.page-home .copy-warning .institution-link img{width:120px;height:70px;object-fit:contain}
body.theme-panorama.page-home :is(.expertise-card,.professionals-benefits article){position:relative}
body.theme-panorama.page-home .expertise-card .home-icon-badge{display:inline-grid;place-items:center;width:44px;height:44px;margin-bottom:12px;border-radius:12px}
body.theme-panorama.page-home .expertise-card h3{margin-top:0}
body.theme-panorama .panorama-local-proof{padding:24px;background:#eaf2f9;border:1px solid #cad9e7;border-radius:20px;margin:24px 0;text-align:center}
body.theme-panorama .panorama-local-proof .hero-proof{margin:0 auto;color:#16334d}
body.theme-panorama .panorama-local-proof :is(p,a,strong,.proof-rating){color:#16334d}
body.theme-panorama .panorama-local-proof .hero-proof-row{justify-content:center;flex-wrap:wrap}
body.theme-panorama .business-list-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 24px;align-items:center;padding:24px;text-decoration:none}
body.theme-panorama .business-list-copy h3{margin:0 0 8px}
body.theme-panorama .business-list-copy p{margin:0;color:var(--muted)}
body.theme-panorama .business-list-meta{display:block;margin-top:10px;font-size:.875rem;color:var(--muted)}
body.theme-panorama .business-list-action{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 18px;border-radius:999px;background:#f2c64e;color:#18364e;font-weight:750;white-space:nowrap}
body.theme-panorama .nearby-town-action{white-space:normal;text-align:center;border-radius:999px}
@media(max-width:700px){
 body.theme-panorama.page-home #travaux .services-grid,body.theme-panorama.page-home .panorama-comparison{grid-template-columns:1fr}
 body.theme-panorama.page-home .professional-roadmap-step{grid-template-columns:44px minmax(0,1fr);gap:16px;padding:18px}
 body.theme-panorama.page-home .roadmap-number{width:44px;height:44px;font-size:1.25rem;align-self:start}
 body.theme-panorama.page-home .roadmap-photo{grid-column:2}
 body.theme-panorama.page-home .roadmap-copy{grid-column:2}
 body.theme-panorama.page-home .copy-warning{padding:24px}
 body.theme-panorama.page-home .copy-warning .institution-link{flex-direction:column;align-items:flex-start;gap:12px}
 body.theme-panorama.page-home .hero-actions .btn{width:100%;padding-inline:20px;font-size:1.05rem}
 body.theme-panorama .business-list-card{grid-template-columns:1fr;padding:20px}
 body.theme-panorama .business-list-action{justify-self:start}
}

/* Visual review: full-width local background, full-width editorial panels. */
body.theme-panorama .panorama-local-hero{width:100vw;max-width:none;margin-inline:calc(50% - 50vw);box-sizing:border-box;border:0;border-radius:0;padding:40px max(24px,calc((100vw - var(--theme-container,1280px))/2));}
body.theme-panorama .panorama-local-hero::before,body.theme-panorama .panorama-local-hero .profile-background{border-radius:0}
body.theme-panorama .theme-inner-layout{display:flex;flex-direction:column}
body.theme-panorama .theme-inner-layout>.profile-details-main{width:100%}
body.theme-panorama .theme-inner-layout>.profile-quote-card{width:100%;position:static;order:-1}
body.theme-panorama .editorial-content{max-width:none;width:100%;box-sizing:border-box}
body.theme-panorama .nearby-professionals-town>p>a.nearby-town-action{display:inline;background:none;border:0;border-radius:0;padding:0;min-height:0;box-shadow:none;color:var(--primary);font-weight:600;text-decoration:underline;text-underline-offset:4px}
body.theme-panorama .business-list-action{background:none;padding:0;border-radius:0;text-decoration:underline;text-underline-offset:4px}
body.theme-panorama .idle-popup{padding-top:68px}
body.theme-panorama .idle-popup-close{z-index:2;top:12px;right:12px}
body.theme-panorama :is(.site-header,.site-main,.sticky-quote,.site-footer,.idle-popup) :is(.btn,.btn.btn-secondary,.editor-contact button){background:#ffd65b;border:1px solid #e9bb36;color:#15324c;box-shadow:0 3px 10px rgb(6 75 142 / .16)}
body.theme-panorama :is(.site-header,.site-main,.sticky-quote,.site-footer,.idle-popup) :is(.btn,.btn.btn-secondary,.editor-contact button):hover{background:#ffce3c;border-color:#dcae27;color:#15324c;box-shadow:0 4px 12px rgb(6 75 142 / .22)}
@media(max-width:800px){body.theme-panorama .panorama-local-hero{padding:28px 20px}}

/* Separate the partner request, company documents and practical chantier checklist. */
body.theme-panorama.page-home .request-steps{list-style:none;padding:0;margin:28px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.theme-panorama.page-home .request-steps>li{padding:28px;border:1px solid var(--line);border-radius:20px;background:#f2f6fa}
body.theme-panorama.page-home .request-steps .professional-step{display:block;color:var(--primary);font-size:1rem;font-weight:700;margin-bottom:16px}
body.theme-panorama.page-home .request-steps h3{font-size:1.35rem;margin:0 0 12px}
body.theme-panorama.page-home .request-steps p{margin:0;color:#3f596e}
body.theme-panorama.page-home .professional-roadmap-step{grid-template-columns:48px minmax(0,1fr);gap:20px}
body.theme-panorama.page-home .document-icon{display:grid;place-items:center;width:48px;height:48px;border:1px solid #cad9e7;border-radius:12px;background:#fff;color:var(--primary);align-self:start}
body.theme-panorama.page-home .document-icon svg{width:26px;height:26px}
body.theme-panorama.page-home .professional-roadmap-step .roadmap-copy{grid-column:2}
body.theme-panorama.page-home .chantier-section{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:stretch}
body.theme-panorama.page-home .chantier-list{display:flex;flex-direction:column;justify-content:space-between;list-style:none;margin:0;padding:28px 32px;border:1px solid var(--line);border-radius:24px;background:#fff}
body.theme-panorama.page-home .chantier-list>li+li{margin-top:28px}
body.theme-panorama.page-home .chantier-list h3{font-size:1.3rem;margin:0 0 12px;color:var(--primary)}
body.theme-panorama.page-home .chantier-list ul{padding-left:20px;margin:0;color:#3f596e}
body.theme-panorama.page-home .chantier-list ul li+li{margin-top:8px}
@media(max-width:800px){
 body.theme-panorama.page-home .request-steps,body.theme-panorama.page-home .chantier-section{grid-template-columns:1fr;gap:20px}
 body.theme-panorama.page-home .request-steps>li,body.theme-panorama.page-home .chantier-list{padding:24px}
}

/* Network logos belong in a complete frame, never between two decorative rules. */
body.theme-panorama.page-home main.site-main>.network-band{border:1px solid var(--line);border-radius:24px}

/* Guide des devis : lecture et tableaux accessibles sur petit écran. */
.quote-guide{max-width:900px;margin:2rem auto;padding:0 1rem;line-height:1.75}
.quote-guide h1{font-size:clamp(2rem,4vw,3.1rem);line-height:1.15}
.quote-guide h2{margin-top:2.5rem;line-height:1.3}
.quote-guide figure{margin:2rem 0}.quote-guide img{display:block;width:100%;height:auto;border-radius:18px}
.quote-guide figcaption{font-size:.9rem;color:#45566b;margin-top:.5rem}
.quote-guide nav{border:1px solid #d8e0e8;border-radius:18px;padding:1rem 1.4rem}
.quote-guide nav h2{margin-top:0}.guide-table-wrap{overflow-x:auto}
.quote-guide table{border-collapse:collapse;width:100%;font-size:.95rem}
.quote-guide th,.quote-guide td{border:1px solid #d8e0e8;padding:.7rem;text-align:left;vertical-align:top}
.quote-guide details{border:1px solid #d8e0e8;border-radius:12px;margin:1rem 0;padding:1rem}
.quote-guide summary{cursor:pointer;font-weight:600}.quote-guide a:not(.btn){text-decoration:underline}
.quote-guide section{scroll-margin-top:6rem}.quote-guide li{margin:.45rem 0}.quote-guide footer{font-size:.9rem;margin-top:2rem}
.quote-guide-link{text-align:center;margin:1.5rem 0}.quote-guide-link a{text-decoration:underline}
.quote-guide>header{display:block;position:static;width:auto;max-width:none;padding:0;background:transparent;border:0;box-shadow:none}
.quote-guide>header h1,.quote-guide>header p{width:auto;max-width:none}
body.theme-panorama .editorial-content.quote-guide{max-width:900px}

.quote-guide #guide-title{font-size:clamp(2rem,4vw,3.1rem);line-height:1.15;scroll-margin-top:6rem}

/* Homepage editorial refresh: illustrated steps, spacious checks and clear FAQ. */
body.theme-panorama.page-home .request-steps>li{padding:0;overflow:hidden;background:#fff}
body.theme-panorama.page-home .request-illustration{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:0}
body.theme-panorama.page-home .request-steps .image-brand::before{border-radius:0}
body.theme-panorama.page-home .request-step-copy{padding:26px}
body.theme-panorama.page-home .professional-roadmap-step{grid-template-columns:112px minmax(0,1fr);gap:28px;align-items:center}
body.theme-panorama.page-home .document-icon{width:112px;height:112px;border-radius:24px;align-self:center;background:#fff}
body.theme-panorama.page-home .document-icon svg{width:62px;height:62px}
body.theme-panorama.page-home .roadmap-copy p{max-width:70ch}
body.theme-panorama.page-home .chantier-intro{display:flex;flex-direction:column}
body.theme-panorama.page-home .chantier-team{margin:auto 0 0;padding-top:28px}
body.theme-panorama.page-home .chantier-team img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:20px}
body.theme-panorama.page-home .chantier-team figcaption{font-size:.8rem;color:#53697b;margin-top:8px}
body.theme-panorama.page-home #questions .faq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;border:0;margin-top:30px;counter-reset:faq}
body.theme-panorama.page-home #questions details{border:1px solid var(--line);border-radius:16px;padding:0;background:#f5f8fb;overflow:hidden;counter-increment:faq}
body.theme-panorama.page-home #questions summary{display:flex;align-items:center;gap:14px;list-style:none;padding:22px;cursor:pointer;font-weight:700;line-height:1.45}
body.theme-panorama.page-home #questions summary::-webkit-details-marker{display:none}
body.theme-panorama.page-home #questions summary::before{content:counter(faq,decimal-leading-zero);color:var(--primary);font-size:.85rem;flex:0 0 22px}
body.theme-panorama.page-home #questions summary::after{content:'+';margin-left:auto;font-size:1.5rem;font-weight:400;color:var(--primary)}
body.theme-panorama.page-home #questions details[open]{background:#fff;box-shadow:0 8px 24px rgb(20 50 76 / .06)}
body.theme-panorama.page-home #questions details[open] summary::after{content:'−'}
body.theme-panorama.page-home #questions details p{padding:0 22px 24px 58px;margin:0;color:#3f596e;line-height:1.75}
body.theme-panorama.page-home #questions summary:focus-visible{outline:2px solid var(--primary);outline-offset:-5px;border-radius:16px}
body.theme-panorama.page-home .copy-warning{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:20px 40px;background:#fffaf0;border:1px solid #e2d7bc;border-radius:24px;padding:36px}
body.theme-panorama.page-home .copy-warning>.home-icon-badge{display:none}
body.theme-panorama.page-home .copy-warning>.section-heading{grid-column:1;margin:0}
body.theme-panorama.page-home .copy-warning .section-heading h2{font-size:clamp(1.65rem,2.8vw,2.5rem);max-width:none;margin:0}
body.theme-panorama.page-home .copy-warning>p{grid-column:1;margin:0;color:#3f596e}
body.theme-panorama.page-home .copy-warning .institution-links{grid-column:2;grid-row:1/4;display:flex;flex-direction:column;gap:16px;margin:0;align-self:center}
body.theme-panorama.page-home .copy-warning .institution-link{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:22px;padding:24px;border:1px solid #ded8c8;border-radius:16px;background:#fff;text-align:left}
body.theme-panorama.page-home .copy-warning .institution-link img{width:110px;height:68px;object-fit:contain;margin:0}
body.theme-panorama.page-home .copy-warning .institution-link span{font-size:1rem;line-height:1.5}
@media(max-width:800px){
 body.theme-panorama.page-home .professional-roadmap-step{grid-template-columns:72px minmax(0,1fr);gap:18px}
 body.theme-panorama.page-home .document-icon{width:72px;height:72px;border-radius:18px}
 body.theme-panorama.page-home .document-icon svg{width:42px;height:42px}
 body.theme-panorama.page-home #questions .faq-list{grid-template-columns:1fr}
 body.theme-panorama.page-home .copy-warning{display:block;padding:24px}
 body.theme-panorama.page-home .copy-warning>p{margin-top:20px}
 body.theme-panorama.page-home .copy-warning .institution-links{margin-top:24px}
 body.theme-panorama.page-home .copy-warning .institution-link{padding:18px;gap:16px}
 body.theme-panorama.page-home .copy-warning .institution-link img{width:86px}
}
@media(max-width:420px){
 body.theme-panorama.page-home .professional-roadmap-step{grid-template-columns:1fr}
 body.theme-panorama.page-home .professional-roadmap-step .roadmap-copy{grid-column:1}
 body.theme-panorama.page-home #questions summary{padding:18px;gap:10px}
 body.theme-panorama.page-home #questions details p{padding:0 18px 20px}
}
body.theme-panorama.page-home #avant-signature.copy-warning>.section-heading{grid-column:1;padding:0}
body.theme-panorama.page-home #avant-signature.copy-warning>p{grid-column:1}
body.theme-panorama.page-home #avant-signature.copy-warning>.institution-links{grid-column:2;grid-row:1/4}
@media(max-width:800px){body.theme-panorama.page-home #avant-signature.copy-warning>.institution-links{grid-column:auto;grid-row:auto}}
body.theme-panorama.page-home #avant-signature.copy-warning{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}
@media(max-width:800px){body.theme-panorama.page-home #avant-signature.copy-warning{display:block}}
