/*
Theme Name: Flavia Aiala v4
Theme URI: https://maxm.agency
Author: MAX M
Description: Tema de blocos do site da Flavia Aiala (PR e posicionamento). v4 = debriefing aprovado em 13/10/2026: estrutura do modelo B (moldura, cantos arredondados), Cormorant Garamond + Jost, movimento com GSAP + ScrollTrigger. Todo o conteúdo mora nas páginas, no cabeçalho e no rodapé e é editável no painel; este arquivo só guarda o desenho.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 4.0.0
License: GPL-2.0-or-later
Text Domain: flavia-aiala
*/

/* Regras de sistema: OURO É LINHA (fio, moldura, nunca bloco nem texto) · ROSA É PEDRA (um ponto por tela) ·
   PRETO SÓ NO CÉU (seção da IA) · base clara.
   Classes usadas pela página Início (Avançado > Classes CSS adicionais): rotulo, tile, secao, envelope, fa-*.
   Itálico num título ganha o sublinhado dourado. */

:root {
	--papel: var(--wp--preset--color--papel, #FCF8F3);
	--branco: var(--wp--preset--color--branco, #fff);
	--tinta: var(--wp--preset--color--tinta, #1E1917);
	--corpo: var(--wp--preset--color--corpo, #625951);
	--dourado: var(--wp--preset--color--dourado, #C8972B);
	--dourado-texto: var(--wp--preset--color--dourado-texto, #7E5E17);
	--dourado-noite: var(--wp--preset--color--dourado-noite, #D5B76B);
	--rosa: var(--wp--preset--color--rosa, #EC0C84);
	--noite: var(--wp--preset--color--noite, #0B0A0F);
	--noite-texto: var(--wp--preset--color--noite-texto, #FCF8F3);
	--noite-corpo: var(--wp--preset--color--noite-corpo, #C8C0BD);
	--fio: var(--wp--preset--color--fio, #DED7CF);
	--serif: var(--wp--preset--font-family--cormorant, "Cormorant Garamond", Georgia, serif);
	--sans: var(--wp--preset--font-family--jost, Jost, system-ui, sans-serif);
	--raio: 18px;
	--margem: 48px;
	--max: 1280px;
	--topo-alt: 120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; background: var(--papel); color: var(--tinta); }
img { display: block; max-width: 100%; height: auto; }
::selection { background: #E8DDBE; color: var(--tinta); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--dourado-texto); outline-offset: 5px; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks p { margin: 0; }
.wp-site-blocks h1, .wp-site-blocks h2, .wp-site-blocks h3, .wp-site-blocks h4 { margin: 0; text-wrap: balance; }
.wp-site-blocks figure { margin: 0; }
.wp-site-blocks ul, .wp-site-blocks ol { margin: 0; }
h1, h2, h3 { font-variant-numeric: lining-nums; }

/* itálico do título: a palavra com o fio de ouro embaixo */
h1 em, h2 em { font-style: italic; font-weight: 500; position: relative; display: inline-block; --fa-sub: 1; }
h1 em::after, h2 em::after { content: ""; position: absolute; left: 2%; right: 2%; bottom: .06em; height: 1px; background: var(--dourado); transform: scaleX(var(--fa-sub)); transform-origin: left; }
.fa-palavra { display: inline-block; will-change: transform, filter, opacity; }

.envelope { width: min(var(--max), calc(100% - 2 * var(--margem))); margin-left: auto !important; margin-right: auto !important; min-width: 0; }
.secao { padding-block: 84px; }
.tile { border: 1px solid var(--fio); border-radius: var(--raio); background: var(--branco); overflow: hidden; min-width: 0; position: relative; }

/* rótulo: fio de ouro + nome */
.wp-site-blocks .rotulo { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 12px; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; color: var(--tinta); margin-bottom: 16px; line-height: 1.5; }
.rotulo::before { content: ""; width: 28px; height: 1px; background: var(--dourado); flex: none; }
.rotulo-estrela::before { width: 15px; height: 15px; background: none; border: 0; content: ""; -webkit-mask: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 1 12.6 9.4 21 11 12.6 12.6 11 21 9.4 12.6 1 11 9.4 9.4Z' fill='none' stroke='%23C8972B' stroke-width='1.2'/%3E%3C/svg%3E"); background-size: contain; }
.wp-site-blocks .micro { font-size: 12px; color: var(--corpo); }
.wp-site-blocks h2 { font-size: clamp(44px, 4.8vw, 68px); letter-spacing: -.035em; line-height: 1.02; font-weight: 500; }

/* botões: moldura de ouro, cantos de pílula */
.wp-block-buttons { gap: 12px; }
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 48px; text-decoration: none; transition: transform .2s, border-color .2s, box-shadow .2s; }
.wp-block-button__link:hover { transform: translateY(-3px); box-shadow: 0 5px 0 #EEE8DF; }
.btn-seta .wp-block-button__link::after { content: "\2197"; font-size: 18px; line-height: 1; }
.btn-linha .wp-block-button__link { background: transparent; border-color: transparent; border-bottom-color: var(--dourado); border-radius: 0; padding-left: 0; padding-right: 0; min-height: 0; }
.btn-linha .wp-block-button__link:hover { box-shadow: none; border-bottom-color: var(--tinta); }
.botao-largo, .botao-largo .wp-block-button { width: 100%; }
.botao-largo .wp-block-button__link { width: 100%; }

/* ── TOPO: pílula flutuante ── */
.wp-site-blocks > header.wp-block-template-part { position: relative; z-index: 60; }
.topo { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); width: min(1060px, calc(100% - 40px)); z-index: 60; }
.admin-bar .topo { top: 54px; }
.topo-pilula { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 11px 12px 11px 22px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(1.2) blur(8px); backdrop-filter: saturate(1.2) blur(8px); border: 1px solid var(--fio); border-radius: 100px; box-shadow: 0 7px 24px #1e191708; }
.topo .wp-block-site-logo { flex: none; line-height: 0; }
.topo .wp-block-site-logo img { width: 206px !important; height: auto; }
.topo .wp-block-navigation { font-size: 13px; color: var(--tinta); }
.topo .wp-block-navigation .wp-block-navigation__container { gap: 26px; }
.topo .wp-block-navigation a { text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 2px; }
.topo .wp-block-navigation a:hover { border-bottom-color: var(--dourado); }
.topo-acao .wp-block-button__link { min-height: 42px; font-size: 12.5px; padding: 9px 17px; gap: 16px; }
.topo:has(.wp-block-navigation__responsive-container.is-menu-open) .topo-pilula { -webkit-backdrop-filter: none; backdrop-filter: none; }
.topo .wp-block-navigation__responsive-container.is-menu-open { position: fixed; inset: 0; width: 100vw; height: 100dvh; padding: 30px 28px; background: var(--papel) !important; }
.topo .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px; gap: .4em; align-items: flex-start; }
.topo .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-family: var(--serif); font-size: 34px; line-height: 1.25; letter-spacing: -.02em; }
.topo .wp-block-navigation__responsive-container-open { width: 36px; height: 36px; border: 1px solid var(--fio); border-radius: 50%; display: none; place-items: center; }
.topo .wp-block-navigation__responsive-container-open svg { width: 18px; height: 18px; }

/* ── 01 ABERTURA ── */
.fa-hero { padding-top: 132px; padding-bottom: 34px; }
.fa-hero-grade { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 460px 174px; gap: 16px; }
.fa-hero-main { grid-column: span 7; padding: 30px 36px; display: flex; flex-direction: column; justify-content: space-between; }
.fa-hero-main h1 { font-size: clamp(46px, 5.3vw, 76px); letter-spacing: -.045em; line-height: 1.02; font-weight: 500; max-width: 640px; }
.fa-hero-rodape { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 20px; }
.wp-site-blocks .fa-hero-rodape p:first-child { font-size: 13px; max-width: 290px; color: var(--corpo); line-height: 1.55; }
.seta-baixo a { width: 34px; height: 34px; border: 1px solid var(--fio); border-radius: 50%; display: grid; place-items: center; text-decoration: none; transition: border-color .2s; }
.seta-baixo a:hover { border-color: var(--dourado); }
.fa-hero-foto { grid-column: 8 / 13; grid-row: 1 / 3; background: #191516; }
.fa-hero-foto .wp-block-image { position: absolute; inset: 0; margin: 0; }
.fa-hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 28%; }
.fa-hero-foto::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, #0b0a0f8c, transparent); pointer-events: none; z-index: 2; }
.fa-hero-foto .fa-slide + .fa-slide { opacity: 0; animation: fa-troca5 25s infinite; }
.fa-hero-foto .fa-slide:nth-child(2) { animation-delay: 5s; }
.fa-hero-foto .fa-slide:nth-child(3) { animation-delay: 10s; }
.fa-hero-foto .fa-slide:nth-child(4) { animation-delay: 15s; }
.fa-hero-foto .fa-slide:nth-child(5) { animation-delay: 20s; } /* 16/10: estúdio no banner, pedido da Fla (2A1D37DF5BD4B65ECB22) */
.fa-hero-foto .fa-slide:nth-child(2) img { object-position: 62% 50%; }
/* 16/10: AMG ancorada na direita. O arquivo que temos (recorte 4:5 do post) já encosta o braço dela na borda direita;
   centralizar cortava ainda mais ("A foto que estou na frente do carro, de boné também está cortada", 2A8BD2E329ACC0249AA5). */
.fa-hero-foto .fa-slide:nth-child(3) img { object-position: 70% 30%; } /* 22/10: amg2 é a original inteira (51833); 70% centra ela e o carro */
.fa-hero-foto .fa-slide:nth-child(4) img { object-position: 50% 30%; }
.fa-hero-foto .fa-slide:nth-child(5) img { object-position: 50% 12%; }
@keyframes fa-troca { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
/* 5 slides x 5 s = 25 s; cada um aparece 5 s (20% do ciclo) com 1 s de fusão */
@keyframes fa-troca5 { 0% { opacity: 0; } 4% { opacity: 1; } 20% { opacity: 1; } 24% { opacity: 0; } 100% { opacity: 0; } }
.fa-hero-simbolo { grid-column: span 2; display: flex; align-items: center; justify-content: center; }
.fa-hero-simbolo::before, .fa-hero-simbolo::after { content: ""; position: absolute; left: 50%; top: 50%; width: 140px; height: 140px; transform: translate(-50%, -50%); border: 1px solid #C8972B30; border-radius: 50%; }
.fa-hero-simbolo::after { width: 200px; height: 200px; }
.fa-hero-simbolo .wp-block-image { margin: 0; position: relative; z-index: 1; }
.fa-hero-simbolo img { width: 112px; animation: fa-gira 26s linear infinite; }
@keyframes fa-gira { to { transform: rotate(360deg); } }
.fa-hero-acao { grid-column: span 5; padding: 24px 29px; display: flex; flex-direction: column; justify-content: space-between; }
.wp-site-blocks .rotulo-forte { font-size: 13px; letter-spacing: .18em; margin-bottom: 6px; }
.rotulo-forte::before { display: none; }
.wp-site-blocks .fa-status { font-size: 12px; color: var(--corpo); display: flex; align-items: center; gap: 8px; }
.fa-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rosa); flex: none; }

/* faixa das frentes */
.faixa-corre { overflow: hidden; border-block: 1px solid var(--fio); background: var(--branco); padding: 18px 0; }
.faixa-corre ul { list-style: none; padding: 0; display: flex; width: max-content; white-space: nowrap; }
.faixa-corre li { display: flex; align-items: center; gap: 38px; padding-right: 38px; font-size: 13px; letter-spacing: .045em; }
.faixa-corre li::before { content: "\25C7"; color: var(--dourado); }
.faixa-corre.is-rodando ul { animation: fa-corre 38s linear infinite; }
.faixa-corre:hover ul { animation-play-state: paused; }
@keyframes fa-corre { to { transform: translateX(-50%); } }

/* ── O VERDADEIRO LUXO ── */
.fa-luxo { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; align-items: end; }
.fa-luxo h2 { font-size: clamp(52px, 6.4vw, 96px); line-height: .98; }
.fa-luxo-corpo { border-top: 1px solid var(--dourado); padding-top: 26px; }
.wp-site-blocks .fa-luxo-texto { font-size: 19px; line-height: 1.6; color: var(--tinta); font-weight: 400; }

/* ── 02 O 360 ── */
.fa-360 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }
.wp-site-blocks .fa-360-texto { margin-top: 26px; font-size: 17px; line-height: 1.65; color: var(--corpo); max-width: 520px; }
.fa-orbita { position: relative; }
.fa-orbita-lista { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.fa-orbita-lista li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.fa-orbita-lista li::before { content: ""; width: 9px; height: 9px; border: 1px solid var(--dourado); transform: rotate(45deg); flex: none; }
.fa-orbita-simbolo img { width: 110px; margin-top: 18px; }
.wp-site-blocks .fa-orbita-centro { font-family: var(--serif); font-style: italic; font-size: 28px; margin-top: 10px; }
.fa-orbita.is-montada .fa-orbita-lista { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fa-orbita-palco { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; }
.fa-orbita-palco svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.fa-orbita-rotulo { position: absolute; font-size: 15px; line-height: 1.3; color: var(--tinta); width: 150px; }
.fa-orbita-rotulo[data-lado="dir"] { transform: translate(26px, -50%); text-align: left; }
.fa-orbita-rotulo[data-lado="esq"] { transform: translate(calc(-100% - 26px), -50%); text-align: right; }
.fa-orbita-rotulo[data-lado="topo"] { transform: translate(-50%, calc(-100% - 22px)); text-align: center; }
.fa-orbita-rotulo[data-lado="base"] { transform: translate(-50%, 22px); text-align: center; }
.fa-orbita-meio { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; width: 60%; }
.fa-orbita-meio .fa-orbita-simbolo img { margin: 0; width: 104px; }
.fa-orbita-meio .fa-orbita-centro { margin-top: 12px; }

/* ── 03 FRENTES ── */
.fa-cabeca { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 32px; }
.wp-site-blocks .fa-cabeca-lado { max-width: 320px; }
.wp-site-blocks .fa-cabeca-lado p { color: var(--corpo); font-size: 14px; line-height: 1.55; }
.wp-site-blocks .fa-cabeca-lado .micro { margin-top: 6px; font-size: 12px; }
.fa-frentes-grade { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 185px 185px 170px; gap: 14px; }
.frente { position: relative; border: 1px solid var(--fio); border-radius: var(--raio); background: var(--branco); overflow: hidden; padding: 66px 25px 23px; display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer; transition: border-color .25s, box-shadow .25s; }
.frente:hover, .frente[aria-expanded="true"] { border-color: var(--dourado); box-shadow: 0 8px 24px #1e191708; }
.frente::before { content: ""; position: absolute; top: 22px; left: 25px; width: 29px; height: 29px; background: center / contain no-repeat; }
.frente::after { content: "+"; position: absolute; right: 22px; bottom: 21px; width: 27px; height: 27px; border: 1px solid var(--fio); border-radius: 50%; display: grid; place-items: center; font-size: 19px; line-height: 1; transition: transform .3s; background: var(--branco); z-index: 3; }
.frente[aria-expanded="true"]::after { transform: rotate(45deg); }
.frente h3 { font-size: 24px; line-height: 1.12; letter-spacing: -.015em; font-weight: 500; max-width: 310px; padding-right: 36px; position: relative; z-index: 2; }
.wp-site-blocks .frente-texto { position: relative; z-index: 2; font-size: 14px; color: var(--corpo); line-height: 1.45; margin-top: 12px; padding-right: 40px; transition: max-height .35s, opacity .3s, margin .3s; max-height: 120px; }
.fa-js .frente:not([aria-expanded="true"]) .frente-texto { max-height: 0; opacity: 0; margin-top: 0; overflow: hidden; }
.wp-site-blocks .frente-micro { position: absolute; top: 28px; left: 66px; font-size: 12px; color: var(--corpo); }
.frente .frente-img { position: absolute; margin: 0; z-index: 1; transition: opacity .3s, transform .5s; }
.frente .frente-img img { width: 100%; height: 100%; object-fit: cover; }
.frente-branding .frente-img-simbolo { left: 50%; top: 42%; width: 150px; transform: translate(-50%, -50%); opacity: .9; }
.frente-branding .frente-img-simbolo img { object-fit: contain; animation: fa-gira 40s linear infinite; }
.frente-audiovisual .frente-img { top: 70px; left: 0; width: 100%; height: 163px; }
.frente-audiovisual .frente-img img { object-position: 50% 28%; } /* 15/10: foto do estúdio no lugar das mãos ("Foto sem sentido") */
.frente[aria-expanded="true"] .frente-img { opacity: .15; }
.frente-branding { grid-column: span 5; grid-row: span 2; }
.frente-estrategia { grid-column: span 4; }
.frente-audiovisual { grid-column: 10 / 13; grid-row: 1 / 3; }
.frente-redes { grid-column: 6 / 10; grid-row: 2; }
.frente-rp { grid-column: span 7; }
.frente-ia { grid-column: span 5; }
.frente-branding::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23C8972B' stroke-width='1.2'%3E%3Cpath d='M16 3 29 16 16 29 3 16Z M16 3v26M3 16h26M9 9l14 14M23 9 9 23'/%3E%3C/svg%3E"); }
.frente-estrategia::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23C8972B' stroke-width='1.2'%3E%3Cpath d='m4 25 8-12 8 6 8-14M4 25h24M12 13V6M20 19v-6'/%3E%3Ccircle cx='12' cy='13' r='2'/%3E%3Ccircle cx='20' cy='19' r='2'/%3E%3C/svg%3E"); }
.frente-audiovisual::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23C8972B' stroke-width='1.2'%3E%3Cpath d='M4 8h18v16H4Z M22 13l7-5v16l-7-5M9 12l8 4-8 4Z'/%3E%3C/svg%3E"); }
.frente-redes::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23C8972B' stroke-width='1.2'%3E%3Cpath d='M7 3h18v26H7Z M11 8h10M11 13h10M11 18h6M14 25h4'/%3E%3C/svg%3E"); }
.frente-rp::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23C8972B' stroke-width='1.2'%3E%3Ccircle cx='6' cy='16' r='3'/%3E%3Ccircle cx='25' cy='6' r='3'/%3E%3Ccircle cx='25' cy='26' r='3'/%3E%3Cpath d='m9 15 13-8M9 17l13 8M25 9v14'/%3E%3C/svg%3E"); }
.frente-ia::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23C8972B' stroke-width='1.2'%3E%3Cpath d='M10 10h12v12H10ZM4 4l6 6M28 4l-6 6M4 28l6-6M28 28l-6-6M16 2v8M16 22v8M2 16h8M22 16h8'/%3E%3C/svg%3E"); }

/* ── 04 TRAJETÓRIA ── */
.fa-trajetoria { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.fa-trajetoria-moldura { aspect-ratio: 4 / 5; padding: 14px; }
.fa-trajetoria-moldura .wp-block-image { position: absolute; inset: 14px; border-radius: 10px; overflow: hidden; }
.fa-trajetoria-moldura img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.fa-trajetoria-texto > p:not(.rotulo) { margin-top: 24px !important; font-size: 17px; line-height: 1.65; color: var(--corpo); max-width: 600px; }
.fa-linha-tempo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; border-top: 1px solid var(--dourado); }
.marco { padding: 20px 20px 0 0; position: relative; }
.marco::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--papel); border: 1px solid var(--dourado); transform: rotate(45deg); }
.wp-site-blocks .marco-num { font-family: var(--serif); font-size: 44px; line-height: 1.05; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums; }
.wp-site-blocks .marco-txt { font-size: 13px; color: var(--corpo); margin-top: 6px; line-height: 1.45; max-width: 200px; }

/* ── 05 EM CAMPO ── */
.fa-campo-grade { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.campo-foto { position: relative; border: 1px solid var(--fio); border-radius: var(--raio); overflow: hidden; background: var(--branco); min-width: 0; will-change: transform; }
.campo-foto img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; }
.campo-grande { grid-row: 1 / 3; }
.campo-grande img { aspect-ratio: auto; }
.campo-amg2 img { object-position: 70% 30%; }
/* 22/10: 2a grade do Em campo, espelhada (foto grande na direita). */
.fa-campo-grade-2 { grid-template-columns: 1fr 1fr 1.3fr; margin-top: 14px; }
.fa-campo-grade-2 .campo-grande-dir { grid-column: 3; grid-row: 1 / 3; }
.fa-campo-grade-2 .campo-grande-dir img { object-position: 50% 30%; }
/* A foto grande é retrato (1100x1346): no fluxo ela esticava as linhas. Fora do fluxo, a altura vem das 4 menores em 4:5. */
.fa-campo-grade-2 .campo-foto:not(.campo-grande-dir) img { height: auto; }
.fa-campo-grade-2 .campo-grande-dir img { position: absolute; inset: 0; height: 100%; }
.campo-foto figcaption { position: absolute; left: 12px; bottom: 12px; margin: 0; width: fit-content; max-width: calc(100% - 24px); background: var(--papel); color: var(--tinta); border-radius: 100px; padding: 6px 12px; font-size: 11px; line-height: 1.3; z-index: 2; }
.fa-videos { margin-top: 24px; }
body:not(.editor-styles-wrapper) .fa-videos:not(.tem-conteudo) { display: none; }
body:not(.editor-styles-wrapper) .so-no-painel { display: none !important; }
.so-no-painel { font-size: 13px; color: var(--corpo); border: 1px dashed var(--dourado); border-radius: 12px; padding: 14px 16px; }

/* ── 06 CLIENTES E PARCEIROS ── */
.fa-clientes { padding-bottom: 84px; }
.faixa-logos { overflow: hidden; border-block: 1px solid var(--fio); background: var(--branco); padding: 30px 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 56px; }
.faixa-logos.is-rodando { display: block; padding: 30px 0; }
.faixa-trilho { display: flex; width: max-content; animation: fa-corre 46s linear infinite; }
.faixa-logos:hover .faixa-trilho, .faixa-logos.is-pausa .faixa-trilho { animation-play-state: paused; }
.faixa-grupo { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.faixa-logos .logo-img { margin: 0; flex: none; }
.faixa-logos .logo-img img { height: 42px; width: auto; max-width: 190px; object-fit: contain; opacity: .85; }
.faixa-logos .logo-alto img { height: 70px; max-width: 110px; }
.wp-site-blocks .fa-cabeca-lado .fa-clientes-nota { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--tinta); }
.wp-site-blocks .faixa-logos .logo-nome { font-family: var(--serif); font-size: 27px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; color: var(--tinta); flex: none; }

/* ── 07 INTERNACIONAL ── */
.fa-inter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.fa-inter-moldura { padding: 14px; aspect-ratio: 3 / 2; }
.fa-inter-moldura .wp-block-image { position: absolute; inset: 14px; }
.fa-inter-moldura img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.fa-inter-moldura figcaption { position: absolute; left: 14px; bottom: 14px; margin: 0; background: var(--papel); border-radius: 100px; padding: 6px 12px; font-size: 11px; z-index: 2; }
.fa-inter-item { border-top: 1px solid var(--fio); padding-top: 20px; margin-top: 24px; }
.fa-inter-item:first-of-type { border-top-color: var(--dourado); margin-top: 32px; }
.fa-inter-item h3 { font-size: 30px; font-weight: 500; }
.wp-site-blocks .fa-inter-item p { margin-top: 8px; color: var(--corpo); font-size: 16px; line-height: 1.6; }
/* Parceria LA: galeria de 3 fotos do trabalho do Felipe Castelo (escolha aprovada pela Fla em 14/10 13:20) */
.fa-la-galeria { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wp-site-blocks .fa-la-galeria > * { margin: 0; }
.fa-la-foto { position: relative; border: 1px solid var(--fio); border-radius: var(--raio); overflow: hidden; background: var(--branco); min-width: 0; }
.fa-la-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.fa-la-foto figcaption { margin: 0; padding: 10px 14px; font-size: 12px; line-height: 1.3; color: var(--corpo); background: var(--branco); border-top: 1px solid var(--dourado); } /* fora da foto: capa de revista tem texto embaixo */
/* 16/10: editorial Vanguard (fotos da Fla), mesma galeria da Parceria LA logo abaixo dela */
.wp-site-blocks .fa-inter > .fa-vg-galeria { margin-top: 0; }

/* ── 08 MÉTODO ── */
.fa-metodo-quadro { padding: 36px 38px 34px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 52px; }
.fa-metodo-titulo h2 { font-size: clamp(40px, 3.6vw, 52px); }
.fa-metodo-foto { margin-top: 26px !important; border-radius: 12px; overflow: hidden; border: 1px solid var(--fio); max-width: 320px; }
.fa-metodo-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
.fa-metodo-foto figcaption { margin: 0; font-size: 11px; color: var(--corpo); padding: 9px 12px; border-top: 1px solid var(--dourado); background: var(--branco); }
.fa-metodo-corpo > p { font-size: 17px; line-height: 1.65; color: var(--corpo); margin-top: 14px !important; max-width: 640px; }
.wp-site-blocks .fa-metodo-corpo > .fa-metodo-dor { font-family: var(--serif); font-style: italic; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; color: var(--tinta); margin-top: 0 !important; letter-spacing: -.015em; }
.wp-site-blocks .fa-metodo-corpo > .fa-metodo-chave { font-family: var(--serif); font-size: 26px; color: var(--tinta); line-height: 1.25; margin-top: 22px !important; }
.fa-etapas { list-style: none; padding: 0 !important; margin-top: 34px !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: etapa; position: relative; border-top: 1px solid var(--fio); --fa-fio: 1; }
.fa-etapas::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--dourado); transform: scaleX(var(--fa-fio)); transform-origin: left; }
.fa-etapas li { counter-increment: etapa; padding: 18px 14px 0 0; font-size: 15px; font-weight: 500; line-height: 1.3; }
.fa-etapas li::before { content: "0" counter(etapa) " /"; display: block; font-size: 11px; font-weight: 400; color: var(--corpo); letter-spacing: .08em; margin-bottom: 8px; }

/* ── 09 IA COM A MAX M: o momento céu ── */
.fa-ia { position: relative; background: var(--noite); color: var(--noite-texto); padding: 76px 0 62px; overflow: hidden; isolation: isolate; }
/* 15/10: a Fla pediu "uma galáxia com uma clareza melhor" (2A4263FBCCEFF0CF0BCC) e mandou referência rosa e violeta
   (4A7D882B73A83BDC967A). NGC 1068, NASA/JPL-Caltech/Roma Tre Univ. Galáxia à direita; a esquerda segue escura (contraste AA). */
.fa-ia::before { content: ""; position: absolute; inset: 0; z-index: -2; background: #0B0A0F url(assets/img/ceu-galaxia-rosa.jpg) right center / cover no-repeat; opacity: .95; }
.fa-ia::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0B0A0Ff2 0%, #0B0A0Fc8 34%, #0B0A0F40 62%, #0B0A0F00 100%); }
.fa-ia-rodape::after { content: "Imagem: NASA/JPL-Caltech"; position: absolute; right: var(--margem, 24px); bottom: 14px; font-size: 10px; letter-spacing: .04em; color: #B9ADA2; }
.fa-ia h2, .fa-ia h3, .fa-ia h4 { color: var(--noite-texto); }
.fa-ia .rotulo { color: var(--noite-texto); }
.fa-ia-topo { display: flex; justify-content: space-between; align-items: flex-start; gap: 35px; }
.fa-ia-topo h2 { max-width: 760px; font-size: clamp(44px, 4.5vw, 65px); }
.wp-site-blocks .fa-parceria { font-size: 12px; border: 1px solid #D5B76B66; border-radius: 100px; padding: 10px 16px; white-space: nowrap; margin-top: 5px; color: #EEE5D3; }
.wp-site-blocks .fa-ia-intro { color: var(--noite-corpo); font-size: 15px; margin-top: 19px; max-width: 600px; }
.ia-barra { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 30px 0 24px; }
.ia-cenarios { display: flex; gap: 9px; flex-wrap: wrap; }
.ia-cenario-btn, .ia-no, .ia-repetir, .ia-pausa, .fa-seta { font: inherit; cursor: pointer; background: none; color: inherit; }
.ia-cenario-btn { color: var(--noite-texto); border: 1px solid #6B625D; border-radius: 100px; padding: 10px 17px; font-size: 13px; min-height: 42px; transition: border-color .2s, background .2s; }
.ia-cenario-btn[aria-pressed="true"] { border-color: var(--dourado-noite); background: #FCF8F30d; }
.ia-cenario-btn:hover { border-color: var(--dourado-noite); }
.ia-selo { color: var(--noite-corpo); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ia-grade { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; }
.ia-painel { border: 1px solid #50483E; border-radius: var(--raio); background: #0B0A0F80; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.ia-painel-topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 23px; border-bottom: 1px solid #413A34; color: #D7CEC2; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ia-painel-topo strong { font-weight: 500; }
.ia-luz { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--dourado-noite); margin-right: 6px; box-shadow: 0 0 9px var(--dourado); }
.ia-constelacao { position: relative; height: 362px; }
.ia-linhas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ia-rota { fill: none; stroke: var(--dourado); stroke-opacity: .55; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ia-pulso { fill: #FFE9A4; filter: drop-shadow(0 0 5px #C8972B); }
.ia-no { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -15.5px); border: 0; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; color: #E9E0D8; width: 105px; font-size: 12px; line-height: 1.2; text-align: center; }
.ia-orbe { width: 31px; height: 31px; border: 1px solid #C8972B80; border-radius: 50%; display: grid; place-items: center; background: #171319; transition: box-shadow .3s, border-color .3s; }
.ia-orbe::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--dourado-noite); }
.ia-no.is-ativo .ia-orbe, .ia-no:hover .ia-orbe { border-color: #F2D386; box-shadow: 0 0 0 7px #C8972B14, 0 0 24px #C8972B33; }
.ia-no.is-ativo { color: #fff; }
.ia-no-flavia .ia-orbe::before { background: var(--rosa); border-radius: 50%; transform: none; width: 7px; height: 7px; }
.ia-legenda { margin: 0 22px 20px; padding-top: 17px; border-top: 1px solid #413A34; min-height: 54px; font-size: 13px; color: #CCC2B7; line-height: 1.45; }
.ia-legenda strong { color: #EBD298; font-weight: 500; }
.ia-chat { border: 1px solid #655A4C; border-radius: var(--raio); overflow: hidden; background: #151217; display: flex; flex-direction: column; height: 490px; min-width: 0; }
.ia-chat-topo { padding: 16px 18px; border-bottom: 1px solid #413A34; display: flex; align-items: center; gap: 12px; }
.ia-avatar { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #6B625D; border-radius: 50%; font-family: var(--serif); font-size: 19px; }
.ia-chat-topo strong { display: block; font-weight: 500; font-size: 14px; }
.ia-chat-topo small { display: block; color: #C9BEB5; font-size: 11px; }
.ia-tela { padding: 16px 18px 12px; display: flex; flex-direction: column; gap: 10px; flex: 1; overflow: auto; scrollbar-width: none; }
.ia-tela::-webkit-scrollbar { display: none; }
.ia-hora-tela { font-size: 10px; text-align: center; color: #BAB0A6; margin-bottom: 4px; }
.ia-bolha { max-width: 90%; width: fit-content; border-radius: 12px 12px 12px 3px; padding: 10px 12px; background: #2B252B; font-size: 12.5px; line-height: 1.45; color: #F8F4EC; border: 1px solid #4D4247; animation: fa-entra .35s both; }
.ia-bolha.ia-agente { align-self: flex-end; border-radius: 12px 12px 3px 12px; background: #EEE8DF; color: #29221D; border-color: #EEE8DF; }
.ia-bolha em { display: block; font-style: normal; font-size: 9.5px; margin-top: 5px; text-align: right; opacity: .75; }
.ia-digitando { color: #CFC2AE; font-size: 11px; padding-inline: 4px; animation: fa-pisca 1s infinite; }
.ia-chat-rodape { border-top: 1px solid #413A34; padding: 11px 17px; color: #B9ADA2; font-size: 10.5px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ia-repetir { border: 0; color: #F2D386; padding: 0; font-size: 11px; }
.fa-ia-rodape { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 23px; }
.wp-site-blocks .fa-ia-nota { font-size: 12px; color: var(--noite-corpo); max-width: 650px; }
.ia-pausa { color: #CFC2AE; border: 0; font-size: 12px; padding: 0; white-space: nowrap; }
.fa-ia-link a { font-size: 13px; color: #EEE5D3; border-bottom: 1px solid var(--dourado); padding-bottom: 5px; text-decoration: none; white-space: nowrap; }
@keyframes fa-entra { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes fa-pisca { 50% { opacity: .45; } }
body:not(.editor-styles-wrapper) .fa-ia-demo .ia-dados { display: none; }

/* ── DEPOIMENTOS (só aparece com citação) ── */
body:not(.editor-styles-wrapper) .fa-depoimentos:not(.tem-conteudo) { display: none; }
.fa-depoimentos .wp-block-quote { border: 1px solid var(--fio); border-radius: var(--raio); background: var(--branco); padding: 28px; margin: 0 0 14px; }
.fa-depoimentos .wp-block-quote p { font-family: var(--serif); font-size: 26px; line-height: 1.25; }
.fa-depoimentos .wp-block-quote cite { display: block; margin-top: 14px; font-size: 12px; font-style: normal; color: var(--corpo); letter-spacing: .08em; text-transform: uppercase; }

/* ── 10 PLANOS ── */
.fa-setas { display: flex; gap: 9px; margin-top: 16px; }
.fa-seta { width: 43px; height: 43px; border: 1px solid var(--fio); border-radius: 50%; display: grid; place-items: center; background: var(--branco); font-size: 20px; }
.fa-seta:hover { border-color: var(--dourado); }
.fa-planos-trilho { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 3px 1px 14px; scrollbar-width: thin; scrollbar-color: #B8A484 #EDE6DD; overscroll-behavior-x: contain; align-items: stretch; }
.plano { flex: 0 0 calc((100% - 48px) / 3.35); min-width: 285px; scroll-snap-align: start; background: var(--branco); border: 1px solid var(--fio); border-radius: var(--raio); padding: 26px; display: flex; flex-direction: column; }
.wp-site-blocks .plano-chamada { font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--dourado-texto); margin-bottom: 24px; }
.plano h3 { font-size: 26px; line-height: 1.12; letter-spacing: -.025em; min-height: 58px; font-weight: 500; }
.wp-site-blocks .plano-de { font-size: 11px; margin-top: 14px; color: var(--corpo); }
.wp-site-blocks .plano-valor { font-family: var(--serif); font-size: 42px; line-height: 1.05; letter-spacing: -.02em; white-space: nowrap; font-weight: 500; }
.wp-site-blocks .plano-periodo { font-size: 11px; color: var(--corpo); }
.wp-site-blocks .plano-desc { font-size: 13.5px; color: var(--corpo); margin-top: 16px; min-height: 42px; line-height: 1.5; }
.plano .wp-block-details { border-top: 1px solid var(--fio); margin-top: 22px; padding-top: 14px; }
.plano summary { font-size: 12.5px; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.plano summary::-webkit-details-marker { display: none; }
.plano summary::after { content: "+"; font-size: 20px; font-weight: 300; }
.plano details[open] summary::after { content: "\2212"; }
.plano .wp-block-list { font-size: 12.5px; color: var(--corpo); padding-left: 18px; margin-top: 10px; line-height: 1.5; }
.plano .wp-block-list li + li { margin-top: 6px; }
.wp-site-blocks .plano-metodo { margin-top: auto; padding-top: 16px; font-size: 11.5px; color: var(--tinta); display: flex; align-items: center; gap: 8px; }
.plano-metodo::before { content: ""; width: 18px; height: 1px; background: var(--dourado); }
.plano .wp-block-details + .plano-metodo { margin-top: auto; }
.wp-site-blocks .fa-planos-nota { font-size: 12px; color: var(--corpo); margin-top: 14px; }

/* ── 11 PERGUNTAS ── */
.fa-faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.5fr); gap: 80px; padding-top: 20px; }
.fa-faq h2 { font-size: 54px; }
.fa-faq-lista .wp-block-details { border-top: 1px solid var(--fio); padding: 19px 0; }
.fa-faq-lista .wp-block-details:last-child { border-bottom: 1px solid var(--fio); }
.fa-faq-lista summary { font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; }
.fa-faq-lista summary::-webkit-details-marker { display: none; }
.fa-faq-lista summary::after { content: "+"; font-size: 23px; font-weight: 300; }
.fa-faq-lista details[open] summary::after { content: "\2212"; }
.wp-site-blocks .fa-faq-lista details p { font-size: 15px; color: var(--corpo); margin-top: 12px; max-width: 600px; line-height: 1.6; }

/* ── 12 DIAGNÓSTICO ── */
.fa-diag-quadro { padding: 40px 42px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.fa-diag-texto > p:not(.rotulo) { margin-top: 22px !important; font-size: 16px; line-height: 1.65; color: var(--corpo); }
.fa-diag-passos { list-style: none; padding: 0 !important; margin-top: 28px !important; counter-reset: passo; border-top: 1px solid var(--dourado); }
.fa-diag-passos li { counter-increment: passo; display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--fio); font-size: 15px; }
.fa-diag-passos li::before { content: "0" counter(passo); font-family: var(--serif); font-size: 24px; line-height: 1; min-width: 32px; }
.fa-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.fa-campo-form { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fa-campo-largo { grid-column: 1 / -1; }
.fa-form label { font-size: 12px; letter-spacing: .04em; color: var(--corpo); }
.fa-form input[type="text"], .fa-form input[type="email"], .fa-form input[type="tel"], .fa-form textarea { font: inherit; font-size: 16px; color: var(--tinta); background: var(--papel); border: 1px solid var(--fio); border-radius: 12px; padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; }
.fa-form textarea { resize: vertical; min-height: 110px; }
.fa-form input:focus, .fa-form textarea:focus { outline: none; border-color: var(--dourado); box-shadow: 0 0 0 3px #C8972B22; }
.fa-form.is-validando :invalid { border-color: #B3261E; }
.fa-aceite { flex-direction: row; align-items: flex-start; gap: 10px; }
.fa-aceite input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--tinta); flex: none; }
.fa-aceite label { font-size: 12.5px; line-height: 1.5; }
.fa-aceite a { text-decoration: underline; text-decoration-color: var(--dourado); }
.fa-mel { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fa-enviar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.fa-botao { font: inherit; font-size: 14px; font-weight: 500; color: var(--tinta); background: var(--branco); border: 1px solid var(--dourado); border-radius: 100px; padding: 13px 22px; min-height: 48px; display: inline-flex; align-items: center; gap: 22px; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; }
.fa-botao:hover { transform: translateY(-3px); border-color: var(--tinta); box-shadow: 0 5px 0 #EEE8DF; }
.fa-botao:disabled { opacity: .6; cursor: progress; }
.wp-site-blocks .fa-form-status { font-size: 13px; color: var(--tinta); }

/* ── 13 FECHAMENTO ── */
.fa-final { padding-top: 0; }
.fa-final-quadro { padding: 47px 52px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 22px; }
.fa-final-quadro h2 { font-size: clamp(42px, 4vw, 60px); max-width: 680px; }
.wp-site-blocks .fa-final-quadro p:not(.rotulo) { font-size: 14px; color: var(--corpo); margin-top: 16px; }
.fa-final-botoes { flex-direction: column; align-items: stretch; flex: none; }
.fa-final-botoes .wp-block-button__link { width: 100%; }
.fa-final-botoes .btn-linha { align-self: center; }

/* ── RODAPÉ ── */
.rodape { border-top: 1px solid var(--dourado); padding: 64px 0 36px; background: var(--branco); }
.rodape .grade { display: grid; grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); gap: 40px; }
.rodape .wp-block-site-logo img { width: 260px !important; height: auto; }
.wp-site-blocks .rodape .marca p { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.35; color: var(--tinta); max-width: 26ch; }
.rodape h4 { margin: 0 0 16px !important; font-family: var(--sans); font-size: 11px; font-weight: 550; letter-spacing: .22em; text-transform: uppercase; color: var(--tinta); }
.wp-site-blocks .rodape ul { list-style: none; padding: 0; }
.rodape li { margin: 0 0 10px; font-size: 15px; }
.rodape li a { text-decoration: none; color: var(--corpo); }
.rodape li a:hover { color: var(--tinta); text-decoration: underline; text-decoration-color: var(--dourado); }
.rodape .base { display: flex; justify-content: space-between; gap: 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--fio); font-size: 13px; color: var(--corpo); }
.rodape .base a { color: var(--corpo); }

/* aviso de cookies (medição só depois do aceite) */
.fa-cookies { position: fixed; z-index: 90; left: 16px; bottom: 16px; max-width: 420px; background: var(--branco); border: 1px solid var(--dourado); border-radius: 16px; padding: 20px 22px; box-shadow: 0 20px 50px -30px rgba(30,25,23,.55); font-size: 14px; line-height: 1.5; display: none; }
.fa-cookies.is-aberto { display: block; }
.wp-site-blocks .fa-cookies p { margin-bottom: 14px; color: var(--corpo); }
.fa-cookies .wp-block-buttons { gap: 14px; }
.fa-cookies .wp-block-button__link { min-height: 40px; padding: 8px 18px; font-size: 13px; }

/* ── páginas internas: Conteúdos, texto, 404 ── */
.pag-cab { padding: calc(var(--topo-alt) + 40px) 0 48px; border-bottom: 1px solid var(--fio); }
.pag-cab h1 { font-size: clamp(48px, 6vw, 92px); line-height: .98; }
.wp-site-blocks .pag-cab .lead-2 { margin-top: 18px; color: var(--corpo); font-size: 18px; max-width: 46ch; }
.filtros { margin-top: 36px; }
.wp-site-blocks .filtros.is-layout-flex { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; }
.wp-site-blocks .filtros ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; }
.filtros a { text-decoration: none; font-size: 12px; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; color: var(--corpo); padding-bottom: 6px; border-bottom: 1px solid transparent; }
.filtros a:hover, .filtros .current-cat a { color: var(--tinta); border-bottom-color: var(--dourado); }
.filtros .cat-item-none { display: none; }
.lista-posts .wp-block-post-template { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 32px; padding: 64px 0; margin: 0; list-style: none; }
.lista-posts .wp-block-post-featured-image { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--raio); border: 1px solid var(--fio); background: var(--branco); margin: 0 0 20px; }
.lista-posts .wp-block-post-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.meta { display: flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 550; letter-spacing: .16em; text-transform: uppercase; color: var(--corpo); margin: 0 0 14px; }
.meta > * { margin: 0 !important; }
.meta a { text-decoration: none; color: inherit; }
.lista-posts .wp-block-post-title { font-size: 28px; line-height: 1.12; margin: 0 0 10px !important; }
.lista-posts .wp-block-post-title a { text-decoration: none; }
.lista-posts .wp-block-post-excerpt { font-size: 15px; color: var(--corpo); margin: 0; }
.lista-posts .wp-block-post-excerpt__more-text, .lista-posts .ler { display: none; }
.lista-posts .wp-block-query-pagination { display: flex; justify-content: space-between; padding: 28px 0 84px; border-top: 1px solid var(--fio); font-size: 13px; }
.wp-site-blocks .sem-posts { padding: 64px 0 96px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.2vw, 32px); }
.artigo { max-width: 860px; margin: 0 auto !important; padding: calc(var(--topo-alt) + 40px) var(--margem) 96px; }
.artigo .wp-block-post-title { font-size: clamp(40px, 4.9vw, 72px); line-height: 1.02; margin: 0 0 28px !important; }
.artigo .wp-block-post-featured-image { margin: 0 0 36px; border-radius: var(--raio); overflow: hidden; }
.artigo .wp-block-post-content > * + * { margin-top: 1.1em; }
.artigo .wp-block-post-content p { font-size: 18px; line-height: 1.7; color: var(--corpo); }
.artigo .wp-block-post-content h2 { font-size: clamp(30px, 3vw, 40px); margin-top: 1.6em; }
.artigo .wp-block-post-content a { text-decoration-color: var(--dourado); }
.p404 { position: relative; min-height: 100vh; display: flex; align-items: center; padding: var(--topo-alt) 0 60px; background: var(--noite); color: var(--noite-corpo); overflow: hidden; }
.p404::before { content: ""; position: absolute; inset: 0; background: url(assets/img/ceu-carina.jpg) center / cover no-repeat; opacity: .34; }
.p404 > .envelope { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.wp-site-blocks .p404 .codigo { font-family: var(--serif); font-size: clamp(110px, 15vw, 230px); line-height: .85; color: var(--dourado-noite); }
.p404 h1 { color: var(--noite-texto); font-size: clamp(40px, 4.4vw, 66px); margin: 24px 0 18px !important; }
.wp-site-blocks .p404 p:not(.codigo) { font-size: 18px; max-width: 40ch; }
.p404 .wp-block-buttons { margin-top: 22px; }
.wp-site-blocks .p404 ul.atalhos { list-style: none; padding: 0; border-top: 1px solid rgba(214,170,78,.5); }
.atalhos a { display: flex; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid rgba(236,232,228,.16); text-decoration: none; color: var(--noite-texto); font-family: var(--serif); font-size: 26px; }
.atalhos a::after { content: "\2192"; color: var(--dourado-noite); }
.atalhos li.tem-pedra a::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rosa); align-self: center; margin-right: 14px; }
.atalhos li.tem-pedra a::after { margin-left: auto; }
.fa-rodape-some { display: none; }

/* ── TABLET ── */
@media (max-width: 1100px) {
	:root { --margem: 28px; }
	.topo-pilula { gap: 16px; }
	.topo .wp-block-site-logo img { width: 180px !important; }
	.topo .wp-block-navigation .wp-block-navigation__container { gap: 16px; }
	.fa-hero-grade { grid-template-rows: 430px 170px; }
	.fa-hero-main { padding: 30px; }
	.fa-hero-main h1 { font-size: clamp(50px, 6vw, 64px); }
	.frente { padding-left: 21px; padding-right: 21px; }
	.frente h3 { font-size: 21px; }
	.fa-metodo-quadro { gap: 32px; }
	.wp-site-blocks .fa-parceria { white-space: normal; max-width: 170px; }
	.plano { flex-basis: 32%; min-width: 270px; }
	.fa-faq { gap: 40px; }
	.ia-no { width: 94px; font-size: 11px; }
	.fa-luxo, .fa-360, .fa-trajetoria, .fa-inter { gap: 36px; }
}
@media (max-width: 960px) {
	.topo .wp-block-navigation__responsive-container-open { display: grid; }
	.topo .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
}

/* ── MOBILE ── */
@media (max-width: 900px) {
	:root { --margem: 18px; --topo-alt: 96px; }
	html { scroll-padding-top: 90px; }
	.secao { padding-block: 56px; }
	.topo { top: 14px; width: calc(100% - 24px); }
	.topo-pilula { padding: 9px 9px 9px 16px; gap: 10px; }
	.topo .wp-block-site-logo img { width: 150px !important; }
	.topo-acao .wp-block-button__link { font-size: 11px; padding: 8px 12px; gap: 8px; min-height: 36px; white-space: nowrap; }
	.fa-hero { padding-top: 98px; padding-bottom: 24px; }
	.fa-hero-grade { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto 380px 156px; gap: 10px; }
	.fa-hero-main { grid-column: 1 / 7; padding: 26px 24px; min-height: 330px; }
	.fa-hero-main h1 { font-size: clamp(42px, 11.4vw, 64px); letter-spacing: -.035em; margin-top: 18px; }
	.wp-site-blocks .rotulo-estrela { font-size: 10px; }
	.wp-site-blocks .fa-hero-rodape p:first-child { font-size: 12px; }
	.fa-hero-foto { grid-column: 1 / 7; grid-row: 2; }
	.fa-hero-simbolo { grid-column: 1 / 3; grid-row: 3; }
	.fa-hero-simbolo img { width: 86px; }
	.fa-hero-simbolo::before { width: 96px; height: 96px; }
	.fa-hero-simbolo::after { width: 136px; height: 136px; }
	.fa-hero-acao { grid-column: 3 / 7; grid-row: 3; padding: 16px; }
	.wp-site-blocks .rotulo-forte { font-size: 10px; letter-spacing: .1em; }
	.wp-site-blocks .fa-status { font-size: 10px; }
	.fa-hero-acao .wp-block-button__link { font-size: 12px; padding: 9px 13px; min-height: 40px; gap: 8px; }
	.faixa-corre { padding: 14px 0; }
	.faixa-corre li { font-size: 11.5px; gap: 22px; padding-right: 22px; }
	.wp-site-blocks h2 { font-size: clamp(38px, 10.5vw, 48px); }
	.fa-luxo, .fa-360, .fa-trajetoria, .fa-inter { grid-template-columns: minmax(0, 1fr); gap: 30px; }
	.fa-la-galeria { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
	.fa-la-galeria::-webkit-scrollbar { display: none; }
	.fa-la-foto { scroll-snap-align: start; }
	.fa-luxo h2 { font-size: clamp(46px, 13vw, 64px); }
	.wp-site-blocks .fa-luxo-texto { font-size: 17px; }
	.fa-orbita-palco { width: 60%; }
	.fa-orbita-rotulo { font-size: 11px; width: 80px; }
	.fa-orbita-rotulo[data-lado="dir"] { transform: translate(10px, -50%); }
	.fa-orbita-rotulo[data-lado="esq"] { transform: translate(calc(-100% - 10px), -50%); }
	.fa-orbita-rotulo[data-lado="topo"] { transform: translate(-50%, calc(-100% - 14px)); }
	.fa-orbita-rotulo[data-lado="base"] { transform: translate(-50%, 14px); }
	.fa-orbita-meio .fa-orbita-simbolo img { width: 50px; }
	.wp-site-blocks .fa-orbita-centro { font-size: 15px; margin-top: 6px; }
	.fa-orbita { padding: 44px 0; }
	.fa-cabeca { display: block; margin-bottom: 24px; }
	.wp-site-blocks .fa-cabeca-lado { margin-top: 14px; }
	.wp-site-blocks .fa-cabeca-lado p { font-size: 13px; }
	.fa-frentes-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; gap: 10px; }
	.frente { grid-column: auto !important; grid-row: auto !important; min-height: 175px; padding: 58px 16px 18px; }
	.frente-branding, .frente-audiovisual { grid-column: 1 / 3 !important; min-height: 260px; }
	.frente::before { top: 18px; left: 16px; width: 25px; height: 25px; }
	.frente::after { right: 14px; bottom: 16px; width: 23px; height: 23px; font-size: 17px; }
	.frente h3 { font-size: 19px; padding-right: 30px; }
	.wp-site-blocks .frente-texto { font-size: 12.5px; padding-right: 0; }
	.wp-site-blocks .frente-micro { top: 22px; left: 52px; font-size: 11px; }
	.frente-audiovisual .frente-img { top: 0; height: 150px; }
	.frente-audiovisual { padding-top: 168px; }
	.frente-audiovisual::before { display: none; }
	.frente-branding .frente-img-simbolo { width: 110px; top: 44%; }
	.fa-trajetoria-moldura { aspect-ratio: 4 / 3; }
	.fa-trajetoria-moldura img { object-position: 50% 12%; } /* 16/10: no 4:3 do celular o 45% cortava a testa dela */
	.wp-site-blocks .marco-num { font-size: 32px; }
	.wp-site-blocks .marco-txt { font-size: 11.5px; }
	.marco { padding-right: 10px; }
	.fa-campo-grade { grid-template-columns: 1fr 1fr; gap: 10px; }
	.campo-grande { grid-row: auto; grid-column: 1 / 3; }
	.campo-grande img { aspect-ratio: 16 / 11; }
	.fa-campo-grade-2 { margin-top: 10px; }
	.fa-campo-grade-2 .campo-grande-dir { grid-column: 1 / 3; grid-row: auto; }
	.fa-campo-grade-2 .campo-grande-dir img { position: static; height: auto; aspect-ratio: 4 / 5; object-position: 50% 30%; }
	.campo-foto figcaption { font-size: 9.5px; left: 8px; bottom: 8px; padding: 5px 9px; }
	.faixa-logos .logo-img img { height: 32px; max-width: 140px; }
	.faixa-logos .logo-alto img { height: 56px; max-width: 90px; }
	.wp-site-blocks .faixa-logos .logo-nome { font-size: 21px; }
	.faixa-grupo { gap: 40px; padding-right: 40px; }
	.fa-metodo-quadro { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; gap: 26px; }
	.fa-metodo-foto { max-width: none; display: grid; grid-template-columns: 120px 1fr; align-items: end; }
	.fa-metodo-foto img { height: 120px; aspect-ratio: auto; }
	.fa-metodo-foto figcaption { border-top: 0; border-left: 1px solid var(--dourado); }
	.fa-metodo-corpo > p { font-size: 15.5px; }
	.wp-site-blocks .fa-metodo-corpo > .fa-metodo-chave { font-size: 22px; }
	.fa-etapas { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
	.fa-etapas li { font-size: 14px; }
	.fa-ia { padding: 50px 0 42px; }
	/* 15/10: no celular a galáxia sobe para o topo da seção e o texto fica sobre o escuro */
	.fa-ia::before { background-size: 230% auto; background-position: 88% 0; }
	.fa-ia::after { background: linear-gradient(180deg, #0B0A0F66 0%, #0B0A0Fd0 34%, #0B0A0Ff2 60%); }
	.fa-ia-topo { display: block; }
	.fa-ia-topo h2 { font-size: clamp(36px, 10vw, 44px); }
	.wp-site-blocks .fa-parceria { max-width: none; width: fit-content; margin-top: 20px; font-size: 10.5px; padding: 8px 12px; }
	.wp-site-blocks .fa-ia-intro { font-size: 13px; }
	.ia-barra { display: block; margin: 24px 0 18px; }
	.ia-cenario-btn { font-size: 11px; padding: 8px 11px; min-height: 36px; }
	.ia-selo { display: block; margin-top: 12px; font-size: 9.5px; }
	.ia-grade { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.ia-painel-topo { padding: 14px 16px; font-size: 9.5px; }
	.ia-constelacao { height: 300px; }
	.ia-no { width: 74px; font-size: 10px; gap: 8px; transform: translate(-50%, -13.5px); }
	.ia-orbe { width: 27px; height: 27px; }
	.ia-legenda { font-size: 11.5px; margin: 0 16px 16px; }
	.ia-chat { height: 440px; }
	.ia-bolha { font-size: 11.5px; }
	.fa-ia-rodape { flex-wrap: wrap; align-items: flex-start; gap: 16px; }
	.wp-site-blocks .fa-ia-nota { font-size: 11px; }
	.plano { flex-basis: 86%; min-width: 0; padding: 22px; }
	.fa-faq { display: block; }
	.fa-faq h2 { font-size: 44px; margin-bottom: 24px !important; }
	.fa-faq-lista summary { font-size: 15px; }
	.fa-diag-quadro { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; gap: 30px; }
	.fa-form { grid-template-columns: minmax(0, 1fr); }
	.fa-final-quadro { display: block; padding: 30px 22px; }
	.fa-final-quadro h2 { font-size: 40px; }
	.fa-final-botoes { margin-top: 24px; }
	.rodape { padding: 48px 0 30px; }
	.rodape .grade { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
	.rodape .marca { grid-column: 1 / -1; }
	.rodape .base { flex-direction: column; gap: 8px; margin-top: 36px; }
	.fa-cookies { left: 10px; right: 10px; bottom: 10px; max-width: none; }
	.lista-posts .wp-block-post-template { grid-template-columns: 1fr; gap: 44px; }
	.p404 > .envelope { grid-template-columns: 1fr; }
}

/* ── celular pequeno: o CTA do topo sai (a abertura já tem o botão logo abaixo) ── */
@media (max-width: 480px) {
	.topo .topo-acao { display: none !important; }
	.topo-pilula { padding: 8px 8px 8px 16px; }
	.topo .wp-block-site-logo img { width: 160px !important; }
}

/* ── sem movimento: tudo no estado final, parado ── */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.fa-hero-foto .fa-slide + .fa-slide { display: none; }
	.faixa-logos.is-rodando { display: flex; flex-wrap: wrap; justify-content: center; }
	.faixa-logos .faixa-trilho { display: contents; }
	.faixa-logos .faixa-grupo { flex-wrap: wrap; justify-content: center; gap: 24px 48px; padding: 0 var(--margem); }
	.faixa-logos .faixa-grupo[aria-hidden="true"] { display: none; }
}

/* Emergency repair: keep orbit labels inside notebook viewports. */
@media (min-width: 901px) and (max-width: 1200px) {
 .fa-orbita-rotulo[data-lado="dir"] { width: 100px; transform: translate(10px, -50%); }
}
