:root {
  --ink: #123c40;
  --deep: #063e45;
  --dark: #092f34;
  --lime: #b6ed75;
  --green: #45682e;
  --mint: #eaf2e3;
  --paper: #f6f7f1;
  --muted: #4e6261;
  --line: #d8ded6;
  --gutter: max(clamp(20px, 5vw, 72px), env(safe-area-inset-left), env(safe-area-inset-right));
  --header: 76px;
  --content: 1240px;
  --radius: 26px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-offset, var(--header)) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 Arial, Helvetica, sans-serif; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.1; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4vw, 3.65rem); letter-spacing: -.045em; }
h3 { font-size: 1.5rem; letter-spacing: -.025em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 3px solid #c16e24; outline-offset: 4px; }
.skip { position: fixed; left: 12px; top: 12px; z-index: 30; background: white; padding: 12px; transform: translateY(-150%); }
.skip:focus { transform: none; }
.button, .nav-contact, .menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.35;
  text-align: center;
  transition: background-color .2s, color .2s, border-color .2s;
}
.primary, .nav-contact { background: var(--deep); color: white; }
.primary:hover, .nav-contact:hover { background: var(--lime); color: var(--deep); border-color: var(--deep); }
.secondary, .outline { background: white; color: var(--deep); border-color: var(--deep); }
.secondary:hover, .outline:hover { background: var(--deep); color: white; }
.brand img { width: clamp(155px, 15vw, 205px); height: auto; }

.site-header {
  position: relative;
  inset: 0 0 auto;
  z-index: 10;
  min-height: var(--header);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 2vw, 30px);
  background: transparent;
  transition: background-color .25s, box-shadow .25s;
}
/* Compensa a margem transparente no arquivo da marca. */
.site-header .brand img { transform: translateX(-3.9%); }
.enhanced .site-header { position: fixed; }
.site-header.scrolled, .site-header:has(nav.open) { background: white; box-shadow: 0 3px 18px #092f3414; }
.site-header nav, .nav-pages, .nav-actions, .nav-socials { display: flex; align-items: center; }
.site-header nav { gap: clamp(14px, 2vw, 30px); }
.nav-pages { flex: 1; justify-content: center; gap: clamp(14px, 1.7vw, 26px); }
.nav-pages a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  font-weight: 700;
}
.nav-pages a:hover, .nav-pages a[aria-current] { color: var(--green); }
.nav-pages a[aria-current]::after {
  content: "";
  position: absolute;
  inset: auto 0 3px;
  height: 3px;
  border-radius: 99px;
  background: #6b9d40;
}
.nav-actions { gap: 14px; }
.nav-socials { gap: 3px; }
.social {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background-color .2s;
}
.instagram:hover { background: #f7e6ee; }
.whatsapp:hover { background: #daf4d8; }
.nav-contact { white-space: nowrap; }
.nav-contact[aria-current] { box-shadow: inset 0 0 0 2px var(--lime); }
.mobile-tools { display: none; }
.menu { background: white; color: var(--deep); border-color: var(--deep); }

@media (width > 70rem) {
  .site-header { column-gap: 0; }
  .site-header nav { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto; gap: 0; }
  .nav-pages { grid-column: 2; gap: clamp(24px, 2.3vw, 34px); }
  .nav-actions { display: contents; }
  .nav-socials { grid-column: 4; }
  .nav-contact { grid-column: 6; }
}

.enhanced #conteudo { padding-top: var(--header-offset, var(--header)); }
.site-header, .section, .hero, .closing, .footer-top, .footer-bottom {
  padding-inline: max(var(--gutter), calc((100% - var(--content)) / 2));
}
.section { padding-block: clamp(54px, 7vw, 100px); }
.section-top { margin-bottom: clamp(25px, 4vw, 46px); }
.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding-block: clamp(35px, 5vw, 75px);
  background: radial-gradient(ellipse at 88% 80%, #e4efda 0%, transparent 58%);
}
.hero h1 { font-size: clamp(2.7rem, 6.05vw, 6rem); line-height: .98; letter-spacing: -.065em; text-wrap: initial; }
.hero h1 span { display: block; }
.hero h1 em { color: var(--green); font-style: normal; }
.hero-copy p { font-size: clamp(1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 33ch; margin-top: 24px; }
.actions { margin-top: 26px; }
.hero-photo {
  position: relative;
  isolation: isolate;
  margin-right: 9px;
  margin-bottom: 10px;
  border-radius: clamp(34px, 6vw, 84px) 24px;
  background: var(--mint);
}
.hero-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12px -9px -10px 20px;
  border: 2px solid #91ae76;
  border-radius: inherit;
}
.hero-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.24;
  object-fit: cover;
  object-position: 24% center;
  border-radius: inherit;
}
.sector-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px clamp(14px, 4vw, 48px);
  background: var(--deep);
  color: white;
  padding: 20px var(--gutter);
}
.sector-strip b { font-size: clamp(.9rem, 1.55vw, 1.1rem); text-transform: uppercase; }
.sector-strip i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }

.about { background: white; }
.history-layout {
  display: grid;
  grid-template-columns: minmax(0, .45fr) minmax(0, .55fr);
  grid-template-rows: auto 1fr;
  gap: 20px clamp(42px, 5vw, 64px);
}
.history-intro { grid-area: 1 / 2; align-self: end; }
.eyebrow { text-transform: uppercase; color: var(--green); font-size: .8125rem; font-weight: 700; letter-spacing: .11em; }
.history-intro h2 { margin: 12px 0 18px; }
.history-layout p { font-size: clamp(1rem, 1.5vw, 1.125rem); color: var(--muted); max-width: 56ch; }
.history-intro strong { color: var(--ink); }
.history-details { grid-area: 2 / 2; }
.history-details p + p { margin-top: 15px; }
.history-action { margin-top: 24px; }
.history-photo { grid-area: 1 / 1 / 3 / 2; position: relative; isolation: isolate; }
.history-photo::before {
  content: "";
  position: absolute;
  inset: 15% 15% 25px -12px;
  z-index: -1;
  background: var(--mint);
  border-radius: 30px;
}
.history-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 54%; border-radius: 30px; }
figcaption { margin: 10px 0 0; font-size: .875rem; color: var(--muted); }

.partners { position: relative; padding-block: 12px; background: white; border-block: 1px solid var(--line); }
.partners-marquee { overflow: hidden; }
.partners-track { display: flex; width: max-content; animation: partners-scroll 38s linear infinite; }
.partners-group { display: flex; align-items: center; flex: none; justify-content: space-around; min-width: 100vw; }
.partner-item { width: clamp(136px, 16vw, 220px); height: 64px; padding-inline: 17px; display: grid; place-items: center; }
.partner-logo { max-width: 100%; max-height: 44px; width: auto; height: auto; object-fit: contain; }

@keyframes partners-scroll { to { transform: translateX(-50%); } }

.services {
  background-color: var(--deep);
  background-image: radial-gradient(ellipse at 90% 0%, #1a5658, transparent 54%);
  color: white;
}
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 3vw, 32px); }
.service-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: var(--ink);
  background: white;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.service-card:nth-child(2n) { background: #f2f7ee; }
.service-card:hover, .service-card:focus-within { border-color: var(--lime); transform: translateY(-4px); box-shadow: 0 12px 30px #001b2460; }
.service-media { aspect-ratio: 2 / 1; overflow: hidden; border-radius: 24px 24px 0 0; }
.service-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 23%; transition: transform .25s; }
.service-card:hover img, .service-card:focus-within img { transform: scale(1.03); }
.service-diagram {
  display: grid;
  place-items: center;
  color: #234e43;
  background:
    radial-gradient(ellipse at 52% 50%, #e4f2da 10%, transparent 75%),
    linear-gradient(#53725e22 1px, transparent 1px) 50% 50% / 24px 24px,
    linear-gradient(90deg, #53725e22 1px, transparent 1px) 50% 50% / 24px 24px,
    #c8dfc4;
}
.service-diagram svg { width: clamp(52px, 8vw, 88px); height: auto; }
.service-copy { padding: clamp(20px, 3vw, 34px); display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.service-copy h3 { font-size: clamp(1.5rem, 2.25vw, 1.75rem); text-wrap: initial; }
.service-copy p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.125rem); margin: 10px 0 21px; }
.service-detail:not([hidden]) { display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.service-action { margin-top: auto; max-width: 100%; overflow-wrap: anywhere; border-color: #6c8b75; background: transparent; color: var(--deep); }
.service-action:hover { background: var(--lime); border-color: var(--deep); }

.gallery { background: var(--paper); }
.photos { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: clamp(170px, 22vw, 290px); gap: clamp(12px, 2vw, 22px); }
.photo { position: relative; overflow: hidden; border: 0; padding: 0; border-radius: var(--radius); background: var(--deep); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.photo:hover img, .photo:focus-visible img { transform: scale(1.03); }
.photo-2 { grid-row: span 2; }
.photo-4 { grid-column: span 2; }
.photo-4 img { object-position: 50% 51%; }
.photo-5 img { object-position: 50% 18%; }
.photo span {
  position: absolute;
  inset: auto 0 0;
  padding: 38px 18px 15px;
  background: linear-gradient(transparent, #061f25e8 80%);
  color: white;
  text-align: left;
  font-size: .9375rem;
  font-weight: 700;
}
dialog { width: min(93vw, 1000px); max-height: 92dvh; padding: 12px; border: 0; border-radius: 20px; background: var(--dark); color: white; }
dialog::backdrop { background: #04191bea; }
dialog { padding-top: 58px; }
.lightbox-media { position: relative; display: grid; place-items: center; height: min(65dvh, 680px); height: clamp(72px, calc(100dvh - 155px), 680px); }
.lightbox-media img { width: 100%; height: 100%; min-height: 0; object-fit: contain; border-radius: 10px; }
.lightbox-media [role="status"]:not([hidden]) { position: absolute; inset: 0; display: grid; place-items: center; background: var(--dark); text-align: center; }
dialog p { text-align: center; padding: 10px 8px 0; }
.close { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--deep); background: white; color: var(--deep); }
.close:hover { background: var(--lime); }

.feedback { background: var(--mint); padding-block: clamp(28px, 4vw, 52px); }
.feedback aside { display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.feedback h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
.feedback p { margin-top: 6px; color: var(--muted); }
.feedback-action { max-width: 42ch; }
.feedback small { display: block; color: var(--muted); font-size: .875rem; margin-top: 6px; }

.contact { background: white; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 62px); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-actions .primary img { filter: brightness(0) invert(1); }
.contact-actions .primary:hover img { filter: none; }
.contact-row { margin-top: 19px; }
.contact-row > span { display: block; color: var(--green); font-size: .8125rem; letter-spacing: .075em; font-weight: 700; }
.contact-row a { display: flex; width: fit-content; min-height: 44px; align-items: center; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-row a:hover { color: var(--green); }
.contact-row p { margin-top: 4px; }
.map {
  display: grid;
  place-items: center;
  min-height: clamp(240px, 32vw, 340px);
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mint);
  background-image: repeating-linear-gradient(28deg, transparent 0 88px, #ffffffad 89px 100px), repeating-linear-gradient(113deg, transparent 0 86px, #ffffffad 87px 94px);
}
.map-copy { text-align: center; padding: 22px 18px; max-width: 400px; }
.map-copy p { color: var(--muted); margin: 12px 0 18px; }
.pin { display: inline-grid; place-items: center; border-radius: 50%; width: 60px; height: 60px; background: white; margin-bottom: 14px; }
.pin svg { width: 30px; height: 30px; }
.map iframe { display: block; border: 0; width: 100%; height: 100%; min-height: clamp(240px, 32vw, 340px); }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 24px; background: var(--mint); }
.closing img { width: min(190px, 100%); height: auto; }
.closing-contact { background: var(--lime); color: var(--deep); border-color: var(--deep); }
.closing-contact:hover { background: var(--deep); color: white; }
footer { background: var(--dark); color: white; padding: 22px 0 max(26px, env(safe-area-inset-bottom)); }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; }
.footer-top { padding-bottom: 16px; }
.footer-top a { gap: 8px; }
.footer-bottom { padding-top: 12px; border-top: 1px solid #ffffff38; font-size: .875rem; }
.footer-bottom > div { display: flex; flex-wrap: wrap; gap: 4px 18px; }
footer a, footer button { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
footer a:hover, footer button:hover { color: var(--lime); }
footer button { padding: 0; background: none; color: inherit; border: 0; }

.cookie {
  margin: 12px auto 0;
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  scroll-margin-block: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: white;
  box-shadow: 0 6px 32px #092f342c;
}
.cookie[hidden] { display: none; }
.cookie > div { flex: 1; }
.cookie p { font-size: .875rem; }
.cookie a { text-decoration: underline; }
.whatsapp-float {
  position: fixed;
  z-index: 14;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid white;
  background: #176638;
  color: white;
  box-shadow: 0 4px 20px #092f342c;
}
.whatsapp-float img { width: 27px; height: 27px; filter: brightness(0) invert(1); }
.whatsapp-float:hover { background: var(--deep); }

body > header:not(.site-header) { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; padding: 16px var(--gutter); background: white; }
.legal { max-width: 850px; margin: auto; padding: 50px 24px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 12px 0; }
.legal h2 { font-size: 1.5rem; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal a { text-decoration: underline; overflow-wrap: anywhere; }

@media (max-width: 89.99rem) {
  .whatsapp-float { display: none; }
}
@media (max-width: 70rem) {
  :root { --header: 64px; }
  .site-header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
  .enhanced .site-header { flex-wrap: nowrap; padding-top: env(safe-area-inset-top); }
  .site-header .brand { flex: 1 1 auto; min-width: 0; }
  .mobile-tools { align-items: center; gap: 4px; flex: none; }
  .enhanced .mobile-tools { display: flex; }
  .menu { width: 44px; height: 44px; padding: 0; position: relative; background: var(--mint); border: 0; }
  .menu::before, .menu::after, .menu span { content: ""; position: absolute; width: 19px; height: 2px; background: var(--deep); border-radius: 2px; }
  .menu::before { transform: translateY(-6px); }
  .menu::after { transform: translateY(6px); }
  .menu[aria-expanded="true"] span { opacity: 0; }
  .menu[aria-expanded="true"]::before { transform: rotate(45deg); }
  .menu[aria-expanded="true"]::after { transform: rotate(-45deg); }
  .site-header nav { flex-flow: column; align-items: stretch; width: 100%; }
  .enhanced .site-header nav {
    display: none;
    position: absolute;
    inset: calc(100% + 5px) var(--gutter) auto auto; width: min(350px, calc(100% - 2 * var(--gutter)));
    max-height: calc(100dvh - var(--header-offset, var(--header)) - env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 16px; border: 1px solid var(--line);
    background: white;
    border-radius: 20px;
    box-shadow: 0 12px 24px #092f3426;
  }
  .enhanced .site-header nav.open { display: flex; }
  .nav-pages { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); justify-content: stretch; gap: 4px 12px; }
  .nav-pages a { min-height: 46px; padding-inline: 10px; border-bottom: 1px solid var(--line); white-space: normal; }
  .nav-pages a[aria-current] { background: var(--mint); border-radius: 8px; }
  .nav-pages a[aria-current]::after { content: none; }
  .nav-actions { justify-content: space-between; flex-wrap: wrap; }
}
@media (max-width: 51rem) {
  .hero, .history-layout, .contact-grid, .service-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 26px; padding-block: 28px 34px; }
  .hero h1 { font-size: clamp(2.12rem, 9.5vw, 4.6rem); }
  .hero-copy p, .actions { margin-top: 18px; }
  .hero-photo img { aspect-ratio: auto; }
  .section { padding-block: 44px; }
  .history-layout { grid-template-rows: auto; gap: 18px; }
  .history-intro, .history-photo, .history-details { grid-area: auto; }
  .history-photo { width: min(100%, 480px); }
  .history-photo img { aspect-ratio: 3 / 2; object-position: center 54%; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; align-items: start; }
  .photo { text-align: left; }
  .photo-2, .photo-4 { grid-area: auto; }
  .photo img { height: auto; aspect-ratio: 1; }
  .photo-2 img { object-position: center 54%; }
  .photo-5 img { object-position: center 25%; }
  .photo { border-radius: 13px; align-self: stretch; display: flex; flex-direction: column; }
  .photo span { position: static; display: block; padding: 9px 12px; font-size: .875rem; line-height: 1.35; background: none; }
  .feedback { padding-block: 28px; }
  .feedback aside { display: grid; gap: 14px; }
  .closing { display: none; }
  .footer-top, .footer-bottom { display: grid; justify-content: start; gap: 8px; }
  .footer-bottom > div { gap: 0 16px; }
  .cookie { flex-wrap: wrap; padding: 12px; gap: 8px; }
  .cookie > div { flex-basis: 100%; }
  .cookie .button { flex: 1 1 120px; padding-inline: 10px; }
  .service-grid { gap: 0; }
  .service-card, .service-card:nth-child(2n) { background: transparent; color: white; border: 0; border-radius: 0; border-top: 1px solid #ffffff45; }
  .service-card:hover, .service-card:focus-within { transform: none; box-shadow: none; }
  .service-media { display: none; }
  .service-copy { display: block; padding: 0; }
  .service-copy h3 { font-size: 1.18rem; padding-block: 17px; }
  .service-copy h3:has(button) { padding: 0; }
  .service-copy h3 button { width: 100%; border: 0; background: transparent; color: white; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; padding: 19px 0; font: inherit; }
  .service-copy h3 button::after { content: "+"; color: var(--lime); font-size: 1.5rem; }
  .service-copy h3 button[aria-expanded="true"]::after { content: "−"; }
  .service-copy p { color: #e5efea; margin: 0 0 12px; }
  .service-action { color: white; border-color: #93b1a6; margin-bottom: 17px; }
  .service-action:hover { color: var(--deep); }
  .partners-track { animation-duration: 24s; }
}
@media (max-width: 35rem) {

  .sector-strip { display: grid; grid-template-columns: minmax(0, 1fr) 7px minmax(0, 1fr); justify-items: center; text-align: center; gap: 8px; }
  .sector-strip i:nth-child(4) { display: none; }
  .contact-actions .button { width: 100%; }
}
@keyframes enter {
  from { opacity: .72; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .entered { animation: enter .44s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *:not(.partners-track), *::before, *::after { animation: none !important; transition: none !important; }
  .service-card:hover, .service-card:focus-within, .photo:hover img, .photo:focus-visible img, .service-card:hover img, .service-card:focus-within img { transform: none; }
}
