:root {
  --wine: #5a1622;
  --wine-2: #3b0f17;
  --gold: #c8a24a;
  --gold-2: #e1c36e;
  --cream: #f8f3ea;
  --paper: #ffffff;
  --ink: #1c1c1c;
  --muted: #6b6b6b;
  --line: rgba(90, 22, 34, 0.16);
  --shadow: 0 24px 70px rgba(36, 20, 20, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--wine);
  text-underline-offset: 0.22em;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3,
.main-nav,
.button,
.eyebrow {
  font-family: Arial, Helvetica, sans-serif;
}

h1 {
  max-width: 820px;
  color: var(--wine-2);
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  color: var(--wine-2);
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  color: var(--wine-2);
  font-size: 1.12rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin-inline: auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
}

.section {
  padding: 92px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--wine-2);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 243, 234, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 172px;
  max-height: 58px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:not(.button):hover {
  color: var(--gold);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--wine-2);
  font-weight: 800;
  text-decoration: none;
  line-height: 1.15;
  box-shadow: 0 12px 26px rgba(90, 22, 34, 0.14);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-2);
  box-shadow: 0 18px 34px rgba(90, 22, 34, 0.18);
}

.button-outline {
  background: transparent;
  color: var(--wine);
  border-color: rgba(90, 22, 34, 0.34);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding: 10px 15px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--wine);
}

.hero {
  padding-top: 76px;
  padding-bottom: 96px;
  background:
    linear-gradient(115deg, rgba(248, 243, 234, 0.98) 0%, rgba(255, 255, 255, 0.74) 58%, rgba(90, 22, 34, 0.09) 100%),
    var(--cream);
}

.hero-grid,
.about-grid,
.dossier-grid,
.strip-grid,
.contact-grid {
  display: grid;
  align-items: center;
  gap: 56px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  align-items: center;
}

.hero-lead {
  max-width: 720px;
  color: #393939;
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 22px;
}

.ethical-note {
  max-width: 760px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  color: #4f4f4f;
  font-size: 0.96rem;
}

.hero-media,
.about-media {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(200, 162, 74, 0.52);
  background: linear-gradient(145deg, #fff, #efe4d2);
  padding: 12px;
  box-shadow: var(--shadow);
}

.hero-media {
  max-width: 470px;
  justify-self: end;
}

.hero-media img,
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 4.7;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 6px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-head {
  width: min(780px, 100%);
  margin-bottom: 38px;
}

.feature-grid,
.area-grid {
  display: grid;
  gap: 18px;
}

.feature-grid.six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mini-card,
.area-card,
.info-panel {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
}

.mini-card,
.area-card {
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.mini-card:hover,
.area-card:hover {
  border-color: rgba(200, 162, 74, 0.5);
  box-shadow: 0 18px 44px rgba(90, 22, 34, 0.1);
  transform: translateY(-2px);
}

.mini-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: rgba(200, 162, 74, 0.2);
  color: var(--wine);
  font: 800 0.78rem Arial, sans-serif;
}

.area-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.area-card {
  background: var(--paper);
  box-shadow: 0 14px 40px rgba(90, 22, 34, 0.08);
}

.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(200, 162, 74, 0.55);
  border-radius: 50%;
  color: var(--wine);
  font: 800 0.8rem Arial, sans-serif;
}

.dossier {
  background: var(--wine-2);
}

.dossier h2,
.dossier p,
.dossier .eyebrow,
.dossier li {
  color: #fff8ed;
}

.dossier-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.quote-line {
  margin-top: 28px;
  color: var(--gold-2) !important;
  font-size: 1.25rem;
}

.check-panel {
  padding: 28px;
  border: 1px solid rgba(200, 162, 74, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.check-list {
  columns: 2;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  break-inside: avoid;
  margin: 0 0 14px;
  padding-left: 26px;
  position: relative;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.timeline article {
  padding: 22px 4px 0 0;
  border-top: 2px solid var(--gold);
}

.timeline span {
  color: var(--wine);
  font: 800 1.7rem Arial, sans-serif;
}

.about {
  background: #fff;
}

.about-grid {
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1fr);
}

.oab {
  color: var(--wine);
  font-weight: 700;
}

.privacy-strip {
  padding: 56px 0;
  background: #efe4d2;
}

.strip-grid {
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

details[open],
details:hover {
  border-color: rgba(200, 162, 74, 0.5);
  box-shadow: 0 14px 34px rgba(90, 22, 34, 0.07);
}

summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--wine-2);
  font: 800 1rem Arial, sans-serif;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 22px 20px;
  margin: 0;
}

.final-cta {
  background: linear-gradient(135deg, var(--wine-2), var(--wine));
}

.cta-box {
  text-align: center;
}

.cta-box h2,
.cta-box p,
.cta-box .eyebrow {
  color: #fff8ed;
}

.cta-box p {
  width: min(620px, 100%);
  margin-inline: auto;
}

.site-footer {
  background: #201316;
  color: #fff8ed;
  padding: 54px 0 30px;
}

.site-footer p,
.site-footer a,
.site-footer h2 {
  color: #fff8ed;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.72fr;
  gap: 42px;
  padding-bottom: 32px;
}

.footer-logo {
  width: 170px;
  margin-bottom: 18px;
  filter: brightness(1.2);
}

.site-footer h2 {
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
  text-decoration-color: rgba(200, 162, 74, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 20px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.92rem;
}

.page-hero {
  background: linear-gradient(135deg, #fff, var(--cream));
}

.legal-content {
  width: min(860px, calc(100% - 32px));
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
}

.legal-content code {
  background: rgba(90, 22, 34, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.contact-grid-single {
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.contact-note {
  margin-top: 22px;
}

@media (max-width: 1080px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 84px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .hero-grid,
  .about-grid,
  .dossier-grid,
  .strip-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .about-media {
    max-width: 520px;
    justify-self: center;
  }

  .feature-grid.six,
  .area-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .area-card.wide {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .container,
  .narrow,
  .legal-content {
    width: min(100% - 24px, 1140px);
  }

  .section {
    padding: 60px 0;
  }

  .header-inner {
    min-height: 76px;
  }

  .brand img {
    width: 140px;
  }

  .main-nav {
    inset: 76px 12px auto 12px;
  }

  .hero {
    padding-top: 44px;
    padding-bottom: 68px;
  }

  h1 {
    font-size: clamp(2.05rem, 12vw, 2.85rem);
    line-height: 1.05;
  }

  h2 {
    font-size: clamp(1.62rem, 9vw, 2.25rem);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-media,
  .about-media {
    padding: 9px;
  }

  .feature-grid.six,
  .area-grid,
  .timeline,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    columns: 1;
  }

  .mini-card,
  .area-card,
  .info-panel,
  .check-panel {
    padding: 20px;
  }

  summary {
    padding: 17px 18px;
  }

  details p {
    padding: 0 18px 18px;
  }
 }
/* Ajuste final do tamanho da logo no header - desktop */
.site-header .brand img {
  width: 400px !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
}

/* Ajuste da altura do cabeçalho */
.header-inner {
  min-height: 102px !important;
}

/* Ajuste mobile */
@media (max-width: 640px) {
  .site-header .brand img {
    width: 180px !important;
    height: auto !important;
  }

  .header-inner {
    min-height: 82px !important;
  }
}
/* ===== AJUSTE DEFINITIVO DA LOGO ===== */

/* Desktop */
.site-header .brand img {
  width: 400px !important;
  height: auto !important;
  max-width: 400px !important;
  max-height: none !important;
  object-fit: contain !important;
}

.header-inner {
  min-height: 112px !important;
}

/* Celular */
@media (max-width: 640px) {
  .site-header .brand {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  .site-header .brand img {
    width: min(260px, calc(100vw - 108px)) !important;
    max-width: min(260px, calc(100vw - 108px)) !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
  }

  .header-inner {
    min-height: 92px !important;
    gap: 10px !important;
  }

  .nav-toggle {
    width: 44px !important;
    height: 44px !important;
    flex: 0 0 44px !important;
  }
}