/* ==========================================================================
   CutCut — Landing page
   Identidade: amarelo #FCC009 · azul #2E4295 · cinza #616161
   Tipografia: Redonda (títulos) + Open Sans (texto)
   ========================================================================== */

@font-face {
    font-family: 'Redonda Light';
    src: url('../fonts/redonda/50659.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Redonda Regular';
    src: url('../fonts/redonda/50658.otf') format('opentype');
    font-display: swap;
}

:root {
    --cc-yellow: #FCC009;
    --cc-yellow-dark: #E3AC00;
    --cc-light-yellow: #FFE564;
    --cc-blue: #2E4295;
    --cc-blue-dark: #223370;
    --cc-gray: #616161;
    --cc-ink: #22252b;
    --cc-muted: #7a7d84;
    --cc-line: #e7e7e4;
    --cc-surface: #ffffff;
    --cc-surface-alt: #f7f6f3;

    --font-display: 'Redonda Regular', 'Open Sans', sans-serif;
    --font-light: 'Redonda Light', 'Open Sans', sans-serif;
    --font-body: 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

    --shell: 1160px;
    --radius: 6px;
    --shadow-sm: 0 2px 10px rgba(34, 37, 43, 0.06);
    --shadow-md: 0 14px 40px rgba(34, 37, 43, 0.10);
    --shadow-blue: 0 14px 34px rgba(46, 66, 149, 0.28);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--cc-gray);
    background: var(--cc-surface);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--cc-ink);
    line-height: 1.1;
    margin: 0;
    font-weight: 400;
}

/* ---- Layout helpers ---------------------------------------------------- */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section--tint {
    background: var(--cc-surface-alt);
}

.section-head {
    max-width: 680px;
    margin: 0 auto 56px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--cc-blue);
    margin-bottom: 14px;
}

.section-head h2 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    letter-spacing: 0.5px;
}

.section-head p {
    margin: 16px 0 0;
    font-size: 1.05rem;
    color: var(--cc-gray);
}

/* ---- Buttons ----------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1;
    padding: 16px 28px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn--primary {
    background: var(--cc-blue);
    color: #fff;
    box-shadow: var(--shadow-blue);
}

.btn--primary:hover {
    background: var(--cc-blue-dark);
}

.btn--yellow {
    background: var(--cc-yellow);
    color: var(--cc-ink);
    box-shadow: 0 12px 30px rgba(252, 192, 9, 0.4);
}

.btn--yellow:hover {
    background: var(--cc-yellow-dark);
}

.btn--ghost {
    background: transparent;
    color: var(--cc-blue);
    border-color: rgba(46, 66, 149, 0.35);
}

.btn--ghost:hover {
    border-color: var(--cc-blue);
    background: rgba(46, 66, 149, 0.05);
}

.btn--ghost-light {
    background: transparent;
    color: var(--cc-ink);
    border-color: rgba(34, 37, 43, 0.28);
}

.btn--ghost-light:hover {
    border-color: var(--cc-ink);
    background: rgba(34, 37, 43, 0.05);
}

.btn--whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
    background: #1FB457;
}

.btn--whatsapp svg {
    width: 19px;
    height: 19px;
}

/* ---- Header ------------------------------------------------------------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-stuck {
    box-shadow: var(--shadow-sm);
    border-color: var(--cc-line);
}

.site-header .shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
}

.brand img {
    height: 42px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 34px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--cc-gray);
    position: relative;
    padding: 6px 0;
    transition: color 0.15s ease;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--cc-yellow);
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--cc-ink);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta .btn {
    padding: 12px 22px;
}

.btn--sm {
    padding: 11px 16px;
    font-size: 0.92rem;
}

.nav-cta .btn--sm {
    padding: 11px 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 2.5px;
    width: 24px;
    margin: 0 auto;
    background: var(--cc-ink);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---- Hero -------------------------------------------------------------- */

.hero {
    position: relative;
    background: var(--cc-yellow);
    overflow: hidden;
    padding: 92px 0 130px;
}

.hero::before {
    /* lâmina diagonal — reforça o conceito de corte */
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 60%, rgba(255, 229, 100, 0.55) 60.2%);
    pointer-events: none;
}

/* Marca d'água — "C" da marca sangrando pela borda esquerda,
   enquadrando o conteúdo (o card à direita cobriria o "C" se fosse à direita) */
.hero::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -150px;
    transform: translateY(-50%);
    width: min(600px, 56vw);
    aspect-ratio: 592 / 709;
    background: url("../images/logo/c-only-blue.png") no-repeat left center / contain;
    opacity: 0.09;
    pointer-events: none;
    z-index: 0;
}

.hero .shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46, 66, 149, 0.10);
    color: var(--cc-blue);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 15px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 4rem);
    color: var(--cc-blue);
    letter-spacing: 0.5px;
}

.hero h1 .accent {
    color: var(--cc-ink);
}

.hero p.lead {
    margin: 22px 0 34px;
    font-size: 1.18rem;
    color: #4a3d0a;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-note {
    margin-top: 22px;
    font-size: 0.9rem;
    color: #5c4d10;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Cartão-fluxo ilustrativo no hero */
.hero-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 26px;
    transform: rotate(-1.5deg);
}

.hero-card h3 {
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cc-muted);
    margin-bottom: 18px;
}

.hero-flow {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-flow li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 11px 12px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--cc-ink);
    font-size: 0.96rem;
}

.hero-flow li:nth-child(odd) {
    background: var(--cc-surface-alt);
}

.hero-flow .dot {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: var(--cc-yellow);
    color: var(--cc-ink);
    font-family: var(--font-display);
    font-weight: 700;
    display: grid;
    place-items: center;
    font-size: 0.95rem;
}

.hero-flow li.is-blue .dot {
    background: var(--cc-blue);
    color: #fff;
}

/* ---- Public / audience cards ------------------------------------------ */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.card {
    background: var(--cc-surface);
    border: 1px solid var(--cc-line);
    border-radius: 12px;
    padding: 30px 26px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.card .ico {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--cc-light-yellow);
    color: var(--cc-blue);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.card .ico svg {
    width: 26px;
    height: 26px;
}

.card h3 {
    font-size: 1.22rem;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.card p {
    margin: 0;
    font-size: 0.96rem;
    color: var(--cc-gray);
}

/* ---- Como funciona (fluxo) --------------------------------------------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    counter-reset: step;
}

.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--cc-line);
    border-radius: 12px;
    padding: 30px 26px 28px;
}

.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    font-family: var(--font-display);
    font-size: 2.6rem;
    color: var(--cc-yellow);
    line-height: 1;
    display: block;
    margin-bottom: 14px;
}

.step h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.step p {
    margin: 0;
    font-size: 0.95rem;
}

.flow-summary {
    margin-top: 44px;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1rem, 2.3vw, 1.35rem);
    color: var(--cc-blue);
    letter-spacing: 0.4px;
    line-height: 1.7;
}

.flow-summary .sep {
    color: var(--cc-yellow-dark);
    margin: 0 8px;
    font-weight: 700;
}

/* ---- Módulos / features ------------------------------------------------ */

.modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.module {
    display: flex;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--cc-line);
    border-radius: 14px;
    padding: 30px;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.module:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.module .tag {
    flex: none;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--cc-blue);
    color: #fff;
    display: grid;
    place-items: center;
}

.module .tag svg {
    width: 28px;
    height: 28px;
}

.module h3 {
    font-size: 1.28rem;
    margin-bottom: 6px;
}

.module .role {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cc-yellow-dark);
    display: block;
    margin-bottom: 10px;
}

.module ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-top: 4px;
}

.module ul li {
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--cc-gray);
    background: var(--cc-surface-alt);
    border: 1px solid var(--cc-line);
    padding: 5px 11px;
    border-radius: 999px;
}

/* ---- Diferenciais ------------------------------------------------------ */

.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    text-align: center;
}

.value .ico {
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 14px;
    background: rgba(46, 66, 149, 0.08);
    color: var(--cc-blue);
    display: grid;
    place-items: center;
}

.value .ico svg {
    width: 28px;
    height: 28px;
}

.value h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.value p {
    margin: 0;
    font-size: 0.92rem;
}

/* ---- CTA final --------------------------------------------------------- */

.cta {
    background: var(--cc-yellow);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 58%, rgba(255, 229, 100, 0.6) 58.2%);
    pointer-events: none;
}

/* Marca d'água — "C" da marca sangrando pela borda esquerda */
.cta::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -90px;
    transform: translateY(-50%);
    width: min(460px, 44vw);
    aspect-ratio: 592 / 709;
    background: url("../images/logo/c-only-blue.png") no-repeat left center / contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.cta .shell {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta h2 {
    color: var(--cc-blue);
    font-size: clamp(2rem, 4.4vw, 2.9rem);
}

.cta p {
    margin: 16px auto 34px;
    color: #4a3d0a;
    font-size: 1.1rem;
    max-width: 540px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---- Footer ------------------------------------------------------------ */

.site-footer {
    background: var(--cc-blue-dark);
    color: rgba(255, 255, 255, 0.72);
    padding: 60px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
    height: 30px;
    width: auto;
    /* wordmark azul → branco sobre fundo escuro */
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-brand p {
    margin: 0;
    max-width: 320px;
    font-size: 0.95rem;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.95rem;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: var(--cc-yellow);
}

.footer-bottom {
    padding-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-bottom .tagline {
    color: var(--cc-yellow);
    font-family: var(--font-display);
    letter-spacing: 0.4px;
}

/* ---- Reveal on scroll -------------------------------------------------- */

/* Só esconde quando há JS (classe .js adicionada no <head>).
   Sem JS, o conteúdo permanece totalmente visível. */
.js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 960px) {
    .hero .shell {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-card {
        transform: none;
        max-width: 460px;
    }

    .audience-grid,
    .values {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

/* ---- Menu mobile: painel único (links + botões empilhados) ------------- */

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: #fff;
        border-bottom: 1px solid var(--cc-line);
        box-shadow: var(--shadow-md);
        padding: 10px 24px 22px;
    }

    .nav.is-open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links a {
        display: block;
        padding: 15px 2px;
        font-size: 1rem;
        border-bottom: 1px solid var(--cc-line);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 16px;
    }

    .nav-cta .btn {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 68px 0;
    }

    .modules {
        grid-template-columns: 1fr;
    }

    /* watermark mais discreto onde o texto ocupa a largura toda */
    .hero::after {
        opacity: 0.05;
        left: -190px;
    }

    .cta::after {
        opacity: 0.05;
        left: -130px;
    }
}

@media (max-width: 560px) {
    .audience-grid,
    .steps,
    .values {
        grid-template-columns: 1fr;
    }

    .brand img {
        height: 34px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .module {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================================================
   Blocos do posicionamento comercial: pilares, IA, faixa de CTA
   ======================================================================== */

/* ---- Pilares (benefícios) ---------------------------------------------- */

.pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ---- Destaque: roteirização com IA ------------------------------------- */

.ai {
    background: var(--cc-blue);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.ai::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 60%, rgba(255, 255, 255, 0.05) 60.2%);
    pointer-events: none;
}

.ai .shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 52px;
    align-items: center;
}

.ai .eyebrow {
    color: var(--cc-yellow);
}

.ai h2 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.ai p.sub {
    margin: 16px 0 26px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.06rem;
    max-width: 520px;
}

.ai-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0 0 32px;
}

.ai-list li {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    font-weight: 600;
    color: #fff;
    font-size: 1rem;
}

.ai-list .tick {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: rgba(252, 192, 9, 0.18);
    color: var(--cc-yellow);
    display: grid;
    place-items: center;
    margin-top: 1px;
}

.ai-visual {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    padding: 22px 22px 16px;
}

.ai-visual svg {
    width: 100%;
    height: auto;
    display: block;
}

.ai-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    justify-content: center;
    margin-top: 14px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.78);
}

.ai-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ai-legend .dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
}

/* ---- Faixa de CTA comercial (meio da página) --------------------------- */

.cta-band {
    background: var(--cc-yellow);
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 62%, rgba(255, 229, 100, 0.6) 62.2%);
    pointer-events: none;
}

.cta-band .shell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 44px 24px;
}

.cta-band .txt h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--cc-blue);
    letter-spacing: 0.3px;
}

.cta-band .txt p {
    margin: 6px 0 0;
    color: #4a3d0a;
    font-size: 1.02rem;
}

/* ---- Responsivo dos novos blocos --------------------------------------- */

@media (max-width: 960px) {
    .pillars {
        grid-template-columns: repeat(2, 1fr);
    }

    .ai .shell {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 640px) {
    .cta-band .shell {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .cta-band .btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .pillars {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   Movimento — animações leves (GPU: só opacity/transform)
   Tudo é desligado em prefers-reduced-motion (bloco no fim do arquivo).
   ======================================================================== */

@keyframes ccFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

@keyframes ccFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes ccRouteFlow {
    to { stroke-dashoffset: -11; }
}

@keyframes ccPop {
    from { opacity: 0; transform: scale(0.2); }
    to   { opacity: 1; transform: scale(1); }
}

@keyframes ccFloatY {
    from { transform: translateY(calc(-50% - 6px)); }
    to   { transform: translateY(calc(-50% + 6px)); }
}

@keyframes ccPulse {
    0%, 100% { box-shadow: 0 14px 34px rgba(46, 66, 149, 0.28), 0 0 0 0 rgba(46, 66, 149, 0); }
    50%      { box-shadow: 0 14px 34px rgba(46, 66, 149, 0.28), 0 0 0 7px rgba(46, 66, 149, 0.10); }
}

/* ---- Entrada do hero (no load) ----------------------------------------- */
/* Gated em .js: sem JavaScript o hero aparece normal (não fica invisível). */

.js .hero-tag      { animation: ccFadeUp 0.7s ease both; }
.js .hero h1       { animation: ccFadeUp 0.7s ease both; animation-delay: 0.08s; }
.js .hero .lead    { animation: ccFadeUp 0.7s ease both; animation-delay: 0.16s; }
.js .hero-actions  { animation: ccFadeUp 0.7s ease both; animation-delay: 0.24s; }
.js .hero-note     { animation: ccFadeUp 0.7s ease both; animation-delay: 0.32s; }
.js .hero-card     { animation: ccFade 0.8s ease both;   animation-delay: 0.22s; }

/* ---- Watermark "C" flutuando ------------------------------------------- */

.hero::after,
.cta::after {
    animation: ccFloatY 8s ease-in-out infinite alternate;
}

/* ---- Rota da seção de IA ----------------------------------------------- */

.route-line {
    animation: ccRouteFlow 1.1s linear infinite;
}

.route-dot {
    animation: ccFade 0.6s ease both; /* evita flash inicial no canto */
}

.js .ai-visual .stop {
    opacity: 0;
    transform: scale(0.2);
    transform-box: fill-box;
    transform-origin: 50% 50%;
}

.js .ai-visual.is-visible .stop {
    animation: ccPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ---- Hover nos ícones + pulse no CTA principal ------------------------- */

.card .ico,
.card .ico svg,
.module .tag {
    transition: transform 0.25s ease;
}

.card:hover .ico      { transform: translateY(-3px); }
.card:hover .ico svg  { transform: scale(1.12); }
.module:hover .tag    { transform: translateY(-3px) rotate(-4deg); }

.hero-actions .btn--primary {
    animation: ccPulse 2.8s ease-in-out infinite;
}

/* ========================================================================
   Modal de acesso à plataforma (login)
   ======================================================================== */

@keyframes ccPopCard {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to   { opacity: 1; transform: none; }
}

.login-modal[hidden] {
    display: none;
}

.login-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 20px;
}

.login-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(34, 37, 43, 0.55);
    backdrop-filter: blur(2px);
    animation: ccFade 0.2s ease both;
}

.login-modal__card {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 36px 30px 30px;
    text-align: center;
    animation: ccPopCard 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.login-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: var(--cc-muted);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.15s ease, color 0.15s ease;
}

.login-modal__close:hover {
    background: var(--cc-surface-alt);
    color: var(--cc-ink);
}

.login-modal__card h2 {
    font-size: 1.5rem;
    color: var(--cc-ink);
}

.login-modal__card > p {
    margin: 8px 0 24px;
    color: var(--cc-gray);
}

.login-modal__options {
    display: grid;
    gap: 14px;
}

.login-opt {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 16px 18px;
    border: 2px solid var(--cc-line);
    border-radius: 12px;
    color: var(--cc-ink);
    transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.login-opt:hover {
    border-color: var(--cc-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.login-opt__ico {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--cc-light-yellow);
    color: var(--cc-blue);
    display: grid;
    place-items: center;
}

.login-opt__ico svg {
    width: 26px;
    height: 26px;
}

.login-opt__txt {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.login-opt__txt strong {
    font-size: 1.05rem;
}

.login-opt__txt small {
    color: var(--cc-gray);
    font-size: 0.85rem;
}

.login-opt__go {
    flex: none;
    color: var(--cc-blue);
    transform: translateX(-4px);
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.login-opt:hover .login-opt__go {
    transform: translateX(0);
    opacity: 1;
}

/* botão de login estilizado como link (rodapé) */
.footer-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    cursor: pointer;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: var(--cc-yellow);
}

/* ---- Botão flutuante de WhatsApp --------------------------------------- */

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 90;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wa-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 30px rgba(37, 211, 102, 0.55);
}

.wa-float svg {
    width: 30px;
    height: 30px;
}

.wa-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    animation: waPulse 2.6s ease-out infinite;
}

@keyframes waPulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
    70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 560px) {
    .wa-float {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 14px;
    }
}

/* ---- Desliga tudo em prefers-reduced-motion (último = vence) ----------- */

@media (prefers-reduced-motion: reduce) {
    .hero-tag,
    .hero h1,
    .hero .lead,
    .hero-actions,
    .hero-note,
    .hero-card,
    .route-line,
    .hero::after,
    .cta::after,
    .hero-actions .btn--primary,
    .login-modal__overlay,
    .login-modal__card,
    .wa-float::after {
        animation: none !important;
    }

    .route-dot {
        display: none;
    }

    .js .ai-visual .stop {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
