/* =========================================
   PREMIUM DESIGN SYSTEM - LOGSEG
   Vibe: Corporate, Modern, High-Conversion
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800;900&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --brand-cyan: #0E9AB6;
  --brand-cyan-dark: #097288;
  --brand-cyan-light: #e0f5f9;
  --brand-orange: #F58220;
  
  --cta-green: #25D366;
  --cta-green-hover: #1EBE5A;
  
  --text-main: #1F2937;
  --text-muted: #6B7280;
  --bg-main: #f8fafc;
  --bg-white: #ffffff;
  --dark-bg: #0f172a;

  --font-head: 'Montserrat', sans-serif;
  --font-text: 'Poppins', sans-serif;
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: 1px solid rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px 0 rgba(14, 154, 182, 0.1);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body { font-family: var(--font-text); color: var(--text-main); background-color: var(--bg-main); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.2; margin-bottom: 1rem; color: var(--text-main); }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 2; }
.highlight-cyan { color: var(--brand-cyan); }
.highlight-orange { color: var(--brand-orange); }

.bg-light { background-color: var(--bg-main); }
.bg-white { background-color: var(--bg-white); }
.bg-dark { background-color: var(--dark-bg); color: white; }

.section-header { text-align: center; margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2rem; }
.section-header.dark h2 { color: white; }
.section-header p { font-size: 1rem; color: var(--text-muted); }
.section-header.dark p { color: #cbd5e1; }

/* =========================================
   MOBILE FIRST BUTTONS
========================================= */
.btn-primary {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 320px; margin: 0 auto;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--cta-green), var(--cta-green-hover));
  color: white; font-family: var(--font-head); font-weight: 800; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.5px;
  border-radius: 50px; border: none; cursor: pointer;
  box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.5);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  gap: 0.75rem; text-align: center;
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 25px -5px rgba(37, 211, 102, 0.6); }

/* =========================================
   MOLDURA DO LOGO (SHIELD/SELO BRANCO)
========================================= */
.badge-squircle {
    background-color: #ffffff;
    border: 1px solid var(--brand-cyan); /* Contorno fino e elegante */
    border-radius: 25px 25px 45px 45px; /* Topo com curva visível, inferior mais arredondado */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
    padding: 15px 25px; /* Espaçamento harmonioso */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* =========================================
   HEADER & NAVBAR (MOBILE FIRST)
========================================= */
.navbar { position: fixed; width: 100%; top: 0; z-index: 1000; padding: 1rem 0; background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: var(--glass-border); box-shadow: var(--glass-shadow); transition: all 0.3s ease; }

.header-shield-crest {
    position: absolute;
    top: -1rem; /* Zera com o limite superior da navbar considerando o padding, ancorando no topo do site */
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    border: 2px solid var(--brand-cyan);
    border-top: none;
    border-radius: 0 0 35px 35px; /* Brasão mais delicado e contido */
    padding: 1rem 1.5rem 1.5rem 1.5rem; /* Margens muito mais finas, sem exagero na borda */
    box-shadow: 0 10px 20px rgba(0,0,0,0.10);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    z-index: 1001; /* Overlap na navbar inferior */
}

/* =========================================
   HERO (MOBILE FIRST)
========================================= */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; padding: 11rem 0 0rem; overflow: visible !important; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('../img/hero.png'); background-size: cover; background-position: center; background-attachment: fixed; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(14, 154, 182, 0.95) 0%, rgba(15, 23, 42, 0.9) 100%); z-index: 1; }
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; padding-bottom: 2rem; position: relative; z-index: 10; }
.location-badge { display:inline-block; border:1px solid rgba(255,255,255,0.3); padding:4px 10px; border-radius:50px; font-size:0.75rem; color:#fff; margin-bottom:1rem; letter-spacing:1px; text-transform:uppercase; }
.hero h1 { font-size: 2.2rem; color: white; margin-bottom: 1.2rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 2rem; font-weight: 400; }

.social-proof-badge { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; background: rgba(255, 255, 255, 0.1); padding: 0.5rem 1rem; border-radius: 50px; font-weight: 500; color: white; border: 1px solid rgba(255,255,255,0.2); margin-top: 1.5rem; font-size: 0.85rem; max-width: 100%; }
.social-proof-badge .avatars { display: flex; margin-right: 0.2rem; }
.social-proof-badge .avatars img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid white; margin-left: -10px; object-fit: cover; }
.social-proof-badge .avatars img:first-child { margin-left: 0; }

/* Wrapper relativo para segurar o selo abaixo dele */
.hero-wrapper {
    position: relative;
    z-index: 50; /* Aumentado brutalmente para dominar as seções brancas */
    overflow: visible !important;
}

/* =========================================
   PAIN POINTS (DORES)
========================================= */
.pain-points { padding: 9rem 0 4rem; position: relative; z-index: 5; } /* Padding top gigantesco para aceitar o motor vazando sem tapar o h2 */
.pain-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.pain-card { background: white; padding: 1.5rem; border-radius: var(--radius-md); box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-top: 4px solid var(--brand-orange); }
.pain-card h3 { color: var(--brand-orange); font-size: 1.15rem; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.pain-card p { font-size: 0.95rem; color: var(--text-muted); margin: 0; }

/* =========================================
   SERVICES
========================================= */
.services-section { padding: 4rem 0; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.service-card { background: white; border-radius: var(--radius-md); padding: 2rem 1.5rem; box-shadow: 0 10px 20px rgba(0,0,0,0.03); border: 1px solid rgba(14, 154, 182, 0.05); position: relative; overflow: hidden; }
.service-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--brand-cyan); }
.icon-box { width: 60px; height: 60px; border-radius: var(--radius-sm); background: var(--brand-cyan-light); color: var(--brand-cyan); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.service-card h3 { font-size: 1.2rem; color: var(--dark-bg); }

/* =========================================
   AUTHORITY NBRS
========================================= */
.authority-section { background: linear-gradient(135deg, var(--brand-cyan-dark), var(--brand-cyan)); color: white; padding: 2.5rem 0; width: 100%; overflow: hidden; }
.auth-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; text-align: center; }
.auth-item { padding: 0 5px; }
.auth-item h3 { font-size: 1.5rem; color: white; margin-bottom: 0.2rem; }
.auth-item p { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.95); margin: 0; line-height: 1.2; }
.auth-item svg { margin-bottom: 8px !important; width: 32px; height: 32px; }

/* =========================================
   DIFFERENTIALS
========================================= */
.benefits-section { padding: 4rem 0; }
.benefit-list { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.benefit-item { display: flex; align-items: flex-start; gap: 1rem; }
.benefit-icon { flex-shrink: 0; width: 45px; height: 45px; border-radius: 50%; background: rgba(14, 154, 182, 0.1); color: var(--brand-cyan); display: flex; align-items: center; justify-content: center; }
.benefit-text h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.benefit-text p { color: var(--text-muted); font-size: 0.9rem; }

/* =========================================
   TESTIMONIALS
========================================= */
.testimonials { padding: 4rem 0; }
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.testi-card { background: white; padding: 1.5rem; border-radius: var(--radius-md); box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-bottom: 3px solid var(--brand-cyan); position: relative; }
.testi-text { font-style: italic; color: var(--text-main); font-size: 0.95rem; margin-bottom: 1.5rem; }
.testi-client { display: flex; align-items: center; gap: 1rem; }
.avatar-letter { width: 40px; height: 40px; border-radius: 50%; background: var(--dark-bg); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.client-info h4 { font-size: 0.95rem; margin: 0; }

/* =========================================
   FAQ
========================================= */
.faq-section { padding: 4rem 0; max-width: 800px; margin: 0 auto; }
.accordion { margin-bottom: 1rem; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); overflow: hidden; background: white; }
.accordion-header { padding: 1.25rem; background: white; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-family: var(--font-head); color: var(--dark-bg); transition: 0.3s; }
.accordion-header.active { background: var(--brand-cyan-light); color: var(--brand-cyan); }
.accordion-header span { font-size: 1.25rem; line-height: 1; transition: 0.3s transform; }
.accordion-header.active span { transform: rotate(45deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: white; }
.accordion-content p { padding: 1rem 1.5rem; font-size: 0.95rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* =========================================
   FOOTER PREMIUM UNIFICADO
========================================= */
.footer-premium { background: var(--dark-bg); color: white; padding: 5rem 0 3rem; text-align: center; }
.footer-cta-box { margin-bottom: 5rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.footer-cta-box h2 { color: white; font-size: 2.25rem; margin-bottom: 1.5rem; }
.footer-cta-box p { color: #cbd5e1; font-size: 1.1rem; margin-bottom: 2.5rem; line-height: 1.6; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 3rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.footer-logo { width: 80px; height: auto; opacity: 1; margin-bottom: 1rem; }
.footer-location { font-weight: 600; color: var(--brand-cyan); letter-spacing: 1px; text-transform: uppercase; font-size: 0.85rem; }
.footer-copyright { color: #64748b; font-size: 0.85rem; }

@media (min-width: 768px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; align-items: flex-end; }
    .footer-brand { text-align: left; }
    .footer-logo { margin-left: 0; }
}

.wpp-float { position: fixed; bottom: 20px; right: 20px; z-index: 1000; background: var(--cta-green); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); transition: 0.3s; }
.wpp-float svg { width: 32px; height: 32px; fill: white; }

/* =========================================
   DESKTOP UPGRADES (> 768px)
========================================= */
@media (min-width: 768px) {
  h1, h2, h3, h4 { margin-bottom: 1.5rem; }
  .section-header { margin-bottom: 4rem; }
  .section-header h2 { font-size: 2.5rem; }
  .hero h1 { font-size: 3.5rem; }
  .hero p { font-size: 1.25rem; }
  .location-badge { font-size: 0.85rem; padding: 6px 14px; }
  
  .btn-primary { max-width: none; width: auto; display: inline-flex; padding: 1.2rem 2.5rem; font-size: 1.15rem; }
  
  .pain-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .auth-grid { grid-template-columns: repeat(4, 1fr); }
  .benefit-list { grid-template-columns: repeat(3, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  
  .pain-points, .services-section, .benefits-section, .testimonials, .faq-section { padding: 6rem 0; }
  .final-cta { padding: 6rem 0 8rem; }
  
  .auth-item h3 { font-size: 3rem; }
  .auth-item p { font-size: 1rem; }
  
  .wpp-float { bottom: 30px; right: 30px; width: 65px; height: 65px; }
  .wpp-float svg { width: 35px; height: 35px; }
  .wpp-float:hover { transform: scale(1.15) rotate(-5deg); }
}

@media (min-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(4, 1fr); }
}
