@font-face {
  font-family: 'Garet';
  src: local('Garet Book'), url('../fonts/garet/Garet-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Garet';
  src: local('Garet Heavy'), url('../fonts/garet/Garet-Heavy.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Ramillas';
  src: local('TT Ramillas Trial Regular'), url('../fonts/tt-ramillas-trl/TT_Ramillas_Trial_Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TT Ramillas';
  src: local('TT Ramillas Trial Medium Italic'), url('../fonts/tt-ramillas-trl/TT_Ramillas_Trial_Medium_Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --vinho: #54091B;
  --vinho-light: #7A1F32;
  --vinho-deep: #3A0611;
  --claro: #E2DAD7;
  --bg: #F8F6F5;
  --white: #FFFFFF;
  --dark: #2A2A2A;
  --muted: #6B6462;
  --border: #DCD5D2;

  --font-display: 'Garet', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-body: 'TT Ramillas', Georgia, 'Times New Roman', serif;

  --nav-height: 80px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark);
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

.page-content {
  flex: 1 0 auto;
}

.page-cta-footer {
  flex: 1;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.cta-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--vinho);
  padding: 56px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Header / Nav ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: var(--vinho);
  transition: background 0.3s;
}

.site-header.is-scrolled {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1400px;
  height: 100%;
  padding-inline: clamp(24px, 3vw, 48px);
}

.site-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.site-logo .logo-text {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(18px, 1.8vw, 28px);
  flex-wrap: nowrap;
}

.nav-list a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--claro);
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--claro);
  transition: width 0.3s;
}

.nav-list a:hover {
  color: var(--white);
}

.nav-list a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--claro);
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(42, 42, 42, 0.72) 0%, rgba(42, 42, 42, 0.35) 20%, rgba(42, 42, 42, 0.05) 45%, rgba(84, 9, 27, 0.10) 75%, rgba(84, 9, 27, 0.30) 100%);
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 120px 0 80px;
}

.hero-badge {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--claro);
  margin-bottom: 24px;
  font-weight: 600;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-content p {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  margin-bottom: 44px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--vinho);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--vinho-light);
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.btn-secondary:hover {
  background: var(--dark);
  color: var(--white);
}

.hero-content .btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-content .btn-secondary:hover {
  background: var(--white);
  color: var(--vinho);
  border-color: var(--white);
}

:focus-visible {
  outline: 2px solid var(--vinho);
  outline-offset: 2px;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--vinho);
  outline-offset: 2px;
}



/* ---- Section shared ---- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--vinho);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--vinho);
  max-width: 760px;
  margin: 0 auto 20px;
  letter-spacing: -0.01em;
}

.process-title {
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-desc {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--dark);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- About — seamless photo-text flow ---- */
.about {
  position: relative;
  isolation: isolate;
  background: var(--dark);
  padding: 0;
  overflow: hidden;
}

.about::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(110deg, rgba(42, 42, 42, 0.94) 0%, rgba(74, 72, 73, 0.78) 48%, rgba(42, 42, 42, 0.52) 100%);
}

.about-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-inner {
  max-width: 760px;
  margin: 0 auto;
}

.about-content-wrap {
  position: relative;
  z-index: 2;
  padding: 88px 0 84px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.about-content .section-title {
  margin-bottom: 24px;
  color: var(--white);
}

.about .section-title {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

.about-content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-highlight {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vinho);
  padding-left: 16px;
  border-left: 2px solid var(--vinho);
}

/* ---- Areas ---- */
.areas {
  background: var(--bg);
  overflow: hidden;
}

.areas .section-desc {
  margin-bottom: 56px;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.areas-item {
  background: var(--white);
  border: 1px solid var(--border);
  width: 210px;
  padding: 36px 28px;
  text-align: center;
  transition: background 0.3s, border-color 0.3s;
}

.areas-item:hover {
  border-color: var(--vinho);
  background: var(--white);
}

.areas-item h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--dark);
  letter-spacing: 0.02em;
}

/* ---- Differentials ---- */
.differentials {
  background: var(--white);
  overflow: hidden;
  padding: 0;
}

.diffs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.diffs-image {
  position: relative;
  overflow: hidden;
}

.diffs-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.diffs-image::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(to right, transparent 0%, var(--white) 100%);
  pointer-events: none;
}

.diffs-content {
  padding: 100px 0 100px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 580px;
}

.diffs-content .section-desc {
  margin-bottom: 48px;
}

.diffs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.diffs-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.diffs-item:first-child {
  border-top: 1.5px solid var(--vinho);
}

.diffs-item-text h3 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 4px;
}

.diffs-item-text p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark);
}

/* ---- Process ---- */
.process {
  background: var(--bg);
  overflow: hidden;
}

.process .section-desc {
  margin-bottom: 56px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-line {
  width: 40px;
  height: 1.5px;
  background: var(--vinho);
  margin: 0 auto 20px;
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--dark);
  margin-bottom: 8px;
}

.process-step p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--dark);
}

/* ---- Testimonials ---- */
.onde-atuamos {
  background: var(--bg);
  overflow: hidden;
}

.onde-atuamos .section-desc {
  margin-bottom: 48px;
}

/* ---- Nossas Notícias (carrossel) ---- */
.news {
  background: var(--bg);
  position: relative;
}

.news-carousel-wrap {
  position: relative;
  margin-top: 48px;
}

.news-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0;
}

.news-track::-webkit-scrollbar {
  display: none;
}

.news-empty {
  width: 100%;
  margin: 0;
  padding: 52px 24px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-align: center;
}

.news-card {
  min-width: 320px;
  max-width: 340px;
  flex-shrink: 0;
  scroll-snap-align: start;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s;
}

.news-card:hover {
  opacity: 0.85;
}

.news-card-image {
  width: 100%;
  height: 260px;
  background: var(--claro);
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.news-card-image .ph-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--claro);
  display: block;
}

.map-frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.news-card-carousel {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.news-card-carousel::-webkit-scrollbar {
  display: none;
}

.news-card-carousel img {
  min-width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--claro);
  scroll-snap-align: start;
}

.news-card-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 5px;
  pointer-events: none;
}

.news-card-dots span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.news-image-chev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(84, 9, 27, 0.86);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s, background 0.2s;
}

.news-card:hover .news-image-chev,
.news-image-chev:focus-visible {
  opacity: 1;
}

.news-image-chev:hover {
  background: var(--vinho);
}

.news-image-chev-left {
  left: 10px;
}

.news-image-chev-right {
  right: 10px;
}

.news-modal .news-image-chev {
  opacity: 1;
}

.news-card-instagram {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--vinho);
  color: var(--white);
  text-align: center;
  padding: 24px;
}

.news-card-instagram span {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--claro);
  margin-bottom: 10px;
}

.news-card-instagram strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
}

.news-card-date {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 10px;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.news-card p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 16px;
}

.news-card-link {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vinho);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
  padding-bottom: 2px;
}

.news-card:hover .news-card-link {
  border-color: var(--vinho);
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(20, 12, 14, 0.86);
}

.news-modal.open {
  display: flex;
}

.news-modal-panel {
  width: min(1120px, 100%);
  max-height: 86vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  background: var(--white);
  overflow: hidden;
  position: relative;
}

.news-modal-media {
  min-height: 620px;
  background: var(--claro);
  position: relative;
  overflow: hidden;
}

.news-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--claro);
}

.news-modal-carousel {
  width: 100%;
  height: 100%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.news-modal-carousel::-webkit-scrollbar {
  display: none;
}

.news-modal-carousel img {
  min-width: 100%;
  scroll-snap-align: start;
}

.news-modal-body {
  max-height: 86vh;
  overflow-y: auto;
  padding: 56px 48px;
}

.news-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: var(--vinho);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.news-modal-date {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

.news-modal-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 24px;
}

.news-modal-content {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--dark);
}

.news-modal-content h2,
.news-modal-content h3 {
  font-family: var(--font-display);
  line-height: 1.25;
  margin: 28px 0 12px;
}

.news-modal-content a {
  color: var(--vinho);
  text-decoration: underline;
}

.news-modal-instagram {
  display: inline-flex;
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--vinho);
  border-bottom: 1px solid var(--vinho);
}

.news-modal-instagram.is-hidden {
  display: none;
}

.news-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.news-arrow:hover {
  background: var(--vinho);
  color: var(--white);
  border-color: var(--vinho);
}

.news-arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

.news-carousel-wrap.is-empty .news-arrow {
  display: none;
}

.news-arrow-left {
  left: -56px;
}

.news-arrow-right {
  right: -56px;
}

@media (max-width: 1100px) {
  .news-arrow-left {
    left: -20px;
  }

  .news-arrow-right {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .news-track {
    gap: 16px;
  }

  .news-card {
    min-width: 280px;
    max-width: 300px;
  }

  .news-card-image {
    height: 220px;
  }

  .news-image-chev {
    display: none;
  }

  .news-modal {
    padding: 18px;
  }

  .news-modal-panel {
    max-height: 90vh;
    display: block;
  }

  .news-modal-media {
    min-height: 280px;
    height: 38vh;
  }

  .news-modal-body {
    max-height: 52vh;
    padding: 28px 24px;
  }

  .news-arrow {
    display: none;
  }
}

.about-map-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1200px;
}

.location-scene {
  position: relative;
  height: clamp(360px, 62vw, 560px);
}

.location-building {
  position: absolute;
  left: 0;
  right: 18%;
  bottom: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(42, 42, 42, 0.22);
}

.location-building img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.location-map-card {
  position: absolute;
  left: 59%;
  top: 60%;
  z-index: 3;
  width: min(36%, 310px);
  height: 170px;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 8px;
  box-shadow: 0 24px 48px rgba(84, 9, 27, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px) rotateX(10deg) rotateZ(-2deg);
  transform-origin: top center;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.location-scene.map-open .location-map-card {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) rotateX(10deg) rotateZ(-2deg);
}

.location-map-card::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(42, 42, 42, 0.08);
}

.location-pin {
  position: absolute;
  left: 53%;
  top: 58%;
  z-index: 4;
  width: 34px;
  height: 34px;
  padding: 0;
  cursor: pointer;
  background: #EA4335;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 22px rgba(42, 42, 42, 0.28);
  transform: translate(-50%, -100%) rotate(-45deg);
}

.location-pin::before {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--white);
  border-radius: 50%;
}

.location-pin::after {
  content: '';
  position: absolute;
  left: -3px;
  bottom: -10px;
  width: 42px;
  height: 12px;
  background: rgba(42, 42, 42, 0.22);
  border-radius: 50%;
  filter: blur(4px);
  transform: rotate(45deg);
}

.about-map-wrap .map-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.state-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--vinho);
}

.state-bg {
  fill: rgba(226, 218, 215, 0.35);
  stroke: #C4B8B2;
  stroke-width: 0.7;
  stroke-linejoin: round;
}

.state-highlight {
  fill: var(--vinho);
  fill-opacity: 0.65;
  stroke: var(--vinho);
  stroke-width: 1.2;
  stroke-linejoin: round;
  transition: opacity 0.3s ease;
}

.state-highlight:hover {
  opacity: 0.85;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  margin-top: 8px;
}

.map-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.4;
  color: var(--dark);
}

.map-legend-item::before {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--vinho);
  opacity: 0.65;
  border-radius: 2px;
  flex-shrink: 0;
}

.map-legend-item span {
  font-weight: 600;
  color: var(--vinho);
}

@media (max-width: 768px) {
  .location-scene {
    height: 430px;
  }

  .location-building {
    right: 0;
  }

  .location-map-card {
    left: 74%;
    top: 64%;
    width: 55%;
    height: 105px;
    transform: translate(-50%, 12px) rotateX(8deg) rotateZ(-2deg);
  }

  .location-scene.map-open .location-map-card {
    transform: translate(-50%, 0) rotateX(8deg) rotateZ(-2deg);
  }

  .location-pin {
    left: 56%;
    top: 62%;
  }

  .map-legend-item {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .location-scene {
    height: 360px;
  }
}

/* ---- Calculadora de qualidade de segurado ---- */
.insurance-calculator {
  background:
    linear-gradient(90deg, rgba(84, 9, 27, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(84, 9, 27, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  overflow: hidden;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(540px, 1.18fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.calculator-intro {
  position: sticky;
  top: calc(var(--nav-height) + 40px);
  padding-top: 28px;
}

.calculator-intro .section-title {
  margin: 0 0 24px;
  max-width: 560px;
}

.calculator-intro > p {
  max-width: 560px;
  color: var(--muted);
}

.calculator-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 40px;
  border: 1px solid var(--border);
  background: var(--border);
}

.calculator-facts div {
  min-height: 132px;
  padding: 24px;
  background: var(--white);
}

.calculator-facts strong,
.calculator-facts span {
  display: block;
}

.calculator-facts strong {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--vinho);
}

.calculator-facts span {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.calculator-note {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 3px solid var(--vinho);
  background: rgba(255, 255, 255, 0.68);
}

.calculator-note > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--vinho);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1;
}

.calculator-note p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.calculator-panel {
  min-height: 580px;
  border-top: 5px solid var(--vinho);
  background: var(--white);
  box-shadow: 0 24px 70px rgba(58, 6, 17, 0.12);
}

.calculator-panel [hidden] {
  display: none !important;
}

.calculator-panel-head {
  display: grid;
  grid-template-columns: auto 160px;
  gap: 24px;
  align-items: center;
  padding: 28px 36px;
  border-bottom: 1px solid var(--border);
}

.calculator-panel-head span,
.calculator-panel-head strong {
  display: block;
  font-family: var(--font-display);
}

.calculator-panel-head span {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.calculator-panel-head strong {
  color: var(--vinho);
  font-size: 16px;
}

.calculator-progress {
  height: 3px;
  overflow: hidden;
  background: var(--claro);
}

.calculator-progress span {
  width: 25%;
  height: 100%;
  margin: 0;
  background: var(--vinho);
  transition: width 0.35s ease;
}

#qualityCalculator,
.calculator-result {
  padding: 36px;
}

.calc-question {
  margin: 0 0 32px;
  padding: 0 0 30px;
  border: 0;
  border-bottom: 1px solid var(--border);
}

.calc-question legend,
.calc-field-label {
  display: block;
  width: 100%;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--dark);
}

.calc-question > p,
.calc-question > small {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.calc-options label {
  position: relative;
  cursor: pointer;
}

.calc-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.calc-options label span {
  display: flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 1px solid var(--border);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.calc-options label:hover span {
  border-color: var(--vinho-light);
}

.calc-options input:checked + span {
  border-color: var(--vinho);
  background: var(--vinho);
  color: var(--white);
}

.calc-options input:focus-visible + span {
  outline: 2px solid var(--vinho);
  outline-offset: 3px;
}

.calc-options-stacked {
  grid-template-columns: 1fr;
}

.calc-options-stacked label span {
  justify-content: flex-start;
  text-align: left;
}

.calc-binary-row {
  display: grid;
  gap: 26px;
  margin-top: 18px;
}

.calc-binary-row > div > span {
  display: block;
  font-size: 15px;
  line-height: 1.55;
}

.calc-options-compact {
  max-width: 260px;
  margin-top: 10px;
}

.calc-options-compact label span {
  min-height: 42px;
  padding: 8px 12px;
}

.calc-question select,
.calc-question input[type="date"] {
  width: 100%;
  min-height: 54px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--white);
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 14px;
}

.calc-question select:focus,
.calc-question input[type="date"]:focus {
  border-color: var(--vinho);
  outline: 2px solid rgba(84, 9, 27, 0.14);
}

.calc-question input[type="date"] {
  max-width: 300px;
}

.calc-question > small {
  margin-top: 10px;
  max-width: 540px;
}

.calc-error {
  margin: -10px 0 24px;
  padding: 12px 14px;
  border-left: 3px solid #A33B3B;
  background: #FFF3F2;
  color: #7C2525;
  font-family: var(--font-display);
  font-size: 13px;
}

.calculator-actions,
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.calculator-result {
  position: relative;
}

.calculator-result::before {
  content: '';
  position: absolute;
  top: 0;
  right: 36px;
  width: 1px;
  height: 72px;
  background: var(--vinho);
}

.result-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--vinho);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.calculator-result h3 {
  max-width: 470px;
  margin-bottom: 14px;
  color: var(--vinho);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.calculator-result > p {
  color: var(--muted);
}

.result-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 32px 0;
  border: 1px solid var(--border);
  background: var(--border);
}

.result-data div {
  min-height: 105px;
  padding: 18px;
  background: var(--bg);
}

.result-data span,
.result-data strong {
  display: block;
}

.result-data span {
  margin-bottom: 8px;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.result-data strong {
  color: var(--vinho);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.4;
}

.coverage-timeline {
  margin: 38px 0 34px;
}

.timeline-line {
  height: 2px;
  margin: 0 12px -2px;
  background: var(--claro);
}

.timeline-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--vinho-light), var(--vinho));
  transform-origin: left;
  animation: coverage-draw 0.65s ease both;
}

.timeline-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.timeline-points > div {
  position: relative;
  padding: 22px 12px 0;
}

.timeline-points > div:first-child {
  padding-left: 0;
}

.timeline-points > div:last-child {
  padding-right: 0;
  text-align: right;
}

.timeline-points i {
  position: absolute;
  top: -5px;
  left: 8px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--vinho);
  box-shadow: 0 0 0 1px var(--vinho);
}

.timeline-points > div:first-child i {
  left: 0;
}

.timeline-points > div:last-child i {
  right: 0;
  left: auto;
}

.timeline-points span,
.timeline-points strong {
  display: block;
}

.timeline-points span {
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-points strong {
  margin-top: 5px;
  color: var(--dark);
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 1.4;
}

.result-disclaimer {
  margin-bottom: 26px;
  padding: 16px 18px;
  border-left: 3px solid var(--vinho);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.6;
}

.calculator-legal {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.calculator-legal p {
  max-width: 760px;
  color: var(--muted);
  font-size: 13px;
}

.calculator-legal div {
  display: flex;
  flex-shrink: 0;
  gap: 18px;
}

.calculator-legal a {
  border-bottom: 1px solid currentColor;
  color: var(--vinho);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

@keyframes coverage-draw {
  from { transform: scaleX(0); }
}

@media (max-width: 1024px) {
  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calculator-intro {
    position: static;
    padding-top: 0;
  }

  .calculator-intro > p {
    max-width: 720px;
  }
}

@media (max-width: 700px) {
  .calculator-panel-head {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  #qualityCalculator,
  .calculator-result {
    padding: 28px 24px;
  }

  .calculator-facts,
  .result-data {
    grid-template-columns: 1fr;
  }

  .calculator-facts div {
    min-height: auto;
  }

  .result-data div {
    min-height: auto;
  }

  .calculator-legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculator-legal div {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .calc-options {
    grid-template-columns: 1fr;
  }

  .calc-options-compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-points span {
    letter-spacing: 0;
  }

  .timeline-points strong {
    font-size: 10px;
  }

  .result-actions .btn {
    width: 100%;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .insurance-calculator,
  .insurance-calculator * {
    visibility: visible !important;
  }

  .insurance-calculator {
    position: absolute;
    inset: 0;
    padding: 0;
    background: #fff;
  }

  .calculator-layout {
    display: block;
  }

  .calculator-intro,
  .calculator-panel-head,
  .calculator-legal,
  .result-actions {
    display: none !important;
  }

  .calculator-panel {
    min-height: 0;
    border: 0;
    box-shadow: none;
  }

  .calculator-result {
    padding: 24px;
  }
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section .section-title {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-section .section-desc {
  color: var(--claro);
  margin: 0 auto 36px;
  opacity: 0.85;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--vinho);
}

.cta-section .btn-primary:hover {
  background: var(--claro);
}

/* ---- Footer ---- */
.site-footer-dark {
  background: var(--vinho) !important;
}

.cta-section .cta-desc {
  max-width: 480px;
}

.cta-section .section-title {
  font-size: clamp(24px, 2.4vw, 36px);
}

.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-logo-row img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.footer-logo-row span {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a,
.footer-col ul li {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  line-height: 1.6;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a,
.footer-social span {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-social a:hover {
  color: var(--white);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  transition: opacity 0.2s;
}

.footer-credit:hover {
  opacity: 0.75;
}

.footer-credit img {
  width: auto;
  height: 22px;
}

.footer-admin {
  margin-top: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-admin a {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-admin a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.24);
}

.whatsapp-float-bg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25D366;
}

.whatsapp-float-bg svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* ---- Responsive ---- */
@media (max-width: 1080px) {
  .nav-list {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-list.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--vinho);
    padding: 24px 32px 32px;
    gap: 16px;
    align-items: flex-start;
  }
}

@media (max-width: 1024px) {
  .diffs-layout {
    grid-template-columns: 1fr;
  }

  .diffs-image {
    height: 340px;
    order: -1;
  }

  .diffs-image img {
    position: relative;
  }

  .diffs-image::after {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top, var(--white) 0%, transparent 100%);
  }

  .diffs-content {
    padding: 72px 32px;
    max-width: 100%;
  }

  .diffs-content .section-desc {
    margin-bottom: 48px;
  }

  .diffs-item {
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: center;
    text-align: center;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 901px) {
  .hero-content h1 {
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.85);
  }

  .hero-content p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-content {
    padding: 60px 0 40px;
  }

  .hero::before {
    background:
      linear-gradient(to bottom, rgba(42, 42, 42, 0.78) 0%, rgba(42, 42, 42, 0.30) 25%, rgba(84, 9, 27, 0.06) 50%, rgba(84, 9, 27, 0.18) 100%);
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-content-wrap {
    padding: 80px 0 72px;
  }

}

@media (max-width: 600px) {
  .about-bg-video {
    object-position: 25% center;
  }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 72px 0;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .areas-item {
    width: 100%;
    max-width: 320px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cta-section {
    padding: 48px 20px;
  }

  .site-footer {
    padding: 56px 0 32px;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

  .whatsapp-float-bg svg {
    width: 22px;
    height: 22px;
  }

  .diffs-content {
    padding: 72px 20px;
    max-width: 100%;
  }

  .diffs-item {
    grid-template-columns: 1fr;
    gap: 8px;
    justify-items: center;
    text-align: center;
  }
}
