/* =========================================
   VARIABLES & DESIGN TOKENS
   Mobile-First & Performance Driven focus
   ========================================= */
:root {
  --color-primary: #FFCC00; /* Amarelo Zinga - Cor vibrante/urgência */
  --color-primary-dark: #E6B800;
  --color-cta: #CC0000; /* Vermelho Plantão - Alto contraste */
  --color-cta-hover: #AA0000;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20BA56;
  
  --color-bg-light: #FFFFFF;
  --color-bg-gray: #F8F9FA;
  --color-bg-dark: #111111;
  
  --color-text-dark: #333333;
  --color-text-light: #F8F9FA;
  --color-title: #000000;
  
  --spacing-sm: 12px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 64px;

  --border-radius: 8px;
}

/* =========================================
   RESET & FOUNDATION
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
  font-size: 16px; /* Base 16px to ensure no zoom on mobile */
}

body {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--color-title);
  font-weight: 800;
  line-height: 1.2;
}

p {
  margin-bottom: var(--spacing-sm);
}

.container {
  width: 100%;
  max-width: 800px; /* Slim layout helps reading retention */
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   REUSABLE COMPONENTS
   ========================================= */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-cta);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 24px;
  border-radius: var(--border-radius);
  transition: all 0.2s ease-in-out;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.cta-button:hover, .cta-button:active {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
}

.cta-button.giga {
  background-color: var(--color-whatsapp);
  font-size: 1.25rem;
  padding: 20px;
}

.cta-button.giga:hover {
  background-color: var(--color-whatsapp-hover);
}

.cta-button.outline {
  background-color: transparent;
  color: var(--color-cta);
  border: 2px solid var(--color-cta);
  box-shadow: none;
}

.cta-button.outline:active {
  background-color: var(--color-cta);
  color: #fff;
}

/* =========================================
   SECTIONS
   ========================================= */
section, footer {
  padding: var(--spacing-xl) 0;
}

section h2 {
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

/* HERO SECTION */
.cta-hero {
  white-space: nowrap;
  font-size: clamp(0.65rem, 3.8vw, 1.1rem);
  padding: 16px 5px;
  letter-spacing: -0.5px;
}

.hero {
  background-color: var(--color-primary);
  background-image: radial-gradient(circle, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: var(--spacing-xl) 0;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.hero-brand {
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.logo-img {
  max-width: 135px;
  height: auto;
  display: inline-block;
  border-radius: 50%; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* Destaque mais suave */
}

.hero-title {
  font-size: clamp(1.4rem, 6.5vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.hero h2 {
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: #222;
}

/* TRUST BADGES */
.trust-badges {
  background-color: #222;
  color: #fff;
  padding: 15px 0;
  border-bottom: 3px solid var(--color-primary);
}
.badge-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  text-align: center;
}
.badge-item {
  flex: 1 1 30%;
  font-size: 0.95rem;
  font-weight: 600;
}
.badge-item i {
  color: var(--color-primary);
  margin-right: 8px;
  font-size: 1.1rem;
}
@media screen and (max-width: 600px) {
  .badge-item {
    flex: 1 1 100%;
    text-align: left;
    padding-left: 20px;
  }
}

/* PAIN SECTION */
.pain-section p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
}

/* SERVICES SECTION */
.services-section {
  background-color: var(--color-bg-dark);
}

.services-section h2.dark-title {
  color: var(--color-primary);
}

.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.services-list .service-card {
  display: flex;
  flex-direction: column;
  background-color: #222;
  border-radius: var(--border-radius);
  overflow: hidden; /* Mantém a borda redonda e não deixa a imagem vazar */
  border: 1px solid #333;
  border-bottom: 4px solid var(--color-primary);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services-list .service-card:hover,
.services-list .service-card:active {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.service-img img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Recorta a imagem preservando a harmonia */
  display: block;
}

.service-details {
  padding: 20px;
}

.services-list h3 {
  color: var(--color-bg-light);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.services-list p {
  color: #CCC;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* SOCIAL PROOF */
.social-proof {
  background-color: var(--color-bg-gray);
  text-align: center;
}

.review-box {
  background-color: var(--color-bg-light);
  padding: var(--spacing-md);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.rating {
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.rating-number {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--color-text-dark);
}

.review-count {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: var(--spacing-md);
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  text-align: left;
}

.testimonial {
  padding-top: var(--spacing-sm);
  border-top: 1px solid #EEE;
}

.quote {
  font-style: italic;
  font-weight: 600;
}

.author {
  font-size: 0.85rem;
  color: #777;
  text-align: right;
}

/* FAQS SECTION */
.faqs-section .faq-item {
  margin-bottom: var(--spacing-md);
  background-color: var(--color-bg-light);
  padding: 16px;
  border: 1px solid #E0E0E0;
  border-radius: var(--border-radius);
}

.faqs-section h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.faqs-section p {
  margin-bottom: 0;
}

/* FOOTER */
.footer {
  background-color: var(--color-primary);
  text-align: center;
}

.footer h2 {
  margin-bottom: var(--spacing-lg);
}

.contact-info {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(0,0,0,0.1);
  text-align: left;
}

.contact-info p {
  font-size: 0.95rem;
  margin-bottom: 10px;
}

/* MEDIA QUERIES FOR DESKTOP (Scaling text appropriately without changing DOM structure heavily) */
@media screen and (min-width: 768px) {
  html {
    font-size: 18px; 
  }
  
  .services-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .services-list li {
    flex: 1 1 calc(50% - var(--spacing-md));
  }
  
  .cta-button {
    width: auto;
    padding: 18px 40px;
  }
}

/* ============================
   BOTÃO FLUTUANTE DO WHATSAPP E MOBILE CTA
============================ */
.float-wa {
  position: fixed;
  width: 65px;
  height: 65px;
  bottom: 25px;
  right: 25px;
  background-color: var(--color-whatsapp);
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 38px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-wa 2.5s infinite;
}
.float-wa:hover, .float-wa:active {
  background-color: var(--color-whatsapp-hover);
  transform: scale(1.1);
  color: #fff;
}

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

@keyframes pulse-btn-urgent {
  0% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(204, 0, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(204, 0, 0, 0); }
}

/* MOBILE VS DESKTOP HELPERS */
.desktop-only { display: block; }
.mobile-only { display: none; }

.fixed-bottom-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-bg-light);
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}

.fixed-bottom-cta .pulse-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 18px 10px;
  background-color: var(--color-cta);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  animation: pulse-btn-urgent 2s infinite;
}
.fixed-bottom-cta .pulse-btn i {
  margin-right: 10px;
  font-size: 1.4rem;
}

@media screen and (max-width: 768px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  
  /* Add padding bottom to body so footer CTA doesn't cover content */
  body {
    padding-bottom: 70px;
  }
}

/* CRO HERO TWEAKS */
.hero-subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  color: #222;
}

.hero-social-proof {
  margin-top: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #222;
  font-weight: 600;
}
.hero-social-proof .stars {
  letter-spacing: 2px;
}

/* COVERAGE SECTION (SILOS) */
.coverage-section {
  background-color: #EEE;
  text-align: center;
}
.coverage-section p {
  color: #555;
  margin-bottom: var(--spacing-md);
}
.coverage-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .coverage-links {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
.coverage-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 280px;
  padding: 12px 16px;
  background-color: #FFF;
  color: var(--color-cta);
  border: 1px solid var(--color-cta);
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.2s ease;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.coverage-link:hover {
  background-color: var(--color-cta);
  color: #FFF;
}
.coverage-link.active {
  background-color: var(--color-cta);
  color: #FFF;
}

/* =========================================
   FAQ ACCORDION (details/summary)
   ========================================= */
.faqs-section details.faq-item {
  margin-bottom: var(--spacing-md);
  background-color: var(--color-bg-light);
  padding: 0;
  border: 1px solid #E0E0E0;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.faqs-section details.faq-item summary {
  padding: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-tap-highlight-color: transparent;
}

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

.faqs-section details.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-cta);
  flex-shrink: 0;
  margin-left: 12px;
  transition: transform 0.2s ease;
}

.faqs-section details[open].faq-item summary::after {
  content: '−';
}

.faqs-section details.faq-item summary h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.faqs-section details.faq-item .faq-answer {
  padding: 0 16px 16px;
  border-top: 1px solid #E0E0E0;
}

.faqs-section details.faq-item .faq-answer p {
  margin-bottom: 0;
  padding-top: 12px;
}

/* =========================================
   FOOTER CLEANUP CLASSES (replacing inline)
   ========================================= */
.footer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin: 0 auto;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  border: none;
  font-size: 1.1rem;
  padding: 18px;
}

.maps-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.map-box {
  background: #222;
  padding: 15px;
  border-radius: var(--border-radius);
  border: 1px solid #333;
}

.map-box h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 5px;
  text-align: left;
}

.map-box h3 i {
  margin-right: 8px;
  color: var(--color-primary);
}

.map-box > p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 15px;
  text-align: left;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  width: 100%;
  margin-bottom: 15px;
}

.map-buttons {
  display: flex;
  gap: 10px;
}

.btn-maps {
  font-size: 0.9rem;
  padding: 12px 5px;
  background: transparent;
  border: 2px solid #4285F4;
  color: white;
  flex: 1;
}

.btn-waze {
  font-size: 0.9rem;
  padding: 12px 5px;
  background: transparent;
  border: 2px solid #33ccff;
  color: white;
  flex: 1;
}

.copyright-bar {
  background-color: #0b0b0b;
  color: #777;
  text-align: center;
  padding: 25px 20px;
  font-size: 0.85rem;
}

.copyright-bar p {
  margin-bottom: 5px;
}

.copyright-bar p:last-child {
  margin-bottom: 0;
}

.copyright-bar a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

/* MAP ACCORDION (mobile optimization) */
details.map-accordion {
  background: #222;
  border-radius: var(--border-radius);
  border: 1px solid #333;
  overflow: hidden;
}

details.map-accordion summary {
  padding: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-tap-highlight-color: transparent;
}

details.map-accordion summary::-webkit-details-marker {
  display: none;
}

details.map-accordion summary h3 {
  color: white;
  font-size: 1.15rem;
  margin-bottom: 0;
}

details.map-accordion summary h3 i {
  margin-right: 8px;
  color: var(--color-primary);
}

details.map-accordion summary::after {
  content: '▼';
  font-size: 0.8rem;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

details.map-accordion .map-content p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

details[open].map-accordion summary::after {
  transform: rotate(180deg);
}

details.map-accordion .map-content {
  padding: 0 15px 15px;
}
