:root {
  --dark: #111318;
  --navy: #0a1f40;
  --navy-soft: #142f58;
  --blue: #078bf3;
  --blue-light: #3aa9ff;
  --ink: #081d3e;
  --muted: #dfe7f1;
  --pale: #edf3fa;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--dark); color: var(--ink); font-family: "DM Sans", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
section { scroll-margin-top: 18px; }
.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.shell.narrow { width: min(900px, calc(100% - 48px)); }

.hero { position: relative; min-height: 648px; overflow: hidden; isolation: isolate; color: white; background: radial-gradient(circle at 74% 50%, #0d2d57 0%, #0a1f40 32%, #07182f 74%); }
.hero::before { content: ""; position: absolute; inset: 74px 0 0; z-index: 0; pointer-events: none; opacity: .42; background-image: linear-gradient(rgba(89,181,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(89,181,255,.045) 1px, transparent 1px); background-size: 58px 58px; -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 70%, transparent 100%); mask-image: linear-gradient(90deg, transparent 22%, #000 70%, transparent 100%); }
.hero::after { content: ""; position: absolute; inset: 74px 0 0; z-index: 0; pointer-events: none; background: radial-gradient(circle at 82% 46%, rgba(7,139,243,.13), transparent 32%), linear-gradient(90deg, rgba(10,29,59,.35), transparent 68%); }
.topbar { position: relative; z-index: 3; height: 74px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.13); }
.topbar-actions { display: flex; align-items: center; gap: 12px; }
.language-switcher { min-height: 44px; padding: 5px 8px 5px 12px; border: 1px solid rgba(122,195,255,.3); border-radius: 10px; display: flex; align-items: center; gap: 8px; color: #a9d9ff; background: rgba(7,29,59,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.language-label { font: 700 9px/1 "Manrope", sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.language-switcher select { min-width: 71px; height: 32px; padding: 0 25px 0 8px; border: 0; border-radius: 7px; outline: 0; color: white; background: #14345e; font-size: 12px; font-weight: 700; cursor: pointer; }
.language-switcher select:focus-visible { box-shadow: 0 0 0 3px rgba(58,169,255,.28); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark { position: relative; width: 42px; height: 42px; flex: 0 0 auto; }
.brand-mark i { position: absolute; width: 16px; height: 16px; }
.brand-mark i:nth-child(1) { left: 0; top: 0; border-left: 7px solid var(--blue); border-top: 7px solid var(--blue); }
.brand-mark i:nth-child(2) { right: 0; top: 0; border-right: 7px solid var(--blue); border-top: 7px solid var(--blue); }
.brand-mark i:nth-child(3) { left: 0; bottom: 0; border-left: 7px solid var(--blue); border-bottom: 7px solid var(--blue); }
.brand-mark i:nth-child(4) { right: 0; bottom: 0; border-right: 7px solid var(--blue); border-bottom: 7px solid var(--blue); }
.brand-mark b { position: absolute; width: 15px; height: 15px; left: 13.5px; top: 13.5px; background: white; }
.brand-wordmark { display: grid; align-items: start; color: white; font-family: "Manrope", sans-serif; line-height: .9; }
.brand-wordmark strong { color: var(--blue); font-size: 21px; font-weight: 700; letter-spacing: -.045em; white-space: nowrap; }
.brand-wordmark small { margin-top: 5px; color: white; font-size: 19px; font-weight: 500; }
.button { min-height: 49px; padding: 0 23px; border: 0; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--blue); font-weight: 700; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #1598ff; }
.button-small { min-height: 44px; font-size: 14px; color: white; }
.button-outline { color: white; background: transparent; border: 1px solid #536b8d; }
.button-outline:hover { background: rgba(255,255,255,.06); }

.hero-content { position: relative; z-index: 2; min-height: 574px; display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 60px; }
.hero-copy { padding: 48px 0 56px; }
.eyebrow, .section-kicker { margin: 0 0 24px; color: var(--blue-light); font: 700 10px/1.2 "Manrope", sans-serif; letter-spacing: .12em; }
.hero h1 { margin: 0 0 25px; font: 400 clamp(47px, 4.4vw, 66px)/1.01 "Manrope", sans-serif; letter-spacing: -.06em; }
.hero h1 strong { font-weight: 800; }
.hero h1 span { font-weight: 400; }
.hero-description { max-width: 560px; margin: 0; color: #e2e8f1; font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.hero-art { position: relative; display: grid; place-items: center; isolation: isolate; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgba(83,182,255,.19); border-radius: 50%; }
.hero-art::before { width: 410px; height: 410px; box-shadow: 0 0 80px rgba(7,139,243,.08); }
.hero-art::after { width: 472px; height: 248px; transform: rotate(-25deg); }
.global-medallion { position: relative; width: min(362px, 33vw); aspect-ratio: 1; }
.global-medallion svg { display: block; width: 100%; height: 100%; overflow: visible; }
.flag-scene { display: none; }
body[data-lang="pt"] .flag-scene-pt, body[data-lang="en"] .flag-scene-en, body[data-lang="es"] .flag-scene-es { display: inline; }
.medallion-caption { position: absolute; left: 50%; bottom: -13px; min-width: 225px; padding: 12px 17px 11px; border: 1px solid rgba(127,203,255,.34); border-radius: 12px; display: grid; grid-template-columns: auto 25px auto; align-items: center; justify-content: center; gap: 9px; color: #fff; background: rgba(5,24,51,.88); box-shadow: 0 12px 34px rgba(0,0,0,.26); backdrop-filter: blur(12px); transform: translateX(-50%); }
.medallion-caption strong { font: 800 11px/1 "Manrope", sans-serif; letter-spacing: .12em; }
.medallion-caption i { height: 1px; background: linear-gradient(90deg, #50b8ff, #fff, #50b8ff); }
.medallion-caption small { grid-column: 1 / -1; color: #8fcfff; font: 600 8px/1 "Manrope", sans-serif; letter-spacing: .18em; text-align: center; text-transform: uppercase; }
body[data-lang="en"] .medallion-caption > i, body[data-lang="en"] .caption-right { display: none; }
body[data-lang="en"] .caption-left { grid-column: 1 / -1; }

.services { padding: 70px 0 64px; background: white; }
.section-kicker { margin-bottom: 12px; color: #3c6c9f; font-size: 8px; letter-spacing: .28em; }
.services h2, .audience h2 { margin: 0 0 33px; font: 400 clamp(30px, 3vw, 40px)/1.1 "Manrope", sans-serif; letter-spacing: -.05em; }
.services h2 strong, .audience h2 strong { font-weight: 800; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.service-card { position: relative; min-height: 178px; padding: 25px 20px 22px; overflow: hidden; border: 1px solid #d8e3ef; border-radius: 14px; background: linear-gradient(155deg, #f2f6fb 0%, #e6eef7 100%); box-shadow: 0 8px 28px rgba(13,45,82,.055); transition: transform .2s ease, box-shadow .2s ease; }
.service-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--blue) 0 34%, transparent 34%); }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(13,45,82,.1); }
.service-card > span { display: inline-grid; place-items: center; width: 25px; height: 20px; margin-bottom: 15px; border-radius: 5px; color: #2d6593; background: rgba(7,139,243,.08); font: 800 9px "Manrope", sans-serif; }
.service-card h3 { margin: 0 0 12px; color: var(--ink); font: 800 18px/1.15 "Manrope", sans-serif; letter-spacing: -.035em; }
.service-card p { margin: 0; color: #27486f; font-size: 13px; line-height: 1.5; }

.audience { padding: 64px 0 67px; background: #e7eff8; }
.audience h2 { margin-bottom: 31px; }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.audience-card { position: relative; min-height: 195px; padding: 29px 28px; overflow: hidden; border-radius: 14px; box-shadow: 0 14px 34px rgba(15,47,82,.08); }
.audience-card::after { content: ""; position: absolute; right: -38px; top: -38px; width: 108px; height: 108px; border: 1px solid currentColor; border-radius: 50%; opacity: .08; }
.audience-light { border: 1px solid #d9e3ed; background: white; color: var(--ink); }
.audience-dark { border: 1px solid #1d4678; background: linear-gradient(145deg, #0a1f40, #0d2b54); color: white; }
.card-kicker { display: block; margin-bottom: 16px; color: #52759c; font: 700 9px "Manrope", sans-serif; letter-spacing: .22em; }
.audience-dark .card-kicker { color: var(--blue-light); }
.audience-card h3 { margin: 0 0 14px; font: 800 20px "Manrope", sans-serif; letter-spacing: -.03em; }
.audience-card ul { margin: 0; padding-left: 17px; }
.audience-card li { margin: 8px 0; font-size: 13px; line-height: 1.35; }
.audience-light li { color: #27486f; }
.audience-dark li { color: #eef5ff; }

.contact { padding: 58px 0 64px; color: white; background: #0a1f40; }
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 58px; align-items: start; }
.section-kicker.blue { color: var(--blue-light); }
.contact-copy h2 { margin: 0 0 28px; font: 400 37px/1.02 "Manrope", sans-serif; letter-spacing: -.05em; }
.contact-copy h2 strong { font-weight: 800; }
.contact-copy > p:not(.section-kicker) { margin: 0; color: #d5dfec; font-size: 14px; line-height: 1.55; }
.direct-contact { display: inline-block; margin-top: 26px; color: var(--blue-light); font-weight: 700; }
.contact-form { padding-top: 1px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label { display: grid; gap: 7px; margin-bottom: 12px; color: white; font-size: 11px; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 42px; padding: 10px 13px; border: 1px solid #42648f; border-radius: 8px; outline: none; color: white; background: #17355f; box-shadow: inset 0 1px 0 rgba(255,255,255,.035); }
.contact-form textarea { min-height: 86px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(7,139,243,.18); }
.contact-form ::placeholder { color: #8fa2bc; }
.consent { grid-template-columns: 17px 1fr; align-items: start; color: #c8d5e6 !important; font-weight: 400 !important; }
.consent input { min-height: 17px; height: 17px; padding: 0; accent-color: var(--blue); }
.submit-button { width: 100%; min-height: 39px; border-radius: 9px; font-size: 13px; }
.form-status { min-height: 16px; margin: 8px 0 0; color: #93cdf8; font-size: 11px; text-align: center; }

footer { padding: 25px 0; color: #d6deea; background: #07162d; }
.footer-grid { display: grid; grid-template-columns: 180px 1.6fr 1fr; gap: 34px; align-items: center; font-size: 10px; line-height: 1.45; }
.footer-grid p { margin: 0; }
.footer-meta { display: grid; gap: 14px; }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a { min-height: 36px; padding: 7px 11px; border: 1px solid rgba(120,198,255,.22); border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; color: #e7f4ff; background: rgba(255,255,255,.035); font: 700 10px/1 "Manrope", sans-serif; transition: color .2s ease, border-color .2s ease, transform .2s ease, background .2s ease; }
.social-links a:hover { color: white; border-color: rgba(58,169,255,.7); background: rgba(7,139,243,.13); transform: translateY(-2px); }
.social-links svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links svg .play { fill: currentColor; stroke: none; }
.brand-small { transform: scale(.82); transform-origin: left center; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; min-height: 52px; padding: 8px 16px 8px 9px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; display: inline-flex; align-items: center; gap: 9px; color: white; background: #1fbf61; box-shadow: 0 13px 32px rgba(0,0,0,.27), 0 0 0 5px rgba(31,191,97,.1); font: 800 12px/1 "Manrope", sans-serif; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.whatsapp-float:hover { background: #18aa55; box-shadow: 0 16px 38px rgba(0,0,0,.32), 0 0 0 7px rgba(31,191,97,.12); transform: translateY(-3px); }
.whatsapp-float svg { width: 35px; height: 35px; fill: white; }
.whatsapp-float .whatsapp-phone { fill: #1fbf61; }
.mobile-dock { display: none; }

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

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr 340px; gap: 24px; }
  .global-medallion { width: 310px; }
  .language-label { display: none; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .shell, .shell.narrow { width: min(100% - 34px, 520px); }
  .hero { min-height: auto; }
  .hero::before { inset: 82px 0 0; background-size: 42px 42px; }
  .hero::after { inset: 82px 0 0; }
  .topbar { min-height: 76px; height: auto; gap: 8px; padding: 10px 0; }
  .topbar-actions { gap: 6px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; transform: scale(.84); transform-origin: left center; margin-right: -6px; }
  .brand-wordmark strong { font-size: 15px; }
  .brand-wordmark small { font-size: 13px; margin-top: 4px; }
  .language-switcher { min-height: 42px; padding: 4px; border-radius: 9px; }
  .language-switcher select { min-width: 64px; height: 32px; padding-left: 6px; font-size: 11px; }
  .button-small { min-height: 42px; max-width: 116px; padding: 5px 9px; font-size: 10px; line-height: 1.1; text-align: center; }
  .hero-content { grid-template-columns: 1fr; padding-top: 28px; }
  .hero-copy { padding: 18px 0 12px; }
  .eyebrow { margin-bottom: 21px; font-size: 9px; }
  .hero h1 { font-size: clamp(40px, 11.4vw, 49px); line-height: 1.02; }
  .hero-description { font-size: 16px; line-height: 1.48; }
  .hero-actions { display: grid; }
  .hero-actions .button { min-height: 52px; border-radius: 11px; }
  .global-medallion { width: min(286px, 79vw); margin: 28px auto 64px; }
  .hero-art::before { width: 315px; height: 315px; }
  .hero-art::after { width: 340px; height: 185px; }
  .services, .audience { padding: 52px 0; }
  .service-grid, .audience-grid, .form-row { grid-template-columns: 1fr; }
  .service-grid { gap: 12px; }
  .service-card { min-height: 155px; padding: 24px 22px; border-radius: 16px; }
  .audience-grid { gap: 12px; }
  .audience-card { padding: 26px 23px; border-radius: 16px; }
  .contact { padding: 52px 0 60px; }
  .contact-grid { gap: 36px; }
  .contact-copy h2 { font-size: 34px; }
  .contact-form input, .contact-form select, .contact-form textarea { min-height: 52px; padding: 13px 14px; border-radius: 11px; font-size: 16px; }
  .contact-form textarea { min-height: 118px; }
  .contact-form label { gap: 8px; margin-bottom: 15px; font-size: 12px; }
  .consent input { min-height: 20px; height: 20px; }
  .submit-button { min-height: 54px; font-size: 14px; }
  footer { padding-bottom: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-meta { gap: 15px; }
  .social-links a { min-height: 44px; padding: 10px 14px; font-size: 11px; }
  .brand-small { transform: scale(.82); }
  .whatsapp-float { right: 14px; bottom: calc(88px + env(safe-area-inset-bottom)); min-height: 48px; padding: 7px; }
  .whatsapp-float span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .whatsapp-float svg { width: 34px; height: 34px; }
  .mobile-dock { position: fixed; left: 50%; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 30; width: min(calc(100% - 24px), 410px); min-height: 62px; padding: 7px; border: 1px solid rgba(120,198,255,.28); border-radius: 19px; display: grid; grid-template-columns: 1fr 1fr 1.12fr; gap: 5px; color: #dceeff; background: rgba(5,23,48,.93); box-shadow: 0 16px 44px rgba(0,0,0,.34); backdrop-filter: blur(18px); transform: translateX(-50%); }
  .mobile-dock a { min-height: 48px; border-radius: 13px; display: grid; place-items: center; align-content: center; gap: 2px; font: 700 10px/1.1 "Manrope", sans-serif; }
  .mobile-dock a:active { background: rgba(255,255,255,.08); }
  .mobile-dock .dock-primary { color: white; background: var(--blue); box-shadow: 0 6px 18px rgba(7,139,243,.28); }
  .dock-icon { font-size: 17px; line-height: 1; }
}

@media (max-width: 390px) {
  .shell, .shell.narrow { width: calc(100% - 28px); }
  .brand-wordmark strong { font-size: 14px; }
  .brand-wordmark small { font-size: 12px; }
  .language-switcher select { min-width: 58px; }
  .button-small { max-width: 104px; padding-inline: 7px; font-size: 9px; }
  .hero h1 { font-size: clamp(38px, 11.1vw, 43px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
