/* FINALIZA TÊXTIL — CSS COMPARTILHADO */
/* Paleta: Azul marinho + Pêssego/Nude */

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

:root {
    --bg-dark: #020659;
    --bg-dark-alt: #031059;
    --bg-light: #F2C6A0;
    --bg-light-alt: #F2AFA0;
    --purple: #574973;
    --text-light: #FFFFFF;
    --text-dark: #020659;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-muted-dark: rgba(2, 6, 89, 0.6);
    --accent: #F2C6A0;
    --border: rgba(255, 255, 255, 0.15);
    --border-dark: rgba(2, 6, 89, 0.15);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-light);
}

.logo a {
    color: inherit;
}

.header-time {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--text-light);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-toggle {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.2s;
    cursor: pointer;
}

.nav-dropdown-toggle:hover {
    color: var(--text-light);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-dark-alt);
    border: 1px solid var(--border);
    min-width: 200px;
    z-index: 200;
}

/* Ponte invisível para manter hover ao mover mouse do link ao menu */
.nav-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0.75rem;
    display: none;
}

.nav-dropdown:hover::after {
    display: block;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    margin-top: 0.75rem;
}

.nav-dropdown-menu a {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s, color 0.2s;
}

.nav-dropdown-menu a:last-child {
    border-bottom: none;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-dark);
    color: var(--text-light);
}

/* Elementos só visíveis no mobile */
.nav-label,
.nav-contact {
    display: none;
}

/* ===== HAMBURGER MENU ===== */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text-light);
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    line-height: 1;
}

.menu-toggle:hover {
    border-color: var(--accent);
}

/* ===== FORM ERROR ===== */
.form-error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: var(--text-dark);
}

.btn-primary:hover {
    background: var(--bg-light-alt);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== HOME HEADER SCROLL-REVEAL ===== */
body.home-hero-visible header {
    transform: translateY(-100%);
    border-bottom-color: transparent;
}

header {
    transition: transform 0.4s ease, border-bottom-color 0.3s;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

body.home-hero-visible .hero {
    padding-top: 4rem;
}

/* Elemento decorativo — parallax */
.hero-elemento {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 70%;
    max-width: 900px;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: screen;
    will-change: transform;
}

.hero-elemento img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-label, .hero h1, .hero-subtitle, .hero-meta, .hero > div:last-child {
    position: relative;
    z-index: 1;
}

.hero-label {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 0.95;
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
    line-height: 1.4;
}

.hero-meta {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-meta-value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ===== PAGE HERO (páginas internas) ===== */
.page-hero {
    padding: 10rem 2rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.page-hero-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.6;
}

/* ===== SECTIONS ===== */
section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-full {
    max-width: none;
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-number {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin-bottom: 4rem;
}

/* ===== BACKGROUNDS ===== */
.bg-light {
    background: var(--bg-light);
    color: var(--text-dark);
}

.bg-light .section-number {
    color: var(--purple);
}

.bg-light .section-title {
    color: var(--text-dark);
}

.bg-light .section-intro {
    color: var(--text-muted-dark);
}

.bg-light .btn-primary {
    background: var(--bg-dark);
    color: var(--text-light);
}

.bg-light .btn-primary:hover {
    background: var(--bg-dark-alt);
}

.bg-rose {
    background: var(--bg-light-alt);
    color: var(--text-dark);
}

.bg-rose .section-number {
    color: var(--purple);
}

.bg-rose .section-title {
    color: var(--text-dark);
}

.bg-purple {
    background: var(--purple);
    color: var(--text-light);
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.service-card {
    background: var(--bg-dark);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    transition: background 0.3s;
}

.service-card:hover {
    background: var(--bg-dark-alt);
}

.service-card-number {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.service-card p {
    color: var(--text-muted);
    flex-grow: 1;
    line-height: 1.6;
}

.service-card-link {
    color: var(--accent);
    font-size: 0.875rem;
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card-link:hover {
    text-decoration: underline;
}

/* ===== DIFERENCIAIS ===== */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.diferencial {
    border-top: 2px solid var(--text-dark);
    padding-top: 1.5rem;
}

.diferencial h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.diferencial p {
    color: var(--text-muted-dark);
    line-height: 1.6;
}

/* ===== PROCESSO FLOW ===== */
.processo-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}

.processo-step {
    padding: 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background 0.3s;
}

.processo-step:hover {
    background: var(--bg-dark-alt);
}

.processo-step:last-child {
    border-right: none;
}

.processo-step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.processo-step h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.processo-step p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===== ROSANE SECTION ===== */
.rosane-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.rosane-text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-dark);
}

.rosane-text p {
    color: var(--text-muted-dark);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.rosane-text .highlight {
    color: var(--text-dark);
    font-weight: 500;
}

.rosane-image {
    aspect-ratio: 4/5;
    background: var(--purple);
    overflow: hidden;
}

.rosane-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== CONTENT (páginas de serviço) ===== */
.content {
    padding: 4rem 2rem 6rem;
    max-width: 900px;
    margin: 0 auto;
}

.content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.content ul, .content ol {
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    line-height: 1.7;
}

.content li {
    margin-bottom: 0.5rem;
}

.content strong {
    color: var(--text-light);
    font-weight: 500;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.content th, .content td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--border);
}

.content th {
    background: var(--bg-dark-alt);
    font-weight: 500;
}

.content td {
    color: var(--text-muted);
}

.content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 3rem 0;
}

/* ===== FAQ ===== */
.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 0;
}

.faq-item h3 {
    margin-top: 0;
    color: var(--text-light);
}

.faq-item p {
    margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--purple);
    text-align: center;
    padding: 8rem 2rem;
}

.cta-section h2 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.cta-section p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 3rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.cta-section .btn-outline {
    border-color: rgba(255,255,255,0.3);
}

.cta-section .btn-outline:hover {
    border-color: var(--text-light);
}

.cta-contact {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}

.cta-contact a {
    color: rgba(255,255,255,0.6);
}

.cta-contact a:hover {
    color: var(--text-light);
}

/* ===== CTA BOX (inline) ===== */
.cta-box {
    background: var(--bg-dark-alt);
    border: 1px solid var(--border);
    padding: 3rem;
    margin: 3rem 0;
}

.cta-box h2 {
    margin-top: 0;
    color: var(--text-light);
}

.cta-box p {
    margin-bottom: 1.5rem;
}

.cta-box .contact-info {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

/* ===== CONTACT FORM ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--purple);
    margin-bottom: 0.5rem;
}

.contact-item p, .contact-item a {
    font-size: 1.125rem;
    color: var(--text-dark);
}

.contact-item a:hover {
    color: var(--purple);
}

.contact-form-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--border-dark);
    background: rgba(255,255,255,0.5);
    color: var(--text-dark);
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.btn-submit:hover {
    background: var(--purple);
}

/* ===== FOOTER ===== */
footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
}

.footer-marquee {
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.footer-marquee-inner {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.footer-marquee-text {
    display: inline-block;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    padding-right: 4rem;
    color: transparent;
    -webkit-text-stroke: 1px var(--accent);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
    font-size: 0.875rem;
}

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

.footer-contact p {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.footer-contact a {
    color: var(--text-light);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .processo-flow {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .processo-step:nth-child(3) {
        border-right: none;
    }
    
    .processo-step:nth-child(4),
    .processo-step:nth-child(5) {
        border-top: 1px solid var(--border);
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
        flex-wrap: wrap;
    }

    .header-time {
        display: none;
    }

    .menu-toggle {
        display: block;
        z-index: 310;
    }

    nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-dark);
        z-index: 300;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 0;
        padding: 5rem 2rem 2rem;
        overflow-y: auto;
    }

    nav.nav-open {
        display: flex;
    }

    /* Label de seção no mobile */
    .nav-label {
        display: block;
        font-size: 0.7rem;
        color: var(--accent);
        text-transform: uppercase;
        letter-spacing: 0.15em;
        margin-top: 2rem;
        margin-bottom: 0.5rem;
    }

    .nav-label:first-child {
        margin-top: 0;
    }

    nav > a {
        padding: 0.6rem 0;
        border-bottom: none;
        display: block;
        color: var(--text-light);
        font-size: 1.25rem;
        font-weight: 500;
        text-align: left;
    }

    .nav-dropdown-toggle {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-dropdown::after {
        display: none !important;
    }

    .nav-dropdown-menu,
    .nav-dropdown:hover .nav-dropdown-menu {
        position: static;
        margin-top: 0 !important;
        border: none;
        background: transparent;
        min-width: auto;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-dropdown-menu a {
        padding: 0.5rem 0;
        border-bottom: none;
        font-size: 1.1rem;
        color: var(--text-light);
        text-align: left;
        font-weight: 500;
    }

    .nav-dropdown-menu a:hover {
        background: transparent;
        color: var(--accent);
    }

    /* Botões de contato no mobile */
    .nav-contact {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        margin-top: 0.5rem;
    }

    .nav-contact .nav-label {
        margin-top: 2rem;
    }

    .nav-contact a {
        display: block;
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
        color: var(--text-light);
        font-weight: 500;
        border: 1px solid var(--border);
        text-align: left;
        transition: border-color 0.2s, background 0.2s;
    }

    .nav-contact a:hover {
        border-color: var(--accent);
        background: rgba(242, 198, 160, 0.08);
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    body.home-hero-visible .hero {
        padding-top: 3rem;
    }

    .hero {
        overflow: hidden;
    }

    .hero-elemento {
        width: 100%;
        top: -5%;
        right: -25%;
        opacity: 0.5;
    }

    .page-hero {
        padding: 7rem 1.5rem 3rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .content {
        padding: 3rem 1.5rem 4rem;
    }

    .processo-flow {
        grid-template-columns: 1fr;
    }

    .processo-step {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .processo-step:last-child {
        border-bottom: none;
    }

    .rosane-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-marquee-text {
        font-size: 2.5rem;
    }

    .cta-contact {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-section {
        padding: 5rem 1.5rem;
    }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 0.5rem;
    color: var(--text-muted);
    opacity: 0.5;
}

/* ===== ABOUT PAGE ===== */

/* Statement — large editorial prose */
.about-statement {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.about-statement strong {
    color: var(--text-light);
    font-weight: 700;
}

.bg-light .about-statement {
    color: var(--text-muted-dark);
}

.bg-light .about-statement strong {
    color: var(--text-dark);
}

/* Pull quote */
.about-quote {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.4;
    border-left: 3px solid var(--accent);
    padding-left: 2rem;
    margin: 3rem 0 0;
    max-width: 800px;
    color: var(--text-light);
}

/* Stat grid — big numbers */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    border-top: 2px solid var(--accent);
    padding-top: 1.5rem;
}

.stat-value {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.bg-light .stat-item {
    border-top-color: var(--text-dark);
}

.bg-light .stat-value {
    color: var(--text-dark);
}

.bg-light .stat-label {
    color: var(--text-muted-dark);
}

.bg-light .stat-desc {
    color: var(--text-muted-dark);
}

/* Diferenciais on dark background */
.diferenciais-dark .diferencial {
    border-top-color: var(--accent);
}

.diferenciais-dark .diferencial h3 {
    color: var(--text-light);
}

.diferenciais-dark .diferencial p {
    color: var(--text-muted);
}

/* Quote on light background */
.bg-light .about-quote {
    color: var(--text-dark);
    border-left-color: var(--purple);
}

/* Services grid on light background */
.bg-light .services-grid {
    background: var(--border-dark);
    border-color: var(--border-dark);
}

/* ===== CONTENT HIGHLIGHT ===== */
.content-highlight {
    font-family: inherit;
    font-weight: 500;
    background: var(--bg-dark-alt);
    padding: 1rem 1.5rem;
    border-left: 3px solid var(--accent);
    border-radius: 4px;
    color: var(--text-light);
    letter-spacing: 0.02em;
}
.bg-light .content-highlight {
    background: #fff;
    color: var(--text-dark);
    border-color: var(--accent);
}
.bg-rose .content-highlight {
    background: rgba(255,255,255,.15);
    color: var(--text-dark);
}

/* ===== SERVICE PAGE SECTIONS ===== */

/* Prose text styling inside service sections */
.svc-prose {
    max-width: 800px;
}

.svc-prose p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.svc-prose ul, .svc-prose ol {
    color: var(--text-muted);
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    line-height: 1.7;
}

.svc-prose li {
    margin-bottom: 0.5rem;
}

.svc-prose strong {
    color: var(--text-light);
    font-weight: 500;
}

.svc-prose h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

/* Prose in light backgrounds */
.bg-light .svc-prose p,
.bg-light .svc-prose ul,
.bg-light .svc-prose ol {
    color: var(--text-muted-dark);
}

.bg-light .svc-prose strong {
    color: var(--text-dark);
}

.bg-light .svc-prose h3 {
    color: var(--text-dark);
}

.bg-rose .svc-prose p,
.bg-rose .svc-prose ul,
.bg-rose .svc-prose ol {
    color: var(--text-muted-dark);
}

.bg-rose .svc-prose strong {
    color: var(--text-dark);
}

/* Types grid (e.g. folding types, defect types) */
.svc-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 2rem;
}

.svc-type-card {
    background: var(--bg-dark);
    padding: 2rem;
}

.svc-type-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.svc-type-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.svc-type-card p:last-child {
    margin-bottom: 0;
}

.svc-type-card .svc-tag {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Types grid in light backgrounds */
.bg-light .svc-types-grid {
    background: var(--border-dark);
    border-color: var(--border-dark);
}

.bg-light .svc-type-card {
    background: var(--bg-light);
}

.bg-light .svc-type-card h3 {
    color: var(--text-dark);
}

.bg-light .svc-type-card p {
    color: var(--text-muted-dark);
}

.bg-light .svc-type-card .svc-tag {
    color: var(--purple);
}

/* Info grid (capacity, timeline, team) */
.svc-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.svc-info-item {
    border-top: 2px solid var(--accent);
    padding-top: 1.5rem;
}

.svc-info-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.svc-info-item p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Info grid in light backgrounds */
.bg-light .svc-info-item {
    border-top-color: var(--text-dark);
}

.bg-light .svc-info-item h3 {
    color: var(--text-dark);
}

.bg-light .svc-info-item p {
    color: var(--text-muted-dark);
}

/* Table for service pages */
.svc-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.svc-table th, .svc-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid var(--border);
}

.svc-table th {
    background: var(--bg-dark-alt);
    font-weight: 500;
}

.svc-table td {
    color: var(--text-muted);
}

.svc-table td strong {
    color: var(--text-light);
    font-weight: 500;
}

/* Table in light backgrounds */
.bg-light .svc-table th,
.bg-light .svc-table td {
    border-color: var(--border-dark);
}

.bg-light .svc-table th {
    background: rgba(2, 6, 89, 0.08);
    color: var(--text-dark);
}

.bg-light .svc-table td {
    color: var(--text-muted-dark);
}

.bg-light .svc-table td strong {
    color: var(--text-dark);
}

/* Processo flow — flexible column version */
.svc-processo-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0;
    border: 1px solid var(--border);
}

.svc-processo-flow .processo-step {
    padding: 2rem;
    text-align: center;
    border-right: 1px solid var(--border);
    transition: background 0.3s;
}

.svc-processo-flow .processo-step:last-child {
    border-right: none;
}

.svc-processo-flow .processo-step:hover {
    background: var(--bg-dark-alt);
}

/* Diferenciais grid in dark background */
.bg-dark-section .diferenciais-grid .diferencial {
    border-top-color: var(--accent);
}

.bg-dark-section .diferencial h3 {
    color: var(--text-light);
}

.bg-dark-section .diferencial p {
    color: var(--text-muted);
}

/* Processo/diferenciais in light backgrounds */
.bg-light .processo-flow,
.bg-light .svc-processo-flow {
    border-color: var(--border-dark);
}

.bg-light .processo-step {
    border-color: var(--border-dark);
}

.bg-light .processo-step:hover,
.bg-light .svc-processo-flow .processo-step:hover {
    background: rgba(2, 6, 89, 0.05);
}

.bg-light .processo-step-number {
    color: var(--purple);
}

.bg-light .processo-step h4 {
    color: var(--text-dark);
}

.bg-light .processo-step p {
    color: var(--text-muted-dark);
}

/* FAQ in light backgrounds */
.bg-light .faq-item {
    border-bottom-color: var(--border-dark);
}

.bg-light .faq-item h3 {
    color: var(--text-dark);
}

.bg-light .faq-item p {
    color: var(--text-muted-dark);
}

/* Service page responsive */
@media (max-width: 768px) {
    .svc-processo-flow {
        grid-template-columns: 1fr;
    }

    .svc-processo-flow .processo-step {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .svc-processo-flow .processo-step:last-child {
        border-bottom: none;
    }

    .svc-info-grid {
        gap: 2rem;
    }

    .about-quote {
        padding-left: 1.5rem;
    }

    .stat-grid {
        gap: 2rem;
    }
}

/* ===== LGPD BANNER ===== */
.lgpd-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark-alt);
    border-top: 1px solid var(--border);
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 280;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.lgpd-banner p {
    margin: 0;
}

.lgpd-banner button {
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    padding: 0.5rem 1.5rem;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
}

.lgpd-banner button:hover {
    background: var(--bg-light-alt);
}

@media (max-width: 768px) {
    .lgpd-banner {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        text-align: center;
    }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .footer-marquee-inner { animation: none; }
    #chat-widget-btn { animation: none; }
    .chat-typing-dots span { animation: none; }
}

/* ===== CHAT WIDGET ===== */

#chat-widget-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    cursor: pointer;
    z-index: 290;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, opacity 0.2s, transform 0.2s;
    animation: chatPulse 3s ease-in-out 5s 3;
}

#chat-widget-btn:hover {
    background: var(--bg-light-alt);
}

#chat-widget-btn.chat-btn-hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    animation: none;
}

/* Tooltip que aparece ao lado do botão */
#chat-widget-tooltip {
    position: fixed;
    bottom: 1.75rem;
    right: 5rem;
    background: var(--bg-dark);
    color: var(--text-light);
    border: 1px solid var(--border);
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

#chat-widget-tooltip.chat-tooltip-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

@keyframes chatPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

#chat-widget-panel {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 380px;
    height: 500px;
    max-height: 75vh;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    z-index: 290;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#chat-widget-panel.chat-panel-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

#chat-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: var(--bg-dark-alt);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

#chat-widget-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--text-light);
}

#chat-widget-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

#chat-widget-close {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s, border-color 0.2s;
}

#chat-widget-close:hover {
    color: var(--text-light);
    border-color: var(--text-light);
}

#chat-widget-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#chat-widget-body::-webkit-scrollbar {
    width: 4px;
}

#chat-widget-body::-webkit-scrollbar-track {
    background: transparent;
}

#chat-widget-body::-webkit-scrollbar-thumb {
    background: var(--border);
}

.chat-msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-msg a {
    color: inherit;
    text-decoration: underline;
}

.chat-link {
    color: var(--accent) !important;
    text-decoration: underline !important;
}

.chat-cta-btn {
    display: block;
    width: fit-content;
    background: var(--accent);
    color: var(--text-dark) !important;
    text-decoration: none !important;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.chat-cta-btn:hover {
    background: var(--bg-light-alt);
}

.chat-msg-bot {
    background: var(--bg-dark-alt);
    color: var(--text-light);
    border: 1px solid var(--border);
    align-self: flex-start;
}

.chat-msg-user {
    background: var(--accent);
    color: var(--text-dark);
    align-self: flex-end;
}

.chat-msg-error {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.4);
    color: #fca5a5;
    align-self: center;
    text-align: center;
    font-size: 0.8rem;
    max-width: 100%;
}

/* Badge de modo orçamento */
.chat-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 2px;
}

.chat-badge-orcamento {
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #a5b4fc;
}

.chat-badge-enviado {
    display: block;
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
    margin-top: 0.75rem;
    text-align: center;
}

.chat-msg-orcamento-enviado {
    border-color: rgba(34, 197, 94, 0.3) !important;
}

#chat-widget-input-area {
    display: flex;
    align-items: flex-end;
    border-top: 1px solid var(--border);
    padding: 0.75rem;
    gap: 0.5rem;
    flex-shrink: 0;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#chat-widget-input-area:focus-within {
    border-top-color: var(--accent);
    box-shadow: inset 0 1px 0 0 rgba(242, 198, 160, 0.15);
}

#chat-widget-textarea {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-light);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.875rem;
    line-height: 1.5;
    resize: none;
    outline: none;
    padding: 0.5rem;
    max-height: 100px;
}

#chat-widget-textarea::placeholder {
    color: var(--text-muted);
}

#chat-widget-send {
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
}

#chat-widget-send:hover {
    background: var(--bg-light-alt);
}

#chat-widget-send:active {
    transform: scale(0.9);
}

#chat-widget-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Typing indicator */
.chat-typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}

.chat-typing-dots span {
    width: 6px;
    height: 6px;
    background: var(--text-muted);
    display: block;
    animation: chatTyping 1.2s infinite;
}

.chat-typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* Mobile */
@media (max-width: 768px) {
    #chat-widget-btn {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }

    #chat-widget-tooltip {
        bottom: 1.25rem;
        right: 4.5rem;
        font-size: 0.75rem;
    }

    #chat-widget-panel {
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        border: none;
    }

    #chat-widget-textarea {
        font-size: 1rem;
    }
}
