/* Estimation result: marine glass / opal paper / restrained gold. */
.page-estimation .resultat {
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  grid-template-areas: "chiffres chiffres" "julian calcul" "analyse analyse" "sync sync";
  gap: 1.5rem;
}
.page-estimation .resultat .carte { padding: clamp(1.5rem,3vw,2.5rem); border-radius: 1.875rem; min-width: 0; }
.page-estimation .resultat .carte::before {
  inset: .25rem;
  background: radial-gradient(ellipse 60% 1.6rem at 23% 0%,#ffffffb3,transparent 82%),
    radial-gradient(ellipse 30% .875rem at 22% 100%,#d6ecff99,#f2dbb34d 48%,transparent 85%);
}
.page-estimation .rc-chiffres.verre {
  --icon-a: #fff0bf; --icon-b: #d3a24d; --icon-c: #ffe2a3; --icon-depth: #080f1c;
  background: radial-gradient(ellipse at 86% 0%,#40648780,transparent 48%),var(--marine-face);
  color: #f6f7fa;
  box-shadow: inset 0 .125rem .125rem #ffffff85,inset 0 -.25rem .3125rem #040f2280,
    0 .25rem .1875rem -.125rem #09213680,0 1.5rem 2.5rem -1.125rem #05162999;
}
.page-estimation .rc-chiffres::before {
  background: radial-gradient(ellipse 64% 1.75rem at 26% 0%,#ffffff6b,#dbebff12 62%,transparent 85%),
    radial-gradient(ellipse 33% .875rem at 18% 100%,#fce0a780,#bfe6ff40 57%,transparent 88%);
}
.result-heading { display: flex; align-items: center; gap: .875rem; margin-bottom: 1.25rem; }
.result-heading > div { min-width: 0; }
.result-icon { display: inline-flex; width: 3.25rem; height: 3.25rem; flex: 0 0 auto; vertical-align: middle; }
.result-icon svg { display:block; width:100%; height:100%; overflow:visible; }
.page-estimation .result-kicker { margin: 0 0 .375rem; font: 700 .6875rem/1.6 var(--sans); letter-spacing:.13em; text-transform: uppercase; color: #785722; }
.page-estimation .result-heading .rc__titre { margin: 0; }
.page-estimation .rc-chiffres .result-kicker { color: #f1d396; }
.page-estimation .rc-chiffres .etiquette { color:#f5f7fc; margin:0; font:500 1.0625rem/1.5 var(--sans); }
.page-estimation .rc__contexte { margin-bottom:1.5rem; padding-bottom:1.125rem; border-bottom:.0625rem solid #b4c9df40; }
.page-estimation .rc-chiffres .jeton { color:#f1f6fc; border:.0625rem solid #aec9e04d; background:#ffffff0a; box-shadow:inset 0 .0625rem .0625rem #ffffff24; font-weight:550; }
.page-estimation .rc-chiffres .modifier { color:#f1d396; text-decoration:none; border:.0625rem solid #d3bb804d; padding:.6rem .875rem; font-size:.8125rem; }
.page-estimation .rc-chiffres .modifier svg { color:#f1d396; }
.page-estimation .rc-chiffres .chiffre { color:#fff7e8; font-size:clamp(3.5rem,8vw,6.5rem); line-height:1.1; letter-spacing:-.025em; }
/* Le montant moyen porte la hiérarchie ; les bornes restent une indication secondaire. */
.page-estimation .rc-chiffres .fourchette-estimation { margin:.875rem 0 1.5rem; color:#c3d4e6; font:400 .9375rem/1.7 var(--sans); }
.page-estimation .rc-chiffres .fourchette-estimation__montants { white-space:nowrap; }
.page-estimation .rc-chiffres .chiffre .a { color:#b7c8dc; font-size:.4em; }
.page-estimation .rc-chiffres .chiffre .eur { color:#e9cc91; font-size:.5em; }
.page-estimation .result-main { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:center; gap:2.75rem; padding:.375rem 0 1.5rem; }
.page-estimation .result-main__amount { min-width:0; }
.page-estimation .result-main .chiffre { font-size:clamp(3.5rem,6.6vw,6.25rem); white-space:nowrap; }
.page-estimation .result-main .fourchette-estimation { margin-bottom:0; }
.page-estimation .result-viz { min-width:0; padding-left:2rem; border-left:1px solid #c3d7e22b; color:#eaf4fc; }
.page-estimation .result-viz__heading { margin:0; color:#f2dcac; font:500 1.5rem/1.2 var(--serif); }
.page-estimation .result-viz__caption { font:inherit; font-weight:550; }
.page-estimation .result-viz__structure { stroke:#d9e9f0; stroke-width:1.25; }
.page-estimation .result-viz__volumes { opacity:.3; }
.page-estimation .result-viz__etat { opacity:.75; }
.page-estimation .result-viz__atouts { opacity:.45; }
.page-estimation .result-viz__scene { display:block; width:100%; height:auto; max-height:13.25rem; margin:.375rem auto .25rem; overflow:visible; }
.page-estimation .result-viz__scene .result-viz__volumes,
.page-estimation .result-viz__scene .result-viz__etat,
.page-estimation .result-viz__scene .result-viz__atouts { transition:opacity .3s ease; }
.page-estimation .result-viz[data-viz="volumes"] .result-viz__volumes,
.page-estimation .result-viz[data-viz="etat"] .result-viz__etat,
.page-estimation .result-viz[data-viz="atouts"] .result-viz__atouts { opacity:1; }
.page-estimation .result-viz__choices { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.375rem; padding:.25rem; border:1px solid #b7d7e333; border-radius:.875rem; background:#05182b38; }
.page-estimation .result-viz__choices button { appearance:none; cursor:pointer; min-height:2.75rem; border:1px solid transparent; border-radius:.625rem; color:#c7d9e8; background:transparent; font:600 .75rem/1.2 var(--sans); transition:background-color .2s,color .2s,border-color .2s; }
.page-estimation .result-viz__choices button[aria-pressed="true"] { color:#fff0cc; background:linear-gradient(160deg,#d2eafb26,#75bfe118); border-color:#bfdbe273; box-shadow:inset 0 1px #f4fbff4d,0 2px 4px #00112033; }
.page-estimation .result-viz__choices button:hover { color:#fff4dc; background-color:#cbeaff12; }
.page-estimation .result-viz__choices button:focus-visible { outline:2px solid #f4d494; outline-offset:2px; }
.page-estimation .result-viz__detail { min-height:5.25rem; padding:.875rem .125rem .25rem; }
.page-estimation .result-viz__detail strong { display:block; font:600 .875rem/1.5 var(--sans); color:#f6f8fb; }
.page-estimation .result-viz__detail p { margin:.25rem 0 0; color:#c8d9e8; font:.75rem/1.6 var(--sans); }
.page-estimation .result-viz__note { margin:0; font:.8125rem/1.6 var(--sans); color:#bfd3e5; }
.page-estimation .result-viz__scan { opacity:0; pointer-events:none; }
.page-estimation .result-details { border-top:1px solid #7792a635; margin-top:1rem; }
.page-estimation .result-details > summary { display:flex; align-items:center; justify-content:space-between; gap:.75rem; min-height:3rem; padding:.75rem 0; color:#254560; cursor:pointer; list-style:none; font:600 .8125rem/1.4 var(--sans); }
.page-estimation .result-details > summary::-webkit-details-marker { display:none; }
.page-estimation .result-details > summary::after { content:'+'; flex:none; color:#8b6829; font:400 1.5rem/1 var(--sans); }
.page-estimation .result-details[open] > summary::after { content:'−'; }
.page-estimation .result-details > summary:focus-visible { outline:2px solid #8b6829; outline-offset:4px; border-radius:.25rem; }
.page-estimation .result-details .recap { margin:0; padding:.5rem 0 .75rem; border:0; }
.page-estimation .result-details .prestas { border:0; margin:0; padding:.625rem 0 .875rem; }
.page-estimation .rc-calcul--simple .calcul li { padding:0; border:0; }
.page-estimation .rc-calcul--simple .calcul li::before { content:none; }
.page-estimation .rc-calcul--simple .calcul__val { font-size:3rem; letter-spacing:-.025em; color:#173853; }
.page-estimation .rc-calcul--simple .calcul__txt { margin:0; }
.page-estimation .calcul__periode { display:block; margin-top:.375rem; color:#3f5a70; /* 20/11 : #516b80 mesuré 4,3:1 */ font-size:.75rem; }
.page-estimation .rc-calcul--simple .result-details { margin-top:.5rem; }
.page-estimation .rc-calcul--simple .result-details .gloss { display:block; padding:0 0 1rem; color:#3c5570; font:.8125rem/1.7 var(--sans); }
@media (prefers-reduced-motion:no-preference) {
 .page-estimation .result-viz.is-visible .result-viz__scene { animation:result-viz-reveal 1.1s cubic-bezier(.22,1,.36,1) both; }
 .page-estimation .result-viz.is-visible .result-viz__scan { animation:result-viz-scan 2.8s .3s ease-in-out both; transform-box:fill-box; transform-origin:center; }
 @keyframes result-viz-reveal { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }
 @keyframes result-viz-scan { 0%,100% { opacity:0; transform:translateY(10px); } 18% { opacity:.8; } 80% { opacity:.55; transform:translateY(-80px); } }
}
@media (prefers-reduced-motion:reduce) {
 .page-estimation .result-viz * { animation:none!important; transition:none!important; }
}
.page-estimation .rc-chiffres :is(.declaration,.rc__texte,.mention--fort) { color:#f5f7fc; }
.page-estimation .rc-chiffres .demo { color:#c5d3e3; font-weight:500; }
.page-estimation .rc-chiffres .barre { max-width:58rem; margin-top:2.5rem; margin-bottom:1.5rem; }
.page-estimation .rc-chiffres .barre__plage { height:.5rem; background:linear-gradient(90deg,#a27a38,#fae8b0 50%,#b68b42); box-shadow:inset 0 .0625rem .0625rem #fff4ce,0 0 0 .0625rem #9c7b3b; }
.page-estimation .rc-chiffres .barre__etiquette { background:#edf3fa; color:#142e49; padding:.375rem .625rem; border-radius:.5rem; font-size:.8125rem; }
.page-estimation .rc-chiffres .barre__repere::before { background:#fff0c9; }
.page-estimation .rc-chiffres .barre__repere::after { background:#112c49; box-shadow:0 0 0 .1875rem #fff0c9; }
.page-estimation .rc__mentions { gap:.4rem; padding-top:1rem; border-top:.0625rem solid #a5bdd12e; }
.page-estimation .rc-chiffres .mention--fort { font-size:.8125rem; font-weight:600; }
.page-estimation .rc-chiffres .demo { font-size:.75rem; line-height:1.6; }
.page-estimation .rc-julian .result-heading { margin-bottom:1rem; gap:.75rem; }
.page-estimation .rc-julian .result-kicker { max-width:23ch; margin:0; }
.page-estimation .julian__titre { font-size:clamp(1.875rem,2.4vw,2.625rem); line-height:1.12; text-wrap:pretty; }
.page-estimation .julian__texte { font-size:.9375rem; line-height:1.75; }
.page-estimation .resultat .cta { border-radius:1rem; padding:1rem 1.125rem; min-height:4.5rem; }
.page-estimation .resultat .cta__txt span { font-size:.875rem; }
.page-estimation .resultat .cta__txt small { font-size:1.0625rem; color:#ffe5a9; letter-spacing:.04em; }
.page-estimation .recap { border-color:#7591ab47; }
.page-estimation .recap h4 { font-size:.8125rem; line-height:1.6; margin-bottom:1rem; }
.page-estimation .recap dl { gap:.625rem 1.5rem; }
.page-estimation .recap dt { color:#466078; font-size:.8125rem; }
.page-estimation .recap dd { font-size:.875rem; overflow-wrap:anywhere; }
.page-estimation .prestas { border-color:#7591ab47; gap:1.25rem; }
.page-estimation .prestas li { grid-template-columns:2.75rem minmax(0,1fr); gap:.875rem; }
.page-estimation .prestas .result-icon { width:2.75rem; height:2.75rem; margin:0; }
.page-estimation .prestas .result-icon svg { width:100%; height:100%; margin:0; }
.page-estimation .prestas strong { font-size:.875rem; }
.page-estimation .prestas div > span { font-size:.8125rem; line-height:1.65; color:#3c5570; }
.page-estimation .rc-calcul .result-heading { align-items:center; }
.page-estimation .rc-calcul .rc__titre { font-size:1.875rem; line-height:1.15; }
.page-estimation .calcul { counter-reset:etape; }
.page-estimation .calcul li { position:relative; counter-increment:etape; grid-template-columns:minmax(0,1fr); gap:.625rem; padding:1.5rem 0 1.5rem 2.5rem; border-color:#7591ab47; }
.page-estimation .calcul li:first-child { padding-top:.5rem; }
.page-estimation .calcul li::before { content:"0" counter(etape); position:absolute; top:1.625rem; left:0; color:#8a692c; font:700 .6875rem/1.5 var(--sans); letter-spacing:.08em; }
.page-estimation .calcul li:first-child::before { top:.625rem; }
.page-estimation .calcul__val { font-size:1.75rem; line-height:1.2; }
.page-estimation .calcul__val small { font-size:.75rem; color:#466078; }
.page-estimation .calcul__txt { font-size:.875rem; line-height:1.7; }
.page-estimation .calcul__txt .gloss { font-size:.8125rem; line-height:1.7; color:#3c5570; }
.page-estimation .rc-calcul .aide { border-color:#7591ab47; font-size:.8125rem; line-height:1.7; }
.page-estimation .resultat > .lead-analysis { grid-area:analyse; margin:0; padding:1.5rem 2rem; border-radius:1.5rem; overflow:hidden; }
.page-estimation .lead-analysis .result-heading { margin:0 0 .5rem; gap:.75rem; }
.page-estimation .lead-analysis .result-icon { width:2.5rem; height:2.5rem; }
.page-estimation .lead-analysis h2 { margin:0; font-size:1.625rem; }
.page-estimation .lead-analysis p { font-size:.875rem; line-height:1.75; max-width:100ch; }
.page-estimation .resultat > .lead-result-sync { grid-area:sync; margin:0; padding:.75rem 1rem; font-size:.75rem; line-height:1.6; box-shadow:none; background:#edf3f9f2; }
.page-estimation .modifier:focus-visible { outline:.1875rem solid #f5d58e; outline-offset:.25rem; }
@media (hover:hover) and (pointer:fine) {
 .page-estimation .rc-chiffres .modifier:hover { color:#fff6df; background:#d4b46a24; box-shadow:inset 0 0 1rem #f4d28826; }
}
@media (min-width:55.0625rem) {
 .page-estimation .resultat:not(:has(.rc-calcul)) { grid-template-areas:"chiffres chiffres" "julian julian" "analyse analyse" "sync sync"; }
}
@media (max-width:55rem) {
 .page-estimation .result-main { grid-template-columns:minmax(0,1fr); gap:1.5rem; padding-bottom:1.25rem; }
 .page-estimation .result-main .chiffre { font-size:clamp(3rem,9vw,5rem); }
 .page-estimation .result-viz { padding:1.5rem 0 0; border-left:0; border-top:1px solid #c3d7e22b; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:0 1.25rem; align-items:center; }
 .page-estimation .result-viz__heading { grid-column:1/-1; }
 .page-estimation .result-viz__scene { grid-column:1; grid-row:2/4; margin:0; }
 .page-estimation .result-viz__choices,.page-estimation .result-viz__detail { grid-column:2; }
 .page-estimation .result-viz__note { grid-column:1/-1; }
 .page-estimation .resultat { grid-template-columns:minmax(0,1fr); grid-template-areas:"chiffres" "julian" "calcul" "analyse" "sync"; gap:1.125rem; }
 .page-estimation .rc-chiffres .chiffre { font-size:clamp(3rem,9vw,5rem); }
 .page-estimation .rc-chiffres .barre { margin-top:2rem; }
}
@media (max-width:30rem) {
 .page-estimation .result-main .chiffre { font-size:clamp(2.75rem,12vw,3.75rem); }
 .page-estimation .result-viz { display:block; }
 .page-estimation .result-viz__heading { font-size:1.375rem; }
 .page-estimation .result-viz__scene { max-height:11.25rem; margin:.125rem auto; }
 .page-estimation .result-viz__detail { min-height:5rem; }
 .page-estimation .result-viz__choices button { font-size:.75rem; }
 .page-estimation .resultat .carte { padding:1.25rem; border-radius:1.5rem; }
 .page-estimation .rc__contexte { gap:.375rem; margin-bottom:1.25rem; }
 .page-estimation .rc-chiffres .jeton { font-size:.6875rem; padding:.375rem .625rem; min-height:1.875rem; }
 .page-estimation .rc-chiffres .modifier { width:100%; justify-content:center; margin:.375rem 0 0; min-height:2.75rem; }
 .page-estimation .result-icon { width:2.75rem; height:2.75rem; }
 .page-estimation .result-heading { gap:.625rem; }
 .page-estimation .result-kicker { font-size:.625rem; letter-spacing:.1em; }
 .page-estimation .rc-chiffres .chiffre { font-size:clamp(2.75rem,12vw,3.75rem); }
 .page-estimation .rc-chiffres .fourchette-estimation { font-size:.8125rem; }
 .page-estimation .julian__titre { font-size:1.875rem; }
 .page-estimation .recap dl { grid-template-columns:minmax(0,.85fr) minmax(0,1fr); gap:.625rem .875rem; }
 .page-estimation .resultat .cta { gap:.625rem; padding:1rem; }
 .page-estimation .resultat > .lead-analysis { padding:1.25rem; }
 .page-estimation .lead-analysis h2 { font-size:1.5rem; }
 .page-estimation .rc-calcul .rc__titre { font-size:1.625rem; }
}
@media (forced-colors:active) {
 .page-estimation .result-viz { color:CanvasText; border-color:CanvasText; }
 .page-estimation .result-viz :is(button,strong,p,h3),.page-estimation .result-details > summary { color:CanvasText; }
 .page-estimation .result-viz__choices button[aria-pressed="true"] { border-color:Highlight; color:Highlight; }
 .page-estimation .rc-chiffres.verre,.page-estimation .rc-chiffres .jeton,.page-estimation .resultat > .lead-result-sync { background:Canvas; color:CanvasText; box-shadow:none; }
 .page-estimation .rc-chiffres :is(.chiffre,.declaration,.rc__texte,.mention--fort,.demo,.etiquette,.modifier,.result-kicker,.fourchette-estimation),.page-estimation .rc-chiffres .chiffre :is(.a,.eur) { color:CanvasText; }
 .result-icon g { stroke:CanvasText; }
 .result-icon g[transform] { display:none; }
}
