:root {
  color-scheme: light;
  --ink: #122d21;
  --green: #154c35;
  --deep: #102f24;
  --forest: #082319;
  --lime: #c8f079;
  --paper: #f9faf6;
  --muted: #4d5d52;
  --line: #dce5d7;
  --max: 1200px;
  font-family: "Inter", "Aptos", system-ui, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.05em; }
h2 { font-size: clamp(2.35rem, 4.6vw, 4.15rem); font-weight: 750; }
p { line-height: 1.65; }
:focus-visible { outline: 3px solid #41834c; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 96px), var(--max)); margin-inline: auto; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.4rem; height: 1.4rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; inset: .75rem auto auto .75rem; z-index: 5; padding: .8rem 1rem; transform: translateY(-160%); background: white; color: var(--green); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid #dce5d780; }
.header-row { min-height: 83px; display: flex; align-items: center; gap: clamp(1rem, 2.25vw, 2.5rem); justify-content: space-between; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: clamp(180px, 18.2vw, 232px); height: auto; }
.footer-brand img { width: 153px; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.8rem, 1.45vw, 1.55rem); }
.main-nav a { color: #344b3d; font-size: .9375rem; text-decoration: none; font-weight: 620; white-space: nowrap; }
.main-nav a[aria-current="page"] { color: var(--green); text-decoration: underline; text-underline-offset: .42rem; text-decoration-thickness: 2px; }
.main-nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .34rem; }
.main-nav .nav-report {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .7rem;
  border: 1px solid #9ab697;
  border-radius: .45rem;
  background: #edf5e8;
  color: var(--green);
  font-weight: 730;
}
.main-nav .nav-report:hover { background: #e2eedc; }
.menu-toggle, .main-nav .mobile-quote { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .65rem 1.3rem; border-radius: .45rem; border: 1px solid transparent; text-decoration: none; font-size: .9375rem; line-height: 1.3; font-weight: 720; transition: background-color .16s, color .16s, border-color .16s; }
.button .icon { width: 1.1rem; height: 1.1rem; }
.button-green { background: var(--green); color: #fff; }
.button-green:hover { background: #226348; }
.button-lime { background: var(--lime); color: #132c1d; }
.button-lime:hover { background: #d9ff95; }
.button-outline { color: #fff; border-color: #ffffff60; background: #0c2d22a8; }
.button-outline:hover { background: #204c38; border-color: #ffffffb0; }
.button-light { background: #fff; border-color: #cddbc9; color: var(--green); }
.button-light:hover { background: #eaf2e4; }

.hero { position: relative; isolation: isolate; min-height: clamp(540px, 46vw, 700px); display: grid; align-items: center; background: var(--forest); color: #fff; overflow: hidden; }
.hero-media { position: absolute; z-index: -1; inset: 0; }
.hero-media img { height: 100%; width: 100%; object-fit: cover; object-position: 62% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0823199c 0%, #08231960 30%, #08231910 62%), linear-gradient(0deg, #08231932, transparent 35%); }
.hero-inner { padding-block: clamp(80px, 10vw, 146px); }
.hero-copy { max-width: 805px; }
.eyebrow { color: #397048; display: flex; align-items: center; gap: .6rem; font-weight: 760; text-transform: uppercase; font-size: .875rem; letter-spacing: .125em; line-height: 1.5; }
.eyebrow span { display: block; width: 1.3rem; height: 2px; background: currentColor; flex: none; }
.hero-kicker { color: #d5f2b0; }
.hero h1 { font-size: clamp(3.3rem, 5.75vw, 6.7rem); font-weight: 800; letter-spacing: -.075em; line-height: .99; margin-block: 1.15rem 1.35rem; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description { max-width: 29rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: #ecf3e9; }
.hero-actions { margin-top: 1.85rem; display: flex; flex-wrap: wrap; gap: .8rem; }

.facts { color: #ecfae9; background: var(--green); }
.fact-row { display: grid; grid-template-columns: .8fr 1.05fr 1.15fr; min-height: 113px; }
.fact { display: flex; align-items: center; gap: 1rem; padding: 1.2rem clamp(1rem, 3vw, 2.25rem); border-left: 1px solid #80ad8b55; }
.fact:first-child { padding-left: 0; border: 0; }
.fact:last-child { padding-right: 0; }
.fact .icon { color: var(--lime); width: 1.9rem; height: 1.9rem; }
.fact strong, .fact span { display: block; }
.fact strong { color: #fff; font-size: clamp(1.12rem, 1.85vw, 1.5rem); letter-spacing: -.035em; line-height: 1.25; }
.fact a { text-underline-offset: .18em; }
.fact span { color: #d2e7d3; font-size: .875rem; margin-top: .25rem; }

section[id] { scroll-margin-top: 88px; }
.section { padding-block: clamp(4rem, 8vw, 7.5rem); }
.operation { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(2.25rem, 7.5vw, 7.5rem); }
.section-intro h2, .about h2, .journal h2, .contact h2 { margin-block: .75rem 1.05rem; }
.section-intro > p:not(.eyebrow), .about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.07rem; max-width: 39rem; }
.section-intro .button { margin-top: 1.5rem; }
.service-list { border-top: 1px solid var(--line); }
.service { display: flex; gap: 1.2rem; align-items: flex-start; padding-block: 1.35rem; border-bottom: 1px solid var(--line); }
.icon-tile { width: 3.2rem; height: 3.2rem; border-radius: .6rem; display: grid; place-items: center; background: #e8f0e3; color: var(--green); flex: none; }
.service-thumb { width: clamp(84px, 9.75vw, 136px); aspect-ratio: 4 / 3; overflow: hidden; flex: none; border-radius: .5rem; background: #dce7d8; }
.service-thumb img, .detail-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .52s cubic-bezier(.22, 1, .36, 1); }
.service:last-child .service-thumb img { object-position: center 34%; }
.service:hover .service-thumb img, .detail-card:hover .detail-media img { transform: scale(1.07); }
.service h3, .journal h3 { font-weight: 760; font-size: clamp(1.21rem, 2vw, 1.55rem); letter-spacing: -.035em; }
.service p, .journal-copy p { color: var(--muted); margin-top: .35rem; }

.about { background: #e8f0e3; padding-block: clamp(3.5rem, 7.5vw, 7rem); }
.about-grid { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(2.25rem, 7vw, 7rem); }
.about-photo { position: relative; padding: 0; }
.about-photo img { width: 100%; height: clamp(320px, 34vw, 465px); object-fit: cover; object-position: center 43%; background: #133425; border-radius: .6rem; }
.about-photo figcaption { padding-top: .55rem; color: var(--muted); font-size: .8125rem; }
.about-photo figcaption a, .about-link { text-underline-offset: .24em; }
.about-link { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.4rem; color: var(--green); font-weight: 700; }

.journal-head { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; margin-bottom: 1.5rem; }
.journal h2 { margin-bottom: 0; }
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.journal-card { border: 1px solid var(--line); background: #fff; border-radius: .6rem; overflow: hidden; }
.journal-image { display: grid; place-items: center; overflow: hidden; background: #17382e; }
.journal-image img { width: 100%; height: clamp(255px, 33vw, 440px); object-fit: contain; transition: transform .2s; }
.journal-link { display: block; color: inherit; text-decoration: none; }
.journal-link:focus-visible { outline-offset: -4px; }
.journal-link:hover img, .journal-link:focus-visible img { transform: scale(1.025); }
.journal-action { display: inline-block; margin-top: .7rem; color: var(--green); font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: .2em; }
.journal-copy { padding: 1.4rem 1.55rem 1.65rem; }
.journal-copy time { color: #3a704e; font-size: .875rem; font-weight: 680; display: inline-block; margin-bottom: .5rem; }

.contact { background: var(--deep); color: white; padding-block: clamp(3.5rem, 7.5vw, 7rem); }
.contact-grid { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: clamp(2.25rem, 9vw, 8rem); }
.contact .eyebrow { color: var(--lime); }
.contact h2 { margin-bottom: 1.5rem; }
.contact-details { display: grid; align-content: center; font-style: normal; border-top: 1px solid #8eb59a55; }
.contact-details a { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem .25rem; border-bottom: 1px solid #8eb59a55; text-decoration: none; }
.contact-details a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.contact-details .icon { color: var(--lime); margin-top: .15rem; }
.contact-details span, .contact-details strong { display: block; }
.contact-details small { color: #d2e7d3; font-size: .875rem; }
.contact-details strong { font-size: 1.07rem; }
.contact-details small + strong + span { font-size: .95rem; color: #d2e7d3; }
.site-footer { background: var(--forest); color: #e4eee2; border-top: 1px solid #78938350; }
.footer-row { min-height: 125px; display: flex; justify-content: space-between; align-items: center; gap: 1.75rem; }
.footer-row p, .footer-row > small { font-size: .875rem; color: #bdd1bf; }

dialog { width: min(calc(100% - 2rem), 650px); max-height: min(90vh, 790px); border: 1px solid var(--line); color: var(--ink); background: var(--paper); padding: 0; border-radius: .85rem; box-shadow: 0 28px 90px #00140f64; }
dialog::backdrop { background: #061c17b5; }
.dialog-inner { padding: clamp(1.25rem, 4vw, 2.25rem); }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: .65rem; }
.dialog-heading h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); margin-top: .45rem; }
.dialog-inner > p:not(.feedback) { color: var(--muted); margin-block: .65rem 1.15rem; }
.icon-button, .menu-toggle { border: 1px solid var(--line); background: transparent; color: var(--green); border-radius: .45rem; width: 43px; height: 43px; place-items: center; }
.icon-button { display: grid; }
.icon-button:hover, .menu-toggle:hover { background: #eaf2e4; }
.quote-form, .quote-result { display: grid; gap: .85rem; }
.quote-form label, .quote-result label { display: grid; gap: .28rem; font-weight: 660; font-size: .9375rem; }
.form-columns { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.quote-form input, .quote-form textarea, .quote-result textarea { width: 100%; background: #fff; color: var(--ink); border: 1px solid #bcccba; border-radius: .4rem; padding: .65rem .7rem; font-size: 1rem; font-weight: 450; }
.quote-form textarea, .quote-result textarea { resize: vertical; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .25rem; }
.quote-result { border-top: 1px solid var(--line); padding-top: .85rem; margin-top: 1rem; }
.quote-result .button { justify-self: start; }
.feedback:not(:empty) { margin-top: .75rem; color: #356b42; font-size: .9rem; font-weight: 650; }

@media (max-width: 1000px) {
  .wrap { width: min(calc(100% - 64px), var(--max)); }
  .header-row { gap: 1.35rem; }
  .main-nav { gap: .85rem; }
  .hero-copy { max-width: 660px; }
}
@media (max-width: 1040px) {
  .header-row { min-height: 68px; }
  .menu-toggle { display: grid; margin-left: auto; }
  .header-quote { display: none; }
  .main-nav { display: none; }
  .main-nav.is-open { display: grid; align-items: stretch; gap: 0; justify-content: stretch; position: absolute; inset: 100% 0 auto; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 10px 14px #08231915; padding: .4rem 22px .8rem; max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; }
  .main-nav a { padding: .7rem .25rem; }
  .main-nav .nav-report { margin-block: .45rem .2rem; }
  .main-nav .mobile-quote { display: block; color: var(--green); font-weight: 750; }
  .main-nav a + a { border-top: 1px solid var(--line); }
}
@media (max-width: 790px) {
  .wrap { width: calc(100% - 44px); }
  .hero { min-height: 530px; }
  .hero-media img { object-position: 69% center; }
  .hero-media::after { background: linear-gradient(90deg, #082319e0, #08231980 42%, #08231918 100%), linear-gradient(0deg,#082319a0,transparent 55%); }
  .fact-row { grid-template-columns: .67fr 1fr 1.33fr; }
  .fact { gap: .6rem; padding: 1.1rem .75rem; }
  .fact .icon { width: 1.35rem; height: 1.35rem; }
  .fact strong { font-size: 1.02rem; }
  .fact span { font-size: .8125rem; }
  section[id] { scroll-margin-top: 70px; }
  .operation, .about-grid, .contact-grid { gap: 2rem; }
  .footer-row { flex-wrap: wrap; padding-block: 1.4rem; gap: 1rem; }
}
@media (max-width: 575px) {
  .hero { min-height: 600px; }
  .hero-inner { padding-block: 230px 54px; }
  .hero-media img { height: 76%; object-position: 83% center; }
  .hero-media::after { background: linear-gradient(0deg, #082319 13%, #082319 25%, #082319e0 51%, #0823193d 82%, #08231903); }
  .hero h1 { font-size: clamp(2.65rem, 10vw, 4rem); }
  .hero-break { display: none; }
  .hero-kicker { font-size: .75rem; letter-spacing: .1em; }
  .hero-description { max-width: 32ch; }
  .hero-actions { gap: .55rem; }
  .hero-actions .button { padding-inline: .8rem; }
  .fact-row { grid-template-columns: 1fr 1fr; }
  .fact { padding: .92rem .65rem; }
  .fact:last-child { grid-column: span 2; padding-left: 0; border-left: 0; border-top: 1px solid #80ad8b55; }
  .operation, .about-grid, .contact-grid, .journal-grid { grid-template-columns: 1fr; }
  .about-copy { grid-row: 1; }
  .about-photo img { height: clamp(255px, 80vw, 430px); }
  .journal-head { align-items: start; flex-direction: column; }
  .journal-image img { height: clamp(240px, 80vw, 450px); }
  .footer-row > small { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 36px); }
  .form-columns { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.page-hero {
  color: white;
  background: radial-gradient(ellipse at 100% 10%, #25583d 0%, transparent 54%), var(--forest);
  border-bottom: 6px solid var(--green);
  padding-block: clamp(3.6rem, 7vw, 6.4rem);
}
.page-hero-grid { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.page-hero h1 { font-size: clamp(2.65rem, 6.3vw, 5.6rem); font-weight: 790; letter-spacing: -.066em; margin-block: .65rem 1rem; }
.page-hero .eyebrow, .quote-band .eyebrow { color: var(--lime); }
.page-lead { color: #e0ece2; max-width: 60ch; font-size: clamp(1.03rem, 2vw, 1.18rem); }
.page-stat { border-left: 1px solid #a0c1a473; padding-left: 1.45rem; min-width: 215px; }
.page-stat strong, .page-stat span, .page-stat small { display: block; }
.page-stat strong { color: var(--lime); font-weight: 750; letter-spacing: -.06em; font-size: clamp(2.1rem, 5vw, 3.75rem); line-height: 1.04; }
.page-stat span { font-weight: 680; font-size: 1.06rem; margin-top: .2rem; }
.page-stat small { color: #d2e7d3; font-size: .86rem; margin-top: .2rem; }
.detail-section, .branch-directory { padding-block: clamp(3.1rem, 6.5vw, 6.25rem); }
.detail-intro { margin-bottom: 1.8rem; }
.detail-intro h2 { margin-top: .55rem; max-width: 23ch; font-size: clamp(2rem, 4.25vw, 3.6rem); }
.detail-intro > p:not(.eyebrow) { margin-top: .8rem; color: var(--muted); max-width: 63ch; }
.source-note { color: var(--muted); font-size: .875rem; margin-top: 1.75rem; }
.source-note a { text-underline-offset: .15em; }

.branch-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 1rem 1.4rem; margin-bottom: 1.65rem; }
.branch-controls { display: grid; grid-template-columns: minmax(14rem, 1.9fr) minmax(10rem, 1fr); gap: .85rem; flex: 0 1 34rem; }
.branch-controls label { display: grid; gap: .3rem; font-size: .9375rem; font-weight: 660; }
.branch-controls input, .branch-controls select { width: 100%; min-height: 48px; padding: .55rem .75rem; border: 1px solid #bcccba; border-radius: .4rem; background: white; color: var(--ink); font-size: 1rem; font-weight: 450; }
.branch-controls select {
  appearance: none;
  padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--green) 50%), linear-gradient(135deg, var(--green) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
#branch-count { color: var(--muted); font-size: .92rem; padding-bottom: .65rem; }
.branch-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.branch-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: .6rem; background: white; }
.branch-card:first-child { background: #eff6ea; border-color: #a9bfa6; }
.branch-top { display: flex; align-items: center; gap: .75rem; }
.branch-top .icon-tile { width: 2.65rem; height: 2.65rem; }
.branch-top .icon { width: 1.15rem; height: 1.15rem; }
.branch-label { color: #397048; font-size: .875rem; font-weight: 675; line-height: 1.35; margin-bottom: .2rem; }
.branch-card h2, .detail-card h3 { font-size: clamp(1.25rem, 2.05vw, 1.6rem); letter-spacing: -.035em; line-height: 1.19; }
.branch-card address { font-style: normal; line-height: 1.5; }
.branch-cnpj { color: var(--muted); font-size: .875rem; margin-top: auto; }
.branch-cnpj a { text-underline-offset: .17em; }
.branch-card .button { min-height: 42px; margin-top: .15rem; }
.branch-empty { padding: 1.4rem; border: 1px solid var(--line); border-radius: .6rem; }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.detail-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: .7rem; }
.detail-media { aspect-ratio: 16 / 9; overflow: hidden; background: #e0e9dd; }
.detail-content { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; padding: 1.35rem; }
.service-source { margin-top: .8rem; }
.detail-card p { color: var(--muted); }
.detail-card .service-example { padding-top: .75rem; margin-top: auto; width: 100%; border-top: 1px solid var(--line); font-size: .92rem; }
.service-example strong { font-size: .9rem; color: var(--green); }
.quote-band { background: var(--deep); color: white; padding-block: clamp(2.5rem, 6vw, 4.55rem); }
.quote-band-grid { display: flex; justify-content: space-between; align-items: center; gap: 1.4rem 2.4rem; }
.quote-band h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-block: .5rem .7rem; }
.quote-band p:not(.eyebrow) { color: #e0ece2; max-width: 64ch; }
.quote-band .button { flex: none; }


.history-intro { display: grid; grid-template-columns: 1fr 1.12fr; gap: 2.5rem 5vw; }
.history-intro .detail-intro { margin-bottom: 0; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 4.7rem 1fr; align-items: start; gap: .8rem; border-bottom: 1px solid var(--line); padding-block: 1.05rem; }
.timeline time { color: var(--green); font-size: 1.23rem; font-weight: 745; letter-spacing: -.045em; }
.timeline h3 { font-size: 1.13rem; line-height: 1.28; letter-spacing: -.025em; margin-bottom: .22rem; }
.timeline p { color: var(--muted); }
.leadership-section { background: #e8f0e3; padding-block: clamp(3rem, 6.3vw, 6rem); }
.leadership-grid { display: grid; grid-template-columns: 1.1fr .95fr; gap: 2rem 6vw; align-items: center; }
.leadership-grid h2 { font-size: clamp(2.1rem, 4.7vw, 3.75rem); margin-block: .6rem .85rem; }
.leadership-grid p:not(.eyebrow) { color: var(--muted); margin-block: .75rem; }
.interview-card { background: white; border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; }
.interview-card img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; background: var(--forest); }
.interview-card figcaption { padding: 1rem 1.15rem; color: var(--green); font-weight: 690; }
.interview-card a { text-underline-offset: .2em; }

@media (max-width: 875px) {
  .branch-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .service-grid { grid-template-columns: 1fr; }
  .history-intro, .leadership-grid { grid-template-columns: 1fr; }
  .quote-band-grid, .page-hero-grid { align-items: start; flex-direction: column; }
  .page-stat { min-width: 0; padding-left: .9rem; }
  .branch-toolbar { align-items: start; flex-direction: column; gap: .6rem; }
  .branch-controls { width: 100%; flex: none; }
  #branch-count { padding-bottom: 0; }
}
@media (max-width: 575px) {
  .branch-list, .branch-controls { grid-template-columns: 1fr; }
  .branch-top h2 { font-size: 1.4rem; }
}
.operation-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.15rem; margin-top: 1.5rem; }
.operation-actions .button, .operation-actions .about-link { margin-top: 0; }
