/* =====================================================
   NOTA: Todas as variáveis CSS estão em variables.css
   Este arquivo contém apenas estilos estruturais.
===================================================== */

/* =====================================================
   RESET & BASE
===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text-body);
    background-color: var(--color-bg-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
}

/* =====================================================
   TYPOGRAPHY
===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

/* Tipografia fluida com clamp */
h1 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

p {
    margin-bottom: var(--space-sm);
}

/* =====================================================
   LAYOUT UTILITIES
===================================================== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--grid-gutter);
}

.section {
    padding: var(--space-xl) 0;
}

.grid {
    display: grid;
    gap: var(--grid-gutter);
}

/* =====================================================
   BUTTONS
===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 12px 24px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: 
        background-color var(--transition-base),
        transform 0.15s ease,
        box-shadow var(--transition-base);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    font-size: 1.125rem;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-text-inverse);
    color: var(--color-text-inverse);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.25rem;
}

.btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* =====================================================
   HEADER
===================================================== */
.header {
    height: var(--header-height);
    background-color: var(--color-bg-body);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-header);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo - Usando variável centralizada */
.header .logo {
    display: flex;
    align-items: center;
}

.header .logo img {
    height: var(--logo-height-header);
    width: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-body);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

/* Dropdown */
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background-color: var(--color-bg-body);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-md);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: 
        opacity var(--transition-base),
        transform var(--transition-base),
        visibility var(--transition-base);
    z-index: 1000;
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    color: var(--color-text-body);
    white-space: nowrap;
}

.dropdown-link:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

/* Desktop hover */
@media (min-width: 769px) {
    .has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Mobile dropdown open */
.has-dropdown.is-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* CTA Header */
.nav-cta {
    margin-left: var(--space-sm);
}

.btn-orcamento {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    background-color: var(--color-accent);
    color: var(--color-primary-dark);
    border-radius: var(--border-radius-pill);
    white-space: nowrap;
    transition: 
        background-color var(--transition-base),
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-orcamento:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* =====================================================
   HERO SLIDER — SOMENTE HOME (CORRIGIDO)
===================================================== */

.home .hero {
    height: 80vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: flex-start;
    background-color: var(--color-primary-dark);
    overflow: hidden;
}

.home .hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: grab;
}

.home .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.2, 0, 0.2, 1);

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home .hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.home .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(14, 55, 116, 0.707),
        rgba(8, 43, 73, 0.755)
    );
    z-index: 1;
}

/* Hero Content */
.home .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: clamp(120px, 18vh, 220px);
    margin-left: clamp(0px, 15vw, 200px);
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(0.2, 0.2, 0.2, 1);
    transition-delay: 0.25s;
}

.home .hero-slide.is-active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.home .hero h1,
.home .hero p {
    color: var(--color-text-inverse);
}


/* Hero Dots */
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: 
        background-color var(--transition-base),
        transform var(--transition-base);
}

.hero-dot.is-active {
    background: var(--color-accent);
    transform: scale(1.2);
}

/* Hero Arrows (Hidden by default on desktop) */
.hero-arrow {
    display: none;
    position: absolute;
    top: 75%; /* Movido para baixo para evitar sobreposição de texto em telas menores */
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background-color var(--transition-base);
}

.hero-arrow:hover {
    background: rgba(0, 0, 0, 0.6);
}

.hero-arrow svg {
    width: 20px;
    height: 20px;
}

.hero-arrow--prev {
    left: 16px;
}

.hero-arrow--next {
    right: 16px;
}

.home .hero-slide--linha-continua {
    background-image: url('../assets/fotos/home/foto-banner-1.jpg');
}

.home .hero-slide--solucoes {
    background-image: url('../assets/fotos/home/foto-banner-2.png');
}

.home .hero-slide--contato {
    background-image: url('../assets/fotos/home/foto-banner-3.jpg');
}

/* =====================================================
   PAGE HERO — INTERNAL PAGES
===================================================== */
.page-hero {
    height: 50vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--color-text-inverse);
    background-color: var(--color-primary-dark);
    overflow: hidden;
}

/* =====================================================
   PAGE HERO — SOLUÇÕES
===================================================== */

.solutions-page .page-hero--solutions {
    background-image: url('../assets/fotos/home/foto-soluções.jpg'); /* ajuste o caminho */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay */
.solutions-page .page-hero--solutions::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(15, 63, 102, 0.7),
        rgba(15, 63, 102, 0.7)
    );
    z-index: 1;
}


.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            rgba(19, 64, 104, 0.85),
            rgba(19, 64, 104, 0.85)
        ),
        url('../assets/hero-industrial.jpg') center/cover;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.solutions-page .page-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3rem);
}

.solutions-page .page-hero p {
    max-width: 640px;
    font-size: 1.125rem;
    opacity: 0.95;
}

/* =====================================================
   SOLUTIONS
===================================================== */
.solutions {
    background-color: var(--color-bg-light);
}

.solutions-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: var(--space-lg);
}

.solution-card {
    background-color: var(--color-surface);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensure image does not overflow */
    height: 100%;
}

.solution-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.solution-card h3 {
    padding: 24px 24px 12px;
    margin: 0;
    color: var(--color-primary);
}

.solution-card p {
    padding: 0 26px 26px;
    margin: 0;
    color: var(--color-text-body);
    font-size: 0.95rem;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.card-link {
    display: inline-block;
    margin-top: var(--space-sm);
    font-weight: 600;
    color: var(--color-primary);
}

.card-link:hover {
    color: var(--color-primary-dark);
}

/* Solution Blocks */
.solution-block {
    margin-bottom: var(--space-xl);
}

.solution-intro {
    font-size: 1.125rem;
    max-width: 800px;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
}

.section-divider {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: var(--space-xl) 0;
}

/* =====================================================
   SOLUTIONS CAROUSEL - SEM DESTAQUE
===================================================== */
.solutions-carousel {
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: var(--space-lg);
    padding-bottom: var(--space-sm);
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    
    /* Esconde a scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.solutions-carousel::-webkit-scrollbar {
    display: none;
}

.solutions-track {
    display: flex;
    gap: var(--grid-gutter);
    padding: 8px 0 var(--space-md) 0;
    align-items: stretch; /* Enforce equal height */
}

.solutions-track .solution-card {
    flex: 0 0 320px;
    min-width: 320px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: auto; /* Deixar align-items: stretch do pai equalizar as alturas */
    border-radius: 16px;
}

.solution-card h3 {
    padding: 24px 24px 12px;
    margin: 0;
    color: var(--color-primary);
    min-height: 100px;
    display: flex;
    align-items: center;
}

.solution-card p {
    padding: 0 24px 24px;
    margin: 0;
    color: var(--color-text-body);
    font-size: 0.95rem;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.solutions-track .solution-card:hover {
    transform: translateY(-4px);
}

/* Carousel: imagem com altura fixa e que nunca encolhe */
.solutions-track .solution-card img {
    height: 240px;
    width: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Carousel: título — 2 linhas, altura fixa */
.solutions-track .solution-card h3 {
    height: 110px;
    min-height: unset;
    padding: 16px 20px 12px;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    align-items: unset;
}

/* Carousel: descrição — 4 linhas
   font-size 0.95rem, line-height 1.7 → ~25px/linha
   4 linhas = ~102px + padding 12px top + 24px bottom = ~138px */
.solutions-track .solution-card p {
    padding: 12px 20px 24px;
    margin: 0;
    flex: none;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    align-items: unset;
    min-height: 163px;
}

/* =====================================================
   CREDIBILITY STRIP
===================================================== */
.credibility {
    padding: var(--space-md) 0;
    background-color: var(--color-bg-body);
    border-top: 2px solid #e5e7eb;
    border-bottom: 2px solid #e5e7eb;
}

.credibility-flex {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
    text-align: center;
}

.indicator {
    color: var(--color-text-muted);
}

.indicator-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.indicator-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* =====================================================
   CTA SECTION
===================================================== */
.cta-section {
    background-color: var(--color-primary-dark);
    color: var(--color-text-inverse);
    text-align: center;
}

.cta-section p {
    margin-bottom: var(--space-md);
}

/* =====================================================
   INSTITUTIONAL FEATURES
===================================================== */
.content-block {
    max-width: 800px;
    color: var(--color-text-body);
    margin-bottom: var(--space-md);
}

.feature-grid {
    display: grid;
    gap: var(--space-md);
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
    background-color: var(--color-bg-light);
    padding: var(--space-md);
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--color-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
}

.feature-card p {
    margin-bottom: 0;
}

/* =====================================================
   AUTHORITY SECTION
===================================================== */
.authority {
    background: linear-gradient(135deg, #0f3f66, #134068);
    color: var(--color-text-inverse);
    padding: clamp(60px, 8vh, 100px) 0;
}

.authority-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: center;
}
.authority-media {
    position: relative;
    width: 100%;
    height: 100%;
}

.authority-media img {
    width: 100%;
    height: 100%;
    object-fit:cover;
    border-radius: 20px;              /* REMOVE cara de card */
    box-shadow: none;              /* REMOVE elevação */
}

.authority-content h2 {
    color: var(--color-text-inverse);
    margin-bottom: var(--space-sm);
}

.authority-lead {
    font-size: 1.125rem;
    font-weight: 500;
    opacity: 0.95;
    margin-bottom: 20px;
}

.authority-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* =====================================================
   CLIENTS CAROUSEL — INFINITE LOOP
===================================================== */
.clients {
    padding: var(--space-lg) 0;
    background-color: var(--color-bg-body);
    overflow: hidden;
}

.clients-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-lg);
}

.clients-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.clients-track {
    display: flex;
    width: max-content;
    animation: clients-loop 40s linear infinite;
    will-change: transform;
}

.clients-group {
    display: flex;
    align-items: center;
    gap: 72px;
    padding-right: 72px;
}

.clients-group img {
    height: 64px;
    width: auto;
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

.clients-group img:hover {
    opacity: 1;
}

@keyframes clients-loop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* =====================================================
   HOME DIRECTIONS
===================================================== */
.home-directions {
    padding: var(--space-xl) 0;
    background: linear-gradient(135deg, #0f3f66, #134068);
}

.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.direction-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.06),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    color: var(--color-text-inverse);
    transition: 
        transform var(--transition-smooth),
        box-shadow var(--transition-smooth),
        border-color var(--transition-smooth);
}

.direction-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.direction-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.direction-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.direction-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-inverse);
}

.direction-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}

.direction-cta {
    margin-top: auto;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-inverse);
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

.direction-card:hover .direction-cta {
    opacity: 1;
}

/* =====================================================
   PROCESS FLOW
===================================================== */
.process-flow {
    background-color: var(--color-bg-body);
}

.process-title {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--color-primary-dark);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    position: relative;
}

.process-card {
    position: relative;
    background-color: var(--color-bg-body);
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.process-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    color: var(--color-primary-dark);
}

.process-icon img,
.process-icon svg {
    width: 100%;
    height: auto;
}

.process-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 6px;
}

.process-card p {
    font-size: 0.95rem;
    color: var(--color-text-body);
    margin: 0;
    line-height: 1.5;
}

/* Setas entre cards (desktop) */
@media (min-width: 901px) {
    .process-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .process-card:not(:last-child)::after {
        content: "›";
        position: absolute;
        top: 50%;
        right: -26px;
        transform: translateY(-50%);
        font-size: 2rem;
        font-weight: 800;
        color: var(--color-primary-dark);
        opacity: 0.6;
        pointer-events: none;
    }
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
    background-color: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 0;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Footer Brand - Logo usando variável */
.footer-brand {
    max-width: 360px;
}

.footer-brand .logo img {
    height: var(--logo-height-footer);
    width: auto;
}

.footer-brand p {
    line-height: 1.6;
    margin: 0;
}

/* Footer Headings */
.footer h4 {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text-inverse);
    margin-bottom: 8px;
}

/* Footer Links */
.footer ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: color var(--transition-base);
}

.footer a:hover {
    color: var(--color-accent);
}

/* Footer Contact */
.footer-contact a {
    font-weight: 600;
    color: var(--color-text-inverse);
}

/* Footer Finance Logos - Usando variável */
.footer-finance-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-finance-logos img {
    height: var(--logo-height-partner);
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity var(--transition-base);
}

.footer-finance-logos img:hover {
    opacity: 1;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 64px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
}

/* =====================================================
   RESPONSIVE BREAKPOINTS
===================================================== */

/* Tablet */
@media (max-width: 900px) {
    .authority-grid {
        grid-template-columns: 1fr;
    }

    .authority-media {
        order: -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 48px;
    }

    .directions-grid {
        grid-template-columns: 1fr;
    }

    .direction-image img {
        height: 160px;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .process-card::after {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --space-xl: 48px;
        --grid-gutter: 16px;
    }

    .header .logo img {
        height: var(--logo-height-header-mobile);
    }

    .hero-content {
        margin-left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .nav-cta {
        width: 100%;
        margin-top: var(--space-sm);
        margin-left: 0;
    }

    .btn-orcamento {
        width: 100%;
        justify-content: center;
    }

    .authority {
        padding: 48px 0;
    }

    .authority-lead {
        font-size: 1rem;
    }

    .clients-group {
        gap: 40px;
        padding-right: 40px;
    }

    .solutions-track .solution-card {
        flex: 0 0 85%;
        min-width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-brand {
        max-width: none;
    }

    .footer-brand .logo img {
        height: var(--logo-height-footer-mobile);
    }

    .footer-finance-logos {
        justify-content: center;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .authority {
        padding: 48px 0;
    }
}

/* Desktop grande */
@media (min-width: 1200px) {
    .solutions-track .solution-card {
        flex: 0 0 360px;
    }
}

/* =====================================================
   ACCESSIBILITY IMPROVEMENTS
===================================================== */

/* Modo de alto contraste */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid var(--color-primary-dark);
    }
    
    .solution-card {
        border: 2px solid #e5e7eb;
    }
}

/* Reduzir movimento para usuários com preferência */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .clients-track {
        animation: none;
    }
}

/* Focus visível para navegação por teclado */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* =====================================================
   PRINT STYLES
===================================================== */
@media print {
    .header,
    .footer,
    .hero-dots,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .section {
        page-break-inside: avoid;
    }
}

/* =====================================================
   PAGE HERO — INSTITUCIONAL
===================================================== */

.page-hero--institutional {
    min-height: 60vh;
    display: flex;
    align-items: center;
}

/* Grid do hero */
.page-hero-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(32px, 6vw, 80px);
}

/* Logo */
.page-hero-logo img {
    width: clamp(160px, 22vw, 420px);
    height: auto;
    opacity: 0.95;
}

/* Conteúdo */
.page-hero-content {
    max-width: 640px;
}

.page-hero-content h1 {
    color: var(--color-text-inverse);
    margin-bottom: 16px;
}

.page-hero-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 900px) {
    .page-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-hero-logo {
        margin-bottom: 24px;
    }

    .page-hero-logo img {
        width: 120px;
    }

    .page-hero-content {
        margin: 0 auto;
    }
}

/* ======================================
   PAGE HERO — CONTATO (ÍCONE EXTERNO)
====================================== */

.page-hero-contact {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.page-hero-icon {
    flex-shrink: 0;
}

.page-hero-icon img {
    width: 300px;
    height: auto;
}

/* Mobile */
@media (max-width: 768px) {
    .page-hero-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    .page-hero-icon img {
        width: 56px;
    }
}


/* =====================================================
   PRODUCT PAGE - SCROLL HORIZONTAL
   Sistema reutilizável para páginas de produto
===================================================== */

/* =====================================================
   SEÇÃO INTRODUTÓRIA
   Imagem esquerda + Texto direita
===================================================== */

.product-intro {
    background-color: var(--color-bg-body);
    padding: var(--space-xl) 0;
}

.product-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

/* Imagem */
.product-intro-media {
    position: relative;
}

.product-intro-media img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-card);
    object-fit: cover;
}

/* Conteúdo */
.product-intro-content h1 {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
}

.product-intro-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.product-intro-content p {
    color: var(--color-text-body);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

/* =====================================================
   CAROUSEL DE PRODUTOS - SCROLL HORIZONTAL
===================================================== */

.product-carousel-section {
    background-color: var(--color-bg-light);
}

.product-carousel-section h2 {
    color: var(--color-primary-dark);
    margin-bottom: var(--space-lg);
}

/* Container do Carousel */
.product-carousel {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    
    /* Esconde scrollbar mas mantém funcionalidade */
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-bg-light);
}

/* Estilização da scrollbar (Webkit - Chrome, Safari, Edge) */
.product-carousel::-webkit-scrollbar {
    height: 8px;
}

.product-carousel::-webkit-scrollbar-track {
    background: var(--color-bg-light);
    border-radius: 4px;
}

.product-carousel::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
    transition: background var(--transition-base);
}

.product-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

/* Track do Carousel */
.product-carousel-track {
    display: flex;
    gap: var(--grid-gutter);
    padding: 8px 0 var(--space-md) 0;
}

/* =====================================================
   CARDS DE PRODUTO
===================================================== */

.product-card {
    flex: 0 0 calc(33.333% - var(--grid-gutter));
    min-width: 320px;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg-body);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: 
        transform var(--transition-base),
        box-shadow var(--transition-base);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

/* Imagem do Card */
.product-card-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background-color: #f3f4f6;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

/* Conteúdo do Card */
.product-card-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-content h3 {
    color: var(--color-primary-dark);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.product-card-content p {
    color: var(--color-text-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

/* Lista de Features */
.product-features {
    list-style: none;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.product-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

/* CTA do Card */
.product-cta {
    width: 100%;
    margin-top: auto;
    font-size: 0.95rem;
    padding: 12px 20px;
}

/* =====================================================
   SCROLL HINT - Indicador Visual
===================================================== */

.product-carousel-wrapper {
    position: relative;
}

.scroll-hint {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(to right, transparent, var(--color-bg-light) 20%);
    padding: 20px 40px 20px 80px;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.product-carousel-wrapper:not(.is-scrolled) .scroll-hint {
    opacity: 1;
}

.scroll-hint-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.scroll-hint-icon {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(8px);
    }
}

/* =====================================================
   RESPONSIVE
===================================================== */

/* Tablet */
@media (max-width: 900px) {
    .product-intro-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .product-intro-media {
        order: -1;
    }

    .product-card {
        flex: 0 0 calc(50% - var(--grid-gutter));
        min-width: 280px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .product-intro-content .lead {
        font-size: 1.125rem;
    }

    .product-card {
        flex: 0 0 85%;
        min-width: 280px;
        max-width: 360px;
    }

    .product-card-image {
        height: 200px;
    }

    /* Scrollbar mais visível em mobile */
    .product-carousel::-webkit-scrollbar {
        height: 6px;
    }
}

/* =====================================================
   ANIMAÇÕES DE ENTRADA
===================================================== */

@media (prefers-reduced-motion: no-preference) {
    .product-card {
        animation: fadeInUp 0.6s ease-out backwards;
    }

    .product-card:nth-child(1) { animation-delay: 0.1s; }
    .product-card:nth-child(2) { animation-delay: 0.2s; }
    .product-card:nth-child(3) { animation-delay: 0.3s; }
    .product-card:nth-child(4) { animation-delay: 0.4s; }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* =====================================================
   ESTADOS DE ACESSIBILIDADE
===================================================== */

.product-carousel:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.product-card:focus-within {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* =====================================================
   PRINT
===================================================== */

@media print {
    .product-carousel {
        overflow: visible;
    }

    .product-carousel-track {
        flex-wrap: wrap;
    }

    .product-card {
        page-break-inside: avoid;
    }

    .scroll-hint {
        display: none;
    }
}

/* =====================================================
   WHY TECNOCOAT SECTION
===================================================== */
.why-tecnocoat {
    background-color: var(--color-bg-light);
}

.section-lead {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-lg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.benefit-card {
    background: white;
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: var(--color-primary-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.benefit-icon svg {
    stroke: var(--color-primary);
}

.benefit-card h3 {
    font-size: 1.125rem;
    margin-bottom: var(--space-xs);
    color: var(--color-text-body);
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* =====================================================
   LEADERSHIP SECTION (Institucional)
===================================================== */
.about-leadership {
    background-color: var(--color-bg-body);
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.leadership-image img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.leadership-content .label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-xs);
    letter-spacing: 1px;
}

.leadership-content h2 {
    margin-bottom: var(--space-xs);
}

.leadership-content .role {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.expertise-highlights {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid #e5e7eb;
}

.highlight-item {
    display: flex;
    flex-direction: column;
}

.highlight-item strong {
    font-size: 2rem;
    line-height: 1;
    color: var(--color-primary);
    font-weight: 700;
}

.highlight-item span {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}

@media (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .expertise-highlights {
        gap: var(--space-md);
        flex-wrap: wrap;
    }
}


/* =====================================================
   COMPONENT DESCRIPTIONS (Linha Completa)
===================================================== */
.component-description {
    background: white;
    padding: var(--space-md);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--space-md);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.component-description:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.component-description h3 {
    font-size: 1.125rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-body);
    margin-bottom: var(--space-xs);
}

.component-description p {
    font-size: 0.95rem;
    line-height: var(--line-height-normal);
    color: var(--color-text-muted);
    margin: 0;
}

/* =====================================================
   LEGIBILIDADE DOS LEADS
===================================================== */
p.lead {
    font-size: 1.25rem;
    line-height: var(--line-height-relaxed);
    color: var(--color-text-body);
    font-weight: var(--font-weight-normal);
    margin-bottom: var(--space-md);
}

/* =====================================================
   ACESSIBILIDADE
===================================================== */
.benefit-card:focus-within {
    outline: 3px solid var(--color-accent);
    outline-offset: 4px;
}

.component-description:focus-within {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

/* =====================================================
   ANIMAÇÕES DE ENTRADA (com IntersectionObserver via JS)
===================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.is-visible {
    animation: fadeInUp 0.6s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .animate-on-scroll.is-visible {
        animation: none;
        opacity: 1;
    }
}

/* =====================================================
   PROCESS GRID (extracted from inline styles)
===================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}