/*
Theme Name: EA2S Institucional v2
Theme URI: https://ea2s.com.br/
Author: EA2S
Description: Tema institucional EA2S compatível com Elementor e EA2S Site Core.
Version: 2.1.1
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ea2s-institucional-v2
*/

:root {
  --ink: #102e3c;
  --ink-deep: #09212c;
  --teal: #167a79;
  --green: #83a84a;
  --sun: #e4c640;
  --paper: #f4f2eb;
  --sand: #e5dfcf;
  --line: rgba(16, 46, 60, .18);
  --muted: #5d6e71;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 20; padding: .7rem 1rem; background: var(--sun); color: var(--ink-deep); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.screen-reader-text { 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 { min-height: 90px; padding: .45rem clamp(1.2rem, 4vw, 5rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; background: rgba(244,242,235,.95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; width: max-content; }
.brand img { display: block; width: 72px; height: 72px; object-fit: contain; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.1vw, 2.2rem); font-size: .82rem; font-weight: 700; }
nav a { padding: .55rem 0; position: relative; }
nav a:after { content: ""; height: 2px; width: 0; background: var(--teal); position: absolute; left: 0; bottom: .25rem; transition: width .2s ease; }
nav a:hover:after, nav a:focus-visible:after { width: 100%; }
.header-cta { justify-self: end; color: var(--teal); font-size: .82rem; font-weight: 800; border-bottom: 1px solid var(--teal); padding-bottom: .2rem; }
.nav-toggle { display: none; }

.hero { min-height: min(780px, calc(100svh - 76px)); color: white; padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 7vw, 8rem) clamp(2rem, 6vw, 5.5rem); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; isolation: isolate; background-color: #082531; background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero:after { content: ""; position: absolute; inset: 0; z-index: -3; background: linear-gradient(90deg, rgba(4, 23, 29, .93) 0%, rgba(4, 23, 29, .64) 47%, rgba(4, 23, 29, .10) 100%); }
.hero-grid, .hero-contours, .hero-glow { display: none; }
.hero-copy { max-width: 720px; }
.eyebrow { text-transform: uppercase; color: var(--teal); font-size: .69rem; letter-spacing: .15em; font-weight: 900; margin: 0 0 1.1rem; }
.hero .eyebrow { color: var(--sun); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.055em; line-height: .98; }
h1 { font-size: clamp(3.15rem, 7vw, 7.2rem); max-width: 760px; margin-bottom: 1.5rem; }
.lead { max-width: 610px; color: rgba(255,255,255,.86); font-size: clamp(1.02rem, 1.8vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; padding: .85rem 1.1rem; font-weight: 800; font-size: .82rem; transition: transform .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--sun); color: var(--ink-deep); }
.button-quiet { border: 1px solid rgba(255,255,255,.5); color: white; }
.hero-proof { margin-top: clamp(3.8rem, 10vh, 9rem); display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; font-size: .73rem; color: rgba(255,255,255,.7); }
.hero-proof p { margin: 0 .4rem 0 0; }
.hero-proof span { border: 1px solid rgba(255,255,255,.32); padding: .35rem .6rem; }

.statement { padding: clamp(4.5rem, 9vw, 9rem) clamp(1.2rem, 7vw, 8rem); display: grid; grid-template-columns: minmax(150px, .45fr) minmax(0, 1.55fr); gap: 3rem; border-bottom: 1px solid var(--line); }
.statement h2, .section-heading h2, .approach h2, .team h2, .contact h2 { font-size: clamp(2.25rem, 4.6vw, 5.3rem); margin-bottom: 1.5rem; max-width: 1050px; }
.statement p:not(.eyebrow) { color: var(--muted); max-width: 680px; font-size: 1.05rem; }
.section { padding: clamp(4.5rem, 9vw, 9rem) clamp(1.2rem, 7vw, 8rem); }
.section-heading { max-width: 810px; margin-bottom: clamp(2.6rem, 6vw, 5rem); }
.section-heading > p:not(.eyebrow) { color: var(--muted); max-width: 680px; }
.services-heading { max-width: none; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(260px, .65fr); gap: clamp(2rem, 7vw, 8rem); align-items: center; }
.services-copy { max-width: 810px; }
.services-copy > p:not(.eyebrow) { color: var(--muted); max-width: 680px; }
.logo-journey { width: min(100%, 420px); aspect-ratio: 1; position: relative; justify-self: end; }
.logo-journey img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.logo-journey-route { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.logo-journey-motion-path { fill: none; stroke: none; }
.logo-journey-orb { filter: drop-shadow(0 0 10px rgba(237,207,50,.65)); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 330px; padding: 1.4rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; background: rgba(255,255,255,.2); }
.card-number { color: var(--teal); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.service-card h3 { font-size: 1.7rem; margin: 3rem 0 1rem; }
.service-card p { color: var(--muted); font-size: .91rem; }
.service-card ul { margin: auto 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--line); list-style: none; font-size: .75rem; line-height: 1.75; }
.service-card li:before { content: "—"; color: var(--green); margin-right: .4rem; }

.approach { background: var(--ink-deep); color: white; padding: clamp(4.5rem, 9vw, 9rem) clamp(1.2rem, 7vw, 8rem); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(330px, .95fr); gap: clamp(3rem, 7vw, 8rem); position: relative; overflow: hidden; }
.approach:after { content: ""; position: absolute; width: 44vw; height: 44vw; min-width: 450px; min-height: 450px; right: -16vw; bottom: -24vw; border-radius: 50%; border: 1px solid rgba(131,168,74,.45); box-shadow: 0 0 0 48px rgba(131,168,74,.06), 0 0 0 100px rgba(131,168,74,.04), 0 0 0 170px rgba(131,168,74,.03); }
.approach-intro { position: relative; z-index: 1; }
.approach .eyebrow { color: var(--sun); }
.approach-intro > p:last-child { max-width: 600px; color: rgba(255,255,255,.7); }
.principles { margin: 0; padding: 0; list-style: none; position: relative; z-index: 1; }
.principles li { display: grid; grid-template-columns: 65px 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.principles li > span { color: var(--sun); font-weight: 800; font-size: .8rem; }
.principles h3 { font-size: 1.6rem; margin: 0 0 .55rem; }
.principles p { color: rgba(255,255,255,.67); margin: 0; font-size: .9rem; }

.projects { background: #e9e5da; }
.projects-explorer { --case-color: var(--teal); min-width: 0; max-width: 100%; overflow: hidden; }
.projects-topline { display: grid; grid-template-columns: minmax(260px, .88fr) minmax(0, 1.12fr); gap: clamp(2rem, 6vw, 7rem); align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.project-heading h2 { font-size: clamp(2.25rem, 4.6vw, 5.3rem); margin-bottom: 1.5rem; }
.project-heading > p:not(.eyebrow) { color: var(--muted); max-width: 600px; }
.project-strip-caption { display: flex; align-items: baseline; gap: .7rem; margin: 0 0 1rem; color: var(--teal); }
.project-strip-caption p { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: .78rem; font-weight: 900; }
.project-strip-caption p span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(131,168,74,.2); }
.project-strip-caption small { color: var(--muted); font-size: .75rem; }
.project-carousel-shell { position: relative; min-width: 0; max-width: 100%; overflow: hidden; }
.project-track { display: flex; gap: .75rem; width: 100%; max-width: 100%; min-width: 0; padding: .15rem 3.1rem 1.1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none; }
.project-track::-webkit-scrollbar { display: none; }
.project-choice { color: var(--ink); text-align: left; background: rgba(244,242,235,.8); border: 1px solid var(--line); padding: 1rem; flex: 0 0 clamp(190px, 18vw, 250px); min-height: 208px; display: flex; flex-direction: column; scroll-snap-align: start; cursor: pointer; transition: background .24s ease, border-color .24s ease, transform .24s ease, box-shadow .24s ease; }
.project-choice:hover, .project-choice:focus-visible { border-color: var(--teal); transform: translateY(-3px); outline: none; }
.project-choice.is-selected { background: var(--ink); color: white; border-color: var(--ink); box-shadow: 0 12px 26px rgba(9,33,44,.16); }
.project-choice-index, .project-choice-type, .project-choice-territory { display: block; }
.project-choice-index { color: var(--teal); font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.project-choice-type { color: var(--teal); text-transform: uppercase; font-size: .62rem; font-weight: 900; letter-spacing: .11em; margin-top: auto; }
.project-choice.is-selected .project-choice-index, .project-choice.is-selected .project-choice-type { color: var(--sun); }
.project-choice strong { font-size: clamp(1.18rem, 1.8vw, 1.58rem); line-height: 1; letter-spacing: -.055em; margin: .55rem 0 1rem; }
.project-choice-territory { padding-top: .75rem; border-top: 1px solid currentColor; color: var(--muted); font-size: .75rem; }
.project-choice.is-selected .project-choice-territory { color: rgba(255,255,255,.73); }
.project-choice-territory b { float: right; color: var(--green); font-size: 1rem; }
.project-carousel-control { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--teal); font-size: 1.35rem; font-weight: 700; box-shadow: 0 8px 24px rgba(9,33,44,.16); cursor: pointer; transition: transform .2s ease, opacity .2s ease; }
.project-carousel-control:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }
.project-carousel-control:disabled { opacity: .3; cursor: default; }
.project-carousel-back { left: .15rem; }
.project-carousel-next { right: .15rem; }
.project-territory-tag { display: inline-block; padding: .42rem .62rem; border: 1px solid var(--teal); color: var(--teal); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.project-map-dashboard { --map-accent: #167a79; display: grid; grid-template-columns: minmax(330px, .85fr) minmax(0, 1.7fr); margin-top: 1px; background: var(--ink-deep); color: white; border: 1px solid var(--ink-deep); }
.map-urban { --map-accent: #d8bd42; }
.map-rural { --map-accent: #8daa56; }
.map-sensitive { --map-accent: #5ac2b1; }
.project-map-intro { padding: clamp(1.5rem, 3vw, 3rem); display: flex; flex-direction: column; }
.project-map-intro .eyebrow { color: var(--sun); }
.project-map-intro h3 { font-size: clamp(1.8rem, 2.8vw, 3rem); margin: 0 0 .85rem; }
.project-map-intro .project-territory-tag { color: white; border-color: rgba(255,255,255,.56); }
.project-facts { margin: 1.5rem 0 0; }
.project-facts div { padding: .62rem 0; border-top: 1px solid rgba(255,255,255,.2); }
.project-facts dt { color: var(--sun); text-transform: uppercase; letter-spacing: .11em; font-size: .58rem; font-weight: 900; margin-bottom: .2rem; }
.project-facts dd { margin: 0; color: rgba(255,255,255,.72); font-size: .76rem; }
.project-outcome dd { color: white; font-weight: 700; }
.map-key { display: flex; align-items: center; gap: .65rem; margin-top: auto; padding-top: 1.4rem; color: rgba(255,255,255,.7); font-size: .73rem; }
.map-key-area { display: block; width: 18px; height: 12px; background: var(--map-accent); border: 1px solid rgba(255,255,255,.75); }
.map-key strong { color: white; }
.project-map-panel { min-height: 530px; position: relative; overflow: hidden; background: #dce6e4; }
.real-map { position: absolute; inset: 0; z-index: 0; min-height: 100%; background: #dce6e4; }
.real-map .leaflet-control-zoom { border: 0; box-shadow: 0 8px 22px rgba(9,33,44,.2); }
.real-map .leaflet-control-zoom a { color: var(--teal); border: 0; }
.real-map .leaflet-control-attribution { padding: .25rem .45rem; background: rgba(244,242,235,.9); color: var(--muted); font-size: .61rem; }
.real-map .leaflet-control-attribution a { color: var(--teal); }
.editorial-map { min-height: 530px; position: relative; overflow: hidden; isolation: isolate; background: #0b4553; }
.map-world { position: absolute; width: 180%; height: 180%; left: -40%; top: -40%; overflow: hidden; transform: translate(-5%, -12%) scale(1.05); transition: transform .9s cubic-bezier(.2,.8,.2,1); background: linear-gradient(135deg, #0d4d5a 0 31%, #2c6669 31% 50%, #69875c 50% 68%, #bcc175 68%); }
.map-world:before { content: ""; position: absolute; inset: 0; opacity: .48; background: linear-gradient(24deg, transparent 0 49%, rgba(255,255,255,.7) 49.3% 49.8%, transparent 50.1%), linear-gradient(110deg, transparent 0 47%, rgba(255,255,255,.52) 47.3% 47.8%, transparent 48.1%); background-size: 140px 105px, 210px 165px; }
.map-contours { position: absolute; inset: -28%; opacity: .48; background: repeating-radial-gradient(ellipse at 61% 54%, transparent 0 28px, rgba(255,255,255,.77) 29px 31px, transparent 32px 51px); transform: rotate(17deg); }
.map-waterway { position: absolute; background: rgba(9,33,44,.78); height: 11px; border-radius: 50%; filter: drop-shadow(0 0 1px rgba(255,255,255,.3)); }
.map-waterway-one { width: 82%; top: 29%; left: -9%; transform: rotate(28deg); }
.map-waterway-two { width: 58%; top: 70%; right: -8%; transform: rotate(-37deg); }
.map-route { position: absolute; border: 2px dashed rgba(255,255,255,.86); height: 0; transform-origin: left center; opacity: .83; }
.map-route-one { width: 83%; top: 59%; left: 3%; transform: rotate(-22deg); }
.map-route-two { width: 55%; top: 16%; right: 4%; transform: rotate(42deg); }
.map-grid { position: absolute; border: 1px solid rgba(255,255,255,.75); opacity: .8; }
.map-grid-one { width: 31%; height: 35%; top: 17%; left: 15%; transform: rotate(14deg); }
.map-grid-two { width: 27%; height: 44%; right: 15%; bottom: 14%; transform: rotate(-20deg); }
.map-reference-area { position: absolute; width: 26%; aspect-ratio: 1.1; top: 43%; left: 54%; transform: rotate(-17deg); background: color-mix(in srgb, var(--map-accent) 88%, white); border: 2px solid rgba(255,255,255,.9); box-shadow: 0 0 0 7px color-mix(in srgb, var(--map-accent) 25%, transparent), 0 18px 34px rgba(4,23,29,.26); transition: background .4s ease; }
.map-reference-area:before, .map-reference-area:after { content: ""; position: absolute; background: rgba(9,33,44,.45); }
.map-reference-area:before { width: 1px; height: 120%; left: 50%; top: -10%; }
.map-reference-area:after { width: 120%; height: 1px; top: 50%; left: -10%; }
.map-reference-area span { position: absolute; width: 13px; height: 13px; border-radius: 50%; top: calc(50% - 6px); left: calc(50% - 6px); background: white; box-shadow: 0 0 0 5px color-mix(in srgb, var(--map-accent) 78%, transparent), 0 0 19px rgba(255,255,255,.8); }
.map-urban .map-world { transform: translate(-6%, -14%) scale(1.08); }
.map-rural .map-world { transform: translate(-29%, -37%) scale(1.37); }
.map-sensitive .map-world { transform: translate(18%, 9%) scale(1.24); }
.map-place { position: absolute; color: rgba(255,255,255,.79); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.map-place-one { top: 27%; left: 51%; }
.map-place-two { bottom: 22%; left: 24%; }
.map-location-label { position: absolute; z-index: 2; left: 1.4rem; bottom: 1.4rem; max-width: 72%; padding: .55rem .7rem; background: rgba(9,33,44,.88); border-left: 3px solid var(--map-accent); color: white; font-size: .7rem; font-weight: 800; letter-spacing: .04em; transition: border-color .35s ease; pointer-events: none; }
.map-north { position: absolute; top: 1.4rem; right: 1.4rem; border: 1px solid rgba(255,255,255,.62); padding: .4rem .52rem; font-size: .68rem; font-weight: 900; }
.map-scale { position: absolute; bottom: 1.3rem; right: 1.4rem; color: rgba(255,255,255,.68); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; }
.project-map-disclaimer { grid-column: 1 / -1; margin: 0; padding: .75rem 1rem; background: var(--paper); color: var(--muted); font-size: .68rem; text-align: center; }

.team { padding: clamp(4.5rem, 9vw, 9rem) clamp(1.2rem, 7vw, 8rem); display: grid; grid-template-columns: minmax(0, .92fr) minmax(400px, 1.08fr); gap: clamp(3rem, 7vw, 8rem); align-items: center; background: white; overflow: hidden; }
.team-copy h2 { max-width: 730px; }
.text-link { display: inline-flex; margin-top: 1rem; color: var(--teal); font-weight: 800; font-size: .83rem; border-bottom: 1px solid var(--teal); padding-bottom: .2rem; }
.discipline-list { margin-top: 2rem; display: grid; gap: .7rem; }
.discipline-flow { display: flex; flex-wrap: wrap; gap: .55rem; }
.discipline-list span { padding: .6rem .72rem; border: 1px solid var(--line); font-size: .72rem; font-weight: 800; background: var(--paper); }
.discipline-flow span:nth-child(2n) { color: white; background: var(--teal); border-color: var(--teal); }
.discipline-flow span:nth-child(3n) { color: var(--ink-deep); background: var(--sun); border-color: var(--sun); }
.team-carousel { min-width: 0; padding: 1rem 0; }
.team-carousel-note { display: flex; align-items: center; gap: .55rem; margin-bottom: 1rem; color: var(--teal); text-transform: uppercase; letter-spacing: .11em; font-size: .65rem; font-weight: 900; }
.team-carousel-note span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(131,168,74,.18); }
.team-carousel-viewport { min-height: 285px; overflow: hidden; padding: .7rem 0 1.1rem; mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.team-carousel-track { width: max-content; display: flex; gap: 3rem; animation: team-carousel-scroll 38s linear infinite; }
.team-carousel-group { display: flex; align-items: flex-start; gap: 3rem; }
.team-carousel.is-paused .team-carousel-track, .team-carousel:focus-within .team-carousel-track { animation-play-state: paused; }
.team-profile { position: relative; flex: 0 0 210px; min-height: 248px; margin: 0; padding: .2rem .2rem 1.4rem; text-align: center; outline: none; cursor: default; }
.team-profile:focus-visible .team-photo-frame { outline: 3px solid var(--sun); outline-offset: 4px; }
.team-photo-frame { display: grid; place-items: center; width: 154px; height: 154px; margin: 0 auto 1.15rem; padding: 5px; border: 1px solid rgba(16,46,60,.1); border-radius: 50%; background: white; box-shadow: 0 10px 24px rgba(9,33,44,.16); }
.team-photo { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center; background: var(--sand); }
.team-profile-name { display: grid; gap: .2rem; }
.team-profile-name strong { font-size: 1.18rem; letter-spacing: -.04em; line-height: 1.05; }
.team-profile-name span { min-height: 2.6em; color: var(--teal); font-size: .79rem; font-weight: 800; line-height: 1.3; }
.team-presentation { min-height: 184px; padding: 1.1rem 1.25rem; border-top: 1px solid var(--line); border-left: 3px solid transparent; background: rgba(244,242,235,.55); transition: border-color .22s ease, background .22s ease; }
.team-presentation.is-active { border-left-color: var(--sun); background: rgba(244,242,235,.92); }
.team-presentation-label { margin-bottom: .42rem; color: var(--teal); font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.team-presentation h3 { margin: 0 0 .55rem; font-size: 1.35rem; }
.team-presentation > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--muted); font-size: .95rem; line-height: 1.58; }
@keyframes team-carousel-scroll { to { transform: translateX(calc(-50% - 1.5rem)); } }

.insights { border-top: 1px solid var(--line); }
.content-source { display: flex; gap: .5rem; align-items: center; color: var(--teal); font-size: .74rem; font-weight: 800; margin-bottom: 1rem; }
.content-source span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(131,168,74,.2); }
.content-source small { color: var(--muted); font-size: .72rem; font-weight: 400; }
.carousel-shell { position: relative; }
.insight-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth; padding: .1rem 3.5rem .85rem; scrollbar-width: none; }
.insight-track::-webkit-scrollbar { display: none; }
.insight-card { background: var(--paper); border: 1px solid var(--line); flex: 0 0 clamp(275px, 30vw, 390px); min-height: 430px; scroll-snap-align: start; display: flex; flex-direction: column; overflow: hidden; }
.insight-image { display: block; width: 100%; height: 170px; object-fit: cover; background: var(--ink-deep); }
.insight-image-unavailable { background: #d9d3c4; }
.insight-card-body { padding: 1.25rem; display: flex; flex: 1; flex-direction: column; }
.insight-card p { color: var(--teal); text-transform: uppercase; letter-spacing: .11em; font-size: .65rem; font-weight: 900; }
.insight-card h3 { font-size: 1.55rem; margin: .2rem 0 1rem; }
.insight-card span { color: var(--muted); font-size: .84rem; }
.insight-card a { color: var(--teal); font-weight: 800; font-size: .78rem; margin-top: auto; padding-top: 1.2rem; }
.insight-card b { color: var(--green); font-size: 1.1rem; margin-left: .35rem; }
.carousel-control { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--teal); font-size: 1.35rem; font-weight: 700; box-shadow: 0 8px 24px rgba(9,33,44,.16); cursor: pointer; transition: transform .2s ease, opacity .2s ease; }
.carousel-control:hover:not(:disabled) { transform: translateY(-50%) scale(1.06); }
.carousel-control:disabled { opacity: .3; cursor: default; }
.carousel-control-back { left: .15rem; }
.carousel-control-next { right: .15rem; }

.contact { margin: clamp(1.2rem, 3vw, 3rem); padding: clamp(3rem, 7vw, 7rem); background: var(--teal); color: white; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; position: relative; overflow: hidden; }
.contact:after { content: ""; position: absolute; width: 480px; height: 480px; right: -210px; top: -240px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 50px rgba(255,255,255,.07), 0 0 0 110px rgba(255,255,255,.05); }
.contact > * { position: relative; z-index: 1; }
.contact .eyebrow { color: var(--sun); }
.contact h2 { max-width: 750px; margin-bottom: 1rem; }
.contact p:not(.eyebrow) { color: rgba(255,255,255,.78); max-width: 630px; }
.contact-button { white-space: nowrap; }
footer { padding: 2.5rem clamp(1.2rem, 7vw, 8rem); display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.footer-brand { color: var(--ink); gap: .65rem; }
.footer-brand strong { font-size: 1.55rem; }
.footer-brand span { font-size: .65rem; line-height: 1.25; text-transform: uppercase; font-weight: 800; letter-spacing: .06em; }
footer p { max-width: 420px; margin: 0; text-align: right; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto; gap: 1rem; min-height: 68px; }
  nav { order: 3; grid-column: 1 / -1; justify-content: space-between; gap: .8rem; padding-bottom: .65rem; overflow-x: auto; }
  .header-cta { justify-self: end; }
  .hero { min-height: 740px; padding-top: 5rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-topline, .project-map-dashboard { grid-template-columns: 1fr; }
  .project-map-intro { min-height: 300px; }
  .map-key { margin-top: 1.5rem; }
  .approach, .team { grid-template-columns: 1fr; }
  .discipline-list { max-width: 620px; }
}

@media (max-width: 640px) {
  .site-header { padding: .9rem 1.1rem 0; align-items: start; }
  .brand img { width: 58px; height: 58px; }
  .header-cta { font-size: .72rem; }
  nav { font-size: .72rem; padding-bottom: .8rem; }
  nav a:last-child { display: none; }
  .hero { min-height: 680px; padding: 4rem 1.2rem 1.5rem; }
  .hero-glow { width: 26rem; height: 26rem; right: -14rem; }
  h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .hero-proof { margin-top: auto; }
  .statement { grid-template-columns: 1fr; gap: .3rem; }
  .section, .approach, .team { padding-left: 1.2rem; padding-right: 1.2rem; }
  .services-heading { grid-template-columns: 1fr; gap: 1.25rem; }
  .service-grid { grid-template-columns: 1fr; }
  .logo-journey { justify-self: start; width: min(86vw, 330px); }
  .service-card { min-height: 275px; }
  .contact { margin: 0; grid-template-columns: 1fr; padding: 3.2rem 1.25rem; }
  .contact-button { justify-self: start; }
  footer { display: block; }
  footer p { text-align: left; margin-top: 1.2rem; }
  .content-source { align-items: flex-start; }
  .content-source small { max-width: 230px; }
  .insight-track { padding-left: 2.9rem; padding-right: 2.9rem; gap: .75rem; }
  .insight-card { flex-basis: min(78vw, 330px); }
  .carousel-control { width: 36px; height: 36px; font-size: 1.1rem; }
  .project-strip-caption { align-items: flex-start; flex-direction: column; gap: .2rem; }
  .project-strip-caption small { padding-left: 1.25rem; }
  .project-track { padding-left: 2.9rem; padding-right: 2.9rem; gap: .75rem; }
  .project-choice { flex-basis: min(76vw, 315px); min-height: 215px; }
  .project-carousel-control { width: 36px; height: 36px; font-size: 1.1rem; }
  .project-map-panel, .editorial-map { min-height: min(108vw, 410px); }
  .project-map-intro { padding: 1.5rem 1.3rem; min-height: 0; }
  .project-map-disclaimer { text-align: left; padding-left: 1.3rem; padding-right: 1.3rem; }
}


html[data-ea2s-motion="off"] { scroll-behavior: auto; }
html[data-ea2s-motion="off"] * { transition: none !important; }

.site-header nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 2.2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ea2s-home .elementor-section,
.ea2s-home .elementor-container,
.ea2s-home .elementor-column,
.ea2s-home .elementor-widget-wrap,
.ea2s-home .elementor-widget,
.ea2s-home .elementor-widget-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.ea2s-home .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  padding: 0;
}

.content-shell {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.content-heading {
  max-width: 900px;
  margin-bottom: 3rem;
}

.content-heading h1 {
  color: var(--ink);
}

.entry-content {
  color: var(--ink);
  font-size: 1.03rem;
}

.entry-content > *:not(.content-heading):not(.single-cover) {
  max-width: 780px;
}

.entry-content img,
.single-cover img,
.wp-post-card img {
  max-width: 100%;
  height: auto;
}

.single-cover {
  margin-bottom: 2.5rem;
}

.wp-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.wp-post-card {
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.35);
}

.wp-post-card h2 {
  font-size: 1.8rem;
}

.wp-post-card .eyebrow {
  margin-top: 1rem;
  margin-bottom: .6rem;
}

.error-page {
  min-height: 60vh;
}

.error-page p {
  max-width: 620px;
}

@media (max-width: 960px) {
  .site-header nav ul { justify-content: space-between; min-width: max-content; }
  .wp-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .wp-post-grid { grid-template-columns: 1fr; }
}

html[data-ea2s-motion="off"] .team-carousel-track { animation: none; }

/* A configuração editorial "Sempre exibir animações" deve prevalecer sobre
   a preferência reduzida do navegador, sem afetar os modos Automático e Sem animações. */
html[data-ea2s-motion="on"] .team-carousel-track { animation: team-carousel-scroll 38s linear infinite !important; }
html[data-ea2s-motion="on"] .logo-journey-orb { display: block !important; }

/* Conversão e navegação institucional */
.single-entry-cta { max-width: 780px; margin: 3.5rem 0 0; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--teal); color: white; }
.single-entry-cta .eyebrow { color: var(--sun); }
.single-entry-cta h2 { margin: 0 0 1.25rem; font-size: clamp(1.8rem, 3vw, 2.6rem); }

.site-footer { display: grid; grid-template-columns: minmax(250px, 1.55fr) repeat(3, minmax(145px, .7fr)); gap: 2.5rem; position: relative; }
.footer-identity p { max-width: 340px; margin: 1rem 0 0; text-align: left; }
.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; color: var(--muted); }
.footer-column a:hover, .footer-column a:focus-visible { color: var(--teal); text-decoration: underline; text-underline-offset: .22em; }
.footer-label { margin: 0 0 .15rem; color: var(--ink); font-size: .67rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.footer-legal { grid-column: 1 / -1; max-width: none; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); text-align: left; }

@media (min-width: 641px) {
  .site-navigation { display: flex !important; }
}

@media (max-width: 640px) {
  .site-header { grid-template-columns: 1fr auto auto; align-items: center; padding: .65rem 1.1rem; gap: .5rem; }
  .brand img { width: 56px; height: 56px; }
  .nav-toggle { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
  .nav-toggle-icon, .nav-toggle-icon::before, .nav-toggle-icon::after { display: block; width: 19px; height: 2px; background: currentColor; content: ""; transition: transform .2s ease; }
  .nav-toggle-icon { position: relative; }
  .nav-toggle-icon::before { position: absolute; top: -6px; }
  .nav-toggle-icon::after { position: absolute; top: 6px; }
  .site-header.is-nav-open .nav-toggle-icon { background: transparent; }
  .site-header.is-nav-open .nav-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
  .site-header.is-nav-open .nav-toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }
  .site-navigation { display: none; grid-column: 1 / -1; width: 100%; padding: .55rem 0 .3rem; overflow: visible; }
  .site-header.is-nav-open .site-navigation { display: block; }
  .site-header .site-navigation ul { display: grid; gap: 0; width: 100%; }
  .site-header .site-navigation li { border-top: 1px solid var(--line); }
  .site-header .site-navigation a { display: block; min-height: 44px; padding: .72rem 0; }
  .site-header .site-navigation a::after { display: none; }
  .header-cta { min-height: 44px; display: inline-flex; align-items: center; font-size: .72rem; padding: .4rem 0; }
  .projects, .projects-explorer, .projects-topline, .project-selector, .project-carousel-shell { width: 100%; min-width: 0; max-width: 100%; }
  .projects-topline { gap: 2.25rem; }
  .project-heading h2 { overflow-wrap: anywhere; }
  .project-track { width: 100%; max-width: 100%; padding-left: 2.9rem; padding-right: 2.9rem; }
  .project-choice { flex: 0 0 min(76vw, 315px); min-width: 0; }
  .project-carousel-control, .carousel-control { width: 44px; height: 44px; font-size: 1.2rem; }
  .site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .footer-identity, .footer-legal { grid-column: 1 / -1; }
  .footer-social { grid-column: span 1; }
}

@media (max-width: 374px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-cta { grid-column: 1 / -1; justify-self: start; }
  .nav-toggle { grid-column: 2; grid-row: 1; }
  .brand { grid-column: 1; grid-row: 1; }
  .project-choice { flex-basis: min(74vw, 285px); }
}
