/* =========================================================
   Poços Araucária — style.css
   Ordem: 1. Variáveis  2. Reset  3. Tipografia  4. Utilities
          5. Componentes  6. Seções  7. Responsivo
   ========================================================= */

/* 1. VARIÁVEIS ============================================ */
:root {
  --navy-deep: #17294A;
  --navy-mid:  #173D62;
  --teal:      #1996AC;
  --teal-lite: #5BC8CF;
  --ice:       #F4F9FB;
  --silver:    #C9D2DA;
  --wa-green:  #25D366;
  --wa-green-hover: #1EBE5A;

  --font-title: 'Outfit', system-ui, sans-serif;
  --font-serif: 'Lora', Georgia, serif;
  --font-body:  'Work Sans', system-ui, sans-serif;

  --container-max: 1120px;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(23, 41, 74, 0.08);
  --shadow-md: 0 8px 24px rgba(23, 41, 74, 0.12);
  --transition: 200ms ease-out;
}

/* 2. RESET ================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy-deep);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* 3. TIPOGRAFIA =========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy-deep);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
p  { color: var(--navy-mid); }
.serif { font-family: var(--font-serif); font-style: italic; }

/* 4. UTILITIES ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) { .container { padding: 0 40px; } }

.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }

.section--dark { background: var(--navy-deep); color: #fff; }
.section--dark h2, .section--dark p { color: #fff; }
.section--ice { background: var(--ice); }

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* Skip link (acessibilidade) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-deep);
  color: #fff;
  padding: 12px 20px;
  z-index: 9999;
}
.skip-link:focus { left: 0; }

/* Foco visível global */
:focus-visible {
  outline: 2px solid var(--teal-lite);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 5. COMPONENTES ========================================== */

/* Botão base */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* CTA verde WhatsApp (EXCLUSIVO) */
.btn--wa {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}
.btn--wa:hover {
  background: var(--wa-green-hover);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Botão secundário (teal) */
.btn--teal {
  background: var(--teal);
  color: #fff;
}
.btn--teal:hover { background: var(--navy-mid); }

/* Card */
.card {
  background: #fff;
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

/* Badge */
.badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--silver);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 16px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--navy-deep);
}
.header__brand { font-size: 1rem; }
.header__menu-toggle {
  color: var(--navy-deep);
  padding: 8px;
}
.header__nav {
  display: none;
  gap: 24px;
  align-items: center;
}
.header__nav a {
  font-weight: 500;
  color: var(--navy-mid);
  transition: color var(--transition);
}
.header__nav a:hover { color: var(--teal); }
.header__nav .btn--wa { padding: 10px 18px; font-size: 0.95rem; }

@media (min-width: 1024px) {
  .header__menu-toggle { display: none; }
  .header__nav { display: flex; }
  .header__brand { font-size: 1.125rem; }
}

/* Menu mobile aberto (JS adiciona .is-open na nav) */
.header__nav.is-open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 72px 0 0 0; /* header sticky = 48px logo + 12px+12px padding */
  background: #fff;
  padding: 32px 20px;
  gap: 20px;
  align-items: stretch;
  border-top: 1px solid var(--silver);
  overflow-y: auto;
}
.header__nav.is-open a { padding: 12px 0; font-size: 1.125rem; }
@media (min-width: 1024px) { .header__nav.is-open { position: static; inset: auto; padding: 0; } }

/* ===== HERO ===== */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  color: #fff;
  padding: 80px 0 120px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__araucaria { display: none; }
@media (min-width: 1024px) { .hero__araucaria { display: block; } }

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}
.hero__title {
  color: #fff;
  margin-bottom: 20px;
}
.hero__sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  margin-bottom: 32px;
  max-width: 640px;
}
.hero__cta {
  font-size: 1.1rem;
  padding: 18px 32px;
}
.hero__badge { margin-top: 24px; }

@media (min-width: 768px) {
  .hero { padding: 120px 0 160px; }
  .hero__sub { font-size: 1.25rem; }
}

/* ===== GRID 3 COLUNAS ===== */
.grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.card__icon {
  color: var(--teal);
  margin-bottom: 16px;
}

/* ===== STEPS (Como funciona) ===== */
.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  background: #fff;
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  padding: 28px 20px;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step__num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { color: var(--navy-deep); margin-bottom: 8px; }
.step p  { font-size: 0.95rem; }

/* ===== DIFERENCIAIS ===== */
.diffs {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .diffs { grid-template-columns: repeat(2, 1fr); gap: 24px; } }

.diff {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(91, 200, 207, 0.2);
  border-radius: var(--radius);
}
.diff--highlight {
  background: rgba(25, 150, 172, 0.15);
  border-color: var(--teal);
}
.diff__check {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diff h3 { color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.diff p  { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ===== MVV ACCORDION ===== */
.mvv { display: flex; flex-direction: column; gap: 12px; }
.mvv__item {
  background: var(--ice);
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.mvv__item summary {
  cursor: pointer;
  list-style: none;
  color: var(--navy-deep);
  font-family: var(--font-title);
  font-size: 1.05rem;
  position: relative;
  padding-right: 24px;
}
.mvv__item summary::-webkit-details-marker { display: none; }
.mvv__item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--teal);
  transition: transform var(--transition);
}
.mvv__item[open] summary::after { transform: rotate(45deg); }
.mvv__item p, .mvv__item ul { margin-top: 12px; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--silver);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: box-shadow var(--transition);
}
.faq__item:hover { box-shadow: var(--shadow-sm); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 1.05rem;
  position: relative;
  padding-right: 30px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
  transition: transform var(--transition);
}
.faq__item[open] summary::after { transform: rotate(-135deg); top: 12px; }
.faq__item p { margin-top: 12px; color: var(--navy-mid); }

/* ===== CIDADES ===== */
.cities {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 768px) { .cities { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cities { grid-template-columns: repeat(5, 1fr); } }
.cities li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--ice);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--navy-mid);
}
.cities li svg { color: var(--teal); flex-shrink: 0; }

/* ===== CTA FINAL ===== */
.cta-final { padding: 80px 0; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 32px;
}
@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { color: #fff; font-family: var(--font-title); font-size: 1.1rem; display: block; }
.footer__brand p { font-size: 0.9rem; color: rgba(255,255,255,0.7); }
.footer__brand a { color: var(--teal-lite); }

.footer__links { display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; }
.footer__links a { color: rgba(255,255,255,0.85); }
.footer__links a:hover { color: var(--teal-lite); }
@media (min-width: 768px) { .footer__links { flex-direction: row; gap: 24px; } }

.footer__social { display: flex; gap: 16px; }
.footer__social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background var(--transition);
}
.footer__social a:hover { background: var(--teal); }

.footer__copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 60px;
  height: 60px;
  background: var(--wa-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  z-index: 99;
  transition: opacity var(--transition), transform var(--transition);
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--wa-green);
  opacity: 0.6;
  z-index: -1;
  animation: wa-pulse 2.2s ease-out infinite;
}
.wa-float:hover { background: var(--wa-green-hover); transform: scale(1.05); }
.wa-float.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.6; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float::before { animation: none; }
}
