/* =========================================================
   CRAZY UP - ESTILOS PRINCIPAIS
   Bootstrap 5 + CSS personalizado
   ========================================================= */

/* Paleta, cores de texto, bordas e raio padrão reutilizados no site. */
:root {
    --cu-navy: #020d1e;
    --cu-navy-2: #06152a;
    --cu-blue: #10b8ee;
    --cu-blue-light: #8dc7e8;
    --cu-orange: #ff7a00;
    --cu-white: #f5f8ff;
    --cu-text: #1c2a3a;
    --cu-muted: #64748b;
    --cu-border: #e7edf4;
    --cu-radius: 18px;
    --cu-page-bg: #f7fbff;
    --cu-surface: #fff;
    --cu-section-bg: #f5f9fd;
    --cu-heading: #020d1e;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Em alguns navegadores móveis o elemento que rola é o html, não o body. */
    overflow-x: hidden;
}

body {
    position: relative;
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--cu-text);
    background: var(--cu-page-bg);
    overflow-x: hidden;
}

body > *:not(.cu-atmosphere) { position: relative; z-index: 2; }
body > .cu-chat,
body > .cu-theme-toggle { position: fixed; z-index: 2000; }

/* Camada de fundo decorativa do site removida para manter o tema visual consistente no navegador e no editor. */

/* Impede que sombras, animações ou elementos decorativos criem largura extra no celular. */
main,
.site-header,
.site-footer {
    max-width: 100%;
    overflow-x: clip;
}

a {
    text-decoration: none;
}

/* Cabeçalho fixo semitransparente, com desfoque do conteúdo atrás dele. */
.site-header {
    background: rgba(2, 13, 30, .82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,.06);
    z-index: 1000;
}

.navbar {
    min-height: 76px;
}

.brand-logo {
    width: 128px;
    height: 62px;
    object-fit: contain;
    object-position: center;
    /* A imagem enviada possui fundo escuro; o recorte visual mantém a identidade. */
}

.nav-link {
    color: rgba(255,255,255,.78) !important;
    font-weight: 600;
    padding: .7rem .8rem !important;
    transition: .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #fff !important;
}

.cu-theme-toggle {
    position: fixed;
    right: 20px;
    bottom: 94px;
    z-index: 1999;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    color: #fff;
    background: rgba(2,13,30,.86);
    box-shadow: 0 10px 26px rgba(2,13,30,.2);
    font-size: .74rem;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.cu-theme-toggle:hover { transform: translateY(-2px); }

body.theme-light { --cu-navy: #020d1e; --cu-navy-2: #06152a; --cu-text: #13243a; --cu-muted: #52657a; --cu-border: #d6e3ee; --cu-page-bg: #f7fbff; --cu-surface: #fff; --cu-section-bg: #f5f9fd; --cu-heading: #020d1e; background: var(--cu-page-bg); }
body.theme-light .site-header { background: rgba(247,251,255,.9); border-bottom-color: rgba(2,13,30,.08); }
body.theme-light .nav-link { color: rgba(2,13,30,.72) !important; }
body.theme-light .nav-link:hover, body.theme-light .nav-link.active { color: #020d1e !important; }
body.theme-light .cu-theme-toggle { color: #020d1e; background: #fff; border-color: var(--cu-border); }
body.theme-light .navbar-toggler { border-color: rgba(2,13,30,.28); }
body.theme-light .navbar-toggler-icon { filter: invert(1); }
body.theme-light .navbar-collapse { background: rgba(247,251,255,.98); border-color: rgba(2,13,30,.12); }
body.theme-light .navbar-collapse .nav-link { color: #13243a !important; }
body.theme-light .navbar-collapse .nav-link:hover,
body.theme-light .navbar-collapse .nav-link.active { color: #020d1e !important; background: rgba(16,184,238,.08); }
body.theme-light .section-light, body.theme-light .page-content { background: #f7fbff; }
body.theme-light .portfolio-preview-section, body.theme-light .audience-section { background: #eaf4fb; }
body.theme-light .service-card, body.theme-light .portfolio-card, body.theme-light .quote-card, body.theme-light .contact-card { background: #fff; }
body.theme-light .section-heading h2, body.theme-light .portfolio-intro h2, body.theme-light .promotion-copy h2 { color: #020d1e; }

body:not(.theme-light) {
    --cu-page-bg: #061426;
    --cu-surface: #0d2038;
    --cu-section-bg: #091a2f;
    --cu-heading: #f5f8ff;
    --cu-text: #d7e3ef;
    --cu-muted: #a9bbcc;
    --cu-border: rgba(141,199,232,.18);
    background: var(--cu-page-bg);
}

body:not(.theme-light) .section-light,
body:not(.theme-light) .page-content,
body:not(.theme-light) .cta-section,
body:not(.theme-light) .portfolio-preview-section,
body:not(.theme-light) .audience-section,
body:not(.theme-light) .portfolio-cta,
body:not(.theme-light) .contact-section,
body:not(.theme-light) .promotion-section { color: var(--cu-text); background: var(--cu-section-bg); }

body:not(.theme-light) .section-heading h2,
body:not(.theme-light) .portfolio-intro h2,
body:not(.theme-light) .contact-intro h2,
body:not(.theme-light) .promotion-copy h2,
body:not(.theme-light) .service-card h3,
body:not(.theme-light) .portfolio-card h3,
body:not(.theme-light) .pricing-section h2 { color: var(--cu-heading); }

body:not(.theme-light) .service-card,
body:not(.theme-light) .portfolio-card,
body:not(.theme-light) .contact-card,
body:not(.theme-light) .quote-card,
body:not(.theme-light) .available-projects,
body:not(.theme-light) .pricing-section,
body:not(.theme-light) .promotion-form,
body:not(.theme-light) .promotion-ticket { border-color: var(--cu-border); background: var(--cu-surface); }

body:not(.theme-light) .portfolio-add-card { color: var(--cu-heading); background: linear-gradient(135deg, rgba(16,184,238,.12), rgba(255,122,0,.1)); }
body:not(.theme-light) .contact-channel { border-color: var(--cu-border); background: rgba(13,32,56,.82); }
body:not(.theme-light) .contact-channel strong, body:not(.theme-light) .contact-channel a { color: var(--cu-heading); }
body:not(.theme-light) .pricing-table-wrap { border-color: var(--cu-border); background: var(--cu-surface); }
body:not(.theme-light) .pricing-row { color: var(--cu-muted); border-color: var(--cu-border); }
body:not(.theme-light) .pricing-row strong, body:not(.theme-light) .pricing-row span:nth-child(2) { color: var(--cu-heading); }
body:not(.theme-light) .promotion-note { color: var(--cu-muted); background: rgba(13,32,56,.8); }
body:not(.theme-light) .promotion-note strong, body:not(.theme-light) .promotion-ticket__heading, body:not(.theme-light) .promotion-form label { color: var(--cu-heading); }
body:not(.theme-light) .promotion-form input { color: #fff; border-color: var(--cu-border); background: rgba(255,255,255,.06); }
body:not(.theme-light) .promotion-form input::placeholder { color: #9eb2c4; }
body:not(.theme-light) .cu-chat__panel { border: 1px solid rgba(141,199,232,.2); }

@media (prefers-reduced-motion: no-preference) {
    .hero-glow { animation: cuGlowDrift 10s ease-in-out infinite alternate; }
    .glow-two { animation-delay: -4s; }
    .hero-card { animation: cuFloat 6s ease-in-out infinite; }
    .inner-hero::after { animation: cuStarShift 18s linear infinite; }
}

@keyframes cuGlowDrift {
    from { transform: translate3d(-18px, 10px, 0) scale(.92); }
    to { transform: translate3d(18px, -14px, 0) scale(1.08); }
}

@keyframes cuFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes cuStarShift { from { background-position: 0 0; } to { background-position: 83px 97px; } }
@keyframes cuStarDrift { from { transform: translate3d(-10px, 0, 0); } to { transform: translate3d(18px, 12px, 0); } }
/* Botão de ação principal e seu feedback visual ao passar o mouse. */
.btn-orange {
    color: #fff;
    background: var(--cu-orange);
    border: 1px solid var(--cu-orange);
    font-weight: 700;
    border-radius: 10px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-orange:hover {
    color: #fff;
    background: #e96d00;
    border-color: #e96d00;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255,122,0,.22);
}

/* Área de abertura: ocupa toda a tela e cria o fundo escuro com luzes da marca. */
.hero-section {
    position: relative;
    min-height: 100vh;
    color: #fff;
    background:
        radial-gradient(circle at 78% 40%, rgba(0,180,255,.12), transparent 28%),
        radial-gradient(circle at 15% 80%, rgba(255,122,0,.07), transparent 25%),
        linear-gradient(135deg, #010a18 0%, #031329 55%, #04172b 100%);
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, black, transparent);
}

.hero-section::after,
.inner-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .55;
    background-image: radial-gradient(circle, rgba(255,255,255,.8) 0 1px, transparent 1.5px);
    background-size: 83px 97px;
    mask-image: linear-gradient(120deg, black, transparent 72%);
    background-position: var(--star-x, 0) var(--star-y, 0);
    animation: cuStarShift 24s linear infinite;
}

.hero-section::after,
.inner-hero::after,
.contact-section::after {
    background-image:
        radial-gradient(circle at 12% 28%, rgba(255,255,255,.95) 0 1px, transparent 1.8px),
        radial-gradient(circle at 68% 18%, rgba(141,199,232,.8) 0 1px, transparent 2px),
        radial-gradient(circle at 86% 72%, rgba(255,122,0,.8) 0 1px, transparent 1.8px),
        radial-gradient(circle at 38% 84%, rgba(255,255,255,.72) 0 1px, transparent 1.7px);
    background-size: 230px 190px, 310px 270px, 370px 330px, 280px 240px;
    background-position: var(--star-x, 0) var(--star-y, 0);
}

.contact-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .3;
    animation: cuStarDrift 32s linear infinite;
}

.hero-section > *, .inner-hero > *, .contact-section > * { position: relative; z-index: 1; }

/* Círculos desfocados que dão profundidade ao fundo da área de abertura. */
.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}

.glow-one {
    width: 250px;
    height: 250px;
    right: 8%;
    top: 22%;
    background: rgba(10,184,238,.14);
}

.glow-two {
    width: 220px;
    height: 220px;
    left: 4%;
    bottom: 10%;
    background: rgba(255,122,0,.08);
}

.eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--cu-blue-light);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
}

/* Título principal fluido: aumenta ou diminui conforme a largura da tela. */
.display-title {
    max-width: 720px;
    margin: 18px 0;
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: .98;
    font-weight: 800;
    letter-spacing: -.055em;
}

.display-title span {
    color: var(--cu-orange);
}

.hero-text {
    max-width: 600px;
    color: rgba(255,255,255,.72);
    font-size: 1.12rem;
    line-height: 1.75;
}

.hero-stats {
    max-width: 500px;
}

.hero-stats strong,
.hero-stats span {
    display: block;
}

.hero-stats strong {
    color: #fff;
    font-size: 1.25rem;
}

.hero-stats span {
    margin-top: 4px;
    color: rgba(255,255,255,.48);
    font-size: .75rem;
}

/* Cartão da imagem principal com efeito de vidro e sombra. */
.hero-card {
    position: relative;
    width: min(520px, 100%);
    padding: 24px;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 30px;
    background: rgba(255,255,255,.035);
    box-shadow: 0 35px 90px rgba(0,0,0,.45);
    backdrop-filter: blur(12px);
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: rgba(0,175,255,.08);
    filter: blur(45px);
}

.hero-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    display: block;
    border-radius: 20px;
}

/* Espaçamento vertical comum e variações de fundo das seções. */
.section {
    padding: 100px 0;
}

.section-light {
    background: #fff;
}

/* Perfis de clientes: torna visíveis os cenários atendidos e conduz cada um ao contato. */
.audience-section {
    background: #f5f9fd;
}

.audience-card {
    padding: 32px;
    border: 1px solid #dfeaf3;
    border-radius: var(--cu-radius);
    background: #fff;
    box-shadow: 0 14px 35px rgba(3,18,40,.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.audience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 45px rgba(3,18,40,.1);
}

.audience-avatar {
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    margin-bottom: 24px;
    border-radius: 50%;
    color: var(--cu-navy);
    background: rgba(141,199,232,.35);
    font-size: .78rem;
    font-weight: 800;
}

.audience-avatar--orange { color: #a74900; background: rgba(255,122,0,.16); }
.audience-avatar--blue { color: #006c97; background: rgba(16,184,238,.16); }

.audience-label {
    color: var(--cu-blue);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
}

.audience-card h3 {
    margin: 11px 0;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.35;
}

.audience-card p { color: var(--cu-muted); line-height: 1.7; }
.audience-card a { color: var(--cu-orange); font-weight: 800; }

.section-dark {
    background: #041225;
}

.section-heading {
    max-width: 760px;
}

.section-heading h2,
.section-dark h2,
.cta-box h2 {
    margin-top: 14px;
    font-weight: 800;
    letter-spacing: -.035em;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-heading p,
.text-soft {
    color: var(--cu-muted);
    line-height: 1.75;
}

/* Cartões de serviços: ganham elevação e borda azul no hover. */
.service-card {
    padding: 34px;
    border: 1px solid var(--cu-border);
    border-radius: var(--cu-radius);
    background: #fff;
    transition: .25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: rgba(16,184,238,.35);
    box-shadow: 0 20px 45px rgba(3,18,40,.09);
}

.icon-box {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin-bottom: 28px;
    border-radius: 13px;
    color: #fff;
    background: var(--cu-navy);
    font-weight: 800;
    font-size: .8rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
}

.service-card p {
    color: var(--cu-muted);
    line-height: 1.7;
}

.service-next-step__copy {
    color: var(--cu-muted);
    line-height: 1.7;
}

.service-card a {
    color: var(--cu-orange);
    font-weight: 800;
}

.section-dark h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
}

/* Lista de benefícios com marcadores circulares. */
.check-list {
    display: grid;
    gap: 15px;
    color: rgba(255,255,255,.82);
}

.check-list span {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    margin-right: 9px;
    border-radius: 50%;
    color: var(--cu-orange);
    background: rgba(255,122,0,.1);
    font-weight: 800;
}

/* Estilo base dos cartões de citação usados no site. */
.quote-card {
    position: relative;
    padding: 48px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.025));
}

.quote-mark {
    position: absolute;
    top: 18px;
    right: 32px;
    color: var(--cu-orange);
    font-size: 5rem;
    line-height: 1;
}

.quote-card h3 {
    max-width: 450px;
    font-size: 1.7rem;
    line-height: 1.35;
}

.quote-card p {
    color: rgba(255,255,255,.6);
    line-height: 1.75;
}

.quote-line {
    width: 55px;
    height: 3px;
    margin: 30px 0 15px;
    background: var(--cu-orange);
}

.quote-card strong,
.quote-card small {
    display: block;
}

.quote-card strong {
    letter-spacing: .08em;
}

.quote-card small {
    margin-top: 4px;
    color: var(--cu-blue-light);
}

/* Destaque especial para a mensagem de propósito da página inicial */
.quote-card--highlight {
    isolation: isolate;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-color: rgba(16,184,238,.38);
    background:
        radial-gradient(circle at 88% 12%, rgba(255,122,0,.24), transparent 29%),
        linear-gradient(135deg, rgba(16,184,238,.16), rgba(4,18,37,.94) 57%);
    box-shadow: 0 24px 60px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.12);
}

.quote-card--highlight::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 190px;
    height: 190px;
    right: -80px;
    bottom: -110px;
    border: 1px solid rgba(16,184,238,.35);
    border-radius: 50%;
}

.quote-card--highlight .quote-label {
    display: block;
    margin-bottom: 18px;
    color: var(--cu-blue-light);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.quote-card--highlight h3 {
    max-width: 500px;
    margin-bottom: 20px;
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -.04em;
}

.quote-card--highlight h3 em {
    color: var(--cu-orange);
    font-style: normal;
}

.quote-card--highlight p {
    max-width: 470px;
    color: rgba(255,255,255,.78);
    font-size: 1.05rem;
}

.quote-card--highlight .quote-line {
    width: 76px;
    height: 4px;
    margin-top: 34px;
    box-shadow: 0 0 18px rgba(255,122,0,.65);
}

.quote-card--highlight strong {
    color: #fff;
    font-size: .92rem;
}

@media (max-width: 575.98px) {
    .quote-card--highlight .quote-mark {
        top: 12px;
        right: 20px;
        font-size: 4rem;
    }
}

/* Chamada para ação antes do rodapé. */
.cta-section {
    padding: 80px 0;
    background: #fff;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 50px;
    border-radius: 26px;
    background: linear-gradient(135deg, #06162b, #09213c);
    color: #fff;
    overflow: hidden;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-box p {
    margin-bottom: 0;
    color: rgba(255,255,255,.62);
}

/* Rodapé escuro com contraste para links e marca. */
.site-footer {
    color: rgba(255,255,255,.6);
    background: #010a16;
    border-top: 1px solid rgba(255,255,255,.06);
}

.site-footer strong {
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: .06em;
}

.site-footer strong span {
    color: var(--cu-orange);
}

.site-footer a {
    color: var(--cu-blue-light);
}

/* Links de redes sociais usados na página de contato e no rodapé. */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 13px;
    border: 1px solid var(--cu-border);
    border-radius: 999px;
    color: var(--cu-navy);
    font-size: .88rem;
    font-weight: 700;
    transition: .2s ease;
}

.social-links a:hover {
    border-color: var(--cu-blue);
    color: var(--cu-blue);
    transform: translateY(-2px);
}

.social-links--footer {
    justify-content: flex-end;
}

.site-footer .social-links a {
    border-color: rgba(255,255,255,.16);
    color: var(--cu-blue-light);
}

.site-footer .social-links a:hover {
    border-color: var(--cu-orange);
    color: #fff;
}

.site-footer p {
    font-size: .85rem;
}

/* Páginas internas: banner superior, conteúdo claro e cartões de contato. */
.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 160px 0 90px;
    color: #fff;
    background:
        radial-gradient(circle at 75% 30%, rgba(10,184,238,.12), transparent 28%),
        linear-gradient(135deg, #010a18, #04172b);
}

.inner-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -.045em;
}

.page-content {
    background: #fff;
}

/* Portfólio: cards reutilizáveis para apresentar sites, landing pages e sistemas. */
.portfolio-preview-section {
    background: #f5f9fd;
}

.btn-outline-portfolio {
    flex: 0 0 auto;
    border: 1px solid var(--cu-blue);
    border-radius: 10px;
    color: #fff;
    background: var(--cu-navy);
    font-weight: 800;
    padding: .75rem 1rem;
    transition: .2s ease;
    box-shadow: 0 8px 18px rgba(2, 13, 30, 0.16);
}

.btn-outline-portfolio:hover {
    border-color: var(--cu-orange);
    color: #fff;
    background: var(--cu-orange);
    transform: translateY(-2px);
}

.portfolio-hero {
    background:
        radial-gradient(circle at 82% 26%, rgba(255,122,0,.2), transparent 25%),
        radial-gradient(circle at 20% 85%, rgba(16,184,238,.15), transparent 25%),
        linear-gradient(135deg, #010a18, #04172b);
}

.portfolio-intro {
    max-width: 720px;
    margin-bottom: 1.5rem;
}

.portfolio-intro h2 {
    margin: 14px 0;
    color: var(--cu-navy);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -.04em;
}

.portfolio-intro p {
    color: var(--cu-muted);
    line-height: 1.75;
}

.portfolio-card {
    overflow: hidden;
    border: 1px solid var(--cu-border);
    border-radius: var(--cu-radius);
    background: #fff;
    box-shadow: 0 14px 35px rgba(3,18,40,.05);
    transition: transform .25s ease, box-shadow .25s ease;
}

.portfolio-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 48px rgba(3,18,40,.12);
}

.project-screen {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 210px;
    aspect-ratio: 16 / 10;
    padding: 26px;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
    background: #0b203d;
}

.project-screen::before,
.project-screen::after {
    position: absolute;
    z-index: -1;
    content: "";
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
}

.project-screen::before { width: 220px; height: 220px; top: -120px; right: -55px; }
.project-screen::after { width: 145px; height: 145px; bottom: -95px; left: -35px; }
.project-screen--blue { background: linear-gradient(135deg, #0c5c8c, #0a1f42); }
.project-screen--orange { background: linear-gradient(135deg, #e05f00, #712300); }
.project-screen--dark { background: linear-gradient(135deg, #182f53, #070d1a); }
.project-screen--purple { background: linear-gradient(135deg, #6242b6, #211242); }
.project-screen--green { background: linear-gradient(135deg, #08766d, #042f36); }

.project-screen img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-screen iframe {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: #fff;
}

.project-screen span,
.project-screen strong { position: relative; z-index: 1; }
.project-screen span { padding: 5px 8px; border-radius: 5px; color: #fff; background: rgba(2,13,30,.72); font-size: .7rem; font-weight: 800; letter-spacing: .14em; }
.project-screen strong { font-size: 3.6rem; line-height: .9; opacity: .9; }

.portfolio-card__content { padding: 28px; }
.project-type { display: block; color: var(--cu-blue); font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
.portfolio-card h3 { margin: 11px 0; color: var(--cu-navy); font-size: 1.35rem; font-weight: 800; }
.portfolio-card p { color: var(--cu-muted); line-height: 1.7; }

.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 20px 0 22px; }
.project-tags span { padding: 5px 8px; border-radius: 5px; color: #466079; background: #eef4f8; font-size: .62rem; font-weight: 800; letter-spacing: .06em; }
.project-link { color: var(--cu-orange); font-weight: 800; }
.project-link span { margin-left: 3px; }

.portfolio-add-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    padding: 34px;
    border: 1px dashed rgba(16,184,238,.55);
    border-radius: var(--cu-radius);
    color: var(--cu-navy);
    background: linear-gradient(135deg, rgba(16,184,238,.07), rgba(255,122,0,.06));
    transition: .25s ease;
}

.portfolio-add-card:hover { color: var(--cu-navy); border-color: var(--cu-orange); transform: translateY(-7px); }
.portfolio-add-card__plus { display: grid; width: 50px; height: 50px; place-items: center; margin-bottom: 26px; border-radius: 50%; color: #fff; background: var(--cu-navy); font-size: 2rem; font-weight: 400; }
.portfolio-add-card h3 { margin: 11px 0; font-size: 1.5rem; font-weight: 800; line-height: 1.3; }
.portfolio-add-card p { color: var(--cu-muted); line-height: 1.7; }
.portfolio-add-card .project-link { display: block; margin-top: auto; }

.portfolio-cta { padding: 80px 0; background: #f5f9fd; }

.contact-card {
    padding: 32px;
    border: 1px solid var(--cu-border);
    border-radius: var(--cu-radius);
    background: #fff;
    box-shadow: 0 18px 45px rgba(3,18,40,.06);
}

/* Página de contato com fundo de grade e luzes sutis, inspirados em interfaces digitais. */
.contact-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(16,184,238,.12), transparent 22%),
        radial-gradient(circle at 92% 85%, rgba(255,122,0,.1), transparent 23%),
        #f8fbff;
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .7;
    background-image:
        linear-gradient(rgba(16,184,238,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,184,238,.055) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(90deg, black, transparent 85%);
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

/* Canais de contato organizados como pequenos painéis de acesso rápido. */
.contact-intro h2 {
    max-width: 480px;
    color: var(--cu-navy);
    letter-spacing: -.04em;
}

.contact-channels {
    display: grid;
    gap: 10px;
    max-width: 470px;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 13px 16px;
    border: 1px solid rgba(16,184,238,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 10px 25px rgba(3,18,40,.035);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.contact-channel:hover {
    border-color: rgba(16,184,238,.42);
    box-shadow: 0 14px 30px rgba(3,18,40,.08);
    transform: translateX(5px);
}

.contact-channel__tag {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(16,184,238,.3);
    border-radius: 10px;
    color: var(--cu-blue);
    background: rgba(16,184,238,.06);
    font-size: .62rem;
    font-weight: 800;
    letter-spacing: .06em;
}

.contact-channel strong,
.contact-channel a {
    display: block;
}

.contact-channel strong {
    color: var(--cu-navy);
    font-size: .88rem;
}

.contact-channel a {
    margin-top: 2px;
    color: #3d607d;
    font-size: .88rem;
    font-weight: 600;
}

.contact-channel a span {
    color: var(--cu-orange);
}

.contact-channel--social {
    align-items: flex-start;
}

.contact-channel--social .social-links a {
    display: inline-flex;
    margin-top: 0;
}

/* Painel do formulário: contraste escuro, transparência e profundidade. */
.contact-card--future {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 4vw, 3rem);
    border-color: rgba(16,184,238,.32);
    background:
        radial-gradient(circle at 100% 0, rgba(255,122,0,.19), transparent 28%),
        linear-gradient(145deg, #071b33, #041225 70%);
    box-shadow: 0 28px 70px rgba(2,13,30,.25), inset 0 1px 0 rgba(255,255,255,.12);
}

.contact-card--future::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 115px;
    height: 3px;
    background: linear-gradient(90deg, var(--cu-blue), var(--cu-orange));
    box-shadow: 0 0 18px rgba(16,184,238,.72);
}

.contact-card__heading {
    margin-bottom: 28px;
}

.contact-card__heading span {
    color: var(--cu-blue-light);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.contact-card__heading p {
    margin: 9px 0 0;
    color: rgba(255,255,255,.74);
}

.contact-card--future .form-label {
    color: rgba(255,255,255,.88);
}

.contact-card--future .form-control,
.contact-card--future .form-select {
    border-color: rgba(141,199,232,.2);
    color: #fff;
    background-color: rgba(255,255,255,.055);
}

.contact-card--future .form-control::placeholder {
    color: rgba(255,255,255,.4);
}

.contact-card--future .form-select {
    color-scheme: dark;
}

.contact-card--future .form-select option {
    color: #fff;
    background: var(--cu-navy);
}

.contact-card--future .form-control:focus,
.contact-card--future .form-select:focus {
    border-color: var(--cu-blue);
    background-color: rgba(16,184,238,.08);
    box-shadow: 0 0 0 .22rem rgba(16,184,238,.16), 0 0 24px rgba(16,184,238,.12);
}

.contact-card--future .btn-orange {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(255,122,0,.22);
}

/* Ações de envio: o visitante escolhe WhatsApp ou aplicativo de e-mail. */
.form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-actions .btn {
    min-height: 55px;
    font-size: .95rem;
}

.btn-email {
    border: 1px solid rgba(141,199,232,.36);
    color: #fff;
    background: rgba(255,255,255,.07);
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn-email:hover {
    border-color: var(--cu-blue);
    color: #fff;
    background: rgba(16,184,238,.16);
    box-shadow: 0 10px 25px rgba(16,184,238,.14);
    transform: translateY(-2px);
}

.contact-card--future #formMessage {
    color: rgba(255,255,255,.62) !important;
}

.contact-card--future #formMessage.text-success {
    color: #8ff0bc !important;
}

.form-control,
.form-select {
    min-height: 52px;
    border-radius: 10px;
    border-color: #dce5ee;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--cu-blue);
    box-shadow: 0 0 0 .2rem rgba(16,184,238,.12);
}

textarea.form-control {
    min-height: 150px;
}

/* Ajustes para tablet e telas menores: navegação e CTA passam a ocupar mais espaço. */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 10px;
        padding: 12px;
        border: 1px solid rgba(255,255,255,.08);
        border-radius: 14px;
        background: rgba(2,13,30,.96);
    }

    .hero-section .min-vh-100 {
        min-height: auto !important;
    }

    .hero-section {
        padding-top: 100px;
    }

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

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* Ajustes específicos para celulares: reduz tamanhos, espaçamentos e logo. */
@media (max-width: 575.98px) {
    .section {
        padding: 72px 0;
    }

    .display-title {
        font-size: 3rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-card {
        padding: 12px;
        border-radius: 20px;
    }

    .service-card {
        padding: 28px;
    }

    .quote-card,
    .cta-box {
        padding: 30px;
    }

    .brand-logo {
        width: 112px;
    }

    .social-links--footer {
        justify-content: flex-start;
    }

    .form-actions {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   BOT DE ATENDIMENTO (botão flutuante + janela de chat)
   ========================================================= */
.cu-chat {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
}

/* Botão circular flutuante com brilho pulsando, nas cores da marca. */
.cu-chat__toggle {
    position: relative;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--cu-blue), var(--cu-orange));
    box-shadow: 0 14px 34px rgba(2, 13, 30, 0.32), 0 0 0 6px rgba(16, 184, 238, 0.12);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cu-chat__toggle::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(16, 184, 238, 0.45);
    animation: cuChatPulse 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes cuChatPulse {
    0% { transform: scale(0.85); opacity: 0.8; }
    80% { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

.cu-chat__toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(2, 13, 30, 0.4), 0 0 0 6px rgba(16, 184, 238, 0.18);
}

.cu-chat__toggle-icon {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
}

.cu-chat__toggle-icon svg { width: 100%; height: 100%; }

.cu-chat__toggle-icon--close { display: none; }

.cu-chat__toggle.is-active .cu-chat__toggle-icon--open { display: none; }
.cu-chat__toggle.is-active .cu-chat__toggle-icon--close { display: grid; }

.cu-chat__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: #ff3b3b;
    font-size: 0.68rem;
    font-weight: 800;
}

/* Janela do chat: escondida por padrão, abre com escala + fade. */
.cu-chat__panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    display: flex;
    flex-direction: column;
    width: 366px;
    max-width: calc(100vw - 32px);
    height: min(540px, calc(100vh - 150px));
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(2, 13, 30, 0.35);
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transform-origin: bottom right;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.cu-chat__panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cu-chat__header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 18px;
    color: #fff;
    background: linear-gradient(135deg, #071b33, var(--cu-navy) 70%);
}

.cu-chat__header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--cu-blue), var(--cu-orange));
}

.cu-chat__avatar {
    display: block;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.75);
    background: #d9e8f2;
}

.cu-chat__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.cu-chat__header-text { display: flex; flex-direction: column; gap: 3px; }
.cu-chat__header-text strong { font-size: 0.98rem; color: #ffffff; }
.cu-chat__header-text span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d9faff;
    font-size: 0.76rem;
    font-weight: 700;
}

.cu-chat__status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35e28a;
    box-shadow: 0 0 0 3px rgba(53, 226, 138, 0.18);
}

.cu-chat__close {
    margin-left: auto;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease;
}

.cu-chat__close:hover { color: #fff; }

.cu-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    overflow-y: auto;
    padding: 18px;
    background: #eef6fb;
    color: #17324a;
}

.cu-chat__msg { display: flex; flex-direction: column; max-width: 84%; }
.cu-chat__msg--bot { align-self: flex-start; align-items: flex-start; }
.cu-chat__msg--user { align-self: flex-end; align-items: flex-end; }

.cu-chat__bubble {
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.55;
    font-weight: 700;
    color: #17324a;
    white-space: pre-line;
}

.cu-chat__msg--bot .cu-chat__bubble {
    border: 1px solid var(--cu-border);
    border-bottom-left-radius: 4px;
    color: #172b42;
    background: #fff;
    box-shadow: 0 6px 16px rgba(3, 18, 40, 0.05);
}

.cu-chat__msg--user .cu-chat__bubble {
    border-bottom-right-radius: 4px;
    color: #fff;
    background: linear-gradient(135deg, var(--cu-blue), #0a8fc4);
}

.cu-chat__msg-actions { margin-top: 6px; }

.cu-chat__msg-actions a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 10px;
    color: #fff;
    background: var(--cu-orange);
    font-size: 0.8rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.cu-chat__msg-actions a:hover {
    background: #e96d00;
    transform: translateY(-1px);
}

/* Indicador de "digitando..." com três pontinhos animados. */
.cu-chat__typing { display: flex; gap: 4px; padding: 14px; }

.cu-chat__typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cu-muted);
    opacity: 0.5;
    animation: cuChatTyping 1s ease-in-out infinite;
}

.cu-chat__typing span:nth-child(2) { animation-delay: 0.15s; }
.cu-chat__typing span:nth-child(3) { animation-delay: 0.3s; }

body:not(.theme-light) .cu-chat__msg--bot .cu-chat__bubble {
    color: #eefaff;
    border-color: rgba(141,199,232,.22);
    background: #102944;
}

body:not(.theme-light) .cu-chat__messages {
    background: #071a2f;
    color: #eefaff;
}

@keyframes cuChatTyping {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Chips de sugestão rápida. */
.cu-chat__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--cu-border);
    background: #fff;
}

.cu-chat__quick button {
    padding: 7px 13px;
    border: 1px solid rgba(16, 184, 238, 0.35);
    border-radius: 999px;
    color: var(--cu-blue);
    background: rgba(16, 184, 238, 0.06);
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.cu-chat__quick button:hover {
    color: #fff;
    background: var(--cu-blue);
    border-color: var(--cu-blue);
}

.cu-chat__form {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px 16px;
    border-top: 1px solid var(--cu-border);
    background: #fff;
}

.cu-chat__form input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border: 1px solid var(--cu-border);
    border-radius: 999px;
    color: var(--cu-text);
    font-size: 0.86rem;
}

.cu-chat__form input:focus {
    outline: none;
    border-color: var(--cu-blue);
    box-shadow: 0 0 0 0.15rem rgba(16, 184, 238, 0.15);
}

.cu-chat__form button {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    border: none;
    border-radius: 50%;
    color: #fff;
    background: var(--cu-orange);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.cu-chat__form button:hover {
    background: #e96d00;
    transform: translateY(-1px);
}

.cu-chat__form button svg { width: 18px; height: 18px; }

body:not(.theme-light) .cu-chat__messages { background: #091a2f; }
body:not(.theme-light) .cu-chat__quick,
body:not(.theme-light) .cu-chat__form { border-color: rgba(141,199,232,.18); background: #0d2038; }
body:not(.theme-light) .cu-chat__quick button { color: #8fe1ff; border-color: rgba(143,225,255,.5); background: rgba(16,184,238,.1); }
body:not(.theme-light) .cu-chat__form input { color: #f5f8ff; border-color: rgba(141,199,232,.28); background: #102944; }
body:not(.theme-light) .cu-chat__form input::placeholder { color: #b1c4d4; }

.nav-link--promo {
    color: var(--cu-orange) !important;
}

.promo-rotator {
    position: relative;
    min-height: 236px;
    overflow: hidden;
    color: #fff;
    background: var(--cu-navy);
}

.promo-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    transform: translateX(24px);
    transition: opacity .55s ease, transform .55s ease;
    pointer-events: none;
}

.promo-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.promo-slide--offer { background: linear-gradient(115deg, #06152a, #0b3961 68%, #0f9dcc); }
.promo-slide--chat { background: linear-gradient(115deg, #020d1e, #39200b 68%, #ff7a00); }
.promo-slide::before { content: ""; position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.12) 50%, transparent 58%); transform: translateX(-45%); animation: cuBannerShine 7s ease-in-out infinite; pointer-events: none; }
.promo-slide__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.promo-slide__tag { color: #9de6ff; font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.promo-slide h2 { max-width: 700px; margin: 10px 0 6px; font-size: clamp(1.55rem, 3vw, 2.5rem); font-weight: 800; }
.promo-slide p { max-width: 700px; margin: 0; color: rgba(255,255,255,.78); }
.promo-slide p strong { color: #fff; }

.available-projects { margin-top: 54px; padding: 32px; border: 1px solid var(--cu-border); border-radius: var(--cu-radius); background: #f5f9fd; }
.available-projects__heading, .pricing-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.available-projects h2, .pricing-section h2 { margin: 12px 0 0; color: var(--cu-heading); font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 800; }
.available-project-card__image, .featured-project-card__image { aspect-ratio: 16 / 10; overflow: hidden; background: #0b203d; }
.available-project-card__image img, .featured-project-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.available-project-card:hover img, .featured-project-card:hover img { transform: scale(1.05); }
.featured-project-card .portfolio-card__content p, .available-project-card .portfolio-card__content p { color: var(--cu-muted); line-height: 1.65; }

.pricing-section { padding: 38px; border-radius: var(--cu-radius); background: #f5f9fd; }
.pricing-section__heading { align-items: center; }
.pricing-section__heading p { max-width: 710px; margin: 14px 0 0; color: var(--cu-muted); line-height: 1.7; }
.pricing-table-wrap { overflow: hidden; border: 1px solid var(--cu-border); border-radius: 14px; background: #fff; }
.pricing-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 18px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--cu-border); color: var(--cu-muted); }
.pricing-row:last-child { border-bottom: 0; }
.pricing-row strong, .pricing-row span:nth-child(2) { color: var(--cu-navy); font-weight: 800; }
.pricing-row--head { color: #fff; background: var(--cu-navy); font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pricing-row--head span { color: #fff; }

.promotion-hero { background: radial-gradient(circle at 84% 26%, rgba(255,122,0,.25), transparent 25%), radial-gradient(circle at 22% 75%, rgba(16,184,238,.18), transparent 27%), linear-gradient(135deg, #010a18, #04172b); }
.promotion-section { background: #fff; }
.promotion-copy h2 { margin: 14px 0; color: var(--cu-navy); font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; }
.promotion-copy > p { color: var(--cu-muted); line-height: 1.8; }
.promotion-copy strong { color: var(--cu-orange); }
.promotion-note { display: flex; flex-direction: column; gap: 6px; margin-top: 26px; padding: 18px; border-left: 3px solid var(--cu-orange); color: var(--cu-muted); background: #f5f9fd; }
.promotion-note strong { color: var(--cu-navy); }
.promotion-form { display: grid; gap: 9px; padding: 28px; border: 1px solid var(--cu-border); border-radius: var(--cu-radius); box-shadow: 0 18px 45px rgba(3,18,40,.08); }
.promotion-form label { margin-top: 7px; color: var(--cu-navy); font-size: .84rem; font-weight: 800; }
.promotion-form input { min-height: 52px; padding: 0 15px; border: 1px solid #dce5ee; border-radius: 10px; font: inherit; }
.promotion-form input:focus { outline: 0; border-color: var(--cu-blue); box-shadow: 0 0 0 .2rem rgba(16,184,238,.12); }
.promotion-form button:disabled { cursor: wait; opacity: .72; transform: none; }
.promotion-loader { display: none; align-items: center; justify-content: center; gap: 12px; min-height: 42px; color: var(--cu-blue); font-size: .86rem; font-weight: 800; }
.promotion-loader.is-visible { display: flex; }
.promotion-loader__space { position: relative; display: block; width: 54px; height: 28px; overflow: hidden; }
.promotion-loader__ship { position: absolute; top: 7px; left: 7px; width: 28px; height: 13px; border-radius: 60% 45% 45% 60%; background: var(--cu-blue); box-shadow: 0 0 12px rgba(16,184,238,.75); animation: promotionShip 1.15s ease-in-out infinite; }
.promotion-loader__ship::before { position: absolute; top: 3px; right: 5px; width: 5px; height: 5px; border-radius: 50%; content: ""; background: #dff8ff; }
.promotion-loader__ship::after { position: absolute; top: 4px; left: -10px; width: 12px; height: 5px; content: ""; background: var(--cu-orange); clip-path: polygon(100% 50%, 0 0, 28% 50%, 0 100%); animation: promotionFlame .28s ease-in-out infinite alternate; }
.promotion-feedback { min-height: 24px; margin: 8px 0 0; font-size: .88rem; font-weight: 700; }
.promotion-feedback.is-error { color: #bd2c3c; }
.promotion-feedback.is-success { color: #12804d; }
.promotion-ticket { display: none; margin-top: 24px; padding: 22px; border: 1px solid var(--cu-border); border-radius: var(--cu-radius); background: #f5f9fd; }
.promotion-ticket.is-visible { display: block; animation: promotionReveal .4s ease both; }
.promotion-ticket__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: var(--cu-navy); font-size: .8rem; font-weight: 800; letter-spacing: .1em; }
.promotion-ticket__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.promotion-ticket__actions .btn { min-height: 42px; white-space: nowrap; }
.promotion-ticket__actions .btn-outline-portfolio { color: var(--cu-white); border-color: var(--cu-blue); background: rgba(16,184,238,.12); }
.promotion-ticket__actions .btn-outline-portfolio:hover { color: var(--cu-navy); border-color: var(--cu-blue); background: var(--cu-blue); }
.promotion-ticket canvas { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 12px 30px rgba(3,18,40,.16); }
@keyframes promotionReveal { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes promotionShip { 0%, 100% { transform: translate(0, 3px) rotate(-4deg); } 50% { transform: translate(18px, -3px) rotate(4deg); } }
@keyframes promotionFlame { from { transform: scaleX(.65); opacity: .65; } to { transform: scaleX(1.15); opacity: 1; } }
@keyframes cuBannerShine { 0%, 35% { transform: translateX(-45%); } 70%, 100% { transform: translateX(45%); } }

/* Em telas pequenas, o chat ocupa quase toda a largura disponível. */
@media (max-width: 480px) {
    .cu-chat { right: 14px; bottom: 14px; }
    .cu-chat__panel {
        right: -6px;
        width: calc(100vw - 20px);
        height: min(70vh, 560px);
    }
}

@media (max-width: 767.98px) {
    .promo-slide__inner, .available-projects__heading, .pricing-section__heading { align-items: flex-start; flex-direction: column; }
    .promo-rotator { min-height: 330px; }
    .promo-slide__inner { justify-content: center; padding-top: 28px; padding-bottom: 28px; }
    .available-projects, .pricing-section { padding: 24px; }
    .pricing-row { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
    .pricing-row--head { display: none; }
    .cu-theme-toggle { right: 14px; bottom: 88px; }
    .promotion-ticket__heading { align-items: flex-start; flex-direction: column; }
    .promotion-ticket__actions { width: 100%; }
    .promotion-ticket__actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Contraste final dos temas: fica depois das regras legadas para evitar mistura de paletas. */
body.theme-light .section-light,
body.theme-light .page-content,
body.theme-light .cta-section,
body.theme-light .portfolio-preview-section,
body.theme-light .audience-section,
body.theme-light .portfolio-cta,
body.theme-light .contact-section,
body.theme-light .promotion-section { color: #13243a; background: #f7fbff; }

body.theme-light .service-card,
body.theme-light .portfolio-card,
body.theme-light .contact-card,
body.theme-light .available-projects,
body.theme-light .pricing-section,
body.theme-light .promotion-form,
body.theme-light .promotion-ticket,
body.theme-light .pricing-table-wrap { color: #13243a; background: #fff; }

body.theme-light .section-heading h2,
body.theme-light .portfolio-intro h2,
body.theme-light .contact-intro h2,
body.theme-light .promotion-copy h2,
body.theme-light .service-card h3,
body.theme-light .portfolio-card h3,
body.theme-light .pricing-section h2,
body.theme-light .promotion-note strong,
body.theme-light .promotion-ticket__heading { color: #020d1e; }

body.theme-light .btn-outline-portfolio { color: #020d1e; border-color: #020d1e; background: #fff; }
body.theme-light .btn-outline-portfolio:hover { color: #fff; border-color: #020d1e; background: #020d1e; }
body.theme-light .service-next-step__copy { color: #526579; }

body:not(.theme-light) .section-light,
body:not(.theme-light) .page-content,
body:not(.theme-light) .cta-section,
body:not(.theme-light) .portfolio-preview-section,
body:not(.theme-light) .audience-section,
body:not(.theme-light) .portfolio-cta,
body:not(.theme-light) .contact-section,
body:not(.theme-light) .promotion-section { color: #d7e3ef; background: #091a2f; }

body:not(.theme-light) .service-card,
body:not(.theme-light) .portfolio-card,
body:not(.theme-light) .contact-card,
body:not(.theme-light) .available-projects,
body:not(.theme-light) .pricing-section,
body:not(.theme-light) .promotion-form,
body:not(.theme-light) .promotion-ticket,
body:not(.theme-light) .pricing-table-wrap { color: #d7e3ef; border-color: rgba(141,199,232,.18); background: #0d2038; }

body:not(.theme-light) .section-heading h2,
body:not(.theme-light) .portfolio-intro h2,
body:not(.theme-light) .contact-intro h2,
body:not(.theme-light) .promotion-copy h2,
body:not(.theme-light) .service-card h3,
body:not(.theme-light) .portfolio-card h3,
body:not(.theme-light) .pricing-section h2,
body:not(.theme-light) .promotion-note strong,
body:not(.theme-light) .promotion-ticket__heading { color: #f5f8ff; }

body:not(.theme-light) .portfolio-card p,
body:not(.theme-light) .service-card p,
body:not(.theme-light) .portfolio-intro p,
body:not(.theme-light) .section-heading p,
body:not(.theme-light) .pricing-section__heading p,
body:not(.theme-light) .promotion-copy > p { color: #a9bbcc; }
body:not(.theme-light) .btn-outline-portfolio { color: #f5f8ff; border-color: #8dc7e8; background: rgba(2,13,30,.35); }
body:not(.theme-light) .btn-outline-portfolio:hover { color: #020d1e; border-color: #10b8ee; background: #10b8ee; }
body:not(.theme-light) .service-next-step__copy { color: #c2d1df; }

/* Todas as paginas deixam a atmosfera aparecer atras do conteudo. */
body.theme-light .section-light,
body.theme-light .page-content,
body.theme-light .cta-section,
body.theme-light .portfolio-preview-section,
body.theme-light .audience-section,
body.theme-light .portfolio-cta,
body.theme-light .contact-section,
body.theme-light .promotion-section,
body:not(.theme-light) .section-light,
body:not(.theme-light) .page-content,
body:not(.theme-light) .cta-section,
body:not(.theme-light) .portfolio-preview-section,
body:not(.theme-light) .audience-section,
body:not(.theme-light) .portfolio-cta,
body:not(.theme-light) .contact-section,
body:not(.theme-light) .promotion-section { background: transparent; }

body.theme-light .text-muted { color: #52657a !important; }
body:not(.theme-light) .text-muted { color: #b7c8d8 !important; }
