@import url('https://fonts.googleapis.com/css2?family=New+Amsterdam&family=Roboto:wght@300;400;500;700&display=swap');

/* =============================================
   CSS VARIABLES — DESIGN TOKENS
   ============================================= */
:root {
  --primary: hsl(189, 100%, 11%);
  --primary-rgb: 0, 56, 66;
  --primary-foreground: hsl(0, 0%, 100%);

  --secondary: hsl(114, 88%, 24%);
  --secondary-light: hsl(114, 88%, 30%);
  --secondary-foreground: hsl(0, 0%, 100%);

  --background: hsl(0, 0%, 100%);
  --foreground: hsl(189, 100%, 11%);

  --card: hsl(0, 0%, 100%);
  --muted: hsl(0, 0%, 97%);
  --muted-foreground: hsl(0, 0%, 40%);

  --border: hsl(214, 32%, 91%);
  --input: hsl(214, 32%, 91%);
  --ring: hsl(189, 100%, 11%);

  --radius: 0.5rem;
  --font-heading: 'New Amsterdam', sans-serif;
  --font-body: 'Roboto', sans-serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; background: var(--background); }

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  letter-spacing: 0.03em; /* espaçamento base para todos os headings */
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* =============================================
   UTILITIES
   ============================================= */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding { padding: 5rem 0; }
@media (min-width: 768px) { .section-padding { padding: 7rem 0; } }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem); /* aumentado: era clamp(1.75rem,3vw,2.5rem) */
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
  line-height: 1.75;
  max-width: 680px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 1rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;        /* aumentado: era .875rem */
  letter-spacing: 0.1em;  /* espaçado: era .08em */
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { opacity: .88; box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.btn-secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}
.btn-secondary:hover { opacity: .88; box-shadow: var(--shadow-lg); transform: translateY(-1px); }

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: .6rem 1.4rem;
  font-size: .9rem;       /* aumentado: era .8rem */
  letter-spacing: 0.08em;
}
.btn-outline:hover { background: var(--primary); color: var(--primary-foreground); }

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,.6);
  color: #fff;
  padding: .5rem 1.2rem;
  font-size: .85rem;      /* aumentado: era .78rem */
  letter-spacing: 0.07em;
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); }

/* =============================================
   FADE-IN ANIMATION
   ============================================= */
.fade-in-section {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .8s ease-out, transform .8s ease-out;
}
.fade-in-section.visible { opacity: 1; transform: translateY(0); }

/* =============================================
   HEADER
   ============================================= */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--background);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
#header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  transition: height .3s;
}
@media (min-width: 768px) { .header-inner { height: 5rem; } }
#header.scrolled .header-inner { height: 3.75rem; }

.header-logo img {
  height: 2.5rem;
  width: auto;
  transition: height .3s;
}
@media (min-width: 768px) { .header-logo img { height: 3.25rem; } }
#header.scrolled .header-logo img { height: 2.75rem; }

/* Desktop nav */
.nav-links {
  display: none;
  align-items: center;
  gap: .25rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links a {
  position: relative;
  padding: .5rem .75rem;
  font-family: var(--font-heading);
  font-size: 1rem;          /* aumentado: era .875rem */
  letter-spacing: 0.05em;   /* espaçado: era sem letra-spacing */
  font-weight: 500;
  color: rgba(0,56,66,.65);
  border-radius: var(--radius);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--foreground); background: var(--muted); }
.nav-links a.active { color: var(--secondary); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1.25rem; height: 2px;
  background: var(--secondary);
  border-radius: 9999px;
}

/* Header right */
.header-right {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) { .header-right { display: flex; } }

.header-socials { display: flex; gap: .5rem; }
.header-socials a { color: var(--muted-foreground); transition: color .2s; }
.header-socials a:hover { color: var(--secondary); }
.header-socials svg { width: 1rem; height: 1rem; }

/* Mobile toggle */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius);
  color: var(--foreground);
  transition: background .2s;
}
.menu-toggle:hover { background: var(--muted); }
@media (min-width: 1024px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 1.375rem; height: 1.375rem; }

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, opacity .3s ease;
  opacity: 0;
}
.mobile-menu.open { max-height: 420px; opacity: 1; }

.mobile-menu-inner {
  border-top: 1px solid var(--border);
  padding: 1rem 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.mobile-menu a {
  display: block;
  padding: .75rem 1rem;
  font-family: var(--font-heading);
  font-size: 1rem;         /* aumentado: era .875rem */
  letter-spacing: 0.05em;  /* espaçado */
  font-weight: 500;
  color: rgba(0,56,66,.7);
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.mobile-menu a:hover,
.mobile-menu a.active { background: hsl(114,88%,24%,0.1); color: var(--secondary); }
.mobile-menu .btn-outline { width: fit-content; margin-top: .75rem; padding: .5rem 1.25rem; }

/* =============================================
   HERO SLIDESHOW
   ============================================= */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,56,66,.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
  max-width: 900px;
  padding: 0 1.5rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 4rem); /* aumentado: era clamp(1.75rem,5vw,3.75rem) */
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.2);
}

.hero-brand {
  color: hsl(114, 88%, 50%);
  text-shadow: 0 2px 16px rgba(0,0,0,.25);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.9);
  max-width: 720px;
  margin: 0 auto 1rem;
}

.hero-cta-label {
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,.3);
}

.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.hero-dot {
  width: .75rem; height: .75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.hero-dot.active { width: 2rem; background: var(--secondary); }

/* =============================================
   IDENTITY SECTION
   ============================================= */
#identidade { background: var(--muted); }

.identity-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .85rem;       /* aumentado: era .75rem */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;  /* espaçado: era .15em */
  color: var(--secondary);
  margin-bottom: .75rem;
}

.identity-cards { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }

.identity-card {
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .identity-card { grid-template-columns: 2fr 3fr; } }

.identity-card-left {
  background: var(--primary);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.identity-icon {
  width: 4rem; height: 4rem;
  border-radius: .875rem;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.identity-icon svg { width: 2rem; height: 2rem; color: var(--secondary-light); }

.identity-card-left h3 {
  font-size: 1.75rem;      /* aumentado: era 1.5rem */
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: .5rem;
}

.identity-accent { width: 3rem; height: 3px; background: var(--secondary); border-radius: 9999px; }

.identity-card-right {
  padding: 2.5rem;
  display: flex;
  align-items: center;
}
.identity-card-right p {
  color: var(--muted-foreground);
  line-height: 1.75;
  font-size: .95rem;
}

/* =============================================
   HISTORY SECTION
   ============================================= */
#historia { background: var(--background); }

.history-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .history-grid { grid-template-columns: 1fr 1fr; } }

.history-img-wrap {
  position: relative;
}
.history-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
}
@media (min-width: 768px) { .history-img-wrap img { height: 500px; } }

.history-img-deco-br,
.history-img-deco-tl {
  position: absolute;
  border-radius: 1rem;
  z-index: -1;
}
.history-img-deco-br {
  bottom: -1rem; right: -1rem;
  width: 6rem; height: 6rem;
  background: rgba(30,150,50,.15);
}
.history-img-deco-tl {
  top: -1rem; left: -1rem;
  width: 4rem; height: 4rem;
  background: rgba(0,56,66,.08);
}

.history-text .since {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .85rem;       /* aumentado: era .75rem */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;  /* espaçado: era .15em */
  color: var(--secondary);
  margin-bottom: .75rem;
}

.history-text h2 { font-size: clamp(2.25rem, 4vw, 3.25rem); letter-spacing: 0.03em; margin-bottom: 1.5rem; }
.history-text p { color: var(--muted-foreground); line-height: 1.85; font-size: .95rem;text-align: justify; }

/* =============================================
   SEGMENTS SECTION
   ============================================= */
#segmentos {
  background: var(--muted);
  overflow: hidden;
  border-radius: 3.125rem 0 0 0;
}

.segments-header { text-align: center; margin-bottom: 3.5rem; }

.carousel-wrap { position: relative; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 2.5rem; height: 2.5rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background .2s, transform .2s;
}
.carousel-btn:hover { background: hsl(189,100%,18%); }
.carousel-btn.prev { left: -1rem; }
.carousel-btn.next { right: -1rem; }
.carousel-btn svg { width: 1.25rem; height: 1.25rem; }

.carousel-viewport { overflow: hidden; margin: 0 1.5rem; }

.carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .5s ease;
}

.segment-card {
  flex: 0 0 calc(50% - .75rem);
  background: var(--card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (max-width: 600px) { .segment-card { flex: 0 0 calc(100%); } }

.segment-card-img { height: 14rem; overflow: hidden; }
.segment-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.segment-card:hover .segment-card-img img { transform: scale(1.04); }

.segment-card-body { padding: 1.5rem; }
.segment-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;      /* aumentado: era 1.1rem */
  letter-spacing: 0.04em;  /* espaçado */
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: .5rem;
}
.segment-card-body p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.7; }

.carousel-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2rem; }
.carousel-dot {
  width: .75rem; height: .75rem;
  border-radius: 9999px;
  background: rgba(0,0,0,.2);
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.carousel-dot.active { width: 2rem; background: var(--secondary); }

/* =============================================
   DIFFERENTIALS SECTION
   ============================================= */
#diferenciais { background: var(--background); }
.diff-header { text-align: center; margin-bottom: 1rem; }

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
@media (min-width: 600px) { .diff-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .diff-grid { grid-template-columns: 1fr 1fr 1fr; } }

.diff-item { display: flex; gap: 1rem; }

.diff-icon {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  border-radius: 9999px;
  background: rgba(30,150,50,.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.diff-icon svg { width: 1.375rem; height: 1.375rem; color: var(--secondary); }

.diff-text h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;       /* aumentado: era 1rem */
  letter-spacing: 0.04em;  /* espaçado */
  color: var(--foreground);
  margin-bottom: .25rem;
}
.diff-text p { font-size: .875rem; color: var(--muted-foreground); line-height: 1.65; }

/* =============================================
   NUMBERS SECTION
   ============================================= */
.numbers-section {
  padding: 5rem 0;
  background: var(--primary);
  border-radius: 0 0 3.125rem 0;
}

.numbers-section h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem); /* aumentado: era clamp(1.5rem,3vw,2.25rem) */
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 4rem;
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
}
@media (min-width: 768px) { .numbers-grid { grid-template-columns: 1fr 1fr 1fr; } }

.number-item .value {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 0.03em;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.number-item .label { font-size: 1.1rem; color: rgba(255,255,255,.8); }

/* =============================================
   LOCATION
   ============================================= */
.location-grid-new {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .location-grid-new { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

.map-wrap { position: relative; }

.map-pins { position: absolute; inset: 0; pointer-events: none; }

.map-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  cursor: default;
}

.pin-dot {
  width: 12px; height: 12px;
  border-radius: 9999px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(0,0,0,.15), 0 2px 6px rgba(0,0,0,.25);
  transition: transform .2s;
}
.pin-dot.sede  { background: hsl(43,74%,50%); width:15px; height:15px; }
.pin-dot.filial { background: hsl(114,88%,26%); }

.map-pin:hover .pin-dot { transform: scale(1.4); }

.pin-label {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .75rem;       /* aumentado: era .68rem */
  letter-spacing: 0.06em;
  font-weight: 700;
  white-space: nowrap;
  padding: .3rem .65rem;
  border-radius: .4rem;
  box-shadow: 0 3px 10px rgba(0,0,0,.2);
  pointer-events: none;
  z-index: 20;
  text-align: center;
}
.pin-label span {
  display: block;
  font-size: .65rem;
  font-weight: 400;
  opacity: .75;
  margin-top: 1px;
}
.map-pin:hover .pin-label { display: block; }

.location-checklist {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.location-check-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: .75rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .75rem;
  box-shadow: var(--shadow-sm);
}

.check-icon {
  flex-shrink: 0;
  width: 2rem; height: 2rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sede-check  { background: var(--primary); color: #fff; }
.filial-check { background: rgba(30,150,50,.15); color: var(--secondary); }

.location-check-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;         /* aumentado: era .875rem */
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--foreground);
}
.location-check-item span {
  font-size: .8rem;
  color: var(--muted-foreground);
  font-family: var(--font-body);
}

.loc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

.loc-card {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: .75rem;
  padding: .875rem 1rem;
  box-shadow: var(--shadow-sm);
}
.loc-card.sede-card { grid-column: 1 / -1; }

.loc-card-icon {
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loc-card-icon.sede   { background: var(--primary); color: #fff; }
.loc-card-icon.filial { background: rgba(30,150,50,.15); color: var(--secondary); }

.loc-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .9rem;        /* aumentado: era .8rem */
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: .1rem;
}
.loc-card p {
  font-size: .78rem;
  color: var(--muted-foreground);
  margin: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.footer-addresses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem 2rem;
  max-width: 680px;
  margin: 0 auto 2rem;
  text-align: left;
}
@media (min-width: 600px) {
  .footer-addresses-grid { grid-template-columns: 1fr 1fr; }
}

.footer-addr-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .95rem;
  letter-spacing: 0.10em;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: .25rem;
}
.footer-addr-item p {
  font-size: .75rem;
  color: rgba(255,255,255,.5);
  line-height: 1.55;
  margin: 0;
}
.footer-addr-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .25rem;
  text-decoration: none;
  transition: opacity .2s;
}
.footer-addr-link:hover { opacity: .75; }
.footer-addr-icon {
  display: flex;
  align-items: center;
  color: var(--secondary-light);
  flex-shrink: 0;
}
.footer-addr-phones {
  font-size: .75rem;
  color: rgba(255,255,255,.6) !important;
  margin-top: .3rem !important;
  font-style: normal;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .location-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.map-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.map-wrap svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.10));
}

.map-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 50;
  padding: .5rem 1rem;
  border-radius: .5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .8rem;        /* aumentado: era .75rem */
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  transform: translateX(-50%);
  display: none;
}
.map-tooltip.show { display: block; }
.map-tooltip .tt-sub { font-size: .7rem; font-weight: 400; opacity: .75; margin-top: 2px; }

.map-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: .5rem; }
.legend-dot {
  width: 1rem; height: 1rem;
  border-radius: .25rem;
}
.legend-dot.active { background: hsl(114,88%,24%); }
.legend-dot.inactive { background: #e8ecf0; border: 1px solid #ccc; }
.legend-item span { font-size: .75rem; color: var(--muted-foreground); }

.locations-list { display: flex; flex-direction: column; gap: 1rem; }

.location-card {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: var(--card);
  border-radius: .875rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.location-icon {
  flex-shrink: 0;
  width: 2.5rem; height: 2.5rem;
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.location-icon.sede { background: var(--primary); color: #fff; }
.location-icon.filial { background: rgba(30,150,50,.15); color: var(--secondary); }
.location-icon svg { width: 1.25rem; height: 1.25rem; }

.location-card-text h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;         /* aumentado: era .875rem */
  letter-spacing: 0.04em;
  color: var(--foreground);
  margin-bottom: .15rem;
}
.location-card-text p { font-size: .8rem; color: var(--muted-foreground); line-height: 1.5; }

/* =============================================
   PARTNERS SECTION
   ============================================= */
.partners-section {
  background: var(--muted);
  padding: 4rem 0;
  overflow: hidden;
}
.partners-section h2 { text-align: center; margin-bottom: 3rem; padding: 0 1.5rem; }

.partners-track-wrap { position: relative; }
.partners-track-wrap::before,
.partners-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 5rem;
  z-index: 2;
  pointer-events: none;
}
.partners-track-wrap::before { left: 0; background: linear-gradient(to right, var(--muted), transparent); }
.partners-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--muted), transparent); }

.partners-track {
  display: flex;
  animation: scroll-logos 22s linear infinite;
}

.partner-card {
  flex-shrink: 0;
  margin: 0 1rem;
  background: var(--card);
  border-radius: .5rem;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  min-width: 180px;
  height: 5rem;
}
.partner-card span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;         /* aumentado: era .875rem */
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  white-space: nowrap;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-section { background: var(--muted); padding: 5rem 0; }
@media (min-width: 768px) { .testimonials-section { padding: 7rem 0; } }

.testimonials-header { text-align: center; margin-bottom: 1rem; }

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }

.testimonial-card {
  background: var(--card);
  border-radius: .75rem;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-quote-icon {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 2.5rem; height: 2.5rem;
  color: rgba(30,150,50,.25);
}
.testimonial-card p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--foreground);
  margin-bottom: 1rem;
}
.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;         /* aumentado: era .875rem */
  letter-spacing: 0.04em;
  color: var(--secondary);
}

/* =============================================
   CONTACT FORM
   ============================================= */
#contato {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}
@media (min-width: 768px) { #contato { padding: 7rem 0; } }

.contact-bg {
  position: absolute;
  inset: 0;
  background: var(--primary);
  z-index: 0;
}
.contact-blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(80px);
  opacity: .12;
  background: var(--secondary);
}
.contact-blob.b1 { width: 24rem; height: 24rem; top: -4rem; left: -6rem; }
.contact-blob.b2 { width: 20rem; height: 20rem; bottom: -3rem; right: -4rem; }

.contact-content { position: relative; z-index: 10; }

.contact-header { max-width: 560px; margin: 0 auto 3rem; text-align: center; }
.contact-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); /* aumentado: era clamp(1.5rem,3.5vw,2.25rem) */
  letter-spacing: 0.04em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}
.contact-header .accent { color: var(--secondary-light); }
.contact-header p { color: rgba(255,255,255,.75); line-height: 1.7; }
.contact-header p.contact-subtitle-spaced {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.contact-form-wrap {
  max-width: 580px;
  margin: 0 auto;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-radius: .875rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-xl);
}

.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;         /* aumentado: era .875rem */
  letter-spacing: 0.04em;  /* espaçado */
  color: var(--foreground);
  margin-bottom: .4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1.5px solid var(--input);
  border-radius: var(--radius);
  background: var(--background);
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--foreground);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px rgba(0,56,66,.12);
}

.form-btn {
  width: 100%;
  padding: 1.1rem;
  margin-top: .5rem;
}

.form-note {
  text-align: center;
  font-size: .75rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
  line-height: 1.5;
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: .625rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* =============================================
   FOOTER
   ============================================= */
footer {
  padding: 4rem 0;
  background: linear-gradient(135deg, hsl(114,88%,24%), hsl(114,88%,18%), hsl(189,100%,11%));
}

.footer-inner { text-align: center; }

.footer-logo { height: 5.5rem; width: auto; filter: brightness(0) invert(1); margin: 0 auto 1rem; }
.footer-tagline {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  max-width: 360px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.footer-contacts { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.footer-contacts p { font-size: .875rem; color: rgba(255,255,255,.65); }

.footer-socials { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.footer-socials a { color: rgba(255,255,255,.5); transition: color .2s; }
.footer-socials a:hover { color: #fff; }
.footer-socials svg { width: 1.25rem; height: 1.25rem; }

.footer-addresses { font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.85; margin-bottom: 2rem; }
.footer-addresses strong { color: rgba(255,255,255,.75); }

.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 1.5rem; }
.footer-copy { font-size: .75rem; color: rgba(255,255,255,.45); }

/* =============================================
   WHATSAPP BUTTON
   ============================================= */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 200;
  width: 3.5rem; height: 3.5rem;
  border-radius: 9999px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform .2s;
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 1.75rem; height: 1.75rem; }

@keyframes whatsapp-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  70%  { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 767px) {
  .segment-card { flex: 0 0 calc(100% - 0px); }
  .carousel-btn.prev { left: .25rem; }
  .carousel-btn.next { right: .25rem; }
}

/* Weather bar removed — sem offset residual */
html { scroll-padding-top: 5rem; }
#hero { margin-top: 0; }
#header { top: 0 !important; }