:root {
  --navy: #0C1F3F;
  --navy-mid: #142D54;
  --navy-light: #1A3A6B;
  --gold: #C8956C;
  --gold-light: #E4C9A8;
  --gold-pale: #F5EDE3;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --text: #2A2A2A;
  --text-light: #6B6B6B;
  --green-soft: #2D8B5F;
  --red-soft: #C0392B;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

/* Acessibilidade: skip link e focus visível */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.08) 0%, transparent 65%);
  border-radius: 50%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 40px 0;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: end;
}

.hero-content > div:first-child {
  align-self: center;
}

.hero-logo {
  display: block;
  max-width: 80px;
  height: auto;
  margin: 0 0 20px 240px;
  transform: translateX(-50%);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 149, 108, 0.12);
  border: 1px solid rgba(200, 149, 108, 0.25);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}

.hero-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease 0.15s both;
}

.hero h1 span {
  color: var(--gold);
  display: inline;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  max-width: 520px;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.45s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200, 149, 108, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Right — Foto */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: end;
  overflow: visible;
  animation: fadeUp 0.8s ease 0.5s both;
}

.hero-brasao {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ═══════════ PROBLEMAS / DOR ═══════════ */
.problems {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.problems h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 16px;
  max-width: 700px;
}

.problems>p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 56px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.problem-card {
  background: var(--white);
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(12, 31, 63, 0.08);
}

.problem-card:hover::before {
  opacity: 1;
}

.problem-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: var(--gold-pale);
}

.problem-card h3 {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.problem-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.65;
}

.problem-card .search-hint {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  background: rgba(12, 31, 63, 0.04);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--navy-mid);
  font-weight: 500;
}

/* ═══════════ SERVIÇOS ═══════════ */
.services {
  background: var(--navy);
  padding: 100px 40px;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.06), transparent 70%);
  border-radius: 50%;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.services .section-label {
  color: var(--gold-light);
}

.services h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 56px;
  max-width: 600px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.4s ease;
  position: relative;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(200, 149, 108, 0.3);
  transform: translateY(-4px);
}

.service-number {
  font-family: var(--serif);
  font-size: 3rem;
  color: rgba(200, 149, 108, 0.15);
  line-height: 1;
  margin-bottom: 20px;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  padding-left: 20px;
  position: relative;
}

.service-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ═══════════ DÚVIDAS FREQUENTES / SEO ═══════════ */
.faq {
  padding: 100px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 48px;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 24px 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ═══════════ CTA FINAL ═══════════ */
.final-cta {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 100px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 149, 108, 0.08), transparent 65%);
  border-radius: 50%;
}

.final-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
}

.final-cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 40px;
  line-height: 1.7;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.final-cta .btn-primary {
  font-size: 1.1rem;
  padding: 20px 48px;
}

.final-trust {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.final-trust span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ═══════════ WHATSAPP FLUTUANTE ═══════════ */
.whatsapp-float {
  position: fixed;
  bottom: 44px;
  right: 24px;
  z-index: 9000;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transform: scale(1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ═══════════ FOOTER ═══════════ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px;
  text-align: center;
}

footer p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.6;
}

/* ═══════════ RESPONSIVE ═══════════ */

/* Tablet grande (até 900px) */
@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 80px 24px 20px;
  }

  .hero-content > div:first-child {
    padding-bottom: 16px;
  }

  .hero-photo {
    max-width: 400px;
    border-radius: 16px 16px 0 0;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .problem-grid {
    grid-template-columns: 1fr;
  }

  .final-trust {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

/* Tablet menor (até 768px) */
@media (max-width: 768px) {
  .hero-content {
    padding: 80px 20px 16px;
    gap: 24px;
  }

  .hero-photo {
    max-width: 360px;
  }

  .btn-primary {
    padding: 14px 28px;
    font-size: 0.92rem;
  }

  .btn-secondary {
    padding: 14px 28px;
    font-size: 0.92rem;
  }

  .problem-card {
    padding: 28px 24px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .faq-question {
    font-size: 0.95rem;
  }

  .final-cta .btn-primary {
    padding: 18px 36px;
    font-size: 1rem;
  }
}

/* Mobile (até 480px) */
@media (max-width: 480px) {
  .hero-content {
    padding: 72px 16px 0;
    gap: 20px;
  }

  .hero-tag {
    font-size: 0.68rem;
    padding: 6px 14px;
    margin-bottom: 20px;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    margin-bottom: 16px;
  }

  .hero-sub {
    font-size: 0.95rem;
    margin-bottom: 28px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .hero-photo {
    max-width: 100%;
    border-radius: 12px 12px 0 0;
  }

  .problems,
  .faq {
    padding: 56px 16px;
  }

  .services {
    padding: 56px 16px;
  }

  .final-cta {
    padding: 56px 16px;
  }

  .section-cta {
    margin-top: 32px;
  }

  .section-cta .btn-primary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .final-cta .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 0.95rem;
  }

  .final-trust {
    gap: 8px;
  }
}

/* Mobile pequeno — iPhone SE (até 360px) */
@media (max-width: 360px) {
  .hero-content {
    padding: 64px 12px 0;
  }

  .hero-tag {
    font-size: 0.62rem;
    padding: 5px 12px;
  }

  .hero h1 {
    font-size: 1.7rem;
  }

  .hero-sub {
    font-size: 0.88rem;
  }

  .btn-primary {
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .btn-secondary {
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  .problem-card {
    padding: 24px 18px;
  }

  .problem-card h3 {
    font-size: 1.05rem;
  }

  .service-card {
    padding: 28px 18px;
  }
}