/*
Theme Name: THF Brasil
Theme URI: https://thfbrasil.com.br/
Author: THF Brasil
Description: Tema institucional exclusivo da THF Brasil — Assessoria Empresarial e Negócios Internacionais.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: thf-brasil
*/

:root {
  --navy: #061726;
  --navy-2: #0b263b;
  --navy-3: #12354c;
  --gold: #c59a58;
  --gold-light: #e0bd7e;
  --ink: #122335;
  --ivory: #f7f5f0;
  --white: #fff;
  --muted: #64717d;
  --line: rgba(18, 35, 53, .14);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
  --shadow: 0 24px 70px rgba(3, 18, 31, .18);
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { width: 100%; max-width: 100%; margin: 0; overflow-x: hidden; color: var(--ink); background: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
body.admin-bar .site-header { top: 32px; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 999; top: .75rem; left: .75rem; padding: .75rem 1rem; color: white; background: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; right: 0; min-height: 88px; padding: 0 clamp(24px, 4vw, 76px); display: grid; grid-template-columns: minmax(275px, .9fr) 2fr auto; align-items: center; gap: 28px; color: white; background: rgba(5, 23, 38, .94); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(18px); transition: min-height .25s, background .25s; }
.site-header.compact { min-height: 68px; background: rgba(5, 23, 38, .98); }
.brand { display: block; }
.brand-lockup { width: clamp(270px, 21vw, 300px); display: flex; align-items: center; gap: 15px; }
.brand-lockup > img { width: 48%; height: auto; display: block; flex: 0 0 48%; }
.brand-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; color: #f3f1eb; text-transform: uppercase; }
.brand-copy strong { white-space: nowrap; font-size: .72rem; line-height: 1; letter-spacing: .24em; font-weight: 600; }
.brand-copy small { margin-top: 8px; white-space: nowrap; font-size: .48rem; line-height: 1.55; letter-spacing: .12em; font-weight: 600; }
.primary-nav { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 1.8vw, 30px); font-size: .72rem; letter-spacing: .02em; }
.primary-nav a { position: relative; padding: 31px 0 26px; opacity: .78; white-space: nowrap; transition: opacity .2s; }
.primary-nav a:hover, .primary-nav a.active { opacity: 1; }
.primary-nav a.active::after { content: ""; position: absolute; bottom: 19px; left: 0; width: 24px; height: 2px; background: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.language-switcher { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,.5); font-size: .68rem; }
.language { border: 0; padding: 2px; color: rgba(255,255,255,.56); background: none; cursor: pointer; }
.language.active { color: white; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: transparent; }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: white; }

.button { min-height: 46px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 999px; text-transform: uppercase; letter-spacing: .09em; font-size: .67rem; font-weight: 700; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: #102337; background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 12px 28px rgba(197,154,88,.2); }
.button-gold:hover { box-shadow: 0 16px 34px rgba(197,154,88,.32); }
.button-outline { color: white; border-color: rgba(255,255,255,.7); background: rgba(3,18,31,.12); }
.button-outline:hover { background: rgba(255,255,255,.1); }
.button-small { min-height: 40px; padding: 0 19px; font-size: .58rem; }

.hero { min-height: 780px; padding: 82px clamp(24px, 6.5vw, 110px) 0; position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(590px, 1fr) 1fr; align-items: center; color: white; background: var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 65% 38%, rgba(30, 89, 119, .28), transparent 40%), linear-gradient(90deg, #051827 0%, rgba(5,24,39,.95) 36%, rgba(5,24,39,.15) 78%); z-index: 1; }
.hero-shade { position: absolute; z-index: 3; inset: auto 0 0; height: 260px; background: linear-gradient(transparent, rgba(3,16,28,.83)); pointer-events: none; }
.hero-content { position: relative; z-index: 4; width: 100%; min-width: 0; max-width: 650px; padding: 82px 0 128px; }
.eyebrow { margin: 0 0 18px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .27em; font-size: .65rem; font-weight: 700; }
.eyebrow::before { content: ""; display: inline-block; width: 31px; height: 1px; margin-right: 14px; vertical-align: middle; background: currentColor; }
.eyebrow.dark { color: #916f3e; }
.hero h1 { margin: 0; max-width: 700px; font-family: var(--serif); font-weight: 400; font-size: clamp(4.35rem, 6.2vw, 7.2rem); line-height: .86; letter-spacing: -.055em; }
.hero-kicker { max-width: 560px; margin: 28px 0 18px; color: var(--gold-light); font-family: var(--serif); font-size: clamp(1.65rem, 2.5vw, 2.7rem); line-height: 1.1; }
.hero-copy { max-width: 590px; margin: 0; color: rgba(255,255,255,.72); font-size: .97rem; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-art { position: absolute; z-index: 0; top: 88px; right: 0; bottom: 0; width: 100%; }
.hero-art img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(.93) contrast(1.03); }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, transparent 24%, rgba(3,16,28,.05) 80%, rgba(3,16,28,.3) 100%); }
.hero-art > p { position: absolute; z-index: 2; top: 10%; right: 19%; margin: 0; padding-left: 25px; color: rgba(255,255,255,.83); border-left: 1px solid var(--gold); text-transform: uppercase; letter-spacing: .28em; font-size: .7rem; line-height: 2.15; }
.hero-proof { position: absolute; z-index: 5; left: clamp(24px, 6.5vw, 110px); bottom: 0; width: min(850px, 70%); height: 90px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; color: rgba(255,255,255,.75); border-top: 1px solid rgba(255,255,255,.18); }
.hero-proof span { padding: 0 22px; border-right: 1px solid rgba(255,255,255,.16); text-transform: uppercase; text-align: center; letter-spacing: .11em; font-size: .62rem; line-height: 1.5; }
.hero-proof span:first-child { padding-left: 0; text-align: left; }
.hero-proof span:last-child { border: 0; }

.solutions { padding: 105px clamp(24px, 5vw, 82px) 115px; background: var(--ivory); }
.section-heading { max-width: 1320px; margin: 0 auto 58px; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(56px, 7vw, 110px); align-items: start; }
.section-heading h2, .partnership-copy h2 { margin: 0; max-width: 640px; font-family: var(--serif); font-size: clamp(2.7rem, 4.8vw, 5.3rem); font-weight: 400; line-height: .98; letter-spacing: -.035em; }
.section-heading > p { max-width: 610px; margin: 68px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.solution-finder { max-width: 1320px; min-height: 170px; margin: 0 auto 30px; padding: 24px 34px; display: grid; grid-template-columns: minmax(290px, .8fr) minmax(0, 1.8fr); grid-template-rows: auto auto; grid-template-areas: "intro result" "intro options"; column-gap: 36px; row-gap: 12px; align-items: stretch; border: 1px solid rgba(197,154,88,.32); background: rgba(255,255,255,.64); }
.finder-intro { grid-area: intro; min-width: 0; display: flex; gap: 24px; align-items: center; }
.finder-number { min-width: 58px; color: rgba(197,154,88,.3); font-family: var(--serif); font-size: 3.4rem; text-align: center; }
.finder-intro .eyebrow { margin: 0 0 11px; white-space: nowrap; letter-spacing: .2em; }
.finder-intro .eyebrow::before { display: none; }
.finder-intro h3 { margin: 0; max-width: 250px; font-family: var(--serif); font-size: 1.55rem; line-height: 1.08; font-weight: 400; }
.finder-options { grid-area: options; min-width: 0; display: flex; flex-wrap: nowrap; gap: 10px; align-self: end; overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(197,154,88,.55) transparent; }
.finder-options button { min-width: 0; min-height: 46px; padding: 8px 12px; flex: 1 1 0; border: 1px solid var(--line); border-radius: 999px; color: #3b4c59; background: white; font-size: .69rem; line-height: 1.25; text-align: center; cursor: pointer; transition: .2s; }
.finder-options button:hover, .finder-options button.active { color: white; border-color: var(--navy-2); background: var(--navy-2); }
.finder-result { grid-area: result; width: min(100%, 540px); min-height: 28px; padding: 0; display: flex; justify-self: end; align-self: start; align-items: flex-start; justify-content: flex-end; border: 0; color: #3c4c59; background: transparent; font-size: .8rem; line-height: 1.55; text-align: right; }
.finder-result p { margin: 0; }
.finder-result strong { display: block; margin-bottom: 4px; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; font-weight: 400; }

.service-grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(5, 1fr); background: white; box-shadow: var(--shadow); }
.service-card { min-width: 0; border-right: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.service-card:last-child { border-right: 0; }
.service-card:hover, .service-card.highlighted { position: relative; z-index: 2; transform: translateY(-7px); box-shadow: 0 24px 44px rgba(3,18,31,.15); }
.service-card.highlighted .service-content { background: #fffaf0; }
.service-visual { height: 162px; position: relative; overflow: hidden; background-color: var(--navy-2); }
.service-visual::before, .service-visual::after { content: ""; position: absolute; }
.service-visual::before { display: none; }
.service-visual::after { z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(3,18,31,.62)); }
.service-visual img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; transition: transform .5s ease; }
.service-card:hover .service-visual img, .service-card.highlighted .service-visual img { transform: scale(1.045); }
.service-visual > span { position: absolute; z-index: 2; right: 13px; bottom: 8px; color: rgba(255,255,255,.74); font-family: var(--serif); font-size: 2.1rem; }
.visual-fx { background: radial-gradient(circle at 70% 20%, #2393b3, transparent 10%), radial-gradient(circle at 28% 70%, #115273, transparent 25%), linear-gradient(135deg, #061724, #094565); }
.visual-fx::before { inset: 18px -30px -50px 35px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; box-shadow: 0 0 0 18px rgba(255,255,255,.04), 0 0 0 45px rgba(255,255,255,.03); }
.visual-business { background: linear-gradient(120deg, rgba(4,23,38,.9), rgba(4,23,38,.28)), repeating-linear-gradient(90deg, #8da0aa 0 11px, #d2d7d8 11px 18px); }
.visual-business::before { width: 55px; height: 80px; left: 45%; bottom: 0; background: linear-gradient(#b99a69,#80663e); clip-path: polygon(50% 0,100% 18%,100% 100%,0 100%,0 18%); opacity: .8; }
.visual-people { background: linear-gradient(130deg, #0f2739 0 30%, #8e9da6 31% 62%, #d5ad72 63%); }
.visual-people::before { width: 56px; height: 56px; left: 35%; top: 23px; border-radius: 50%; background: rgba(255,255,255,.8); box-shadow: 32px 23px 0 -8px rgba(255,255,255,.55); }
.visual-trade { background: linear-gradient(#d4914f 0 47%, #172e3f 48%); }
.visual-trade::before { left: 25px; right: 25px; bottom: 30px; height: 22px; background: repeating-linear-gradient(90deg, #274c65 0 18px, #b25935 18px 35px, #d5a33f 35px 51px); box-shadow: 0 -24px 0 rgba(6,23,38,.65); }
.visual-digital { background: linear-gradient(125deg, #091b2a, #8c7659); }
.visual-digital::before { width: 116px; height: 76px; left: 50%; top: 22px; transform: translateX(-50%); border: 4px solid #c8c1b5; border-bottom-width: 9px; background: linear-gradient(135deg,#1a5572,#d5a75f); }
.service-content { min-height: 285px; padding: 27px 24px 24px; display: flex; flex-direction: column; align-items: flex-start; background: white; transition: background .2s; }
.service-content svg { width: 33px; height: 33px; margin-bottom: 20px; fill: none; stroke: #a47e43; stroke-width: 1.5; }
.service-content h3 { min-height: 62px; margin: 0 0 14px; font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; font-weight: 400; }
.service-content p { margin: 0 0 20px; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.service-content button { margin-top: auto; padding: 0; border: 0; color: #8d6b38; background: none; font-size: .68rem; font-weight: 700; cursor: pointer; }

.partnership { position: relative; min-height: 840px; padding: 0 clamp(24px, 5vw, 82px); display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; color: white; background: var(--navy); overflow: hidden; }
.partnership::before { content: ""; position: absolute; inset: 0; opacity: .2; background-image: radial-gradient(rgba(255,255,255,.22) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(90deg, black, transparent 55%); }
.world-panel { position: relative; min-height: 600px; display: flex; align-items: flex-end; padding: 0 0 155px; overflow: hidden; border-right: 1px solid rgba(255,255,255,.1); }
.world-panel::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(3,16,28,.08), rgba(3,16,28,.84)); }
.world-image { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 48% center; filter: saturate(.94) contrast(1.02); image-rendering: auto; }
.world-panel > p { position: relative; z-index: 2; width: 190px; margin: 0 0 0 8%; text-transform: uppercase; letter-spacing: .26em; line-height: 1.8; font-size: .72rem; }
.world-panel > p::before { content: ""; display: block; width: 34px; height: 2px; margin-bottom: 18px; background: var(--gold); }
.orbital-globe { position: absolute; width: min(43vw, 600px); aspect-ratio: 1; top: 50px; left: -15%; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; background: radial-gradient(circle at 60% 30%, rgba(51,119,148,.4), transparent 38%), radial-gradient(ellipse at 45% 50%, rgba(197,154,88,.22), transparent 12%), #071a2a; box-shadow: inset -60px -50px 100px rgba(0,0,0,.5), 0 0 100px rgba(17,72,98,.35); }
.orbital-globe::before, .orbital-globe::after { content: ""; position: absolute; inset: 8% 28%; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; }
.orbital-globe::after { inset: 28% 7%; }
.orbit { position: absolute; inset: 9% -7%; border: 1px solid rgba(224,189,126,.42); border-radius: 50%; transform: rotate(-18deg); }
.orbit-two { inset: 24% -2%; transform: rotate(24deg); border-color: rgba(255,255,255,.2); }
.node { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #f4d49b; box-shadow: 0 0 18px #e0bd7e; }
.node-one { top: 23%; left: 21%; }.node-two { top: 47%; right: 2%; }.node-three { bottom: 19%; left: 29%; }
.partnership-copy { position: relative; z-index: 2; padding: 130px 4% 170px 9%; display: flex; flex-direction: column; justify-content: center; }
.partnership-copy h2 { max-width: 780px; }
.benefits { margin: 58px 0 42px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.benefits div { min-height: 150px; padding: 30px 24px; display: flex; flex-direction: column; gap: 12px; border-right: 1px solid rgba(255,255,255,.15); }
.benefits div:last-child { border-right: 0; }
.benefits strong { color: var(--gold-light); font-family: var(--serif); font-size: 1.2rem; font-weight: 400; }
.benefit-title-split span { display: block; }
.benefits div > span { color: rgba(255,255,255,.56); font-size: .75rem; line-height: 1.55; }
.partnership-copy .button { align-self: flex-start; }
.site-footer { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; min-height: 125px; padding: 22px clamp(24px, 5vw, 82px); display: grid; grid-template-columns: 1fr .7fr 1fr; gap: 40px; align-items: center; border-top: 1px solid rgba(255,255,255,.12); background: rgba(3,16,28,.72); backdrop-filter: blur(12px); }
.site-footer .footer-brand-lockup { width: 235px; gap: 12px; }
.site-footer .brand-copy strong { font-size: .58rem; }
.site-footer .brand-copy small { margin-top: 5px; font-size: .38rem; }
.site-footer p { margin: 5px 0 0; color: rgba(255,255,255,.5); font-size: .58rem; letter-spacing: .06em; line-height: 1.5; }
.site-footer .footer-email { margin-bottom: 8px; font-size: .68rem; letter-spacing: .04em; }
.footer-email a { color: var(--gold-light); border-bottom: 1px solid rgba(224,189,126,.35); transition: color .2s, border-color .2s; }
.footer-email a:hover { color: white; border-color: white; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: .68rem; }
.site-footer button { padding: 0; border: 0; text-align: left; color: inherit; background: none; cursor: pointer; }
.footer-meta { text-align: right; }

.whatsapp-float { position: fixed; z-index: 95; right: 26px; bottom: 26px; width: 60px; height: 60px; display: grid; place-items: center; color: white; border: 2px solid rgba(255,255,255,.9); border-radius: 50%; background: #25d366; box-shadow: 0 12px 30px rgba(3,18,31,.3); transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.whatsapp-float:hover { color: white; background: #1fbd5a; transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 36px rgba(3,18,31,.38); }
.whatsapp-float svg { width: 31px; height: 31px; fill: currentColor; }

dialog { width: min(680px, calc(100% - 30px)); max-height: calc(100vh - 30px); padding: 42px; border: 0; color: var(--ink); background: var(--ivory); box-shadow: var(--shadow); overflow: auto; }
dialog::backdrop { background: rgba(3,16,28,.78); backdrop-filter: blur(7px); }
dialog[open] { animation: dialog-in .25s ease-out; }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.dialog-close { position: absolute; top: 16px; right: 18px; width: 37px; height: 37px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; font-size: 1.55rem; line-height: 1; cursor: pointer; }
dialog h2 { margin: 0 0 15px; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 400; line-height: 1; }
.dialog-intro, #detail-copy { color: var(--muted); line-height: 1.65; }
.contact-email { margin: 20px 0 0; padding: 14px 17px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; border-left: 2px solid var(--gold); background: #efe9dc; }
.contact-email span { color: #72562f; text-transform: uppercase; letter-spacing: .14em; font-size: .63rem; font-weight: 700; }
.contact-email a { color: var(--ink); font-size: .86rem; font-weight: 700; border-bottom: 1px solid rgba(18,35,53,.28); }
.contact-email a:hover { color: #8d6b38; border-color: currentColor; }
#contact-form { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
#contact-form label { display: flex; flex-direction: column; gap: 7px; color: #495761; font-size: .72rem; font-weight: 700; }
#contact-form .full { grid-column: 1 / -1; }
.contact-website { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
input, select, textarea { width: 100%; border: 1px solid #cfd3d3; border-radius: 0; padding: 13px 14px; color: var(--ink); background: white; }
textarea { resize: vertical; }
.form-note { padding: 13px 15px; display: flex; gap: 12px; align-items: flex-start; background: #efe9dc; color: #675837; font-size: .72rem; line-height: 1.5; }
.form-note > span { width: 21px; height: 21px; flex: 0 0 21px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); }
.form-note p { margin: 0; }
.form-result { margin-top: 28px; padding: 22px; border-left: 3px solid var(--gold); background: white; white-space: pre-wrap; font-size: .82rem; line-height: 1.6; }
.form-result.success { color: #245c3f; border-left-color: #3b8d61; background: #edf7f1; }
.form-result.error { color: #7c302b; border-left-color: #b64c43; background: #fff0ee; }
.form-result button { margin-top: 18px; }
.detail-dialog ul { margin: 24px 0 30px; padding: 0; list-style: none; }
.detail-dialog li { padding: 11px 0 11px 24px; border-bottom: 1px solid var(--line); position: relative; color: #42505b; font-size: .86rem; }
.detail-dialog li::before { content: ""; position: absolute; left: 1px; top: 17px; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1280px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .primary-nav { gap: 15px; }
  .primary-nav a:nth-child(4), .primary-nav a:nth-child(5) { display: none; }
  .language-switcher { display: none; }
}

@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; }
  .hero-art { width: 72%; opacity: .78; }
  .hero-content { max-width: 580px; }
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:nth-child(3) { border-right: 0; }
  .service-card:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .site-header { width: 100%; min-height: 70px; padding: 0 18px; display: flex; justify-content: space-between; gap: 10px; }
  .brand { min-width: 0; }
  .brand-lockup { width: min(198px, calc(100vw - 90px)); gap: 8px; }
  .brand-lockup > img { width: 46%; flex-basis: 46%; }
  .brand-copy strong { font-size: .52rem; letter-spacing: .19em; }
  .brand-copy small { margin-top: 5px; font-size: .32rem; letter-spacing: .08em; }
  .menu-toggle { display: block; flex: 0 0 44px; order: 3; }
  .header-actions { display: none; }
  .primary-nav { position: fixed; inset: 70px 0 auto; padding: 16px 22px 28px; display: none; align-items: stretch; flex-direction: column; gap: 0; background: rgba(5,23,38,.98); border-top: 1px solid rgba(255,255,255,.08); }
  .primary-nav.open { display: flex; }
  .primary-nav a, .primary-nav a:nth-child(4), .primary-nav a:nth-child(5) { display: block; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .primary-nav a.active::after { bottom: 8px; }
  .hero { width: 100%; min-width: 0; min-height: 770px; padding: 70px 20px 0; align-items: end; }
  .hero::before { background: linear-gradient(0deg, #051827 0%, rgba(5,24,39,.94) 45%, rgba(5,24,39,.2) 100%); }
  .hero-content { width: 100%; min-width: 0; padding: 310px 0 142px; }
  .hero h1 { max-width: 100%; font-size: clamp(3.2rem, 14vw, 4.2rem); line-height: .9; }
  .hero-kicker, .hero-copy { max-width: 100%; }
  .hero-kicker { font-size: 1.65rem; }
  .hero-copy { font-size: .87rem; }
  .hero-art { top: 70px; left: 0; right: 0; width: 100%; height: 58%; opacity: .92; }
  .hero-art::after { background: linear-gradient(0deg, var(--navy) 0%, transparent 55%); }
  .hero-art > p { top: 7.5%; right: 14%; }
  .hero-proof { left: 22px; right: 22px; width: auto; height: 76px; grid-template-columns: 1fr 1fr; }
  .hero-proof span { padding: 5px 9px; font-size: .53rem; }
  .hero-proof span:nth-child(3), .hero-proof span:nth-child(4) { display: none; }
  .solutions { width: 100%; min-width: 0; max-width: 100%; padding: 75px 20px 82px; }
  .section-heading { grid-template-columns: 1fr; gap: 26px; margin-bottom: 38px; }
  .section-heading h2, .partnership-copy h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .section-heading > p { margin: 0; }
  .solution-finder { width: 100%; min-width: 0; max-width: 100%; padding: 22px 20px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; grid-template-areas: "intro" "result" "options"; gap: 16px; }
  .finder-result { width: 100%; min-height: 28px; padding: 0; }
  .finder-options button { min-width: 190px; flex-basis: 190px; scroll-snap-align: start; }
  .finder-options { padding-bottom: 8px; scroll-snap-type: x proximity; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { display: grid; grid-template-columns: 36% 64%; border: 0; border-bottom: 1px solid var(--line); }
  .service-card:nth-child(n+4) { border-top: 0; }
  .service-visual { height: auto; min-height: 255px; }
  .service-content { min-height: 255px; padding: 25px 20px; }
  .service-content h3 { min-height: 0; font-size: 1.18rem; }
  .partnership { width: 100%; min-width: 0; max-width: 100%; min-height: 1030px; padding: 0 20px; grid-template-columns: minmax(0, 1fr); }
  .world-panel { min-height: 350px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .orbital-globe { width: 430px; max-width: 95vw; left: -12%; top: -50px; }
  .world-panel > p { margin-left: auto; margin-right: 6%; margin-bottom: 50px; }
  .partnership-copy { padding: 70px 0 215px; }
  .benefits { margin: 40px 0 34px; grid-template-columns: 1fr; }
  .benefits div { min-height: auto; padding: 20px 5px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .benefits div:last-child { border-bottom: 0; }
  .site-footer { min-height: 185px; padding: 22px 20px; grid-template-columns: 1fr 1fr; gap: 18px; }
  .site-footer nav { display: none; }
  .footer-meta { text-align: right; }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(3rem, 14vw, 3.65rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-art > p { font-size: .55rem; }
  .service-card { grid-template-columns: 112px 1fr; }
  .finder-options button { min-width: 210px; flex-basis: 210px; }
  .service-visual { min-height: 300px; }
  .service-content { min-height: 300px; }
  #contact-form { grid-template-columns: 1fr; }
  #contact-form .full { grid-column: auto; }
  dialog { padding: 37px 22px 28px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-meta { text-align: left; }
  .whatsapp-float { right: 18px; bottom: 18px; width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
