:root {
  --brand: #04979e; --brand-dark: #03777d; --brand-pale: #eef9f9; --white: #ffffff;
  --ink: #112f31; --muted: #5d7172; --line: #dce8e8;
  --sans: "Aptos", "Segoe UI", Arial, sans-serif; --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
h1, h2, h3, p, dl, dd { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid rgba(4,151,158,.42); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; top: -5rem; left: 1rem; padding: .75rem 1rem; background: var(--ink); color: var(--white); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; min-height: 86px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid transparent; transition: background .25s, border-color .25s; }
.site-header.scrolled { background: rgba(255,255,255,.96); border-color: var(--line); backdrop-filter: blur(14px); }
.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-size: .78rem; font-weight: 700; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; right: 100%; bottom: -.45rem; left: 0; height: 1px; background: var(--brand); transition: right .2s; }
.main-nav > a:not(.nav-cta):hover::after, .main-nav > a:not(.nav-cta):focus-visible::after, .main-nav > a[aria-current="page"]::after { right: 0; }
.nav-cta { min-height: 42px; padding: 0 1rem; display: inline-flex; align-items: center; gap: 1.25rem; background: var(--brand); color: var(--white); }
.nav-cta:hover { background: var(--brand-dark); }
.menu-toggle { display: none; }

.section { position: relative; padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 7.5rem); scroll-margin-top: 82px; }
.section-marker { position: absolute; top: clamp(2rem, 4vw, 4rem); left: clamp(1.25rem, 6vw, 7.5rem); color: var(--muted); font-size: .66rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.kicker, .eyebrow { margin-bottom: 1.3rem; color: var(--brand); font-size: .68rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.kicker-light { color: rgba(255,255,255,.78); }
.text-link { width: fit-content; display: inline-flex; align-items: center; gap: 2rem; padding-bottom: .4rem; border-bottom: 1px solid var(--brand); color: var(--ink); font-size: .82rem; font-weight: 750; }
.button { min-height: 52px; padding: 0 1.25rem; display: inline-flex; align-items: center; justify-content: center; gap: 1.6rem; border: 1px solid transparent; font-size: .82rem; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--brand); color: var(--white); }
.button-primary:hover { background: var(--brand-dark); }

.hero { min-height: 100svh; padding: 9.5rem clamp(1.25rem, 6vw, 7.5rem) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); grid-template-rows: 1fr auto; gap: 2rem clamp(2.5rem, 7vw, 8rem); overflow: hidden; }
.hero-copy { align-self: center; padding: 2rem 0 3rem; }
.hero h1 { margin-bottom: 1.8rem; font-size: clamp(3.5rem, 7.5vw, 8.2rem); line-height: .82; letter-spacing: -.065em; text-transform: uppercase; }
.hero h1 span { color: var(--brand); }
.hero-statement { margin-bottom: 1rem; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 2rem); font-style: italic; }
.hero-lead { max-width: 650px; margin-bottom: 2.2rem; color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.15rem); }
.hero-actions { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.hero-visual { position: relative; align-self: stretch; min-height: 570px; }
.hero-photo { height: 100%; overflow: hidden; background: var(--brand-pale); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: saturate(.88) contrast(1.03); }
.hero-visual::before { content: ""; position: absolute; z-index: 1; top: -1.25rem; right: -1.25rem; width: 45%; height: 4px; background: var(--brand); }
.photo-note { position: absolute; right: 0; bottom: 0; margin: 0; padding: .8rem 1rem; background: var(--white); color: var(--muted); font-size: .67rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.hero-stats { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-stats div { min-height: 112px; padding: 1.45rem 1.75rem; display: flex; align-items: baseline; gap: 1rem; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt { color: var(--brand); font-size: clamp(2rem, 3vw, 3.3rem); font-weight: 300; letter-spacing: -.04em; }
.hero-stats dd { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.strategic-spine { min-height: 118px; padding: 0 clamp(1.25rem, 6vw, 7.5rem); display: flex; align-items: center; gap: clamp(1rem, 3vw, 3rem); background: var(--ink); color: var(--white); font-size: clamp(1.1rem, 2.1vw, 2rem); font-weight: 300; letter-spacing: .08em; text-transform: uppercase; }
.strategic-spine i { height: 1px; flex: 1; background: rgba(255,255,255,.25); }

.about { display: grid; grid-template-columns: minmax(0,.82fr) minmax(0,1fr); gap: 4rem 8vw; }
.about-intro h2, .section-heading h2, .institutional-intro h2, .contact-copy h2, .inner-hero h1 { margin-bottom: 0; font-size: clamp(2.5rem, 5.1vw, 5.5rem); line-height: 1; letter-spacing: -.055em; }
.about-intro h2 em { color: var(--brand); font-family: var(--serif); font-weight: 400; }
.about-copy { padding-top: 2.5rem; }
.lead-copy { color: var(--ink); font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.35; }
.about-copy > p:not(.lead-copy) { max-width: 640px; color: var(--muted); }
.expertise-list { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.expertise-list span { padding: .55rem .75rem; border: 1px solid var(--line); color: var(--muted); font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.about-photo { min-height: 560px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.timeline li { padding: 1.6rem 0; display: grid; grid-template-columns: 74px 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.timeline time { color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.timeline strong { display: block; margin-bottom: .35rem; font-size: 1rem; }
.timeline p { margin: 0; color: var(--muted); font-size: .86rem; }

.businesses { background: var(--ink); color: var(--white); }
.businesses .section-marker { color: rgba(255,255,255,.5); }
.section-heading { margin-bottom: 4rem; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.55fr); gap: 3rem; align-items: end; }
.section-heading > p { max-width: 440px; margin: 0; color: rgba(255,255,255,.65); }
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.business-card { min-height: 500px; padding: 1.5rem; display: flex; flex-direction: column; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); transition: background .25s, transform .25s; }
.business-card:hover { background: rgba(255,255,255,.045); transform: translateY(-4px); }
.business-brand { height: 150px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); background: var(--white); color: var(--ink); }
.taupo-brand img { width: 115px; height: 115px; object-fit: cover; border-radius: 50%; }
.wordmark { font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 300; letter-spacing: .25em; }
.swig-wordmark { color: var(--brand); font-weight: 800; letter-spacing: .05em; }
.swig-wordmark small { display: block; margin-top: .25rem; color: var(--muted); font-size: .48rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.business-card-body { padding: 2rem .35rem 1.5rem; flex: 1; }
.business-index { margin-bottom: 2rem; color: rgba(255,255,255,.42); font-size: .66rem; font-weight: 800; letter-spacing: .14em; }
.business-card h3 { margin-bottom: 1rem; font-size: 1.6rem; }
.business-card-body > p:last-child { color: rgba(255,255,255,.65); font-size: .92rem; }
.business-card > a { padding: 1.1rem .35rem .3rem; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.18); color: var(--white); font-size: .78rem; font-weight: 800; text-transform: uppercase; }

.institutional { display: grid; grid-template-columns: minmax(280px,.65fr) minmax(0,1fr); gap: 5rem 9vw; }
.institutional-intro h2 { margin-bottom: 2rem; }
.institutional-intro > p:last-child { color: var(--muted); }
.institutional-grid { border-top: 1px solid var(--line); }
.institutional-grid article { min-height: 106px; padding: 1.2rem 0; display: grid; grid-template-columns: 100px 1fr 170px; gap: 1.5rem; align-items: center; border-bottom: 1px solid var(--line); }
.institutional-grid strong { color: var(--brand); font-size: 1rem; }
.institutional-grid span { font-size: .88rem; font-weight: 700; }
.institutional-grid small { color: var(--muted); font-size: .73rem; }

.contact { min-height: 760px; padding-top: 0; padding-bottom: 0; display: grid; grid-template-columns: minmax(300px,.66fr) minmax(0,1fr); background: var(--brand); color: var(--white); }
.contact-portrait { margin-left: calc(clamp(1.25rem, 6vw, 7.5rem) * -1); }
.contact-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.78); }
.contact-copy { align-self: center; padding: 5rem 0 5rem clamp(2rem, 7vw, 8rem); }
.contact-copy > p:not(.kicker) { max-width: 570px; margin: 1.5rem 0 3rem; color: rgba(255,255,255,.8); }
.contact-links { border-top: 1px solid rgba(255,255,255,.35); }
.contact-links a { padding: 1.2rem 0; display: grid; grid-template-columns: 90px 1fr auto; gap: 1rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,.35); }
.contact-links span { font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-links strong { font-size: .92rem; }
.contact-links b { font-weight: 400; }
/* Homepage — institutional structure inspired by the supplied reference */
.home-page { background: var(--white); }
.home-page section[id] { scroll-margin-top: 160px; }
.home-utility { position: sticky; z-index: 101; top: 0; min-height: 52px; padding: 0 clamp(1.25rem, 7.5vw, 7.5rem); display: flex; align-items: center; justify-content: space-between; background: #102f31; color: var(--white); font-family: Consolas, "Courier New", monospace; font-size: .76rem; letter-spacing: .05em; }
.home-utility-name { font-weight: 700; }
.home-utility > div { display: flex; align-items: center; gap: .75rem; }
.home-utility a { display: inline-flex; align-items: center; gap: .4rem; transition: color .2s; }
.home-utility-icon { display: block; width: 18px; height: 18px; flex: none; object-fit: contain; mix-blend-mode: screen; }
.home-utility-icon-linkedin { filter: invert(1); }
.home-utility a:hover { color: #65d4d8; }
.home-header { position: sticky; inset: 52px 0 auto; min-height: 106px; padding: 0 clamp(1.25rem, 7.5vw, 7.5rem); background: var(--white); border-bottom: 1px solid rgba(17,47,49,.1); }
.home-header.scrolled { background: rgba(255,255,255,.97); border-color: var(--line); backdrop-filter: blur(12px); }
.home-logo { width: 86px; height: 86px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; }
.home-logo img, .home-footer-logo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transform: scale(1.9); transform-origin: 60% 30%; }
.home-nav { gap: clamp(1.15rem, 2.4vw, 2.65rem); font-family: Consolas, "Courier New", monospace; font-size: clamp(.75rem, .95vw, .92rem); font-weight: 400; letter-spacing: .01em; }
.home-nav > a { white-space: nowrap; }
.home-hero { position: relative; min-height: clamp(560px, 70vh, 760px); display: flex; align-items: flex-end; overflow: hidden; background-image: linear-gradient(90deg, rgba(7,52,54,.92) 0%, rgba(7,52,54,.72) 34%, rgba(7,52,54,.18) 72%, rgba(7,52,54,.06) 100%), url('/media/amazonia-taupo.png'); background-position: center; background-size: cover; }
.home-hero-pattern { position: absolute; inset: 0 auto 0 0; width: min(52%, 760px); opacity: .32; background-image: linear-gradient(60deg, transparent 46%, rgba(4,151,158,.45) 47% 53%, transparent 54%), linear-gradient(-60deg, transparent 46%, rgba(255,255,255,.1) 47% 53%, transparent 54%); background-size: 180px 156px; }
.home-hero-copy { position: relative; z-index: 2; width: min(820px, 78vw); padding: 0 0 clamp(3.5rem, 8vh, 6.5rem) clamp(1.25rem, 7.5vw, 7.5rem); color: var(--white); }
.home-hero-copy > p { margin-bottom: 1rem; color: #8ae0e3; font-family: Consolas, "Courier New", monospace; font-size: .85rem; font-weight: 700; letter-spacing: .12em; }
.home-hero-copy h1 { margin-bottom: 1.25rem; font-size: clamp(2.7rem, 5.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.045em; }
.home-hero-copy > span { display: block; max-width: 680px; font-size: clamp(1rem, 1.5vw, 1.3rem); line-height: 1.5; }
.home-label { margin-bottom: 1.2rem; color: var(--brand); font-family: Consolas, "Courier New", monospace; font-size: .82rem; font-weight: 700; letter-spacing: .1em; }
.home-label-light { color: #8ae0e3; }
.home-about { padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 7.5vw, 7.5rem); display: grid; grid-template-columns: minmax(320px,.78fr) minmax(0,1fr); gap: clamp(3rem, 8vw, 9rem); align-items: center; scroll-margin-top: 110px; }
.home-about-photo { position: relative; min-height: 660px; }
.home-about-photo::after { content: ""; position: absolute; right: -1.25rem; bottom: -1.25rem; width: 35%; height: 42%; border-right: 5px solid var(--brand); border-bottom: 5px solid var(--brand); }
.home-about-photo img { width: 100%; height: 100%; min-height: 660px; object-fit: cover; object-position: center 20%; }
.home-about-content h2, .home-section-heading h2, .home-contact h2 { margin-bottom: 2rem; font-size: clamp(2.35rem, 4.3vw, 4.7rem); line-height: 1.04; letter-spacing: -.045em; }
.home-about-lead { font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.5; }
.home-about-content > p:not(.home-label):not(.home-about-lead) { color: var(--muted); }
.home-text-link { margin-top: 1.4rem; padding-bottom: .45rem; display: inline-flex; align-items: center; gap: 2rem; border-bottom: 2px solid var(--brand); color: var(--brand-dark); font-family: Consolas, "Courier New", monospace; font-size: .8rem; font-weight: 700; }
.home-expertise, .home-institutional { background-color: #eaf3f4; background-image: linear-gradient(rgba(255,255,255,.16), rgba(255,255,255,.16)), url('/media/rio-floresta-atuacao.png'); background-size: cover; background-position: center; background-repeat: no-repeat; }
.home-expertise { padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 7.5vw, 7.5rem); }
.home-section-heading { max-width: 840px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.home-section-heading.centered { margin-right: auto; margin-left: auto; text-align: center; }
.home-expertise-heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.home-expertise-heading .home-section-heading { margin-bottom: 0; }
.home-carousel-controls { display: flex; gap: .7rem; flex: 0 0 auto; }
.home-carousel-controls button { width: 54px; height: 54px; display: grid; place-items: center; border: 1px solid var(--brand); background: transparent; color: var(--brand-dark); font-size: 1.6rem; cursor: pointer; transition: background .2s, color .2s, opacity .2s; }
.home-carousel-controls button:hover:not(:disabled) { background: var(--brand); color: var(--white); }
.home-carousel-controls button:disabled { opacity: .35; cursor: not-allowed; }
.home-expertise-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 1px solid rgba(4,151,158,.28); border-left: 1px solid rgba(4,151,158,.28); }
.home-expertise-grid::-webkit-scrollbar { display: none; }
.home-expertise-grid article { min-width: 0; flex: 0 0 33.333333%; min-height: 280px; padding: 2rem; scroll-snap-align: start; border-right: 1px solid rgba(4,151,158,.28); border-bottom: 1px solid rgba(4,151,158,.28); background: var(--white); }
.home-expertise-grid span { color: var(--brand); font-family: Consolas, "Courier New", monospace; font-size: .78rem; }
.home-expertise-grid h3 { margin: 4rem 0 1rem; font-size: 1.25rem; }
.home-expertise-grid p { color: var(--muted); }
.home-businesses { padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 7.5vw, 7.5rem); scroll-margin-top: 110px; }
.home-business-heading { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.home-business-heading .home-section-heading { margin-bottom: 0; }
.home-business-grid { overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.home-business-grid.is-animated { overflow: hidden; scroll-snap-type: none; }
.home-business-grid::-webkit-scrollbar { display: none; }
.home-business-track { width: max-content; display: flex; gap: 1.5rem; }
.home-business-grid.is-animated .home-business-track { animation: business-loop var(--business-loop-duration, 80s) linear infinite; will-change: transform; }
@keyframes business-loop { to { transform: translate3d(var(--business-loop-shift, -3000px), 0, 0); } }
.home-business-grid article { width: var(--business-card-width, 340px); min-width: 0; flex: none; min-height: 520px; display: grid; grid-template-rows: 210px 1fr; scroll-snap-align: start; border: 1px solid var(--line); background: var(--white); transition: transform .25s, box-shadow .25s; }
.home-business-grid article:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(17,47,49,.12); }
.home-business-logo { display: grid; place-items: center; background: #f2f8f8; color: var(--ink); }
.home-business-person { overflow: hidden; }
.home-business-person img { width: 100%; height: 210px; object-fit: cover; object-position: center 17%; }
.taupo-logo-crop { width: 145px; height: 145px; display: block; overflow: hidden; border-radius: 50%; }
.home-business-logo.taupo-brand .taupo-logo-crop img { width: 100%; height: 100%; border-radius: 0; object-fit: cover; object-position: center; transform: scale(1.48); }
.home-business-logo.company-mark img { width: auto; height: auto; max-width: min(78%, 270px); max-height: 156px; object-fit: contain; }
.home-business-logo.company-mark .vikasa-mark { mix-blend-mode: multiply; }
.home-business-feature { align-content: center; gap: .4rem; color: var(--brand-dark); font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 750; letter-spacing: .08em; }
.home-business-feature small { font-family: Consolas, "Courier New", monospace; font-size: .72rem; font-weight: 400; letter-spacing: .18em; }
.home-business-cover { overflow: hidden; }
.home-business-cover img { width: 100%; height: 210px; object-fit: cover; object-position: center; }
.home-business-grid article > div:last-child { padding: 2rem; display: flex; flex-direction: column; }
.home-business-grid article > div:last-child > p { margin-bottom: 1.5rem; color: var(--brand); font-family: Consolas, "Courier New", monospace; font-size: .78rem; }
.home-business-grid h3 { margin-bottom: .75rem; font-size: 1.7rem; }
.home-business-grid article > div:last-child > span { color: var(--muted); }
.home-business-grid a { margin-top: auto; padding-top: 1.25rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: var(--brand-dark); font-family: Consolas, "Courier New", monospace; font-size: .8rem; font-weight: 700; }
.home-business-grid .home-business-soon { margin-top: auto; padding-top: 1.25rem; display: block; border-top: 1px solid var(--line); color: var(--brand-dark); font-family: Consolas, "Courier New", monospace; font-size: .8rem; font-weight: 700; }
.home-business-grid b { font-weight: 400; }
.home-numbers { padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 7.5vw, 7.5rem); background: var(--brand); color: var(--white); }
.home-numbers h2 { margin-bottom: 3rem; font-family: Consolas, "Courier New", monospace; font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 400; letter-spacing: .06em; }
.home-numbers dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.home-numbers dl div { padding: 1rem 2rem; border-right: 1px solid rgba(255,255,255,.35); }
.home-numbers dl div:first-child { padding-left: 0; }
.home-numbers dl div:last-child { border-right: 0; }
.home-numbers dt { font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 300; line-height: 1; letter-spacing: -.05em; }
.home-numbers dd { margin: 1rem 0 0; font-family: Consolas, "Courier New", monospace; font-size: .82rem; letter-spacing: .06em; }
.home-institutional { padding: clamp(5.5rem, 9vw, 9rem) clamp(1.25rem, 7.5vw, 7.5rem); display: grid; grid-template-columns: minmax(300px,.72fr) minmax(0,1fr); gap: 5rem 9vw; }
.home-institutional-list { padding: 0 1.5rem; border-top: 1px solid var(--line); background: rgba(255,255,255,.82); }
.home-institutional-list article { min-height: 105px; padding: 1.25rem 0; display: grid; grid-template-columns: 110px 1fr 160px; gap: 1.25rem; align-items: center; border-bottom: 1px solid var(--line); }
.home-institutional-list strong { color: var(--brand); }
.home-institutional-list span { font-weight: 700; }
.home-institutional-list small { color: var(--muted); }
.home-contact { position: relative; isolation: isolate; min-height: 560px; padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 7.5vw, 7.5rem); display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.65fr); gap: 4rem 9vw; align-items: center; background: #113c4a; color: var(--white); }
.home-contact::before { content: ""; position: absolute; z-index: -1; inset: 0; background-image: linear-gradient(90deg, rgba(8,48,66,.87) 0%, rgba(8,48,66,.77) 48%, rgba(8,48,66,.83) 100%), url('/media/filipe-horta-informal.jpeg'); background-size: cover; background-position: center 35%; }
.home-contact h2 { margin-bottom: 0; }
.home-contact-links { border-top: 1px solid rgba(255,255,255,.5); }
.home-contact-links a { min-height: 88px; padding: 1rem 0; display: grid; grid-template-columns: 1fr auto; align-content: center; gap: .22rem 1rem; border-bottom: 1px solid rgba(255,255,255,.5); transition: background .2s; }
.home-contact-links a:hover { background: rgba(255,255,255,.1); }
.home-contact-links a span { grid-column: 1; color: #b9e7ea; font-family: Consolas, "Courier New", monospace; font-size: .78rem; letter-spacing: .06em; }
.home-contact-links a strong { grid-column: 1; font-size: 1.05rem; font-weight: 650; overflow-wrap: anywhere; }
.home-contact-links a b { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 1.2rem; font-weight: 400; }
.home-footer { min-height: 180px; padding: 2.5rem clamp(1.25rem, 7.5vw, 7.5rem); display: grid; grid-template-columns: 110px 1fr auto; gap: 2rem; align-items: center; background: var(--white); }
.home-footer-logo { width: 86px; height: 86px; display: grid; place-items: center; justify-self: center; overflow: hidden; border-radius: 50%; }
.home-footer > div { display: grid; gap: .35rem; }
.home-footer > div:last-child { text-align: right; }
.home-footer strong { font-size: .95rem; text-transform: uppercase; }
.home-footer span { color: var(--muted); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }

.inner-main { padding-top: 0; }
.inner-hero { min-height: 640px; padding: clamp(5rem, 9vw, 8.5rem) clamp(1.25rem, 6vw, 7.5rem); display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.65fr); gap: 4rem 8vw; align-items: center; border-bottom: 1px solid var(--line); }
.inner-hero .kicker { margin-bottom: 2rem; }
.inner-hero h1 { max-width: 850px; margin-bottom: 2rem; }
.inner-hero .inner-lead { max-width: 700px; color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.4rem); }
.inner-brand-panel { min-height: 340px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--brand-pale); }
.inner-brand-panel img { width: min(260px, 65%); border-radius: 50%; }
.inner-brand-panel .wordmark { font-size: clamp(2.5rem, 5vw, 5rem); }
.inner-brand-panel .company-logo { width: min(270px, 75%); max-height: 250px; border-radius: 0; object-fit: contain; }
.inner-brand-panel .swig-logo { width: min(340px, 85%); }
.inner-brand-panel .person-photo { width: 100%; height: 100%; max-height: 460px; border-radius: 0; object-fit: cover; object-position: center 25%; }
.inner-back { width: fit-content; margin-top: 1.5rem; display: inline-flex; align-items: center; gap: .8rem; padding-bottom: .35rem; border-bottom: 1px solid var(--brand); color: var(--brand-dark); font-family: Consolas, "Courier New", monospace; font-size: .82rem; font-weight: 700; }
.inner-back:hover { border-color: var(--ink); color: var(--ink); }
.inner-hero-simple { min-height: calc(100svh - 236px); display: flex; align-items: center; }
.inner-hero-simple > div { max-width: 900px; }
.inner-hero-simple h1 { margin-bottom: .8rem; }
.inner-section { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7.5rem); }
.inner-section.alt { background: var(--brand-pale); }
.inner-section.dark { background: var(--ink); color: var(--white); }
.inner-heading { margin-bottom: 3rem; display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1fr); gap: 3rem 8vw; }
.inner-heading h2 { margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.inner-heading > p { max-width: 650px; margin: 0; color: var(--muted); }
.dark .inner-heading > p { color: rgba(255,255,255,.65); }
.service-list, .sector-grid, .solution-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.dark .service-list, .dark .sector-grid, .dark .solution-list { border-color: rgba(255,255,255,.18); }
.service-list article, .sector-grid article, .solution-list article { min-height: 180px; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.dark .service-list article, .dark .sector-grid article, .dark .solution-list article { border-color: rgba(255,255,255,.18); }
.service-list span, .solution-list span { color: var(--brand); font-size: .67rem; font-weight: 800; letter-spacing: .12em; }
.service-list h3, .solution-list h3, .sector-grid h3 { margin: 2.2rem 0 .7rem; font-size: 1.05rem; }
.service-list p, .solution-list p, .sector-grid p { margin: 0; color: var(--muted); font-size: .95rem; }
.dark .service-list p, .dark .solution-list p, .dark .sector-grid p { color: rgba(255,255,255,.62); }
.editorial-text { max-width: 1020px; display: grid; gap: 1.5rem; }
.editorial-text p { margin: 0; font-size: clamp(1rem, 1.35vw, 1.18rem); line-height: 1.7; }
.editorial-text h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; letter-spacing: -.045em; }
.editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.editorial-grid article { padding: 2rem; border: 1px solid var(--line); background: var(--white); }
.editorial-grid h3 { margin-bottom: .85rem; font-size: 1.3rem; }
.editorial-grid p { margin: 0; color: var(--muted); }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.5rem; }
.case-grid article { padding: 2rem; border: 1px solid var(--line); background: var(--white); }
.case-grid span { color: var(--brand-dark); font-family: Consolas, "Courier New", monospace; font-size: .8rem; font-weight: 700; }
.case-grid h3 { margin: 1rem 0; font-size: 1.3rem; line-height: 1.3; }
.case-grid p { margin: 0; color: var(--muted); }
.case-grid small { display: block; margin-top: 1rem; color: var(--muted); font-size: .86rem; }
.inner-quiet-note { margin-top: 1.5rem; color: var(--muted); font-size: 1.15rem; }
.fact-panel { max-width: 920px; padding: 2.5rem; border-left: 4px solid var(--brand); background: var(--white); }
.fact-panel h2 { margin-bottom: 1rem; font-size: clamp(1.8rem, 3vw, 3rem); }
.fact-panel p { color: var(--muted); }
.fact-panel p:last-child { margin-bottom: 0; }
.relationship-note { max-width: 920px; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .83rem; }
.company-cta { padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 7.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--brand); color: var(--white); }
.company-cta h2 { max-width: 800px; margin: 0; font-size: clamp(2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.button-white { flex: 0 0 auto; background: var(--white); color: var(--brand-dark); }
.button-disabled { cursor: default; opacity: .72; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .main-nav { gap: 1rem; } .main-nav > a { font-size: .72rem; }
  .hero { grid-template-columns: minmax(0,1fr) minmax(300px,.72fr); gap: 2rem; }
  .business-card { min-height: 470px; } .institutional { grid-template-columns: 1fr; }
  .home-nav { gap: 1rem; }
  .home-about { grid-template-columns: minmax(300px,.75fr) minmax(0,1fr); gap: 4rem; }
  .home-business-grid article { min-height: 500px; }
  .home-institutional { grid-template-columns: 1fr; }
  .home-expertise-grid article { flex-basis: 50%; }
}
@media (max-width: 820px) {
  .site-header { min-height: 74px; padding: 0 1.1rem; background: rgba(255,255,255,.96); border-color: var(--line); }
  .site-header.scrolled { backdrop-filter: none; }
  .menu-toggle { width: 44px; height: 44px; padding: 0; display: grid; place-content: center; gap: 6px; border: 0; background: transparent; }
  .menu-toggle i { width: 24px; height: 2px; display: block; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] i:first-of-type { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:last-of-type { transform: translateY(-4px) rotate(-45deg); }
  .main-nav { position: fixed; z-index: 110; inset: 74px 0 0; height: calc(100svh - 74px); padding: 2rem 1.25rem; display: none; align-items: stretch; flex-direction: column; gap: 0; overflow-y: auto; background: var(--white); }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: 1.1rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .main-nav .nav-cta { margin-top: 1rem; padding: 0 1rem; justify-content: space-between; border-bottom: 0; }
  .hero { min-height: auto; padding: 7rem 1.25rem 0; grid-template-columns: 1fr; grid-template-rows: auto; gap: 2rem; }
  .hero-copy { padding-bottom: 0; } .hero h1 { font-size: clamp(3.2rem, 15vw, 6rem); }
  .hero-visual { min-height: 520px; } .hero-stats { grid-column: 1; }
  .hero-stats div { padding: 1rem .7rem; display: grid; gap: .25rem; }
  .hero-stats dt { font-size: 2rem; } .hero-stats dd { font-size: .57rem; }
  .strategic-spine { min-height: 88px; padding: 0 1.25rem; gap: .75rem; font-size: .72rem; }
  .section { padding: 6rem 1.25rem; } .section-marker { top: 2rem; left: 1.25rem; }
  .about, .section-heading, .institutional { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo { min-height: 490px; } .business-grid { grid-template-columns: 1fr; }
  .business-card { min-height: 440px; } .section-heading { margin-bottom: 2.5rem; }
  .institutional-grid article { grid-template-columns: 90px 1fr; }
  .institutional-grid small { grid-column: 2; }
  .contact { min-height: 0; padding: 0; grid-template-columns: 1fr; }
  .contact-portrait { height: 520px; margin: 0; } .contact-copy { padding: 5rem 1.25rem; }
  .contact-links a { grid-template-columns: 72px 1fr auto; } .contact-links strong { overflow-wrap: anywhere; }
  .inner-hero { min-height: 0; padding: 5rem 1.25rem; grid-template-columns: 1fr; }
  .inner-brand-panel { min-height: 280px; } .inner-section { padding: 5rem 1.25rem; }
  .inner-hero-simple { min-height: calc(100svh - 74px); }
  .editorial-grid, .case-grid { grid-template-columns: 1fr; }
  .inner-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .service-list, .sector-grid, .solution-list { grid-template-columns: 1fr; }
  .company-cta { padding: 4rem 1.25rem; align-items: flex-start; flex-direction: column; }
  .home-utility { min-height: 40px; padding: 0 1rem; font-size: .66rem; }
  .home-utility > div { gap: .4rem; }
  .home-header { top: 40px; min-height: 78px; padding: 0 1rem; }
  .home-logo { width: 62px; height: 62px; }
  .home-page section[id] { scroll-margin-top: 120px; }
  .home-header .main-nav { position: absolute; inset: 100% 0 auto; height: calc(100svh - 118px); }
  .home-hero { min-height: 590px; background-position: 57% center; }
  .home-hero-pattern { width: 100%; opacity: .2; background-size: 130px 112px; }
  .home-hero-copy { width: 100%; padding: 0 1.25rem 3rem; }
  .home-hero-copy h1 { font-size: clamp(2.35rem, 11vw, 4rem); }
  .home-about { padding: 5rem 1.25rem; grid-template-columns: 1fr; gap: 3rem; }
  .home-about-photo, .home-about-photo img { min-height: 520px; }
  .home-about-photo::after { right: -.6rem; bottom: -.6rem; }
  .home-expertise, .home-businesses, .home-institutional { padding: 5rem 1.25rem; }
  .home-business-heading { align-items: stretch; flex-direction: column; gap: 1.5rem; }
  .home-business-heading .home-carousel-controls { justify-content: flex-end; }
  .home-expertise-heading { align-items: stretch; flex-direction: column; gap: 1.25rem; }
  .home-expertise-heading .home-section-heading h2 { margin-bottom: 0; }
  .home-expertise-heading .home-carousel-controls { justify-content: flex-end; }
  .home-carousel-controls button { width: 46px; height: 46px; }
  .home-expertise-grid article { flex-basis: 86%; min-height: 260px; }
  .home-business-grid article { min-height: 480px; }
  .home-numbers { padding: 4rem 1.25rem; }
  .home-numbers dl { grid-template-columns: 1fr; }
  .home-numbers dl div { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.35); }
  .home-numbers dl div:last-child { border-bottom: 0; }
  .home-institutional { gap: 1rem; }
  .home-institutional-list article { grid-template-columns: 90px 1fr; }
  .home-institutional-list small { grid-column: 2; }
  .home-contact { min-height: 0; padding: 5rem 1.25rem; grid-template-columns: 1fr; gap: 3rem; }
  .home-contact::before { background-image: linear-gradient(90deg, rgba(8,48,66,.88), rgba(8,48,66,.82)), url('/media/filipe-horta-informal.jpeg'); background-position: center 31%; }
  .home-footer { padding: 2.5rem 1.25rem; grid-template-columns: 72px 1fr; }
  .home-footer-logo { width: 64px; height: 64px; }
  .home-footer > div:last-child { grid-column: 1 / -1; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .home-business-grid.is-animated { overflow-x: auto; scroll-snap-type: x mandatory; }
  .home-business-grid.is-animated .home-business-track { animation: none; transform: none; }
}
