
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

/* O espaçamento do cabeçalho é aplicado uma única vez pelo html. */
#diagnostico,
#form,
#resultados,
#faq,
#metodo,
#google-ads {
    scroll-margin-top: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000000;
    color: #FFFFFF;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
header {
    background: rgba(0, 0, 0, 0.95);
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 71, 171, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    color: #1674FF;
    letter-spacing: -1px;
}

.logo-subtitle {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -5px;
}

.header-cta {
    background: linear-gradient(135deg, #0047AB 0%, #0066FF 100%);
    color: #FFFFFF;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.4);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.6);
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 100%);
    padding: 120px 0 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 71, 171, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-tag {
    display: inline-block;
    background: rgba(0, 71, 171, 0.2);
    border: 1px solid rgba(0, 71, 171, 0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #0047AB;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.hero h1 {
    font-size: clamp(46px, 4.4vw, 56px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #FFFFFF 0%, #0047AB 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: #BBBBBB;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.btn-primary {
    background: linear-gradient(135deg, #0047AB 0%, #0066FF 100%);
    color: #FFFFFF;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 71, 171, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 71, 171, 0.6);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #58a0ff;
    outline-offset: 4px;
}

/* FOOTER */
footer {
    background: #000000;
    padding: 70px 0 28px;
    border-top: 1px solid #1a1a1a;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.9fr;
    gap: 70px;
    text-align: left;
}

.footer-logo {
    font-size: 32px;
    font-weight: 900;
    color: #1674FF;
    margin-bottom: 14px;
}

.footer-tagline {
    max-width: 360px;
    color: #777E8A;
    font-size: 14px;
    line-height: 1.7;
}

.footer-title {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

.footer-links a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #66ADFF;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact a,
.footer-contact span {
    color: #888;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
}

.footer-contact a:hover {
    color: #25D366;
}

.footer-contact a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #171717;
}

.footer-copy {
    font-size: 13px;
    color: #9CA3AF;
}

.footer-copy p {
    margin: 0;
}

.footer-legal {
    margin-top: 6px !important;
    line-height: 1.6;
}

.footer-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #A3A3A3;
    font-size: 12px;
}

.footer-availability::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25D366;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 78px;
    height: 78px;
    color: #FFFFFF;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    isolation: isolate;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.04);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 11px;
    background: #25D366;
    border-radius: 50%;
    z-index: -1;
}

.whatsapp-float::after {
    content: '';
    position: absolute;
    inset: 11px;
    background: rgba(37, 211, 102, 0.55);
    border-radius: 50%;
    z-index: -2;
    animation: whatsapp-pulse 2s cubic-bezier(0.2, 0.65, 0.35, 1) infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.65;
    }

    70%,
    100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

.whatsapp-float svg {
    width: 31px;
    height: 31px;
    position: relative;
    z-index: 1;
}


/* Página local: componentes e cores derivados da página principal. */
body { overflow-x: visible; }
.brand-link { text-decoration: none; }
.skip-link { position: fixed; left: 20px; top: -100px; z-index: 2000; background: #fff; color: #000; padding: 12px; }
.skip-link:focus { top: 12px; }
.hero { min-height: auto; padding: 160px 0 68px; }
.hero-content { width: 100%; }
.hero h1 { max-width: 900px; }
.hero-tag { color: #66adff; }
.hero-subtitle { max-width: 880px; }
.hero-ctas { align-items: center; margin-bottom: 24px; }
.text-link, main a:not(.btn-primary) { color: #8fc2ff; text-underline-offset: 4px; }
.eyebrow { color: #66adff; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 16px; }
.local-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 24px; border-top: 1px solid #1a1a1a; }
.local-nav a { font-size: 14px; padding: 10px 0; }
.local-section { padding: 76px 0; border-top: 1px solid #1a1a1a; }
.local-section.alt { background: #070707; }
.local-section h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.2; max-width: 850px; margin-bottom: 22px; }
.local-section p, .local-section li { color: #bbb; font-size: 16px; line-height: 1.8; }
.local-section p + p { margin-top: 18px; }
.intro { max-width: 860px; }
.local-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 32px; }
.local-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.local-card { padding: 28px; border: 1px solid #222; border-radius: 18px; background: linear-gradient(145deg, #0d111a 0%, #080808 75%); min-width: 0; }
.local-card h3 { font-size: 20px; line-height: 1.4; margin-bottom: 14px; }
.local-card p { font-size: 15px; }
.local-card .step { display: block; color: #66adff; font-size: 13px; font-weight: 800; margin-bottom: 18px; }
.local-list { padding-left: 22px; margin: 20px 0; }
.local-list li + li { margin-top: 10px; }
.local-note { margin-top: 24px; padding: 20px 24px; border-left: 3px solid #1674ff; background: #0d111a; border-radius: 0 12px 12px 0; }
.local-note strong { color: #fff; }
.local-section .section-link { display: inline-block; margin-top: 24px; }
.contact-box { border: 1px solid #163660; border-radius: 24px; background: radial-gradient(ellipse at top right, #071a36, #080808 70%); padding: 48px; }
.contact-box .btn-primary { margin-top: 28px; }
.local-faq { max-width: 920px; margin-top: 32px; }
.local-faq details { border: 1px solid #262626; border-radius: 14px; margin-bottom: 14px; background: #0a0a0a; }
.local-faq summary { padding: 22px 24px; cursor: pointer; font-size: 17px; font-weight: 600; line-height: 1.5; }
.local-faq summary::marker { color: #66adff; }
.local-faq details[open] summary { color: #8fc2ff; }
.local-faq details p { padding: 0 24px 24px; }
summary:focus-visible { outline: 3px solid #58a0ff; outline-offset: 3px; border-radius: 14px; }
.footer-tagline, .footer-links a, .footer-contact a, .footer-contact span { color: #aaa; }
.footer-bottom { padding-bottom: 60px; }
@media (max-width: 900px) { .local-grid { grid-template-columns: 1fr; } .footer-content { gap: 32px; } }
@media (max-width: 768px) {
  html { scroll-padding-top: 90px; }
  .container { padding: 0 18px; }
  header { padding: 12px 0; }
  .logo { font-size: 26px; line-height: 1; }
  .logo-subtitle { font-size: 8px; letter-spacing: 1px; margin-top: 5px; }
  .header-cta { font-size: 11px; padding: 12px 14px; }
  .hero { padding: 118px 0 44px; }
  .hero h1 { font-size: clamp(34px, 8vw, 44px); }
  .hero-tag { font-size: 11px; padding: 8px 14px; margin-bottom: 24px; }
  .hero-subtitle { font-size: 17px; margin-bottom: 26px; }
  .hero-ctas { align-items: stretch; flex-direction: column; gap: 18px; }
  .btn-primary { width: 100%; font-size: 14px; padding: 16px 18px; text-align: center; line-height: 1.5; }
  .hero-ctas .text-link { text-align: center; padding: 8px; }
  .local-section { padding: 48px 0; }
  .local-grid.two { grid-template-columns: 1fr; }
  .local-card { padding: 24px; }
  .contact-box { padding: 28px 22px; }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .whatsapp-float { right: 10px; bottom: 16px; width: 66px; height: 66px; }
}
@media (max-width: 360px) {
  .whatsapp-float { display: none; }
  .logo-subtitle { max-width: 135px; font-size: 7px; }
  .header-cta { font-size: 10px; padding: 11px; }
  .local-nav { gap: 6px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Navegação estrutural e tabela de cenários das páginas locais. */
.local-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: #bbb; font-size: 14px; }
.local-anchor { display: block; scroll-margin-top: 120px; }
.local-table-wrap { max-width: 100%; overflow-x: auto; margin-top: 32px; border: 1px solid #262626; border-radius: 14px; }
.local-table-wrap:focus-visible { outline: 3px solid #58a0ff; outline-offset: 3px; }
.local-table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.local-table caption { padding: 18px; text-align: left; color: #bbb; font-size: 14px; }
.local-table th, .local-table td { padding: 20px; border-top: 1px solid #262626; vertical-align: top; font-size: 15px; line-height: 1.7; }
.local-table thead th { background: #0d111a; color: #fff; }
.local-table tbody th { width: 25%; color: #fff; font-weight: 600; }
.local-table td { color: #bbb; }
