/* ==========================================================================
   1. VARIÁVEIS E RESET GLOBAL
   ========================================================================== */
:root {
  --blue-header: #3BA9EE;
  --blue-light: #249BE0;
  --blue-footer: #0c7bbd;
  --blue-title: #106ea4;
  --yellow-gold: #f2ab00;
  --yellow-light: #ffcc54;
  --bg-light-blue: #f2f6fa;
  --bg-dark-overlay: #0e3b5e;
  --bg-white: #ffffff;
  --text-dark: #2d3748;
  --text-muted: #4a5568;
  
  --font-serif: 'Merriweather', Georgia, serif;
  --font-sans: 'Open Sans', -apple-system, sans-serif;
  
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --radius-card: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1140px;
  margin: 0 auto;
}

/* ==========================================================================
   2. BOTÕES & TÍTULOS REUTILIZÁVEIS
   ========================================================================== */
.section-subtitle {
  color: var(--yellow-gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 0.3rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--blue-title);
  margin-bottom: 3rem;
}

.btn {
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-yellow {
  background-color: var(--yellow-gold);
  color: var(--bg-white) !important;
  font-weight: 700;
}

.btn-yellow:hover {
  background-color: #d99900;
}

.btn-outline {
  border: 1px solid var(--bg-white);
  color: var(--bg-white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--bg-white);
  color: var(--blue-title);
}

.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 25px;
  right: 25px;
  background-color: var(--yellow-gold);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 28px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   3. HEADER / NAVBAR
   ========================================================================== */
.navbar {
  background-color: var(--blue-header);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 90px;
  width: auto;
}

.logo-img:hover {
  transform: scale(1.02);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--bg-white);
  font-size: 1.8rem;
  cursor: pointer;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-links a:hover {
  color: var(--yellow-light);
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 85vh;
  background: linear-gradient(rgba(12, 60, 96, 0.75), rgba(12, 60, 96, 0.75)), url('imagem/hero-background.jpg');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--bg-white);
  padding: 2rem 1rem;
}

.subtitle-tag {
  color: var(--yellow-gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: block;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 2rem;
}

.hero h1 .highlight {
  color: var(--yellow-gold);
}

.hero p {
  max-width: 600px;
  margin: 0 auto 3rem auto;
  font-size: 1.05rem;
  opacity: 0.9;
}

.hero-buttons-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

.main-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.btn-dvp {
  font-size: 1rem;
  padding: 1rem 2rem;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 4px 15px rgba(242, 171, 0, 0.4);
}

.subtitle-cta-text {
  font-size: 0.78rem;
  color: var(--bg-white);
  opacity: 0.9;
  margin-top: 0.4rem;
  letter-spacing: 0.5px;
}

.secondary-buttons {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 450px;
  justify-content: center;
}

.secondary-buttons .btn {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.team-dropdown {
  position: relative;
  flex: 1;
}

.team-toggle-btn {
  width: 100%;
}

.team-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 260px;
  background: var(--bg-white);
  border-radius: var(--radius-card);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 100;
  overflow: hidden;
  text-align: left;
}

.team-menu.active {
  display: block;
}

.team-menu a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.8rem;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.2s ease;
}

.team-menu a:hover {
  background-color: var(--bg-light-blue);
  color: var(--blue-title);
}

.team-menu a.general-option {
  font-weight: 700;
  color: var(--blue-title);
}

/* ==========================================================================
   5. QUEM SOMOS
   ========================================================================== */
.about-section {
  padding: 5rem 0;
  text-align: center;
}

.about-grid {
  display: grid;
  /*grid-template-columns: 1fr 320px;*/
  gap: 3rem;
  align-items: center;
  text-align: justify;
  margin-bottom: 4rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

/*
.about-image-wrapper {
  background-color: #f0f4f8;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.about-image {
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
}
*/

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background-color: #f5f8fc;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.value-icon {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.value-card h3 {
  font-family: var(--font-serif);
  color: var(--blue-title);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   6. POR QUE NOS ESCOLHER
   ========================================================================== */
.why-us-section {
  background: linear-gradient(rgba(14, 59, 94, 0.85), rgba(14, 59, 94, 0.85)), url('imagem/bg3.jpg');
  background-size: cover;
  background-position: center;
  color: var(--bg-white);
  padding: 5rem 0;
  text-align: center;
}

.light-title {
  color: var(--yellow-gold);
}

.why-us-desc {
  max-width: 1000px;
  margin: 0 auto 2rem auto;
  font-size: 1.05rem;
}

.why-us-list {
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.why-us-list li {
  font-size: 1rem;
  margin-bottom: 0.8rem;
  padding-left: 1rem;
}

.why-us-list li::first-letter {
  color: var(--yellow-gold);
  font-weight: bold;
}

/* ==========================================================================
   7. SEGUROS / PRODUTOS
   ========================================================================== */
.products-section {
  background-color: var(--bg-light-blue);
  padding: 5rem 0;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-align: left;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.card-image-wrapper {
  height: 200px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.card-icon {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; 
}

.card-content {
  display: flex;
  flex-direction: column;
  height: calc(100% - 200px);

  padding: 1.5rem;
}

.card-content h3 {
  font-family: var(--font-serif);
  color: var(--blue-title);
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.card-content p {
  flex-grow: 1;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-card-action {
  background-color: var(--blue-title);
  color: var(--bg-white) !important;
  font-size: 0.78rem;
  padding: 0.65rem 1rem;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-card-action:hover {
  background-color: var(--blue-light);
}

/* ==========================================================================
   8. DIAGNÓSTICO DE VIDA
   ========================================================================== */
.diagnosis-section {
  background: linear-gradient(rgba(12, 60, 96, 0.85), rgba(12, 60, 96, 0.85)), url('imagem/protecao5.jpg');
  background-size: cover;
  background-position: center;
  color: var(--bg-white);
  text-align: center;
  padding: 5rem 1rem;
}

.diagnosis-section .section-subtitle {
  color: var(--yellow-gold);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
}

.diagnosis-section h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--bg-white);
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

.diagnosis-intro {
  font-size: 1rem;
  max-width: 750px;
  margin: 0 auto 2.5rem auto;
  opacity: 0.95;
}

.dvp-steps-wrapper {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-card);
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

.dvp-steps-wrapper h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--yellow-gold);
}

.dvp-steps-wrapper h3 span {
  color: var(--bg-white);
  font-weight: 400;
  font-size: 1rem;
  display: block;
}

.dvp-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: left;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: var(--radius-card);
}

.step-number {
  background-color: var(--yellow-gold);
  color: var(--bg-dark-overlay);
  font-weight: 700;
  font-size: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-info h4 {
  font-size: 0.95rem;
  color: var(--bg-white);
  margin-bottom: 0.3rem;
}

.step-info p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
  margin: 0;
}

.diagnosis-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.diagnosis-section p {
  max-width: 1000px;
  margin: 0 auto 1rem auto;
  font-size: 1.05rem;
}

.diagnosis-section .btn {
  margin-top: 1.5rem;
}

/* ==========================================================================
   9. CONTATO & MAPA
   ========================================================================== */
.contact-section {
  padding: 5rem 0;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: left;
  margin-top: 2rem;
}

.contact-info h3,
.map-container-wrapper h3 {
  font-family: var(--font-serif);
  color: var(--blue-title);
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-info li strong {
  color: var(--blue-title);
}

.contact-info a {
  color: var(--blue-title);
  text-decoration: none;
  font-weight: 600;
}

.btn-contact-action {
  margin-top: 1.5rem;
}

.map-box {
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.whatsapp-btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
  gap: 1rem;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--blue-footer);
  color: var(--bg-white);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.logo-text-yellow {
  color: var(--yellow-gold);
}

.branding p {
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}

.footer-col.links ul {
  list-style: none;
}

.footer-col.links li {
  margin-bottom: 0.6rem;
}

.footer-col.links a {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-col.links a:hover {
  color: var(--yellow-gold);
}

.footer-col.contact p {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.2rem 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.back-to-top {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.back-to-top:hover {
  color: var(--yellow-gold);
}

.section-back-to-top {
  display: block;
  text-align: center;
  margin-top: 2.5rem;
  color: var(--yellow-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.section-back-to-top:hover {
    color: #d99900;
}

/* ==========================================================================
   11. TOAST DE NOTIFICAÇÃO DVP
   ========================================================================== */
.dvp-toast {
  position: fixed;
  bottom: 25px;
  left: 25px;
  max-width: 320px;
  background: var(--bg-white);
  border-left: 4px solid var(--yellow-gold);
  border-radius: var(--radius-card);
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  z-index: 999;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.dvp-toast.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.toast-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--yellow-gold);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(242, 171, 0, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 171, 0, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(242, 171, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 171, 0, 0); }
}

.toast-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-title);
  letter-spacing: 0.5px;
  flex-grow: 1;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.toast-text {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
  line-height: 1.4;
}

.btn-toast {
  width: 100%;
  text-align: center;
  padding: 0.6rem 1rem;
  font-size: 0.78rem;
}

/* ==========================================================================
   12. RESPONSIVIDADE MOBILE
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1024px) {
  .logo-img {
    height: 75px;
  }

  .nav-links {
    gap: 0.9rem;
  }

  .nav-links a {
    font-size: 0.78rem;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  .container {
    width: 92%;
    padding: 0 0.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .logo-img {
    height: 75px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--blue-header);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-buttons-container, .secondary-buttons {
    flex-direction: column !important;
    width: 100%;
    gap: 0.75rem;
  }

  .main-cta-wrapper, .secondary-buttons {
    flex: none;
  }

  .about-grid, 
  .contact-grid, 
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .dvp-toast {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-width: calc(100% - 20px);
    padding: 0.8rem 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
  }

  .dvp-steps-grid {
    grid-template-columns: 1fr;
  }

  .toast-text {
    font-size: 0.78rem;
    margin-bottom: 0.6rem;
  }
}