/*
Theme Name: Absoluta Corretora
Theme URI: https://absolutacorretora.com.br
Author: Absoluta Corretora
Description: Site institucional da Absoluta Corretora - Cuidando da sua saúde há mais de 30 anos. Planos de saúde, odontológicos, pet e seguros com atendimento personalizado.
Version: 1.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: absoluta-corretora
*/

:root {
  --roxo-escuro: #4a2a7a;
  --roxo-principal: #6b3fa0;
  --roxo-claro: #a685c9;
  --lilas: #e9def0;
  --lilas-claro: #f5eefa;
  --branco: #ffffff;
  --texto-escuro: #2e1a47;
  --dourado-suave: #f4b400;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--texto-escuro);
  background: var(--branco);
  line-height: 1.6;
}

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

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

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

/* ===== HEADER ===== */
.site-header {
  background: var(--branco);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(74, 42, 122, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-text {
  line-height: 1.1;
}

.logo-text .principal {
  font-size: 24px;
  font-weight: 700;
  color: var(--roxo-escuro);
  letter-spacing: 1px;
}

.logo-text .secundario {
  font-size: 12px;
  font-weight: 600;
  color: var(--roxo-principal);
  letter-spacing: 3px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-cta .telefone {
  font-weight: 600;
  color: var(--roxo-escuro);
  font-size: 15px;
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--lilas-claro) 0%, var(--lilas) 60%, #d9c6e8 100%);
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.35;
  z-index: 0;
}

.blob-1 {
  width: 260px;
  height: 260px;
  background: var(--roxo-claro);
  top: -80px;
  right: -60px;
}

.blob-2 {
  width: 180px;
  height: 180px;
  background: var(--dourado-suave);
  bottom: -60px;
  left: -40px;
  opacity: 0.18;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1 1 460px;
}

.hero-badge {
  display: inline-block;
  background: var(--roxo-escuro);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--roxo-escuro);
  line-height: 1.2;
  margin: 0 0 10px;
}

.hero-content h1 span {
  color: var(--roxo-principal);
  font-size: 48px;
}

.hero-content p.subtitulo {
  font-size: 18px;
  color: var(--texto-escuro);
  margin: 18px 0 30px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primario {
  background: var(--roxo-escuro);
  color: #fff;
  padding: 15px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  transition: all 0.2s ease;
}

.btn-primario:hover {
  background: var(--roxo-principal);
  transform: translateY(-2px);
}

.btn-secundario {
  background: transparent;
  color: var(--roxo-escuro);
  padding: 15px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  border: 2px solid var(--roxo-escuro);
  transition: all 0.2s ease;
}

.btn-secundario:hover {
  background: var(--roxo-escuro);
  color: #fff;
}

.hero-image {
  flex: 1 1 380px;
  text-align: center;
}

.hero-image svg {
  width: 100%;
  max-width: 420px;
}

/* trust badges */
.trust-bar {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid rgba(74,42,122,0.15);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--roxo-escuro);
  font-size: 14px;
}

.trust-item .icone {
  width: 34px;
  height: 34px;
  background: var(--roxo-escuro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.trust-item .icone svg {
  width: 17px;
  height: 17px;
}

/* ===== SECTION TITLES ===== */
.section {
  padding: 80px 0;
}

.section-bg {
  background: var(--lilas-claro);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title .kicker {
  color: var(--roxo-principal);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: 32px;
  color: var(--roxo-escuro);
  margin: 10px 0 0;
  font-weight: 700;
}

.section-title p {
  max-width: 620px;
  margin: 14px auto 0;
  color: #5c4a72;
  font-size: 16px;
}

/* ===== HOSPITAIS GRID ===== */
.hospitais-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.hospital-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
  box-shadow: 0 6px 24px rgba(74, 42, 122, 0.08);
  transition: transform 0.2s ease;
}

.hospital-card:hover {
  transform: translateY(-4px);
}

.hospital-icone {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
}

.hospital-icone svg {
  width: 100%;
  height: 100%;
}

.hospital-card .hospital-nome {
  font-weight: 700;
  font-size: 15px;
  color: var(--texto-escuro);
  margin-bottom: 12px;
}

.hospital-card .hospital-nome strong {
  color: var(--roxo-escuro);
}

.preco-box {
  background: var(--roxo-escuro);
  color: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  text-align: center;
}

.preco-box .a-partir {
  font-size: 11px;
  opacity: 0.85;
  display: block;
}

.preco-box .valor {
  font-size: 26px;
  font-weight: 700;
  display: block;
}

.preco-box .extra {
  font-size: 11px;
  background: rgba(255,255,255,0.18);
  border-radius: 20px;
  padding: 3px 10px;
  display: inline-block;
  margin-top: 6px;
}

/* ===== SERVICOS ===== */
.servicos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.servico-item .icone {
  width: 64px;
  height: 64px;
  background: var(--lilas);
  color: var(--roxo-escuro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.servico-item .icone svg {
  width: 28px;
  height: 28px;
}

.servico-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--roxo-escuro);
  margin: 0;
}

/* ===== BANNER FOTO ===== */
.banner-foto {
  background-size: cover;
  background-position: center;
  padding: 90px 0;
}

.banner-foto-overlay {
  max-width: 620px;
}

.banner-foto h2 {
  color: #fff;
  font-size: 30px;
  margin: 0 0 16px;
}

.banner-foto p {
  color: #e9def0;
  font-size: 16px;
  margin: 0 0 26px;
}

/* ===== OPERADORAS ===== */
.operadoras-box {
  text-align: center;
}

.operadoras-box h2 {
  font-size: 26px;
  color: var(--roxo-escuro);
  margin: 8px 0 26px;
}

.operadoras-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.operadoras-badges a {
  background: #fff;
  border: 1px solid #d9c6e8;
  border-radius: 30px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--roxo-escuro);
  transition: all 0.2s ease;
}

.operadoras-badges a:hover {
  background: var(--roxo-escuro);
  color: #fff;
  border-color: var(--roxo-escuro);
}

.operadoras-nota {
  color: #5c4a72;
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== COMO FUNCIONA ===== */
.passos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.passo-item {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 6px 24px rgba(74, 42, 122, 0.08);
  position: relative;
}

.passo-numero {
  width: 40px;
  height: 40px;
  background: var(--roxo-escuro);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.passo-item h3 {
  font-size: 17px;
  color: var(--roxo-escuro);
  margin: 0 0 10px;
}

.passo-item p {
  font-size: 14px;
  color: #5c4a72;
  margin: 0;
}

/* ===== SOBRE ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 50px;
}

.sobre-texto h2 {
  font-size: 28px;
  color: var(--roxo-escuro);
  margin: 10px 0 18px;
}

.sobre-texto p {
  color: #5c4a72;
  font-size: 15px;
  margin-bottom: 14px;
}

.sobre-foto {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(74, 42, 122, 0.18);
}

.sobre-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sobre-box {
  background: var(--roxo-escuro);
  color: #fff;
  border-radius: 24px;
  padding: 50px 36px;
  text-align: center;
}

.sobre-box p {
  font-size: 19px;
  font-weight: 500;
  margin: 0 auto;
  line-height: 1.7;
}

.sobre-box strong {
  color: var(--dourado-suave);
}

/* ===== FAQ ===== */
.faq-lista {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(74, 42, 122, 0.06);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--roxo-escuro);
  font-size: 15.5px;
  list-style: none;
  position: relative;
  padding-right: 30px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 22px;
  color: var(--roxo-principal);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 14px 0 0;
  color: #5c4a72;
  font-size: 14.5px;
  line-height: 1.6;
}

/* ===== CONTATO ===== */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contato-info .item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 26px;
}

.contato-info .icone {
  width: 46px;
  height: 46px;
  background: var(--roxo-escuro);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contato-info .icone svg {
  width: 20px;
  height: 20px;
}

.contato-info .item h4 {
  margin: 0 0 4px;
  color: var(--roxo-escuro);
  font-size: 15px;
}

.contato-info .item p, .contato-info .item a {
  margin: 0;
  color: #5c4a72;
  font-size: 15px;
}

.contato-cta {
  background: var(--lilas-claro);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
}

.contato-cta h3 {
  color: var(--roxo-escuro);
  font-size: 22px;
  margin-top: 0;
}

.contato-cta p {
  color: #5c4a72;
  margin-bottom: 26px;
}

.btn-google {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--roxo-escuro);
  border: 1.5px solid #d9c6e8;
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  margin-top: 12px;
  transition: all 0.2s ease;
}

.btn-google:hover {
  border-color: var(--roxo-escuro);
  background: var(--lilas-claro);
}

.redes-sociais {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 24px;
}

.redes-sociais a {
  width: 42px;
  height: 42px;
  background: var(--roxo-escuro);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s ease;
}

.redes-sociais a:hover {
  background: var(--roxo-principal);
}

/* ===== MAPA ===== */
.mapa-wrapper {
  margin-top: 50px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(74, 42, 122, 0.12);
}

.mapa-wrapper iframe {
  display: block;
  width: 100%;
}

.mapa-link {
  display: block;
  text-align: center;
  background: #fff;
  color: var(--roxo-escuro);
  font-weight: 600;
  font-size: 14px;
  padding: 14px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #2e1a47;
  color: #e9def0;
  padding: 50px 0 20px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand .logo-text .principal { color: #fff; }
.footer-brand p {
  max-width: 320px;
  color: #c9b8dc;
  font-size: 14px;
  margin-top: 14px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  margin-bottom: 14px;
}

.footer-col a, .footer-col p {
  display: block;
  color: #c9b8dc;
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: #9c85b5;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 999;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 880px) {
  .hero-content h1 { font-size: 32px; }
  .hero-content h1 span { font-size: 36px; }
  .hospitais-grid { grid-template-columns: 1fr; }
  .servicos-grid { grid-template-columns: repeat(2, 1fr); }
  .contato-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-foto { max-height: 320px; }
  .sobre-box { padding: 36px 24px; }
  .sobre-box p { font-size: 17px; }
  .passos-grid { grid-template-columns: 1fr; }
  .header-cta .telefone { display: none; }
  .hero-image { order: -1; max-width: 280px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .servicos-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
}
