/* ==========================================================================
   Karidson Bessa — estilo inspirado no modelo avaliador.com
   Paleta azul (#0098DA) + tons escuros. Folha compartilhada por todas as páginas.
   ========================================================================== */

:root {
    --blue: #0098da;
    --blue-dark: #0079ad;
    --blue-darker: #005f88;
    --ink-900: #0d1b26;
    --ink-800: #122836;
    --ink-700: #1b3848;
    --ink-600: #2a4a5c;
    --gray-700: #344854;
    --gray-500: #5d6b75;
    --gray-400: #8a97a0;
    --gray-200: #e2e8ec;
    --gray-100: #f1f5f7;
    --bg: #ffffff;
    --bg-soft: #f5f9fb;
    --white: #ffffff;
    --whats: #25d366;
    --whats-dark: #1da851;
    --radius: 10px;
    --radius-lg: 18px;
    --shadow-sm: 0 2px 10px rgba(13, 27, 38, 0.06);
    --shadow-md: 0 10px 30px rgba(13, 27, 38, 0.10);
    --shadow-lg: 0 24px 60px rgba(13, 27, 38, 0.16);
    --maxw: 1180px;
    --t-fast: 0.18s ease;
    --t: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter Tight', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ink-800);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Roboto Slab', Georgia, serif;
    line-height: 1.15;
    color: var(--ink-900);
    font-weight: 700;
}

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

.accent { color: var(--blue); }

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

.section { padding: 84px 0; }
.section--soft { background: var(--bg-soft); }
.section--ink { background: var(--ink-900); color: rgba(255,255,255,0.85); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }

.eyebrow {
    display: inline-block;
    font-family: 'Inter Tight', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 14px;
}

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section-head p { font-size: 17px; color: var(--gray-500); }
.section--ink .section-head p { color: rgba(255,255,255,0.7); }

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    font-family: 'Inter Tight', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.btn svg { width: 17px; height: 17px; }
.btn-primary {
    background: var(--blue);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(0, 152, 218, 0.35);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,152,218,0.45); }
.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.45);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-dark { background: var(--ink-900); color: var(--white); }
.btn-dark:hover { background: var(--ink-700); transform: translateY(-2px); }
.btn-whats { background: var(--whats); color: var(--white); box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
.btn-whats:hover { background: var(--whats-dark); transform: translateY(-2px); }

/* === HEADER === */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    transition: transform var(--t), background var(--t), box-shadow var(--t), padding var(--t);
    background: var(--ink-900);
}
.site-header.hidden { transform: translateY(-100%); }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
    width: 44px; height: 44px;
    border-radius: 8px;
    overflow: hidden;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: 'Roboto Slab', serif; font-size: 19px; font-weight: 700; color: var(--white); }
.brand-sub { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
    font-size: 14.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.82);
    text-decoration: none;
    transition: color var(--t-fast);
}
.nav a:hover { color: var(--blue); }
.header-cta { display: inline-flex; }
.header-cta .btn { padding: 11px 22px; font-size: 12.5px; }

.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: var(--t-fast); }

.mobile-nav {
    position: fixed; inset: 0;
    background: var(--ink-900);
    z-index: 1100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 26px;
    display: none;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--white); text-decoration: none; font-size: 20px; font-weight: 600; }
.mobile-nav a:hover { color: var(--blue); }
.mobile-close { position: absolute; top: 22px; right: 26px; background: none; border: none; color: var(--white); font-size: 38px; cursor: pointer; line-height: 1; }

/* === HERO === */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    padding: 104px 0 80px;
    background:
        linear-gradient(115deg, rgba(13,27,38,0.94) 0%, rgba(18,40,54,0.86) 55%, rgba(0,95,136,0.78) 100%),
        var(--ink-900);
    background-size: cover;
    background-position: center;
    color: var(--white);
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    right: -160px; top: 50%;
    transform: translateY(-50%);
    width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(0,152,218,0.35) 0%, transparent 65%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.hero--split .hero-inner {
    max-width: var(--maxw);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 50px;
}
.hero--split .hero-copy { max-width: 640px; }
.hero-photo--mobile { display: none; }
.hero-photo {
    position: relative;
    justify-self: end;
}
.hero-photo img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}
.hero-photo::before {
    content: '';
    position: absolute;
    inset: -16px -16px 16px 16px;
    border: 2px solid rgba(0,152,218,0.55);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.hero-photo .photo-cred {
    position: absolute;
    left: -18px; bottom: 0;
    background: var(--white);
    color: var(--ink-900);
    border-radius: var(--radius);
    border-left: 3px solid var(--blue);
    box-shadow: var(--shadow-md);
    padding: 12px 16px;
    font-size: 12.5px;
    line-height: 1.35;
}
.hero-photo .photo-cred strong { display: block; font-family: 'Roboto Slab', serif; font-size: 14px; }
.hero-photo .photo-cred span { color: var(--gray-500); }
.hero-badge {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50px;
    font-size: 13px; font-weight: 600;
    line-height: 1.2;
    color: var(--blue);
    margin-bottom: 26px;
    white-space: nowrap;
}
.hero-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.hero h1 { color: var(--white); font-size: clamp(34px, 5.2vw, 60px); margin-bottom: 22px; overflow-wrap: break-word; word-break: break-word; hyphens: auto; }
.hero p.lead { font-size: clamp(16px, 2vw, 20px); color: rgba(255,255,255,0.82); max-width: 620px; margin-bottom: 36px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,0.62); }
.hero-stats {
    display: flex; flex-wrap: wrap; gap: 40px;
    margin-top: 56px; padding-top: 34px;
    border-top: 1px solid rgba(255,255,255,0.16);
}
.hero-stat .num { font-family: 'Roboto Slab', serif; font-size: 34px; font-weight: 700; color: var(--blue); }
.hero-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.62); }

/* === MARQUEE === */
.marquee {
    background: var(--blue);
    color: var(--white);
    overflow: hidden;
    padding: 16px 0;
    white-space: nowrap;
}
.marquee__track {
    display: inline-block;
    animation: marquee 26s linear infinite;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
}
.marquee__track span { padding: 0 26px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === SERVICE / ICON CARDS === */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    background: rgba(0,152,218,0.1);
    color: var(--blue);
    display: grid; place-items: center;
    margin-bottom: 20px;
}
.card-icon svg { width: 30px; height: 30px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { font-size: 14.5px; color: var(--gray-500); margin-bottom: 16px; }
.card .card-link {
    margin-top: auto;
    display: inline-flex; align-items: center; gap: 7px;
    font-weight: 700; font-size: 14px; color: var(--blue);
    text-decoration: none;
}
.card .card-link svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
.card:hover .card-link svg { transform: translateX(4px); }

/* card with image */
.card-img { padding: 0; overflow: hidden; }
.card-img > img { height: 200px; width: 100%; object-fit: cover; transition: transform var(--t); }
.card-img:hover > img { transform: scale(1.05); }
.card-img .card-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.card-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.4px; color: var(--blue); background: rgba(0,152,218,0.1); padding: 4px 11px; border-radius: 50px; }

/* === SPLIT (sobre / contato rápido) === */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 18px; }
.split p { color: var(--gray-500); margin-bottom: 18px; font-size: 16px; }
.section--ink .split p { color: rgba(255,255,255,0.72); }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }

.feature-list { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 22px 0 30px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.feature-list svg { width: 22px; height: 22px; color: var(--blue); flex-shrink: 0; }

/* === STEPS === */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: transform var(--t), box-shadow var(--t);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.step .num {
    width: 54px; height: 54px; margin: 0 auto 18px;
    background: var(--blue); color: var(--white);
    border-radius: 50%;
    display: grid; place-items: center;
    font-family: 'Roboto Slab', serif; font-size: 22px; font-weight: 700;
}
.step h4 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray-500); }

/* === FORM === */
.form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 38px;
    box-shadow: var(--shadow-lg);
    color: var(--ink-800);
}
.form-card h3 { font-size: 23px; margin-bottom: 6px; }
.form-card > p { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink-800); }
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    color: var(--ink-800);
    background: var(--white);
    transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(0,152,218,0.14);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-card .btn-submit { width: 100%; border-radius: 50px; }
.form-note { text-align: center; font-size: 12.5px; color: var(--gray-400); margin-top: 14px; }
.form-note a { color: var(--blue); text-decoration: none; }

/* === FAQ === */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 22px 4px;
    font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 17px;
    color: var(--ink-900); text-align: left;
}
.faq-q .ic { flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; color: var(--blue); transition: transform var(--t-fast); font-size: 24px; line-height: 1; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--t); }
.faq-a p { padding: 0 4px 22px; color: var(--gray-500); font-size: 15px; }

/* === CTA BAND === */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 620px; margin: 0 auto 32px; }
.cta-band .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
.footer { background: var(--ink-900); color: rgba(255,255,255,0.7); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer .brand-name { color: var(--white); }
.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 14px; transition: color var(--t-fast); }
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 22px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    font-size: 13px;
}
.footer-creds { display: flex; gap: 18px; flex-wrap: wrap; color: rgba(255,255,255,0.55); }

/* === FLOATING WHATSAPP + MOBILE STICKY === */
.float-whats {
    position: fixed; bottom: 24px; right: 24px; z-index: 900;
    width: 58px; height: 58px; border-radius: 50%;
    background: var(--whats); color: var(--white);
    display: grid; place-items: center;
    box-shadow: 0 10px 30px rgba(37,211,102,0.45);
    transition: transform var(--t-fast);
}
.float-whats:hover { transform: scale(1.08); }
.float-whats svg { width: 30px; height: 30px; }

/* === COOKIE BAR === */
.cookie-bar {
    position: fixed; bottom: 18px; left: 18px; right: 18px; z-index: 950;
    max-width: 540px; margin: 0 auto;
    background: var(--ink-900); color: rgba(255,255,255,0.85);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 18px 20px;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-bar p { font-size: 13px; flex: 1; min-width: 200px; }
.cookie-bar a { color: var(--blue); }
.cookie-bar .btn { padding: 10px 22px; font-size: 12px; }
.cookie-bar.hide { display: none; }

/* === GOOGLE REVIEW BADGE === */
.google-badge {
    max-width: 620px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 28px 30px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}
.section--ink .google-badge { background: var(--white); }
.google-badge .g-logo { font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 26px; line-height: 1; }
.google-badge .g-logo .b { color: #4285F4; } .google-badge .g-logo .r { color: #EA4335; }
.google-badge .g-logo .y { color: #FBBC05; } .google-badge .g-logo .g { color: #34A853; }
.google-badge .g-info { text-align: left; }
.google-badge .g-stars { color: #FBBC05; font-size: 22px; letter-spacing: 2px; line-height: 1; }
.google-badge .g-text { font-size: 14px; color: var(--gray-500); margin-top: 4px; }
.google-badge .g-text strong { color: var(--ink-900); }
.google-badge .btn { white-space: nowrap; }
@media (max-width: 560px) { .google-badge .g-info { text-align: center; } }

/* === REVEAL ANIMATION === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: none; }

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .split { grid-template-columns: 1fr; gap: 36px; }
    .hero--split .hero-inner { grid-template-columns: 1fr; }
    .hero-photo { display: none; }
    .hero-photo--mobile {
        display: block;
        position: relative;
        margin: 6px auto 26px;
        text-align: center;
    }
    .hero-photo--mobile img {
        width: 80%;
        max-width: 265px;
        margin: 0 auto;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-lg);
        display: block;
    }
    .hero-photo--mobile .photo-cred {
        position: static;
        display: inline-block;
        margin: -22px auto 0;
        background: var(--white);
        color: var(--ink-900);
        border-radius: var(--radius);
        border-left: 3px solid var(--blue);
        box-shadow: var(--shadow-md);
        padding: 10px 16px;
        font-size: 12.5px;
        line-height: 1.35;
        position: relative;
        z-index: 2;
    }
    .hero-photo--mobile .photo-cred strong { display: block; font-family: 'Roboto Slab', serif; font-size: 14px; }
    .hero-photo--mobile .photo-cred span { color: var(--gray-500); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav, .header-cta { display: none; }
    .burger { display: block; }
    .container { padding: 0 20px; }
    .section { padding: 60px 0; }
    .header-inner { padding: 12px 8px; }
    .hero { min-height: auto; padding: 80px 0 56px; }
    .hero-badge { margin-bottom: 18px; }
    .hero h1 { font-size: clamp(28px, 8vw, 38px); }
    .hero p.lead { font-size: 16px; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .float-whats { bottom: 78px; }
    body { padding-bottom: 0; }
}
