/* =========================================================
   CASEIRO WEB — main.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@500;700&family=Source+Sans+3:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap');

/* ===== 1. VARIÁVEIS ===== */
:root {
    --navy: #1F2F58;
    --navy-soft: #3A4B7A;
    --green: #298C3C;
    --green-dim: #226F31;
    --flame-1: #EE2B21;
    --flame-2: #F3602D;
    --paper: #F7F3EA;
    --paper-dim: #EDE7D8;
    --ink-soft: #52606D;
    --radius: 4px;
    --max-width: 1080px;
}

/* ===== 2. RESET E BASE ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--paper);
    color: var(--navy);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Roboto Slab', serif;
    line-height: 1.2;
    color: var(--navy);
}

a { color: inherit; text-decoration: none; }

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
}

/* ===== 3. HEADER / NAV ===== */
.site-header {
    background: var(--paper);
    padding: 1.1rem 1.5rem;
    border-bottom: 1px solid var(--paper-dim);
    position: relative;
    z-index: 100;
}

.site-header nav {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
}

.site-header .logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 34px;
    width: auto;
    display: block;
}

.site-header ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-size: 0.95rem;
}

.site-header ul a {
    color: var(--navy);
    transition: color 0.15s;
}

.site-header ul a:hover { color: var(--green); }

.btn-cta {
    background: linear-gradient(135deg, var(--flame-1), var(--flame-2));
    color: var(--paper) !important;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius);
    font-weight: 600;
}

.btn-cta:hover { filter: brightness(1.08); }

/* Botão hambúrguer (escondido no desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle-bar {
    width: 100%;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-active .menu-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active .menu-toggle-bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .menu-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== 4. HERO ===== */
.hero {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 1.5rem 4rem;
    position: relative;
    text-align: left;
    background: radial-gradient(ellipse 500px 300px at 15% 20%, rgba(238, 43, 33, 0.10), transparent 70%);
}

.hero h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    max-width: 20ch;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 46ch;
    margin-bottom: 2rem;
}

.btn-cta-large {
    display: inline-block;
    background: linear-gradient(135deg, var(--flame-1), var(--flame-2));
    color: var(--paper);
    padding: 0.9rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.15s, filter 0.15s;
}

.btn-cta-large:hover { filter: brightness(1.08); transform: translateY(-2px); }

/* ===== 5. BENEFÍCIOS ===== */
.beneficios {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 5rem;
}

.beneficios h2 { font-size: 1.7rem; margin-bottom: 1.75rem; }

.beneficios ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.beneficios li {
    background: var(--paper);
    border: 1px solid var(--paper-dim);
    border-left: 3px solid var(--green);
    border-radius: var(--radius);
    padding: 1.25rem 1.4rem;
    font-size: 0.98rem;
    color: var(--ink-soft);
}

/* ===== 6. FORMULÁRIO DE LEAD ===== */
.lead-form-box {
    max-width: 560px;
    margin: 3rem auto 5rem;
    padding: 2rem;
    background: var(--navy);
    border-radius: var(--radius);
    color: var(--paper);
}

.lead-form-box h3 { color: var(--paper); font-size: 1.4rem; margin-bottom: 0.5rem; }
.lead-form-box > p { color: var(--paper-dim); margin-bottom: 1.5rem; font-size: 0.95rem; }

.lead-form-box form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.lead-form-box input,
.lead-form-box textarea {
    font-family: 'Source Sans 3', sans-serif;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--navy-soft);
    border-radius: var(--radius);
    background: #29396A;
    color: var(--paper);
    font-size: 0.95rem;
}

.lead-form-box input::placeholder,
.lead-form-box textarea::placeholder { color: #93A0C2; }

.lead-form-box input:focus,
.lead-form-box textarea:focus {
    outline: 2px solid var(--flame-2);
    outline-offset: 1px;
}

.lead-form-box textarea { min-height: 90px; resize: vertical; }

.lead-form-box button {
    background: linear-gradient(135deg, var(--flame-1), var(--flame-2));
    color: var(--paper);
    border: none;
    padding: 0.85rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: filter 0.15s;
}

.lead-form-box button:hover { filter: brightness(1.08); }

.lead-success { color: var(--green); font-family: 'IBM Plex Mono', monospace; font-size: 0.95rem; }
.lead-error { color: var(--flame-2); font-size: 0.9rem; margin-bottom: 0.5rem; }

.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
}

/* ===== 7. FOOTER ===== */
.site-footer {
    background: var(--navy);
    color: var(--paper-dim);
    padding: 3rem 1.5rem 1.5rem;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(247, 243, 234, 0.12);
}

.footer-logo {
    height: 28px;
    width: auto;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--paper-dim);
    max-width: 32ch;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-links a {
    color: var(--paper-dim);
    font-size: 0.9rem;
}

.footer-links a:hover { color: var(--flame-2); }

.footer-legal {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.78rem;
    color: #93A0C2;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.82rem;
    color: #93A0C2;
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        text-align: left;
    }
}
.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.footer-links a { color: var(--paper-dim); }
.footer-links a:hover { color: var(--flame-2); }

/* ===== 8. RESPONSIVO (MOBILE) ===== */
@media (max-width: 640px) {
    .menu-toggle { display: flex; }

    .logo-img { height: 28px; }

    #siteMenu {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: var(--paper);
        border: 1px solid var(--paper-dim);
        border-radius: var(--radius);
        padding: 0.5rem;
        box-shadow: 0 8px 20px rgba(31, 47, 88, 0.12);
        z-index: 100;
    }

    #siteMenu.is-open { display: flex; }

    #siteMenu li { width: 100%; }

    #siteMenu li a {
        display: block;
        padding: 0.85rem 0.75rem;
        border-radius: var(--radius);
    }

    #siteMenu li a:not(.btn-cta):hover { background: var(--paper-dim); }

    #siteMenu .btn-cta { display: block; text-align: center; margin-top: 0.4rem; }

    .hero { padding: 2.5rem 1.25rem 2rem; }
    .hero h1 { font-size: clamp(1.6rem, 7vw, 2.1rem); max-width: none; }
    .hero p { max-width: none; font-size: 1.05rem; }
    .btn-cta-large { width: 100%; text-align: center; }

    .beneficios { padding: 2rem 1.25rem 3rem; }
    .lead-form-box { margin: 2rem 1.25rem 3rem; padding: 1.5rem; }
    .footer-links { flex-direction: column; gap: 0.75rem; }
}

/* ===== 9. ACESSIBILIDADE ===== */
@media (prefers-reduced-motion: reduce) {
    .menu-toggle-bar { transition: none; }
}

/* ===== 10. PÁGINAS INSTITUCIONAIS ===== */
.pagina {
    max-width: 720px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 5rem;
}

.pagina h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.pagina .atualizado {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-bottom: 2rem;
}

.pagina h2 {
    font-size: 1.3rem;
    margin: 2rem 0 0.75rem;
}

.pagina p {
    color: var(--ink-soft);
    margin-bottom: 1rem;
}

.pagina ul {
    color: var(--ink-soft);
    margin: 0 0 1rem 1.25rem;
}

.pagina li { margin-bottom: 0.4rem; }

.pagina a.link-inline {
    color: var(--green);
    text-decoration: underline;
}

/* ===== 10a2. SOBRE =====
   Reaproveita o hero navy da home (.hero--home) como fundo — aqui só
   entram os ajustes de conteúdo específicos da página. */
.hero--sobre .hero--home-copy { max-width: 38rem; }

/* header de section sem cards-grid abaixo (usado sozinho) não precisa
   da margem inferior reservada pro grid */
.secao-cards-header.sobre-como-trabalhamos { margin-bottom: 0; }

/* ===== 10b. CONTATO =====
   Reaproveita o hero navy da home (.hero--home) como fundo — aqui só
   entram os ajustes de conteúdo específicos da página. */
.contato-hero .hero--home-copy { max-width: 36rem; }

.contato-hero-channels {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    flex-wrap: wrap;
}

.contato-hero-channels .cta-final-whatsapp { text-align: left; }

.contato-hero-email {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.92rem;
    color: rgba(255,255,255,0.82);
}

.contato-hero-email:hover { color: #fff; }

.contato-form-section {
    background: var(--paper);
    padding: 4.5rem 1.5rem 5rem;
}

.contato-form-section .lead-form-box { margin: 0 auto; }

@media (max-width: 640px) {
    .contato-hero-channels { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .contato-form-section { padding: 3rem 1.25rem 3.5rem; }
}

/* ===== 10c. SERVIÇOS =====
   Reaproveita o hero navy da home (.hero--home) como fundo — aqui só
   entram os ajustes de conteúdo específicos da página. */
.hero--servicos .hero--home-copy { max-width: 38rem; }

/* ===== 11. INSIGHTS — LISTAGEM =====
   Reaproveita o hero navy da home (.hero--home) como fundo — aqui só
   entram os ajustes de conteúdo específicos da página. */
.hero--insights .hero--home-copy { max-width: 38rem; }

.hero--insights-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.82rem;
    color: var(--green);
}

/* ===== 11b. INSIGHTS — ARTIGO (HERO) =====
   Reaproveita o hero navy da home (.hero--home) como fundo — o H1 aqui
   é o título real do post, vindo do banco (Article::findBySlug). */
.hero--artigo .hero--home-copy { max-width: 42rem; }

.hero--artigo .hero--artigo-meta {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-top: -0.5rem;
    margin-bottom: 0;
}

.insights-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.artigo-card {
    background: #fff;
    border: 1px solid var(--paper-dim);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s, box-shadow 0.15s;
}

.artigo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(31, 47, 88, 0.10);
}

.artigo-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--paper-dim);
}

.artigo-card-body { padding: 1.1rem 1.25rem 1.4rem; flex: 1; display: flex; flex-direction: column; }

.artigo-card .categoria {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green);
    margin-bottom: 0.5rem;
}

.artigo-card h2 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.artigo-card p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    flex: 1;
}

.artigo-card .data {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--ink-soft);
    margin-top: 0.85rem;
}

.paginacao {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem 4rem;
}

.paginacao a {
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--paper-dim);
    border-radius: var(--radius);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.85rem;
    color: var(--navy);
}

.paginacao a.ativo {
    background: var(--navy);
    color: var(--paper);
    border-color: var(--navy);
}

.sem-artigos {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem;
    color: var(--ink-soft);
}

/* ===== 12. INSIGHTS — ARTIGO =====
   Categoria (eyebrow), H1 e data agora moram no hero (.hero--artigo,
   ver seção 11b) — aqui fica só o corpo do post. */
.artigo {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.artigo .featured-image {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 2rem;
}

.artigo-conteudo {
    font-size: 1.05rem;
    color: var(--navy);
}

.artigo-conteudo p { margin-bottom: 1.25rem; color: var(--ink-soft); }
.artigo-conteudo h2 { font-size: 1.4rem; margin: 2rem 0 1rem; }
.artigo-conteudo h3 { font-size: 1.15rem; margin: 1.5rem 0 0.75rem; }
.artigo-conteudo ul, .artigo-conteudo ol { margin: 0 0 1.25rem 1.25rem; color: var(--ink-soft); }
.artigo-conteudo li { margin-bottom: 0.4rem; }
.artigo-conteudo a { color: var(--green); text-decoration: underline; }
.artigo-conteudo img { max-width: 100%; border-radius: var(--radius); margin: 1rem 0; }

@media (max-width: 640px) {
    .insights-grid { padding: 1.5rem 1.25rem 3rem; grid-template-columns: 1fr; }
    .artigo { padding: 2rem 1.25rem 1.5rem; }
}
	
	
/* ===== 13. LANDING PAGES DE CAPTAÇÃO ===== */
.processo {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem 4rem;
}

.processo h2 { font-size: 1.7rem; margin-bottom: 2rem; }

.processo-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    counter-reset: step;
}

.processo-step {
    position: relative;
    padding: 1.5rem 1.25rem 1.25rem;
    background: #fff;
    border: 1px solid var(--paper-dim);
    border-radius: var(--radius);
}

.processo-step::before {
    counter-increment: step;
    content: counter(step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--flame-1), var(--flame-2));
    color: var(--paper);
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
}

.processo-step h3 { font-size: 1.05rem; margin-bottom: 0.4rem; color: var(--navy); }
.processo-step p { font-size: 0.9rem; color: var(--ink-soft); }

.publico {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem 4rem;
}

.publico h2 { font-size: 1.7rem; margin-bottom: 1.5rem; }

.publico-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.publico-tags span {
    background: #fff;
    border: 1px solid var(--paper-dim);
    border-left: 3px solid var(--green);
    border-radius: var(--radius);
    padding: 0.6rem 1.1rem;
    font-size: 0.92rem;
    color: var(--navy);
}

.faq {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.5rem 4rem;
}

.faq h2 { font-size: 1.7rem; margin-bottom: 1.5rem; }

.faq-item {
    border-bottom: 1px solid var(--paper-dim);
    padding: 1.1rem 0;
}

.faq-item h3 { font-size: 1.02rem; margin-bottom: 0.5rem; color: var(--navy); }
.faq-item p { font-size: 0.92rem; color: var(--ink-soft); }

@media (max-width: 640px) {
    .processo, .publico, .faq { padding: 1rem 1.25rem 3rem; }
}

/* ===== 14. CTAs DE ARTIGO ===== */
.cta-box {
    max-width: 720px;
    margin: 2.5rem auto 0;
    padding: 1.75rem 2rem;
    border-radius: var(--radius);
}

.cta-personalizado {
    background: #fff;
    border: 1px solid var(--paper-dim);
    border-left: 4px solid var(--flame-2);
}

.cta-padrao {
    background: var(--navy);
    color: var(--paper);
    margin-top: 1.5rem;
}

.cta-box h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.cta-personalizado h3 { color: var(--navy); }
.cta-padrao h3 { color: var(--paper); }

.cta-box p {
    font-size: 0.96rem;
    margin-bottom: 1.1rem;
}

.cta-personalizado p { color: var(--ink-soft); }
.cta-padrao p { color: var(--paper-dim); }

.cta-box .btn-cta-large {
    padding: 0.7rem 1.4rem;
    font-size: 0.95rem;
}

.cta-padrao .btn-cta-large {
    background: var(--paper);
    color: var(--navy);
}

.cta-padrao .btn-cta-large:hover { background: var(--paper-dim); }
/* =========================================================
   15. HOME — SEÇÕES NOVAS (hero navy, dor, diferenciais,
   serviços, depoimentos, clientes, faq, cta final)
   ========================================================= */

/* --- Header transparente sobre o hero, sólido ao rolar --- */
.site-header--overlay {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: transparent;
    border-bottom-color: transparent;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.site-header--overlay.is-scrolled {
    background: var(--paper);
    border-bottom-color: var(--paper-dim);
    box-shadow: 0 4px 20px -8px rgba(31, 47, 88, 0.18);
}

.site-header--overlay .logo-img--light { display: block; }
.site-header--overlay .logo-img--dark { display: none; }
.site-header--overlay.is-scrolled .logo-img--light { display: none; }
.site-header--overlay.is-scrolled .logo-img--dark { display: block; }

.site-header--overlay ul a:not(.btn-cta) { color: var(--paper); }
.site-header--overlay.is-scrolled ul a:not(.btn-cta) { color: var(--navy); }
.site-header--overlay .menu-toggle-bar { background: var(--paper); }
.site-header--overlay.is-scrolled .menu-toggle-bar { background: var(--navy); }

/* corpo precisa de espaço no topo pra compensar o header fixo */
body.tem-hero-overlay { padding-top: 0; }
body.tem-hero-overlay .hero--home { padding-top: calc(5rem + 68px); }

/* --- Hero navy (home) --- */
.hero--home {
    max-width: none;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 3.5rem 1.5rem 5rem;
}

.hero--home::before {
    content: '';
    position: absolute;
    top: -220px; right: -160px;
    width: 720px; height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243,96,45,0.32) 0%, rgba(238,43,33,0.10) 45%, rgba(31,47,88,0) 70%);
    pointer-events: none;
}

/* textura de fundo: rede de nós conectados + anéis grandes sobrepostos
   nas cores da marca (laranja/verde/creme) — visual mais de agência/
   marketing, menos "gráfico de linha" */
.hero--home::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.22' stroke-width='1.5'%3E%3Cpath d='M0 80H60M100 80H160'/%3E%3Cpath d='M80 0V60M80 100V160'/%3E%3Cpath d='M60 80V60H80'/%3E%3Cpath d='M100 80V100H80'/%3E%3C/g%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Ccircle cx='0' cy='80' r='2.8'/%3E%3Ccircle cx='160' cy='80' r='2.8'/%3E%3Ccircle cx='80' cy='0' r='2.8'/%3E%3Ccircle cx='80' cy='160' r='2.8'/%3E%3Ccircle cx='80' cy='80' r='3.6'/%3E%3Ccircle cx='60' cy='80' r='2.2'/%3E%3Ccircle cx='100' cy='80' r='2.2'/%3E%3Ccircle cx='80' cy='60' r='2.2'/%3E%3Ccircle cx='80' cy='100' r='2.2'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 520'%3E%3Ccircle cx='170' cy='380' r='128' fill='none' stroke='%23F3602D' stroke-opacity='0.6' stroke-width='28'/%3E%3Ccircle cx='320' cy='330' r='158' fill='none' stroke='%23F7F3EA' stroke-opacity='0.4' stroke-width='24'/%3E%3Ccircle cx='380' cy='150' r='108' fill='none' stroke='%234CBE68' stroke-opacity='0.6' stroke-width='22'/%3E%3C/svg%3E");
    background-repeat: repeat, no-repeat;
    background-position: center, right center;
    background-size: 160px 160px, 460px 460px;
    mix-blend-mode: screen;
    opacity: 0.9;
    pointer-events: none;
}

/* teste: foto de fundo no hero da home, no lugar da textura de pontos/anéis —
   escopado só a esta página (.hero--home-photo); as demais páginas que usam
   .hero--home continuam com a textura padrão. */
.hero--home-photo::before {
    display: none;
}

.hero--home-photo::after {
    background-image:
        linear-gradient(100deg, rgba(20,28,54,0.95) 0%, rgba(20,28,54,0.88) 30%, rgba(20,28,54,0.58) 60%, rgba(20,28,54,0.34) 100%),
        url("../img/hero/hero-home-bg.jpg");
    background-repeat: no-repeat, no-repeat;
    background-position: center, center;
    background-size: cover, cover;
    mix-blend-mode: normal;
    opacity: 1;
}

/* com a foto real de fundo, a "janela branca" (ilustração de navegador
   mockup) que ficava do lado direito não faz mais sentido — some nesta
   variante em todas as larguras; a foto ocupa o espaço que ela deixou. */
.hero--home-photo .hero-mock {
    display: none;
}

.hero--home-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

/* chips flutuantes estilo "dashboard", pras heroes sem ilustração ou
   trust-row própria (insights, serviços, contato) */
.hero--stat-chip {
    position: absolute;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: #fff;
    border-radius: 999px;
    padding: 0.55rem 1.15rem 0.55rem 0.55rem;
    box-shadow: 0 20px 40px -14px rgba(8,14,32,0.45);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

.hero--stat-chip .chip-icon {
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.hero--stat-chip--a { top: 16%; right: 14%; }
.hero--stat-chip--b { bottom: 18%; right: 26%; }

@media (max-width: 1200px) {
    .hero--stat-chip { display: none; }
}

.hero--home-copy { max-width: 34rem; }

.hero--home h1 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.1rem); max-width: 16ch; margin-bottom: 1.25rem; }
.hero--home p { color: rgba(255,255,255,0.76); font-size: 1.1rem; max-width: 44ch; margin-bottom: 1.75rem; }
.hero--home .eyebrow { color: rgba(255,255,255,0.82); margin-bottom: 1rem; display: block; }

.hero--home-apoio { color: #fff; font-weight: 700; font-size: 1.15rem; max-width: 34ch; margin-top: -0.75rem; margin-bottom: 1.5rem; }

.hero--home-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }

.hero--home-link {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
}

.trust-row { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }

.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.72); }

.trust-item .trust-dot {
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(41,140,60,0.22);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.trust-sep { width: 1px; height: 16px; background: rgba(255,255,255,0.2); }

/* ilustração do navegador no hero */
.hero-mock {
    position: relative;
    width: 420px;
    max-width: 100%;
    flex-shrink: 0;
}

.hero-mock-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 32px 60px -20px rgba(8,14,32,0.5);
}

.hero-mock-topbar {
    display: flex; align-items: center; gap: 14px;
    padding: 11px 14px;
    background: #F7F8FA;
    border-bottom: 1px solid #ECEEF2;
}

.hero-mock-dots { display: flex; gap: 5px; }
.hero-mock-dots span { width: 8px; height: 8px; border-radius: 50%; background: #D8DCE3; }

.hero-mock-url {
    flex: 1;
    background: #fff;
    border: 1px solid #ECEEF2;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 0.72rem;
    color: #6B7280;
    text-align: center;
}

.hero-mock-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.hero-mock-block { border-radius: 10px; background: #EEF1F6; }
.hero-mock-block.tall { height: 100px; background: linear-gradient(135deg, #EEF1F6, #E4E8F0); }
.hero-mock-block.thin { height: 8px; }
.hero-mock-block.avatar { width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0; background: linear-gradient(135deg, var(--flame-1), var(--flame-2)); }
.hero-mock-toprow { display: flex; gap: 14px; align-items: center; }
.hero-mock-row { display: flex; gap: 10px; }
.hero-mock-row .hero-mock-block { flex: 1; height: 52px; background: #F5F6F9; }

.hero-mock-badge {
    position: absolute;
    left: -18px; bottom: 28px;
    display: flex; align-items: center; gap: 10px;
    background: #fff;
    border-radius: 100px;
    padding: 10px 15px 10px 10px;
    box-shadow: 0 14px 28px -12px rgba(8,14,32,0.4);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

.hero-mock-badge .badge-icon {
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(41,140,60,0.12);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .hero-mock { display: none; }
}

/* --- Seções com cards (dor / diferenciais / serviços) --- */
.secao-cards {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4.5rem 1.5rem;
}

.secao-cards.bg-branco { background: #fff; }
.secao-cards.bg-branco, .secao-cards.bg-papel { max-width: none; }
.secao-cards.bg-branco > .secao-cards-inner,
.secao-cards.bg-papel > .secao-cards-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}
.secao-cards.bg-papel { background: var(--paper); }

.secao-cards-header { text-align: center; max-width: 42rem; margin: 0 auto 2.5rem; }
.secao-cards-header .eyebrow { display: block; margin-bottom: 0.6rem; }
.secao-cards-header h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 0.75rem; }
.secao-cards-header p { color: var(--ink-soft); font-size: 1.02rem; }

.secao-cards-note { text-align: center; max-width: 42rem; margin: 2rem auto 0; color: var(--ink-soft); font-size: 0.88rem; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.cards-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(440px, 1fr)); }

.card-item {
    background: #fff;
    border: 1px solid var(--paper-dim);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 18px 36px -28px rgba(31,47,88,0.28);
}

.card-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}

.card-item h3 { font-size: 1.1rem; }
.card-item p { color: var(--ink-soft); font-size: 0.92rem; }

/* --- Depoimentos (carrossel) --- */
.depoimentos-carousel { position: relative; max-width: 44rem; margin: 0 auto; }
.depoimentos-track-wrap { overflow: hidden; border-radius: 14px; }
.depoimentos-track { display: flex; transition: transform .45s ease; }

.depoimento-slide {
    min-width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--paper-dim);
    border-radius: 14px;
    padding: 3rem 3.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    text-align: center;
}

.depoimento-slide p.quote { font-size: 1.2rem; line-height: 1.6; color: var(--navy); max-width: 34rem; }

.depoimento-autor { display: flex; align-items: center; gap: 0.75rem; }
.depoimento-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 0.9rem;
}
.depoimento-info { display: flex; flex-direction: column; align-items: flex-start; }
.depoimento-info .nome { font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.depoimento-info .cargo { font-size: 0.82rem; color: #8A8F98; }

.depoimentos-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: #fff; border: 1px solid var(--paper-dim);
    box-shadow: 0 10px 24px -12px rgba(31,47,88,0.25);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.depoimentos-arrow.prev { left: -64px; }
.depoimentos-arrow.next { right: -64px; }

.depoimentos-dots { display: flex; justify-content: center; gap: 10px; margin-top: 1.75rem; }
.depoimentos-dots button {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--paper-dim); border: none; padding: 0; cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.depoimentos-dots button.active { background: var(--green); transform: scale(1.2); }

@media (max-width: 900px) {
    .depoimentos-arrow { display: none; }
    .depoimento-slide { padding: 2.25rem 1.5rem; }
}

/* --- Clientes (logos em esteira) --- */
.clientes-logos { padding: 4rem 0 4.5rem; background: #fff; }
.clientes-logos-header { text-align: center; max-width: 42rem; margin: 0 auto 2rem; padding: 0 1.5rem; }
.clientes-logos-header .eyebrow { display: block; margin-bottom: 0.6rem; }
.clientes-logos-header h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.clientes-logos-header p { color: #8A8F98; font-size: 0.9rem; }

.clientes-track-wrap {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.clientes-track {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    width: max-content;
    animation: clientes-marquee 26s linear infinite;
}

@keyframes clientes-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.cliente-tile {
    display: flex; align-items: center; gap: 0.6rem;
    flex-shrink: 0; opacity: 0.55; filter: grayscale(1);
    font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 1rem; color: #4B5563;
}

@media (prefers-reduced-motion: reduce) {
    .clientes-track { animation: none; }
}

/* --- FAQ da home (accordion) --- */
.faq-home { max-width: 46rem; margin: 0 auto; padding: 4.5rem 1.5rem 5rem; }
.faq-home-header { text-align: center; margin-bottom: 2.5rem; }
.faq-home-header .eyebrow { display: block; margin-bottom: 0.6rem; }
.faq-home-header h2 { font-size: 1.8rem; }

.faq-home-list { display: flex; flex-direction: column; gap: 0.9rem; }

.faq-acc {
    border: 1px solid var(--paper-dim);
    border-radius: var(--radius);
    background: #fff;
    overflow: hidden;
}

.faq-acc-q {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.1rem 1.4rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy);
}

.faq-acc-icon { transition: transform .2s ease; flex-shrink: 0; }
.faq-acc.is-open .faq-acc-icon { transform: rotate(45deg); }

.faq-acc-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-acc.is-open .faq-acc-a { max-height: 220px; }
.faq-acc-a-inner { padding: 0 1.4rem 1.2rem; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* --- CTA final --- */
.cta-final {
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 5rem 1.5rem;
}

.cta-final::before {
    content: '';
    position: absolute;
    top: -200px; left: -140px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243,96,45,0.26) 0%, rgba(31,47,88,0) 68%);
    pointer-events: none;
}

.cta-final-inner {
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-final-copy { max-width: 26rem; }
.cta-final h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.cta-final-copy p { color: rgba(255,255,255,0.76); margin-bottom: 1.25rem; }

.cta-final-whatsapp { display: flex; align-items: center; gap: 0.65rem; }
.cta-final-whatsapp .wa-icon {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(41,140,60,0.22);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.cta-final-whatsapp .wa-text { display: flex; flex-direction: column; }
.cta-final-whatsapp .wa-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); }
.cta-final-whatsapp .wa-number { font-weight: 600; color: #fff; }
.cta-final-whatsapp .wa-number a { color: #fff; }
.cta-final-whatsapp .wa-number a:hover { color: var(--flame-2); }

.cta-final .lead-form-box { background: #fff; margin: 0; max-width: 26rem; width: 100%; }
/* título/texto padrão do lead-form.php já são cobertos pela coluna ao lado */
.cta-final .lead-form-box > h3,
.cta-final .lead-form-box > p:not(.lead-success):not(.lead-error) { display: none; }
.cta-final .lead-form-box .lead-success,
.cta-final .lead-form-box .lead-error { color: var(--navy); }
.cta-final .lead-form-box input,
.cta-final .lead-form-box textarea {
    background: var(--paper);
    color: var(--navy);
    border-color: var(--paper-dim);
}
.cta-final .lead-form-box input::placeholder,
.cta-final .lead-form-box textarea::placeholder { color: #9AA1AC; }

@media (max-width: 640px) {
    .hero--home { padding: 2.5rem 1.25rem 3rem; }
    body.tem-hero-overlay .hero--home { padding-top: calc(2.5rem + 60px); }
    /* anéis menores e mais no canto no mobile, pra não brigar com o texto */
    .hero--home::after { background-size: 160px 160px, 240px 240px; background-position: center, right -30px top 15%; }
    /* no mobile o texto ocupa a largura toda por cima da foto, então o
       degradê lateral (bom no desktop, foto ao lado do texto) não escurece
       o suficiente — troca por um véu mais forte e uniforme de cima a baixo */
    .hero--home-photo::after {
        background-image:
            linear-gradient(180deg, rgba(15,21,44,0.97) 0%, rgba(15,21,44,0.95) 55%, rgba(15,21,44,0.92) 100%),
            url("../img/hero/hero-home-bg.jpg");
        background-position: center, center 75%;
        /* a regra genérica .hero--home::after (acima) redefine background-size
           pra texto pequeno (160px/240px, pensado pra textura/anéis) — como
           .hero--home-photo também tem a classe .hero--home, herdava esse
           tamanho errado e a foto aparecia cortada numa janelinha pequena.
           Precisa redeclarar cover aqui pra não depender da ordem no arquivo. */
        background-size: cover, cover;
    }
    .secao-cards, .depoimentos-carousel, .faq-home { padding-left: 1.25rem; padding-right: 1.25rem; }
    .depoimentos-carousel { padding-left: 0; padding-right: 0; margin: 0 1.25rem; }
    .cta-final { padding: 3rem 1.25rem; }
    .cta-final-inner { flex-direction: column; align-items: stretch; }
}

/* Depoimentos e Clientes (home) escondidos por enquanto — conteúdo ainda é
   placeholder, esperando depoimentos/logos reais dos clientes. Nada foi
   removido do HTML, só ocultado via CSS pra reativar rápido depois. */
#depoimentos-home,
.clientes-logos {
    display: none;
}
