:root {
  --gold: #a08848;
  --gold-light: #c9b276;
  --gold-dark: #7d6830;
  --teal: #00303f;
  --teal-2: #011f29;
  --mist: #dde5ef;
  --cream: #faf8f4;
  --white: #ffffff;
  --ink: #14181a;
  --ink-soft: #59636a;
  --border: #e9e3d6;
  --radius: 16px;
  --shadow-sm: 0 6px 16px -8px rgba(0, 24, 32, 0.16);
  --shadow: 0 20px 44px -18px rgba(0, 24, 32, 0.28);
  --whatsapp: #25d366;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-weight: 500;
  color: var(--teal);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
h4 { font-size: 1.05rem; margin-bottom: 4px; }

p { color: var(--ink-soft); }

.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.section-eyebrow.center { justify-content: center; }
.diferenciais .section-eyebrow { color: var(--gold-light); }
.diferenciais .section-eyebrow::before { background: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  border-color: rgba(0, 48, 63, 0.25);
  color: var(--teal);
}
.btn-outline:hover { background: var(--teal); color: var(--white); border-color: var(--teal); transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.9rem;
  box-shadow: 0 8px 18px -8px rgba(37, 211, 102, 0.55);
}
.btn-whatsapp:hover { transform: translateY(-2px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(0, 48, 63, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.logo-img { height: 42px; width: auto; }

.main-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}
.main-nav a:hover { color: var(--gold-dark); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.active { color: var(--gold-dark); }
.main-nav a.active::after { width: 100%; }

.header-cta { margin-left: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--teal);
  display: block;
}

/* Decorative triangle shapes (echo the logo mark) */
.shape {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(160, 136, 72, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 55% at 100% 100%, rgba(0, 48, 63, 0.10), transparent 60%);
  z-index: -1;
}
.hero-tri {
  position: absolute;
  z-index: -1;
  opacity: 0.9;
}
.hero-tri-1 { top: -60px; right: -40px; width: 340px; }
.hero-tri-2 { bottom: -80px; right: 220px; width: 160px; opacity: 0.5; }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
}
.hero-lead {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 1.08rem;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-mark {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mark::before {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(221, 229, 239, 0.55), transparent 65%);
  z-index: -1;
}
.hero-logo {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 24px 34px rgba(0, 48, 63, 0.16));
}

/* Sobre */
.sobre { padding: 96px 0; position: relative; }
.sobre-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.sobre-text p { margin-top: 16px; }
.sobre-stats {
  display: grid;
  gap: 16px;
}
.stat-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 34px 34px 0;
  border-color: transparent rgba(160, 136, 72, 0.16) transparent transparent;
}
.stat-number {
  display: block;
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Servicos */
.servicos { padding: 96px 0; background: var(--white); position: relative; }
.cards-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card p { font-size: 0.93rem; }

/* Diferenciais */
.diferenciais {
  padding: 96px 0;
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-2) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.diferenciais::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -6%;
  width: 46%;
  padding-top: 46%;
  background: linear-gradient(135deg, rgba(201, 178, 118, 0.14), transparent 70%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
  transform: rotate(8deg);
}
.diferenciais h2 { color: var(--white); }
.diferenciais-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 44px;
  margin-top: 40px;
  position: relative;
}
.diferenciais-list li { display: flex; gap: 16px; }
.dif-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(201, 178, 118, 0.14);
  border: 1px solid rgba(201, 178, 118, 0.35);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dif-icon svg { width: 18px; height: 18px; }
.diferenciais-list h4 { color: var(--white); }
.diferenciais-list p { color: var(--mist); font-size: 0.93rem; opacity: 0.85; }

/* FAQ */
.faq { padding: 96px 0; background: var(--white); }
.faq-list {
  max-width: 800px;
  margin: 44px auto 0;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 26px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--teal);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold-dark);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin-top: 14px;
  font-size: 0.93rem;
}

/* Contato */
.contato { padding: 96px 0; }
.contato-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
  margin-bottom: 50px;
}

.contato-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px 40px;
  box-shadow: var(--shadow-sm);
}
.form-lead { margin-top: 6px; margin-bottom: 22px; font-size: 0.93rem; }
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.hp-field { position: absolute; left: -9999px; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; border: none; cursor: pointer; }
.form-status { margin-top: 14px; font-size: 0.88rem; min-height: 1.2em; }
.form-status-ok { color: #1a7a44; }
.form-status-error { color: #b3261e; }

.contato-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 340px;
}
.contato-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}
.contato-info {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 42px 40px;
  box-shadow: var(--shadow-sm);
}
.contato-lead { margin-top: 8px; margin-bottom: 28px; }
.contato-list {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}
.contato-list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.95rem;
  padding-left: 18px;
  border-left: 2px solid var(--border);
}
.contato-list strong {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}
.contato-list a:hover { color: var(--gold-dark); }

/* Footer */
.site-footer {
  background: var(--teal-2);
  color: var(--mist);
  padding: 34px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer-inner p { color: var(--mist); font-size: 0.85rem; opacity: 0.8; }
.footer-inner a { font-size: 0.85rem; }
.footer-inner a:hover { color: var(--gold-light); }

/* Notícias */
.noticias-hero {
  padding: 130px 0 50px;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(160, 136, 72, 0.14), transparent 60%),
    radial-gradient(ellipse 55% 55% at 100% 100%, rgba(0, 48, 63, 0.10), transparent 60%);
}
.noticias-lead { margin-top: 18px; max-width: 62ch; font-size: 1.05rem; }
.noticias-updated {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 500;
}

.noticias-list-section { padding: 50px 0 96px; }
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.noticia-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.noticia-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.noticia-source {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--gold-dark);
}
.noticia-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0;
}
.noticia-card p {
  font-size: 0.87rem;
  margin: 0;
}
.noticia-date {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--ink-soft);
  padding-top: 6px;
}

.noticias-skeleton {
  height: 190px;
  border-radius: var(--radius);
  background: linear-gradient(100deg, var(--cream) 30%, var(--border) 50%, var(--cream) 70%);
  background-size: 200% 100%;
  animation: skeleton-shine 1.4s ease-in-out infinite;
}
@keyframes skeleton-shine {
  0% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

.noticias-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-soft);
}
.noticias-empty a { color: var(--gold-dark); text-decoration: underline; }

.noticias-disclaimer {
  margin-top: 40px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  opacity: 0.8;
  text-align: center;
}

@media (max-width: 900px) {
  .noticias-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .noticias-grid { grid-template-columns: 1fr; }
  .noticias-hero { padding: 110px 0 40px; }
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .sobre-inner, .contato-inner { grid-template-columns: 1fr; }
  .hero-mark { order: -1; }
  .hero-logo { max-width: 240px; }
  .hero { padding: 90px 0 70px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-list { grid-template-columns: 1fr; }
  .contato-info { padding: 32px 28px; }
}

@media (max-width: 700px) {
  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-150%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
  .logo-img { height: 36px; }
  .hero-tri-1 { width: 220px; }
}
