@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&family=Playfair+Display:wght@600;700;800;900&display=swap');

:root {
  --blue-950: #071523;
  --blue-900: #0b1f33;
  --blue-850: #102a42;
  --blue-800: #13344d;
  --gold: #c9a24a;
  --gold-2: #e2c36b;
  --offwhite: #f6f1e8;
  --white: #ffffff;
  --text: #27323d;
  --muted: #667789;
  --line: rgba(201, 162, 74, 0.25);
  --olive: #677d4f;
  --shadow: 0 20px 50px rgba(7, 21, 35, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
section { scroll-margin-top: 92px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; gap: 18px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(7, 21, 35, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 162, 74, .18);
}
.brand { display: inline-flex; align-items: center; min-width: 130px; }
.brand img { height: 56px; width: auto; object-fit: contain; }
.brand-fallback {
  display: none;
  color: var(--gold-2);
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.main-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.main-nav a {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--gold-2); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 7px 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; padding: 13px 20px;
  font-weight: 800; cursor: pointer; min-height: 44px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-small { padding: 9px 13px; min-height: 36px; font-size: .84rem; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #142033; box-shadow: 0 14px 30px rgba(201, 162, 74, .25); }
.btn-secondary { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.section .btn-secondary { color: var(--blue-900); background: #fff; border-color: rgba(7,21,35,.12); }
.section-dark .btn-secondary { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.btn-outline { background: transparent; color: #fff; border: 1px solid var(--line); }
.btn-ghost { background: transparent; color: var(--gold-2); border: 1px solid rgba(201, 162, 74, .35); }
.btn-whatsapp { background: #6f8b59; color: white; }

.hero {
  position: relative; overflow: hidden;
  min-height: 92vh;
  background:
    radial-gradient(circle at 82% 18%, rgba(201,162,74,.18), transparent 30%),
    radial-gradient(circle at 15% 86%, rgba(103,125,79,.22), transparent 32%),
    linear-gradient(135deg, var(--blue-950), var(--blue-850));
  color: #fff;
  padding: 68px clamp(18px, 5vw, 72px) 36px;
}
.hero-bg-grid {
  position: absolute; inset: 0; opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: 54px; align-items: center;
}
.eyebrow {
  display: inline-flex; color: var(--gold-2); font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; font-size: .76rem;
  margin-bottom: 14px;
}
h1, h2, h3, h4 { font-family: Manrope, Inter, sans-serif; line-height: 1.08; margin: 0 0 16px; }
h1 { font-size: clamp(2.4rem, 5vw, 5rem); letter-spacing: -.05em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.35rem); letter-spacing: -.04em; }
h3 { font-size: 1.25rem; }
.hero-subtitle { font-size: clamp(1.07rem, 1.8vw, 1.35rem); color: rgba(255,255,255,.82); max-width: 760px; }
.hero-copy p { color: rgba(255,255,255,.76); font-size: 1.02rem; max-width: 780px; }
.value-line {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  color: #fff !important;
  font-weight: 600;
}
.hero-actions, .section-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-panel {
  position: relative; min-height: 530px; padding: 24px;
  border: 1px solid rgba(201,162,74,.22);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: 0 35px 80px rgba(0,0,0,.3);
  overflow: hidden;
}
.logo-frame {
  display: grid; place-items: center;
  min-height: 150px; border-radius: 24px;
  background: rgba(7,21,35,.62);
  border: 1px solid var(--line);
}
.logo-frame img { max-height: 120px; object-fit: contain; }
.abstract-card {
  position: relative; z-index: 1;
  margin-top: 16px; padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; background: rgba(255,255,255,.06);
}
.abstract-card span { display:block; color: rgba(255,255,255,.55); font-size: .85rem; }
.abstract-card strong { color: #fff; }
.radar-visual {
  position: absolute; right: -80px; bottom: -90px;
  width: 310px; height: 310px; border-radius: 50%;
  border: 1px solid rgba(201,162,74,.28);
}
.radar-visual span { position: absolute; inset: 38px; border-radius: inherit; border: 1px solid rgba(201,162,74,.18); }
.radar-visual span:nth-child(2){ inset: 82px; }
.radar-visual span:nth-child(3){ inset: 126px; background: rgba(201,162,74,.18); }

.quick-stats {
  position: relative; z-index: 1;
  max-width: 1220px; margin: 42px auto 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
}
.quick-stats div {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 18px; padding: 16px;
}
.quick-stats strong { display: block; color: var(--gold-2); margin-bottom: 6px; }
.quick-stats span { color: rgba(255,255,255,.72); font-size: .9rem; }

.section {
  padding: 86px clamp(18px, 5vw, 72px);
  background: var(--offwhite);
}
.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at top right, rgba(201,162,74,.12), transparent 32%),
    linear-gradient(135deg, var(--blue-950), var(--blue-850));
}
.agro-section {
  background:
    radial-gradient(circle at 88% 16%, rgba(103,125,79,.16), transparent 28%),
    var(--offwhite);
}
.section-shell { max-width: 1220px; margin: 0 auto; }
.section-header { margin-bottom: 36px; }
.section-header.center { text-align: center; max-width: 850px; margin: 0 auto 42px; }
.section-header p { color: var(--muted); font-size: 1.06rem; }
.section-dark .section-header p, .section-dark p { color: rgba(255,255,255,.74); }
.with-orbit {
  display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center;
}
.visual-orbit {
  position: relative; height: 220px; border-radius: 30px;
  background: linear-gradient(145deg, rgba(201,162,74,.12), rgba(255,255,255,.04));
  border: 1px solid var(--line); overflow: hidden;
}
.orbit-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 58px; }
.orbit-line, .orbit-dot { position: absolute; border-radius: 50%; border: 1px solid rgba(201,162,74,.26); }
.orbit-line { inset: 34px; }
.orbit-dot { width: 18px; height: 18px; background: var(--gold); border: 0; }
.orbit-dot.one { top: 38px; right: 76px; }
.orbit-dot.two { bottom: 44px; left: 60px; }
.orbit-dot.three { right: 34px; bottom: 72px; background: var(--olive); }

.area-grid, .materials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.area-card, .material-card, .service-card {
  text-align: left; border: 1px solid rgba(7,21,35,.08); background: rgba(255,255,255,.78);
  border-radius: var(--radius); padding: 22px;
  box-shadow: 0 18px 40px rgba(7,21,35,.06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.area-card:hover, .material-card:hover, .service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201,162,74,.55);
  box-shadow: var(--shadow);
}
.area-icon { display: inline-flex; font-size: 30px; margin-bottom: 14px; }
.area-card p, .material-card p { color: var(--muted); }
.card-link { display: inline-flex; margin-top: 12px; color: var(--blue-900); font-weight: 800; }
.material-card { cursor: pointer; }
.material-topline { color: var(--gold); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.filter-row span {
  border: 1px solid rgba(201,162,74,.25); border-radius: 999px;
  padding: 7px 10px; color: var(--muted); font-size: .86rem; background: rgba(255,255,255,.6);
}
.section-dark .filter-row span { color: rgba(255,255,255,.8); background: rgba(255,255,255,.06); }

.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.service-card {
  cursor: pointer; min-height: 142px; color: var(--text);
}
.service-card span { display: block; font-size: 26px; margin-bottom: 12px; }
.service-card strong { display: block; line-height: 1.2; }
.service-card small { display: block; color: var(--muted); margin-top: 10px; }
.section-dark .service-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.section-dark .service-card small { color: rgba(255,255,255,.62); }

.diagnostic-layout, .contact-grid, .about-grid {
  display: grid; grid-template-columns: 1fr .88fr; gap: 44px; align-items: start;
}
.timeline { display: grid; gap: 12px; margin-top: 24px; }
.timeline div {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
}
.timeline strong {
  display: grid; place-items: center; min-width: 34px; height: 34px;
  border-radius: 50%; background: var(--gold); color: var(--blue-900);
}
.form-card {
  display: grid; gap: 14px;
  padding: 24px; background: #fff; color: var(--text);
  border: 1px solid rgba(7,21,35,.08);
  border-radius: 24px; box-shadow: var(--shadow);
}
.form-card.compact { box-shadow: none; padding: 0; border: 0; }
label { display: grid; gap: 7px; font-weight: 700; font-size: .92rem; }
input, select, textarea {
  width: 100%; border: 1px solid rgba(7,21,35,.16);
  border-radius: 14px; padding: 12px 13px;
  background: #fff; color: var(--text); outline: none;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(201,162,74,.12); }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; color: var(--muted); }
.checkbox input { width: auto; margin-top: 5px; }

.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-cards div, .contact-box {
  padding: 18px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07);
}
.about-cards strong { display:block; color: var(--gold-2); margin-bottom: 8px; }
.about-cards span { color: rgba(255,255,255,.74); }
.notice {
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  color: var(--blue-900);
  font-weight: 600;
}
.contact-box {
  margin-top: 24px; background: var(--blue-900); color: #fff;
}
.contact-box p { color: rgba(255,255,255,.78); }

.modal { position: fixed; inset: 0; z-index: 2000; display: none; }
.modal.is-open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7,21,35,.72); backdrop-filter: blur(6px); }
.modal-dialog {
  position: relative; max-width: 680px; max-height: calc(100vh - 50px); overflow: auto;
  margin: 25px auto; padding: 30px; border-radius: 28px;
  background: var(--offwhite); box-shadow: 0 40px 120px rgba(0,0,0,.45);
}
.modal-wide { max-width: 920px; }
.modal-close {
  position: absolute; top: 16px; right: 18px;
  width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--blue-900); color: #fff; cursor: pointer;
}
.triage-list { display: grid; gap: 10px; margin-top: 20px; }
.triage-list a {
  padding: 16px; border-radius: 16px; background: #fff;
  border: 1px solid rgba(7,21,35,.08); font-weight: 800;
}
.service-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.detail-block {
  padding: 16px; border-radius: 18px; background: #fff; border: 1px solid rgba(7,21,35,.08);
}
.detail-block strong { display:block; color: var(--blue-900); margin-bottom: 6px; }
.detail-block p { margin: 0; color: var(--muted); }

.cookie-banner {
  position: fixed; left: 18px; right: 18px; bottom: 18px; z-index: 2100;
  display: none; align-items: center; justify-content: space-between; gap: 18px;
  padding: 18px; border-radius: 20px;
  background: var(--blue-950); color: #fff; border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; color: rgba(255,255,255,.78); }
.cookie-banner div { display: flex; gap: 10px; flex-wrap: wrap; }
.prefs { display: grid; gap: 14px; }
.prefs label { padding: 12px; border-radius: 14px; background: #fff; }
.prefs input { width: auto; margin-right: 8px; }

.floating-whatsapp {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  border: 0; border-radius: 999px; padding: 14px 18px;
  background: #6f8b59; color: #fff; box-shadow: var(--shadow);
  font-weight: 800; cursor: pointer;
}

.site-footer {
  padding: 58px clamp(18px, 5vw, 72px) 30px;
  background: var(--blue-950); color: #fff;
}
.footer-grid {
  max-width: 1220px; margin: 0 auto;
  display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr 1fr; gap: 28px;
}
.site-footer img { max-height: 82px; margin-bottom: 14px; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.72); font-size: .93rem; }
.site-footer a, .footer-link { display: block; margin: 7px 0; }
.footer-link { background: none; border: 0; padding: 0; color: rgba(255,255,255,.72); cursor: pointer; text-align: left; }
.site-footer h4 { color: var(--gold-2); margin-top: 0; }
.footer-bottom {
  max-width: 1220px; margin: 34px auto 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}

.center-actions { justify-content: center; }

@media (max-width: 1100px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px 24px; background: var(--blue-950); flex-direction: column; align-items: flex-start; }
  .main-nav.is-open { display: flex; }
  .menu-toggle { display: inline-flex; margin-left: auto; }
  .header-actions { display: none; }
  .hero-content, .diagnostic-layout, .contact-grid, .about-grid, .with-orbit { grid-template-columns: 1fr; }
  .quick-stats { grid-template-columns: repeat(2, 1fr); }
  .area-grid, .materials-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-header { padding: 12px 16px; }
  .brand img { height: 44px; }
  .hero { padding: 48px 18px 30px; }
  .hero-content { gap: 28px; }
  .hero-panel { min-height: auto; }
  .quick-stats, .area-grid, .materials-grid, .services-grid, .about-cards, .service-detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 18px; }
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .modal-dialog { margin: 14px; max-height: calc(100vh - 28px); padding: 24px; }
}


/* Rodada de correções visuais e funcionais — sem geração de ZIP final */
.site-header {
  min-height: 88px;
}
.brand img {
  height: 76px;
  max-width: 235px;
  object-fit: contain;
}
.main-nav a,
.nav-dropdown-toggle {
  font-size: 1rem;
  font-weight: 700;
}
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  color: rgba(255,255,255,.78);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 0;
}
.nav-dropdown-toggle:hover {
  color: var(--gold-2);
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 88vw);
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(7,21,35,.98);
  border: 1px solid rgba(201,162,74,.35);
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: grid;
}
.nav-dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 12px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.04);
}
.nav-dropdown-menu a:hover {
  background: rgba(201,162,74,.14);
  color: var(--gold-2);
}

.hero {
  min-height: auto;
  padding-top: 28px;
  padding-bottom: 26px;
}
.hero-content {
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
}
.hero-brand-name {
  display: inline-flex;
  color: var(--gold-2);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.15rem, 2.1vw, 1.85rem);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
h1 {
  color: #ead9a6;
  font-size: clamp(1.85rem, 3.3vw, 3.25rem);
  max-width: 920px;
}
.hero-subtitle {
  font-size: clamp(.98rem, 1.35vw, 1.12rem);
}
.hero-copy p {
  font-size: .98rem;
}
.hero-panel {
  min-height: 320px;
}
.abstract-card {
  border: 1px solid rgba(255,255,255,.13);
  width: 100%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
button.abstract-card {
  font: inherit;
  text-align: left;
}
.quick-stats {
  display: none !important;
}

.section {
  padding-top: clamp(52px, 6vw, 72px);
  padding-bottom: clamp(52px, 6vw, 72px);
}
.section-header {
  margin-bottom: 24px;
}
.section-header.center {
  margin-bottom: 30px;
}
h2 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
}
.section-header p {
  font-size: 1rem;
}
.services-grid {
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  min-height: 118px;
  padding: 18px;
}
.service-card span {
  font-size: 23px;
  margin-bottom: 8px;
}
.service-card strong {
  font-size: .96rem;
}
.visual-orbit {
  height: 170px;
}
.with-orbit {
  grid-template-columns: 1fr 210px;
}

.btn-small {
  font-size: .92rem;
  padding: 10px 15px;
}
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.client-placeholder {
  min-height: 120px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px dashed rgba(7,21,35,.22);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-weight: 800;
}
.timeline {
  gap: 10px;
}
.timeline button.timeline-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 13px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.timeline button.timeline-item:hover {
  border-color: rgba(201,162,74,.55);
  background: rgba(201,162,74,.10);
}
.timeline button.timeline-item strong {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--blue-900);
}
.info-dialog {
  max-width: 620px;
}
.info-dialog p {
  font-size: 1.05rem;
  color: var(--muted);
}
.floating-top {
  position: fixed;
  right: 22px;
  bottom: 78px;
  z-index: 900;
  border-radius: 999px;
  padding: 11px 15px;
  background: var(--blue-900);
  color: #fff;
  border: 1px solid rgba(201,162,74,.35);
  box-shadow: var(--shadow);
  font-weight: 800;
  font-size: .9rem;
}
.btn-top {
  background: rgba(7,21,35,.05);
  color: var(--blue-900);
  border: 1px solid rgba(7,21,35,.14);
}
.section-dark .btn-top {
  color: #fff;
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
}
@media (max-width: 1180px) {
  .brand img {
    height: 66px;
    max-width: 205px;
  }
  .main-nav a,
  .nav-dropdown-toggle {
    font-size: .94rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1100px) {
  .nav-dropdown-menu {
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    margin-top: 8px;
    grid-template-columns: 1fr;
  }
  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }
  .nav-dropdown:hover .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown.is-open:hover .nav-dropdown-menu {
    display: grid;
  }
  .nav-dropdown-toggle {
    color: rgba(255,255,255,.78);
  }
}
@media (max-width: 760px) {
  .brand img {
    height: 58px;
    max-width: 178px;
  }
  .hero {
    padding-top: 24px;
  }
  .hero-content,
  .with-orbit {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    min-height: auto;
  }
  .services-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: auto;
  }
  .floating-top {
    right: 18px;
    bottom: 76px;
  }
}


/* Correções específicas — primeira dobra piano black */
:root {
  --piano-black: #030303;
  --piano-black-2: #070707;
  --mint-title: #E8F8F5;
  --mint-soft: #D1F2EB;
}

/* Fundo black piano: preto profundo, liso, com reflexos sutis de alto brilho */
.hero {
  min-height: calc(100vh - 96px);
  padding: 18px clamp(18px, 4.2vw, 60px) 18px;
  background:
    linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,.015) 18%, transparent 34%),
    radial-gradient(ellipse at 72% 12%, rgba(232,248,245,.10), transparent 24%),
    radial-gradient(ellipse at 18% 92%, rgba(201,162,74,.11), transparent 30%),
    linear-gradient(135deg, var(--piano-black), var(--piano-black-2) 42%, #000 100%);
}

/* brilho refletido sem textura/padrão pesado */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(100deg, transparent 0%, rgba(255,255,255,.09) 13%, rgba(255,255,255,.018) 25%, transparent 44%),
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 22%);
  opacity: .85;
}

.hero-bg-grid {
  display: none;
}

.site-header {
  min-height: 104px;
  background: rgba(3,3,3,.96);
  border-bottom: 1px solid rgba(232,248,245,.14);
}

/* Logotipo 2x em relação à primeira versão, com contenção para não distorcer */
.brand img {
  height: 112px;
  max-width: 340px;
  object-fit: contain;
}

.brand {
  min-width: 260px;
}

.hero-content {
  grid-template-columns: 1fr .62fr;
  gap: 20px;
  align-items: center;
}

.hero-copy {
  text-align: center;
  max-width: 940px;
  margin: 0 auto;
}

.hero-brand-name {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--gold-2);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.55rem, 2.55vw, 2.65rem);
  font-weight: 900;
  letter-spacing: .045em;
  text-transform: none;
  margin: 0 auto 8px;
}

/* Título principal menor, com Playfair Display e cor mint */
.hero h1,
h1 {
  font-family: "Playfair Display", serif;
  color: var(--mint-title);
  font-size: clamp(1.55rem, 2.55vw, 2.75rem);
  line-height: 1.14;
  letter-spacing: -.025em;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(.88rem, 1.08vw, 1.02rem);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.hero-copy p {
  font-size: .88rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.value-line {
  border-left: 0;
  border-top: 2px solid rgba(201,162,74,.65);
  padding-left: 0;
  padding-top: 10px;
  font-size: .9rem !important;
}

.hero-actions {
  justify-content: center;
  margin-top: 16px;
}

.hero-panel {
  min-height: 250px;
  padding: 14px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.025));
  border-color: rgba(232,248,245,.14);
}

.strategy-visual {
  min-height: 92px;
  padding: 16px;
}

.strategy-visual strong {
  font-size: .98rem;
}

.abstract-card {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 16px;
}

.abstract-card span {
  font-size: .74rem;
}

.abstract-card strong {
  font-size: .9rem;
}

.radar-visual {
  width: 230px;
  height: 230px;
  right: -86px;
  bottom: -98px;
  opacity: .7;
}

/* Menu proporcionalmente maior, mas compatível com logotipo ampliado */
.main-nav a,
.nav-dropdown-toggle {
  font-size: 1.05rem;
}

.btn-small {
  font-size: .94rem;
  padding: 10px 14px;
}

/* Ajuste responsivo para notebook menor */
@media (max-width: 1280px) {
  .brand img {
    height: 96px;
    max-width: 290px;
  }
  .brand {
    min-width: 220px;
  }
  .site-header {
    min-height: 94px;
  }
  .hero {
    min-height: calc(100vh - 94px);
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .hero h1,
  h1 {
    font-size: clamp(1.45rem, 2.35vw, 2.45rem);
  }
  .hero-panel {
    min-height: 220px;
  }
}

/* Em telas médias, ocultar painel abstrato para a primeira dobra caber melhor */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-panel {
    display: none;
  }
  .hero {
    min-height: auto;
    padding-top: 28px;
    padding-bottom: 28px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .site-header {
    min-height: 74px;
  }
  .brand {
    min-width: 160px;
  }
  .brand img {
    height: 68px;
    max-width: 190px;
  }
  .hero-brand-name {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }
  .hero h1,
  h1 {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
  }
  .hero-subtitle,
  .hero-copy p {
    font-size: .9rem;
  }
}


/* Correções — primeira dobra centralizada sem bloco direito */
.hero-content-centered {
  display: block;
  max-width: 1080px;
  margin: 0 auto;
}

.hero-content-centered .hero-copy {
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
}

.hero-content-centered .hero-panel,
.hero-panel.compact-hero-panel {
  display: none !important;
}

/* Primeira dobra mais baixa para manter botões dentro da tela */
.hero {
  min-height: calc(100vh - 104px);
  display: flex;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
}

.hero h1,
h1 {
  font-size: clamp(1.34rem, 2.05vw, 2.28rem);
  line-height: 1.12;
  max-width: 980px;
  margin-bottom: 10px;
}

/* Nome da marca maior e animado */
.hero-brand-name {
  font-size: clamp(2.15rem, 4.1vw, 4.65rem);
  line-height: 1;
  margin-bottom: 10px;
  animation: haertizGlow 4.8s ease-in-out infinite;
  text-shadow:
    0 0 10px rgba(201, 162, 74, .20),
    0 0 28px rgba(201, 162, 74, .10);
}

@keyframes haertizGlow {
  0%, 100% {
    letter-spacing: .045em;
    filter: brightness(1);
    text-shadow:
      0 0 10px rgba(201, 162, 74, .20),
      0 0 28px rgba(201, 162, 74, .10);
  }
  50% {
    letter-spacing: .065em;
    filter: brightness(1.18);
    text-shadow:
      0 0 16px rgba(232, 248, 245, .20),
      0 0 38px rgba(201, 162, 74, .18);
  }
}

.hero-subtitle {
  font-size: clamp(.82rem, .96vw, .96rem);
  line-height: 1.45;
  margin-bottom: 8px;
}

.hero-copy p {
  font-size: .82rem;
  line-height: 1.45;
  margin-top: 8px;
  margin-bottom: 8px;
}

.value-line {
  max-width: 840px;
  font-size: .82rem !important;
  line-height: 1.42;
  margin-top: 8px;
  padding-top: 8px;
}

.hero-actions {
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.hero-actions .btn {
  padding: 10px 17px;
  min-height: 40px;
  font-size: .92rem;
}

/* Botão Agendar visita */
.btn-visit {
  background: rgba(232, 248, 245, .10);
  color: var(--mint-title);
  border: 1px solid rgba(232, 248, 245, .32);
}

.btn-visit:hover {
  background: rgba(232, 248, 245, .16);
}

/* Header com logo grande, mas mantendo proporção da tela */
.site-header {
  min-height: 96px;
}

.brand img {
  height: 104px;
  max-width: 320px;
}

.brand {
  min-width: 250px;
}

/* Ajustes em notebook */
@media (max-width: 1280px) {
  .site-header {
    min-height: 88px;
  }

  .brand img {
    height: 90px;
    max-width: 275px;
  }

  .brand {
    min-width: 215px;
  }

  .hero {
    min-height: calc(100vh - 88px);
  }

  .hero-brand-name {
    font-size: clamp(1.95rem, 3.65vw, 3.85rem);
  }

  .hero h1,
  h1 {
    font-size: clamp(1.25rem, 1.85vw, 2rem);
  }

  .hero-copy p,
  .hero-subtitle,
  .value-line {
    font-size: .78rem !important;
  }
}

/* Ajustes em tablet/celular */
@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 26px;
    padding-bottom: 26px;
  }

  .hero-brand-name {
    font-size: clamp(1.85rem, 8vw, 3.1rem);
  }

  .hero h1,
  h1 {
    font-size: clamp(1.25rem, 5.4vw, 1.75rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 72px;
  }

  .brand {
    min-width: 150px;
  }

  .brand img {
    height: 62px;
    max-width: 180px;
  }

  .hero-copy p:nth-of-type(2) {
    display: none;
  }
}


/* Correção — voltar fundo da primeira dobra para azul petróleo */
.hero {
  background:
    radial-gradient(circle at 76% 14%, rgba(201,162,74,.16), transparent 28%),
    radial-gradient(circle at 16% 88%, rgba(103,125,79,.18), transparent 30%),
    linear-gradient(135deg, #071523 0%, #0b1f33 42%, #102a42 72%, #13344d 100%) !important;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.07), transparent 28%),
    radial-gradient(ellipse at top, rgba(232,248,245,.08), transparent 34%);
  opacity: .72;
}

.site-header {
  background: rgba(7, 21, 35, .96) !important;
  border-bottom: 1px solid rgba(201,162,74,.20) !important;
}


/* Correção — Hotstamping dourado brilhante no texto Haertiz Consultoria Empresarial */
.hero-brand-name {
  color: transparent !important;
  background:
    linear-gradient(
      110deg,
      #7b5a12 0%,
      #c89b2c 18%,
      #fff2a8 34%,
      #d6a935 48%,
      #8a6418 62%,
      #f7dc75 78%,
      #b88622 100%
    );
  background-size: 260% auto;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 1px 0 rgba(255, 245, 185, .22),
    0 0 12px rgba(255, 218, 97, .24),
    0 0 34px rgba(201, 162, 74, .18);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
  animation: haertizHotstamping 5.2s ease-in-out infinite;
}

.hero-brand-name::after {
  content: "";
  display: block;
  width: min(520px, 72vw);
  height: 1px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255, 226, 124, .75), transparent);
  box-shadow: 0 0 18px rgba(255, 226, 124, .20);
}

@keyframes haertizHotstamping {
  0%, 100% {
    background-position: 0% center;
    filter: brightness(1) drop-shadow(0 10px 18px rgba(0,0,0,.25));
    transform: translateY(0);
  }
  45% {
    background-position: 100% center;
    filter: brightness(1.28) drop-shadow(0 12px 24px rgba(201,162,74,.18));
    transform: translateY(-1px);
  }
  65% {
    background-position: 72% center;
    filter: brightness(1.12) drop-shadow(0 10px 18px rgba(0,0,0,.25));
  }
}


/* Correção — reduzir dobra Contato para caber melhor na tela */
#contato {
  padding-top: clamp(36px, 4vw, 50px) !important;
  padding-bottom: clamp(36px, 4vw, 50px) !important;
}

#contato .contact-grid {
  grid-template-columns: .86fr 1fr;
  gap: 24px;
  align-items: start;
}

#contato h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
  margin-bottom: 10px;
}

#contato .eyebrow {
  margin-bottom: 8px;
}

#contato p {
  font-size: .92rem;
  line-height: 1.42;
  margin-top: 8px;
  margin-bottom: 8px;
}

#contato .notice {
  font-size: .86rem;
  line-height: 1.38;
  padding-left: 10px;
  margin-top: 10px;
}

#contato .contact-box {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 18px;
}

#contato .contact-box .btn {
  min-height: 38px;
  padding: 9px 16px;
  font-size: .9rem;
  margin-bottom: 8px;
}

#contato .contact-box p {
  font-size: .9rem;
  line-height: 1.35;
  margin: 8px 0;
}

#contato .form-card {
  padding: 18px;
  gap: 9px;
  border-radius: 20px;
}

#contato .form-card h3 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}

#contato label {
  gap: 4px;
  font-size: .82rem;
}

#contato input,
#contato select,
#contato textarea {
  padding: 8px 10px;
  min-height: 36px;
  border-radius: 11px;
  font-size: .88rem;
}

#contato textarea {
  min-height: 74px;
  rows: 3;
}

#contato .checkbox {
  font-size: .78rem;
  line-height: 1.3;
  gap: 8px;
}

#contato .form-card .btn {
  min-height: 38px;
  padding: 9px 16px;
  font-size: .9rem;
}

/* Em notebook menor, formulário e contato ficam mais compactos */
@media (max-width: 1280px) {
  #contato {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  #contato .contact-grid {
    gap: 20px;
  }

  #contato .form-card {
    padding: 16px;
    gap: 8px;
  }

  #contato input,
  #contato select,
  #contato textarea {
    padding: 7px 9px;
    min-height: 34px;
  }

  #contato textarea {
    min-height: 64px;
  }
}

/* Mobile: mantém leitura e evita estourar horizontalmente */
@media (max-width: 900px) {
  #contato .contact-grid {
    grid-template-columns: 1fr;
  }

  #contato .contact-box {
    padding: 15px;
  }

  #contato .form-card {
    padding: 15px;
  }
}
