/* AirBoo Magazine 2.0 « Atlas » : accueil immersif, réponses sourcées, échéance. */

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.airboo-sec-intro { max-width: 46ch; color: var(--wp--preset--color--ink-soft); margin: 0; }

/* --- Héro ------------------------------------------------------------------ */
.airboo-atlas-hero { position: relative; isolation: isolate; color: #F1F7F5; overflow: hidden; margin-top: 0 !important; padding: clamp(48px, 7vw, 96px) max(20px, calc((100% - 1240px) / 2)) 0; background: radial-gradient(1200px 700px at 78% 20%, #17544D 0%, #0B2E2B 55%, #061918 100%); }
.airboo-atlas-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(rgba(94, 234, 212, .18) 1px, transparent 1.4px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 70%); }
.airboo-atlas-hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.airboo-atlas-hero .airboo-eyebrow { color: #5EEAD4; }
.airboo-atlas-title { font-family: var(--wp--preset--font-family--serif); font-size: clamp(2.9rem, 6.4vw, 6rem); line-height: .95; letter-spacing: -.04em; font-weight: 600; margin: 20px 0 22px; color: #fff; }
.airboo-atlas-title em { font-style: italic; font-weight: 400; background: linear-gradient(100deg, #5EEAD4, #FDBA74 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.airboo-atlas-lede { font-size: 1.22rem; color: #BFD9D4; max-width: 40ch; margin: 0 0 28px; }
.airboo-ask { display: flex; gap: 8px; padding: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); max-width: 560px; }
.airboo-ask:focus-within { border-color: #5EEAD4; box-shadow: 0 0 0 4px rgba(94, 234, 212, .15); }
.airboo-ask input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 500 1rem var(--wp--preset--font-family--sans); padding: 0 18px; min-height: 48px; }
.airboo-ask input::placeholder { color: #9DC2BC; }
.airboo-ask input:focus { outline: none; }
.airboo-ask button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 99px; background: var(--wp--preset--color--terra); color: #fff; font: 600 .97rem var(--wp--preset--font-family--sans); cursor: pointer; transition: background .2s; }
.airboo-ask button:hover { background: var(--wp--preset--color--terra-dark); }
.airboo-ask-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.airboo-ask-chips a { font-size: .85rem; color: #CFE6E1; text-decoration: none; padding: 7px 13px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .18); transition: background .2s, border-color .2s; }
.airboo-ask-chips a:hover { background: rgba(255, 255, 255, .1); border-color: #5EEAD4; color: #fff; }
.airboo-atlas-map { position: relative; margin: 0; aspect-ratio: 1.25; }
.airboo-atlas-map svg { width: 100%; height: 100%; overflow: visible; }
.airboo-orb { fill: url(#airbooOrb); stroke: rgba(94, 234, 212, .35); stroke-width: 1.2; }
.airboo-grat path { stroke: rgba(94, 234, 212, .14); fill: none; stroke-width: 1; }
.airboo-arc { fill: none; stroke: url(#airbooArc); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: airboo-draw 2.4s var(--airboo-ease) forwards; }
@keyframes airboo-draw { to { stroke-dashoffset: 0; } }
.airboo-pin { cursor: pointer; }
.airboo-pin .dot { fill: #FDBA74; stroke: #fff; stroke-width: 1.5; transition: r .25s var(--airboo-ease); }
.airboo-pin.is-home .dot { fill: #5EEAD4; }
.airboo-pin .halo { fill: #FDBA74; opacity: .35; transform-box: fill-box; transform-origin: center; animation: airboo-pulse 2.8s ease-out infinite; }
.airboo-pin text { font: 600 12px var(--wp--preset--font-family--sans); fill: #E9F5F2; paint-order: stroke; stroke: rgba(6, 25, 24, .85); stroke-width: 3px; }
.airboo-pin:hover .dot, .airboo-pin:focus .dot { r: 7; }
@keyframes airboo-pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(2.6); opacity: 0; } }
.airboo-atlas-legend { position: absolute; left: 0; bottom: 4%; display: flex; gap: 16px; font-size: .82rem; color: #9DC2BC; }
.airboo-atlas-legend span { display: inline-flex; align-items: center; gap: 6px; }
.airboo-atlas-legend i { width: 10px; height: 10px; border-radius: 50%; background: #FDBA74; }
.airboo-atlas-legend i.is-home { background: #5EEAD4; }
.airboo-proof { display: flex; flex-wrap: wrap; gap: 12px 36px; margin-top: clamp(32px, 5vw, 64px); padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; color: #9DC2BC; }
.airboo-proof b { color: #fff; font-weight: 600; }

/* --- Réponses courtes ------------------------------------------------------- */
.airboo-answers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.airboo-answer { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--airboo-radius); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); transition: transform .35s var(--airboo-ease), box-shadow .35s; }
.airboo-answer:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(11, 46, 43, .35); }
.airboo-answer h3 { font-size: 1.3rem; margin: 0; }
.airboo-answer p { margin: 0; color: var(--wp--preset--color--ink-soft); font-size: .98rem; }
.airboo-answer .airboo-answer__figure { font: 600 clamp(2.5rem, 4vw, 3.3rem)/1 var(--wp--preset--font-family--serif); color: var(--wp--preset--color--teal); letter-spacing: -.03em; }
.airboo-answer footer { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--wp--preset--color--line); display: flex; justify-content: space-between; gap: 10px; font-size: .8rem; color: var(--wp--preset--color--ink-soft); }
.airboo-answer footer a { font-weight: 600; text-decoration: none; }

/* --- Échéance --------------------------------------------------------------- */
.airboo-deadline { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; margin-top: var(--wp--preset--spacing--60) !important; padding: clamp(32px, 5vw, 64px); border-radius: 34px; background: #0B2E2B; color: #EAF4F2; }
.airboo-deadline::after { content: ""; position: absolute; right: -120px; bottom: -160px; z-index: -1; width: 460px; height: 460px; background: radial-gradient(circle, rgba(194, 65, 12, .45), transparent 65%); }
.airboo-deadline .airboo-eyebrow { color: #FDBA74; }
.airboo-deadline .airboo-title { color: #fff; margin: 14px 0 16px; }
.airboo-deadline p { color: #B7D3CE; }
.airboo-deadline__source { font-size: .82rem; color: #8FB3AD !important; }
.airboo-deadline__date { text-align: center; }
.airboo-btn-glass { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 99px; color: #fff !important; text-decoration: none; font-weight: 600; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .28); transition: background .2s; }
.airboo-btn-glass:hover { background: rgba(255, 255, 255, .18); }
.airboo-clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.airboo-clock div { padding: 18px 8px; text-align: center; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.airboo-clock b { display: block; font: 600 clamp(2.1rem, 4.4vw, 3.4rem)/1 var(--wp--preset--font-family--serif); color: #fff; font-variant-numeric: tabular-nums; }
.airboo-clock span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8FB3AD; }

/* --- Mosaïque des dernières analyses --------------------------------------- */
.airboo-bento .wp-block-post-template { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 230px; gap: 18px; margin: 0; padding: 0; list-style: none; }
.airboo-bento .wp-block-post-template > li { margin: 0 !important; grid-column: span 2; }
.airboo-bento .wp-block-post-template > li:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.airboo-bento .wp-block-post-template > li:nth-child(2) { grid-row: span 2; }
.airboo-tile { position: relative; isolation: isolate; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; border-radius: var(--airboo-radius); overflow: hidden; background: #12423D; color: #fff; }
.airboo-tile > * { margin: 0 !important; }
.airboo-tile .airboo-tile__img { position: absolute !important; inset: 0; z-index: -2; }
.airboo-tile__img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform 1.2s var(--airboo-ease); }
.airboo-tile:hover .airboo-tile__img img { transform: scale(1.06); }
.airboo-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 25, 24, .05) 25%, rgba(6, 25, 24, .92)); }
.airboo-tile .airboo-tag { position: relative; z-index: 2; margin-bottom: 10px !important; }
.airboo-tile .airboo-tag a { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(8px); }
.airboo-tile .wp-block-post-title { font-size: 1.35rem; line-height: 1.15; }
.airboo-bento li:nth-child(1) .wp-block-post-title { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.airboo-tile .wp-block-post-title a { color: #fff; text-decoration: none; }
.airboo-tile .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.airboo-tile .wp-block-post-date { color: rgba(255, 255, 255, .8); margin-top: 8px !important; }

/* --- Simulateur : jauge ----------------------------------------------------- */
.airboo-gauge { width: min(260px, 70%); aspect-ratio: 1; margin: 6px 0 20px; }
.airboo-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.airboo-gauge .track { stroke: rgba(255, 255, 255, .12); }
.airboo-gauge .val { stroke: url(#airbooGauge); transition: stroke-dashoffset .5s var(--airboo-ease); }

/* --- Atlas des villes ------------------------------------------------------- */
.airboo-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.airboo-cities a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--wp--preset--color--line); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); text-decoration: none; font-weight: 600; transition: border-color .2s, transform .2s; }
.airboo-cities a:hover { border-color: var(--wp--preset--color--teal); transform: translateY(-2px); color: var(--wp--preset--color--ink); }
.airboo-cities small { font-weight: 500; font-size: .8rem; color: var(--wp--preset--color--ink-soft); }

/* --- Méthode ---------------------------------------------------------------- */
.airboo-method { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: airboo-m; }
.airboo-method li { counter-increment: airboo-m; padding: 26px; border-radius: var(--airboo-radius); background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); }
.airboo-method li::before { content: "0" counter(airboo-m); display: block; margin-bottom: 14px; font: 600 2.4rem/1 var(--wp--preset--font-family--serif); color: var(--wp--preset--color--terra); }
.airboo-method h3 { font-size: 1.2rem; margin: 0 0 8px; }
.airboo-method p { margin: 0; color: var(--wp--preset--color--ink-soft); font-size: .95rem; }

/* --- Réponse courte en tête d'article (GEO) -------------------------------- */
.airboo-prose #answer { padding: 22px 26px; border-radius: 18px; background: var(--wp--preset--color--sand); border-left: 4px solid var(--wp--preset--color--terra); font-size: 1.15rem; }
.airboo-prose #answer p { margin: 0; }

@media (max-width: 1040px) {
	.airboo-atlas-hero__grid, .airboo-deadline { grid-template-columns: 1fr; }
	.airboo-atlas-map { max-width: 620px; width: 100%; margin-inline: auto; }
	.airboo-answers { grid-template-columns: 1fr; }
	.airboo-bento .wp-block-post-template { grid-template-columns: repeat(2, 1fr); }
	.airboo-bento .wp-block-post-template > li { grid-column: span 1; }
	.airboo-bento .wp-block-post-template > li:nth-child(1), .airboo-bento .wp-block-post-template > li:nth-child(2) { grid-column: span 2; grid-row: span 2; }
	.airboo-method { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.airboo-ask { flex-direction: column; border-radius: 22px; }
	.airboo-clock { grid-template-columns: repeat(2, 1fr); }
	.airboo-bento .wp-block-post-template { grid-template-columns: 1fr; grid-auto-rows: 210px; }
	.airboo-bento .wp-block-post-template > li, .airboo-bento .wp-block-post-template > li:nth-child(2) { grid-column: auto; grid-row: span 1; }
	.airboo-bento .wp-block-post-template > li:nth-child(1) { grid-column: auto; grid-row: span 2; }
	.airboo-method { grid-template-columns: 1fr; }
	.airboo-pin text { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.airboo-arc { stroke-dashoffset: 0; animation: none; }
	.airboo-pin .halo { animation: none; opacity: 0; }
}

/* Le héro sombre colle à l'en-tête (pas d'espacement de bloc avant). */
.home .wp-site-blocks > .airboo-main, .home main.airboo-main { margin-block-start: 0; }
