/* Styles propres à la page « web » (repris de la maquette). */
/* ---- Web & acquisition : « Page 2, c'est déjà trop loin » ---------------- */
.w-hero { --len: 2.8; }
.w-hero .pin-stage { background: #fff; }
.w-hero__in { position: absolute; inset: calc(var(--bar-h) + 18px) max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .w-hero__in { left: 64px; right: 64px; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 56px; bottom: 0; } }
.w-head { display: grid; gap: 12px; align-content: start; }
@media (min-width: 900px) { .w-head { grid-row: 1 / 3; align-content: center; } }
.w-head h1 { display: grid; gap: 12px; }
.w-head .giant { font-size: clamp(3rem, 13vw, 9rem); color: var(--encre); }
.strike { position: relative; color: var(--bleu); white-space: nowrap; }
.search { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 56px; border: 2px solid var(--encre); background: #fff; font: 500 1.0625rem/1 var(--f-text); color: var(--encre); }
.search svg.mg { width: 20px; height: 20px; flex: none; }
.search .q { white-space: nowrap; overflow: hidden; }
.caret-r { width: 7px; height: 26px; background: var(--bleu); flex: none; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.serp { position: relative; overflow: hidden; min-height: 0; }
.serp__meta { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0 10px; border-bottom: 1px solid var(--filet); font-size: .8125rem; color: var(--encre-2); position: relative; z-index: 3; background: #fff; }
.serp__win { position: relative; height: calc(100% - 32px - 112px); overflow: hidden; --slot: 62px; -webkit-mask-image: linear-gradient(#000 calc(100% - 56px), transparent); mask-image: linear-gradient(#000 calc(100% - 56px), transparent); }
@media (min-width: 900px) { .serp__win { height: calc(100% - 32px - 150px); } }
@media (min-width: 900px) { .serp__win { --slot: 70px; } }
.serp__list { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.row-r, .row-p { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--slot) - 8px); transition: transform .35s cubic-bezier(.2,.7,.1,1); }
.row-r { display: grid; gap: 6px; align-content: center; padding: 0 12px; }
.row-r .d { font: 500 .75rem/1 var(--f-mono); color: #8A949C; }
.row-r .t { font: 600 .875rem/1.2 var(--f-text); color: #3E4A55; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-r .s { font: 400 .75rem/1.2 var(--f-text); color: #8A949C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-r { gap: 3px; }
.row-p { display: flex; align-items: center; gap: 12px; font: 600 .8125rem/1 var(--f-mono); color: var(--encre-2); }
.row-p::after { content: ""; flex: 1; height: 1px; background: var(--filet); }
.you { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: calc(var(--slot) - 8px); background: #fff; box-shadow: inset 0 0 0 2px var(--bleu), 0 18px 40px -20px rgba(35,111,149,.6); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: center; padding: 0 12px; }
.you svg { grid-row: 1 / 3; width: 22px; height: 38px; transform-origin: 50% 50%; }
.you .d { font: 500 .75rem/1 var(--f-mono); color: var(--bleu); }
.you .t { font: 600 1rem/1.2 var(--f-text); color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 104px; text-align: right; pointer-events: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
@media (min-width: 900px) { .rank { height: 142px; } }
.rank .p { font: 500 .8125rem/1.2 var(--f-mono); color: var(--encre-2); }
.rank .n { font: 600 clamp(5rem, 26vw, 11rem)/.8 var(--f-mono); letter-spacing: -.07em; color: var(--bleu); font-variant-numeric: tabular-nums; }
.w-flood { position: absolute; inset: 0; z-index: 6; background: var(--bleu); color: #fff; visibility: hidden; display: grid; align-content: center; gap: 18px; padding: calc(var(--bar-h) + 20px) max(20px, env(safe-area-inset-right, 0px)) 40px max(20px, env(safe-area-inset-left, 0px)); }
@media (min-width: 900px) { .w-flood { padding-left: 64px; padding-right: 64px; } }
.w-flood .big { font: 750 clamp(5rem, 30vw, 22rem)/.8 var(--f-display); letter-spacing: -.06em; display: flex; align-items: flex-end; gap: .08em; }
.w-flood .big svg { width: .24em; height: auto; flex: none; margin-bottom: .05em; }
.w-flood .was { font: 600 clamp(1.1rem, 3vw, 2rem)/1.2 var(--f-text); color: #D3E5EF; }
.w-flood .was s { text-decoration-thickness: 2px; }
.w-flood .now { font: 750 clamp(2.4rem, 11vw, 7rem)/.9 var(--f-display); letter-spacing: -.035em; }

/* Vue éclatée */
.w-eclate { --len: 2.4; }
.w-eclate .pin-stage { background: var(--bleu); color: #fff; }
.w-eclate__head { position: absolute; z-index: 3; top: calc(var(--bar-h) + 24px); left: max(20px, env(safe-area-inset-left, 0px)); right: max(20px, env(safe-area-inset-right, 0px)); display: grid; gap: 10px; }
.w-eclate__head .t2 { color: #fff; max-width: 12em; }
@media (min-width: 900px) { .w-eclate__head { left: 64px; right: auto; width: 36vw; top: 30%; } .w-eclate__head .t2 { font-size: clamp(2.4rem, 4.2vw, 4.4rem); } }
.iso { position: absolute; left: 50%; top: 52%; width: min(86vw, 520px); aspect-ratio: 4 / 3; margin-left: calc(min(86vw, 520px) / -2); translate: 0 -50%; perspective: 1800px; }
@media (min-width: 900px) { .iso { left: 68%; top: 50%; width: min(42vw, 640px); margin-left: calc(min(42vw, 640px) / -2); } }
.iso__rig { position: absolute; inset: 0; transform-style: preserve-3d; }
.layer { position: absolute; inset: 0; transform-style: preserve-3d; }
.layer.is-dim > .sheet { filter: grayscale(1); }
.layer > .sheet { position: absolute; inset: 0; }
.l-tech .sheet { background: #0D2533; background-image: linear-gradient(rgba(127,184,218,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(127,184,218,.12) 1px, transparent 1px); background-size: 20px 20px; padding: 7% 8%; font: 500 clamp(.625rem, 1.1vw, .8rem)/1.55 var(--f-mono); color: #BFD9E8; white-space: pre; overflow: hidden; }
.l-tech .k { color: #7FB8DA; } .l-tech .v { color: #F7C115; } .l-tech .ok { color: #3CC2BF; }
.l-content .sheet b { font: 750 clamp(.75rem, 1.6vw, 1.15rem)/1 var(--f-display); letter-spacing: -.02em; color: var(--encre); }
.l-content .sheet small { font: 500 clamp(.6875rem, .9vw, .75rem)/1 var(--f-mono); color: var(--bleu); }
.l-design .ty { position: absolute; right: 8%; bottom: 10%; font: 750 clamp(1.6rem, 4vw, 3rem)/1 var(--f-display); color: #fff; mix-blend-mode: difference; }
.l-measure svg { position: absolute; inset: 12% 8% 14% 8%; width: 84%; height: 74%; overflow: visible; }
.l-measure svg .ax { stroke: rgba(255,255,255,.35); stroke-width: 1; fill: none; }
.l-measure svg .cv { stroke: #F7C115; stroke-width: 3; fill: none; }
.l-measure .sheet { background: rgba(13,37,51,.25); }
.l-content .sheet { background: #fff; padding: 9% 10%; display: grid; gap: 8px; align-content: start; }
.l-content i { display: block; height: 8px; background: #DDE3E7; }
.l-content i.k { background: var(--jaune); width: 46%; }
.l-content i.h { height: 18px; width: 70%; background: var(--encre); }
.l-design .blk { position: absolute; }
.l-measure .sheet { display: flex; align-items: flex-end; justify-content: flex-end; padding: 6%; }
.l-measure .chart { width: 46%; aspect-ratio: 5/3; background: #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); padding: 8%; display: flex; align-items: flex-end; gap: 6%; }
.l-measure .chart b { flex: 1; background: var(--bleu); display: block; }
.caps { position: absolute; z-index: 3; left: max(20px, env(safe-area-inset-left, 0px)); right: max(20px, env(safe-area-inset-right, 0px)); bottom: 28px; display: grid; }
@media (min-width: 900px) { .caps { left: 64px; right: auto; width: 36vw; bottom: 22%; } }
.cap { grid-area: 1 / 1; display: grid; gap: 6px; visibility: hidden; }
.cap b { font: 700 1.5rem/1.1 var(--f-display); letter-spacing: -.02em; display: flex; gap: 10px; align-items: baseline; }
.cap b span { font: 500 .8125rem/1 var(--f-mono); color: #D3E5EF; }
.cap p { font-size: 1rem; line-height: 1.45; color: #D3E5EF; max-width: 30em; }
.w-eclate__punch { position: absolute; z-index: 4; left: max(20px, env(safe-area-inset-left, 0px)); right: max(20px, env(safe-area-inset-right, 0px)); top: calc(var(--bar-h) + 24px); font: 750 clamp(2.8rem, 12vw, 7rem)/.88 var(--f-display); letter-spacing: -.038em; color: #fff; visibility: hidden; }
@media (min-width: 900px) { .w-eclate__punch { left: 64px; right: 52vw; top: 26%; font-size: clamp(3rem, 6vw, 7rem); } }

/* Seconde moitié : le monde de la recherche */
.w-try { display: grid; gap: 28px; }
@media (min-width: 1000px) { .w-try { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; } }
.w-try label.big { font: 750 clamp(2.4rem, 7vw, 5.4rem)/.9 var(--f-display); letter-spacing: -.035em; display: block; margin-bottom: 18px; }
.search.xl { height: 64px; border-width: 2.5px; font-size: 1.125rem; }
.search.xl input { border: 0; outline: 0; flex: 1; min-width: 0; font: inherit; background: transparent; height: 100%; }
.search.xl:focus-within { box-shadow: 0 0 0 4px color-mix(in srgb, var(--bleu) 30%, transparent); }
.suggest { list-style: none; padding: 0; margin: 0; border: 2px solid var(--encre); border-top: 0; }
.suggest button { width: 100%; display: flex; align-items: center; gap: 14px; min-height: 54px; padding: 12px 16px; background: #fff; border: 0; border-top: 1px solid var(--filet); text-align: left; cursor: pointer; font: 400 1rem/1.35 var(--f-text); color: var(--encre); }
.suggest button svg { width: 16px; height: 16px; flex: none; color: #8A949C; }
.suggest button:hover { background: var(--brume); }
.suggest button[aria-pressed="true"] { background: color-mix(in srgb, var(--bleu) 10%, #fff); font-weight: 600; }
.suggest button[aria-pressed="true"]::after { content: "dans ma demande"; margin-left: auto; font: 500 .75rem/1 var(--f-mono); color: var(--bleu); white-space: nowrap; }
.suggest .hd { padding: 10px 16px; font: 500 .75rem/1 var(--f-mono); color: var(--encre-2); background: var(--brume); }
.preview { border: 1px solid var(--filet); padding: 22px; display: grid; gap: 8px; background: #fff; }
.preview .d { font: 500 .8125rem/1 var(--f-mono); color: var(--encre-2); display: flex; gap: 10px; align-items: center; }
.preview .d svg { width: 12px; height: 21px; }
.preview .t { font: 600 1.375rem/1.25 var(--f-text); color: var(--bleu); text-decoration: underline; text-underline-offset: 3px; }
.preview .s { color: var(--encre-2); font-size: .9375rem; }
.preview .n { font: 500 .8125rem/1.4 var(--f-mono); color: var(--encre-2); border-top: 1px solid var(--filet); padding-top: 12px; margin-top: 6px; }
.tree { list-style: none; padding: 0; margin: 0; position: relative; display: grid; gap: 0; }
.tree > li { position: relative; padding: 22px 0 22px 34px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.tree > li::before { content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: var(--bleu); }
.tree > li::after { content: ""; position: absolute; left: 7px; top: 36px; width: 18px; height: 2px; background: var(--bleu); }
.tree > li:first-child::before { top: 36px; }
.tree > li:last-child::before { bottom: auto; height: 36px; }
.tree .url { font: 500 .875rem/1 var(--f-mono); color: var(--bleu-txt); }
.tree h3 { font: 700 clamp(1.5rem, 2.6vw, 2.2rem)/1.05 var(--f-display); letter-spacing: -.025em; }
.tree p { color: var(--fg-2); max-width: 40em; }
.tree .livrables { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.tree .livrables li { font-size: .875rem; padding: 5px 10px; border: 1px solid var(--line); }
.checks { display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks > div { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.checks svg { width: 28px; height: 28px; color: var(--bleu); }
.checks h3 { font: 600 1.25rem/1.25 var(--f-text); }
.checks p { color: var(--fg-2); }
.tabs [role="tablist"] { display: flex; overflow-x: auto; border-bottom: 2px solid var(--encre); gap: 2px; }
.tabs [role="tab"] { flex: none; min-height: 52px; padding: 12px 18px; border: 0; background: #E4E8EA; font: 600 .9375rem/1 var(--f-text); color: var(--encre); cursor: pointer; border-radius: 0; display: flex; gap: 10px; align-items: center; }
.tabs [role="tab"] .mono { font-size: .75rem; }
.tabs [role="tab"][aria-selected="true"] { background: var(--encre); color: #fff; }
.tabs [role="tabpanel"] { padding: 28px 0 0; display: grid; gap: 14px; max-width: 46em; }
.tabs [role="tabpanel"] h3 { font: 750 clamp(2rem, 5vw, 3.6rem)/.95 var(--f-display); letter-spacing: -.035em; }
.tabs [role="tabpanel"] p { color: var(--fg-2); font-size: 1.0625rem; }
.tabs .vous { color: var(--encre); padding: 14px 16px; background: color-mix(in srgb, var(--bleu) 10%, #fff); }
.faq-search { margin-bottom: 20px; }
.faq-search input { border: 0; outline: 0; flex: 1; min-width: 0; font: inherit; background: transparent; height: 100%; }
.faq-search .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.faq-search .chips button { min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); background: #fff; font: 500 .875rem/1 var(--f-text); cursor: pointer; color: var(--encre); }
.faq mark { background: color-mix(in srgb, var(--jaune) 55%, #fff); color: inherit; }
.faq-empty { padding: 18px 0; color: var(--fg-2); }
.serp-guides { display: grid; gap: 26px; max-width: 46em; }
.serp-guides > * { display: grid; gap: 4px; text-decoration: none; color: inherit; }
.serp-guides .u { font: 500 .8125rem/1.2 var(--f-mono); color: var(--encre-2); }
.serp-guides .t { font: 600 1.375rem/1.25 var(--f-text); color: var(--bleu); }
.serp-guides > a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.serp-guides .s { color: var(--encre-2); font-size: .9375rem; }
.is-static .w-hero .pin-stage, .is-static .w-eclate .pin-stage { padding: calc(var(--bar-h) + 40px) 20px 80px; }
.is-static .w-hero__in, .is-static .w-eclate__head, .is-static .iso, .is-static .caps, .is-static .w-eclate__punch, .is-static .w-flood { position: relative; inset: auto; margin: 0 auto 32px; left: auto; top: auto; translate: none; visibility: visible; }
.is-static .serp__win { height: 420px; }
.is-static .iso { height: 360px; }
.is-static .cap { visibility: visible; grid-area: auto; }
