/**
 * Fritts Energia Solar - Base Stylesheet & Design Tokens
 * 100% Vanilla CSS, Modern Reset, Typography & Layout
 */

/* ==========================================================================
   1. DESIGN TOKENS / CSS VARIABLES
   ========================================================================== */
:root {
    /* Cores Institucionais Principais (Extraídas da Logo Fritts) */
    --color-primary-dark: #081B33;      /* Azul Noturno Profundo */
    --color-primary-navy: #0B2545;      /* Azul Institucional */
    --color-primary-blue: #0D47A1;      /* Azul Marca / Logo */
    --color-primary-light: #1976D2;     /* Azul Destaque */
    --color-primary-soft: #E3F2FD;      /* Azul Claro Suave */

    /* Cores Solares / Ação (Extraídas da Logo Fritts) */
    --color-solar-orange: #F57C00;      /* Laranja Solar / CTA */
    --color-solar-orange-dark: #E65100; /* Laranja Hover */
    --color-solar-yellow: #FBC02D;      /* Amarelo Solar Dourado */
    --color-solar-gold: #FFA000;        /* Dourado Quente */
    --color-solar-light: #FFF8E1;       /* Fundo Amarelo Suave */

    /* Cores Neutras & Apoio */
    --color-white: #FFFFFF;
    --color-bg-body: #FFFFFF;
    --color-bg-light: #F8FAFC;
    --color-bg-alt: #F1F5F9;
    --color-text-main: #1E293B;         /* Cinza Escuro Alto Contraste */
    --color-text-secondary: #475569;    /* Cinza Médio */
    --color-text-muted: #64748B;        /* Cinza Claro */
    --color-border: #E2E8F0;
    --color-border-light: #F1F5F9;

    /* Cores de Canais / Status */
    --color-whatsapp: #25D366;
    --color-whatsapp-dark: #1EBE5D;
    --color-whatsapp-light: #DCF8C6;

    /* Tipografia */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    /* Escala Tipográfica Fluida */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.8125rem);
    --text-sm: clamp(0.875rem, 0.825rem + 0.25vw, 0.9375rem);
    --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
    --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.6rem + 1.35vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.85rem + 2vw, 3.25rem);
    --text-5xl: clamp(2.75rem, 2.2rem + 2.75vw, 4rem);

    /* Espaçamentos Modulares */
    --space-2xs: 0.25rem;  /* 4px */
    --space-xs: 0.5rem;    /* 8px */
    --space-sm: 0.75rem;   /* 12px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4.5rem;   /* 72px */
    --space-4xl: 6rem;     /* 96px */

    /* Containers */
    --container-max: 1280px;
    --container-gutter: clamp(1rem, 4vw, 2rem);

    /* Raios de Borda */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Sombras Sutis e Elegantes */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(11, 37, 69, 0.07), 0 2px 4px -2px rgba(11, 37, 69, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(11, 37, 69, 0.08), 0 4px 6px -4px rgba(11, 37, 69, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(11, 37, 69, 0.1), 0 8px 10px -6px rgba(11, 37, 69, 0.05);
    --shadow-orange: 0 10px 20px -5px rgba(245, 124, 0, 0.35);

    /* Transições Suaves */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Camadas Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ==========================================================================
   2. MODERN CSS RESET & BOX-SIZING
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-main);
    background-color: var(--color-bg-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: none;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

/* Skip link de acessibilidade */
.skip-link {
    position: absolute;
    top: -100px;
    left: var(--space-md);
    background: var(--color-solar-orange);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-weight: 700;
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* Ocultação acessível para robôs e leitores de tela */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   3. TIPOGRAFIA & HIERARQUIA
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: var(--text-4xl); font-weight: 800; }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

.text-highlight-gold {
    color: var(--color-solar-yellow);
}

.text-highlight-orange {
    color: var(--color-solar-orange);
    align-self: center;
    text-align: center;
}

.text-highlight-blue {
    color: var(--color-primary-blue);
}

/* ==========================================================================
   4. CONTAINERS E SISTEMA DE GRID
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-gutter);
    padding-right: var(--container-gutter);
}

.section-padding {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

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

.bg-dark {
    background-color: var(--color-primary-navy);
    color: var(--color-white);
}

.bg-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
    color: var(--color-white);
}

/* ==========================================================================
   5. HEADER & NAVEGAÇÃO
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-fixed);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.25s ease, 
                visibility 0.35s ease, 
                box-shadow 0.3s ease;
}

/* O header aparece após rolar a página para baixo, ao abrir o menu ou com foco do teclado */
.site-header.is-scrolled,
.site-header.is-menu-open,
.site-header:focus-within {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

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

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary-dark);
    padding: var(--space-xs) 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-solar-orange);
    transition: width var(--transition-normal);
    border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: var(--color-primary-blue);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* ==========================================================================
   6. HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    margin-top: 0; /* Começa no topo (y=0) já que o header aparece apenas após o scroll */
    padding: 0;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.hero-img-container {
    width: 100%;
    line-height: 0;
    display: block;
}

.hero-img-container picture {
    display: block;
    width: 100%;
    line-height: 0;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ==========================================================================
   7. INDICATORS SECTION (MÉTRICAS)
   ========================================================================== */
.indicators-section {
    position: relative;
    z-index: 10;
    margin-top: -45px;
    padding-bottom: var(--space-2xl);
}

.indicators-card {
    background-color: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 40px -15px rgba(11, 37, 69, 0.12), 0 0 0 1px rgba(11, 37, 69, 0.05);
    padding: var(--space-xl) var(--space-2xl);
}

.indicators-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: var(--space-xl);
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.indicator-icon-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.indicator-item:hover .indicator-icon-wrapper {
    transform: scale(1.05);
}

.indicator-arc-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.indicator-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--color-white);
    box-shadow: 0 4px 16px rgba(11, 37, 69, 0.09), 0 1px 3px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.indicator-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.indicator-text {
    display: flex;
    flex-direction: column;
}

.indicator-number {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 800;
    color: var(--color-primary-navy);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.indicator-label {
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    margin-top: var(--space-2xs);
}

.indicator-divider {
    width: 1px;
    height: 56px;
    background-color: var(--color-border);
}

/* ==========================================================================
   7.5. LEAD PROBLEM IDENTIFICATION SECTION (IDENTIFICAÇÃO DO LEAD)
   ========================================================================== */
.lead-problem-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.lead-problem-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

/* --- Coluna de Mídia / Foto Editorial --- */
.lead-problem-media-col {
    position: relative;
    display: flex;
    justify-content: center;
}

.lead-problem-img-card {
    position: relative;
    width: 100%;
    max-width: 500px;
}

/* Selo Flutuante Circular com Ícone de Alerta / Custo */
.lead-problem-badge-floating {
    position: absolute;
    top: -26px;
    left: -24px;
    z-index: 3;
    pointer-events: none;
}

.lead-badge-circle-outer {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: var(--color-white);
    box-shadow: 0 16px 36px -6px rgba(11, 37, 69, 0.18), 0 0 0 1px rgba(11, 37, 69, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.lead-badge-circle-inner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-solar-light) 0%, #FFE082 100%);
    border: 1px solid rgba(245, 124, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-badge-icon {
    color: var(--color-solar-orange-dark);
}

.lead-problem-img-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 48px -12px rgba(11, 37, 69, 0.14), 0 4px 16px rgba(11, 37, 69, 0.05);
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(11, 37, 69, 0.06);
}

.lead-problem-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1.05;
    transition: transform var(--transition-slow);
}

.lead-problem-img-card:hover .lead-problem-img {
    transform: scale(1.025);
}

/* --- Coluna de Conteúdo --- */
.lead-problem-content-col {
    display: flex;
    flex-direction: column;
}

/* Headline */
.lead-problem-title {
    font-family: var(--font-heading);
    font-size: clamp(1.875rem, 2.8vw, 2.65rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

/* Parágrafos de Storytelling */
.lead-problem-story {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.lead-story-p1,
.lead-story-p2 {
    font-size: clamp(0.975rem, 1.05vw, 1.075rem);
    color: var(--color-text-secondary);
    line-height: 1.65;
}

.lead-story-p3 {
    font-size: clamp(0.975rem, 1.05vw, 1.075rem);
    color: var(--color-primary-navy);
    font-weight: 600;
    line-height: 1.65;
    padding-left: var(--space-md);
    border-left: 3px solid var(--color-solar-orange);
    margin-top: 4px;
}

/* Subtítulo e Benefícios */
.lead-problem-highlight-box {
    margin-bottom: var(--space-lg);
}

.lead-problem-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.3rem, 1.6vw, 1.55rem);
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.lead-problem-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lead-problem-benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lead-benefit-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background-color: var(--color-solar-light);
    border: 1.5px solid var(--color-solar-orange);
    border-radius: 50%;
    color: var(--color-solar-orange-dark);
    flex-shrink: 0;
}

.lead-benefit-text {
    font-size: clamp(0.9375rem, 1vw, 1.025rem);
    color: var(--color-text-main);
    font-weight: 500;
}

/* Ponte para Nossas Soluções */
.lead-problem-cta-bridge {
    padding-top: var(--space-xs);
}

.lead-bridge-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--color-primary-blue);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.lead-bridge-arrow {
    transition: transform var(--transition-fast);
}

.lead-bridge-link:hover,
.lead-bridge-link:focus {
    color: var(--color-solar-orange);
}

.lead-bridge-link:hover .lead-bridge-arrow,
.lead-bridge-link:focus .lead-bridge-arrow {
    transform: translateY(3px);
}

/* ==========================================================================
   8. SOLUTIONS SECTION (NOSSAS SOLUÇÕES)
   ========================================================================== */
.solutions-section {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.solution-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.solution-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.solution-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 58%; /* Proporção ~16:9 consistente */
    overflow: hidden;
    background-color: var(--color-primary-navy);
}

.solution-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.solution-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 27, 51, 0) 60%, rgba(8, 27, 51, 0.4) 100%);
    opacity: 0.8;
    transition: opacity var(--transition-normal);
}

.solution-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.solution-icon-title {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
}

.solution-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-blue);
    transition: color var(--transition-normal), transform var(--transition-normal);
}

.solution-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0;
    transition: color var(--transition-fast);
}

.solution-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.solution-action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: auto;
}

.solution-arrow {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: rgba(245, 124, 0, 0.1);
    color: var(--color-solar-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

/* Efeito Hover Elegante */
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 71, 161, 0.25);
}

.solution-card:hover .solution-img {
    transform: scale(1.05);
}

.solution-card:hover .solution-img-overlay {
    opacity: 0.4;
}

.solution-card:hover .solution-title {
    color: var(--color-primary-blue);
}

.solution-card:hover .solution-icon {
    color: var(--color-solar-orange);
    transform: scale(1.1);
}

.solution-card:hover .solution-arrow {
    background-color: var(--color-solar-orange);
    color: var(--color-white);
    transform: translateX(3px);
    box-shadow: 0 4px 10px rgba(245, 124, 0, 0.35);
}

/* ==========================================================================
   9. HOW IT WORKS SECTION (COMO FUNCIONA)
   ========================================================================== */
.how-it-works-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.steps-wrapper {
    position: relative;
    margin-top: var(--space-xl);
}

/* Linha de Conexão no Desktop */
.steps-timeline-bar {
    position: absolute;
    top: 45px;
    left: 80px;
    right: 80px;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--color-solar-orange) 0%,
        var(--color-solar-yellow) 50%,
        var(--color-primary-blue) 100%
    );
    opacity: 0.3;
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 2;
}

.step-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(245, 124, 0, 0.35);
}

.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-solar-orange) 0%, var(--color-solar-orange-dark) 100%);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.35);
    flex-shrink: 0;
}

.step-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    color: var(--color-primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color var(--transition-normal), color var(--transition-normal), transform var(--transition-normal);
}

.step-card:hover .step-icon-badge {
    background-color: var(--color-primary-soft);
    color: var(--color-primary-blue);
    transform: scale(1.05);
}

.step-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.step-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.step-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   10. PROJECTS SECTION (PROJETOS REALIZADOS)
   ========================================================================== */
.projects-section {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid var(--color-border);
}

.projects-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
    gap: var(--space-lg);
}

.projects-header-row .section-header {
    margin-bottom: 0;
}

.projects-nav-controls {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.projects-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    color: var(--color-primary-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}

.projects-nav-btn:hover:not(:disabled) {
    background-color: var(--color-solar-orange);
    color: var(--color-white);
    border-color: var(--color-solar-orange);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.projects-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.projects-slider-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-xs);
}

.projects-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.projects-grid {
    display: flex;
    width: max-content;
    gap: var(--space-xl);
}

.project-card {
    width: clamp(280px, 30vw, 384px);
    flex: 0 0 clamp(280px, 30vw, 384px);
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.project-card:hover,
.project-card:focus-visible {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(13, 71, 161, 0.25);
}

.project-card:focus-visible {
    outline: 3px solid var(--color-solar-orange);
    outline-offset: 3px;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 62%;
    overflow: hidden;
    background-color: var(--color-primary-navy);
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-img,
.project-card:focus-visible .project-img {
    transform: scale(1.06);
}

.project-category-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: rgba(8, 27, 51, 0.8);
    color: var(--color-white);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.project-content {
    padding: var(--space-md) var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-solar-orange);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-xs);
}

.project-title {
    display: block;
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-xs);
}

.project-desc {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.project-footer {
    display: block;
    border-top: 1px solid var(--color-border-light);
    padding-top: var(--space-sm);
    margin-top: auto;
}

.project-action-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-primary-blue);
    font-size: var(--text-sm);
    font-weight: 700;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.project-action-link:hover {
    color: var(--color-solar-orange);
    gap: var(--space-sm);
}

.projects-mobile-hint {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    color: var(--color-text-muted);
    font-size: var(--text-xs);
    font-weight: 600;
    margin-top: var(--space-md);
}

.project-gallery-dialog {
    position: fixed;
    inset: 0;
    width: min(1100px, calc(100vw - 2rem));
    height: min(900px, calc(100vh - 2rem));
    height: min(900px, calc(100dvh - 2rem));
    max-width: none;
    max-height: calc(100dvh - 2rem);
    margin: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-white);
    color: var(--color-text-main);
    box-shadow: var(--shadow-xl);
}

.project-gallery-dialog:not([open]) {
    display: none;
}

.project-gallery-dialog::backdrop {
    background: rgba(8, 27, 51, 0.84);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.project-gallery-dialog-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    padding: var(--space-xl);
}

.project-gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.project-gallery-title {
    color: var(--color-primary-dark);
    font-size: var(--text-2xl);
}

.project-gallery-close {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--color-bg-light);
    color: var(--color-primary-dark);
}

.project-gallery-close:hover,
.project-gallery-close:focus-visible {
    background: var(--color-solar-orange);
    color: var(--color-white);
}

.project-gallery-grid {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.project-gallery-section {
    flex: 0 0 auto;
}

.project-gallery-section-title {
    margin-bottom: var(--space-sm);
    color: var(--color-primary-dark);
    font-size: var(--text-lg);
    font-weight: 700;
}

.project-gallery-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
    grid-auto-rows: max-content;
    align-content: start;
    gap: var(--space-md);
}

.project-gallery-item {
    min-width: 0;
    overflow: hidden;
    margin: 0;
    border-radius: var(--radius-md);
    background: var(--color-primary-dark);
}

.project-gallery-media {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background: var(--color-primary-dark);
}

.project-gallery-video {
    aspect-ratio: 16 / 9;
    object-fit: contain;
}

.project-gallery-video-preview {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--color-primary-dark);
    cursor: pointer;
}

.project-gallery-video-thumbnail {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.project-gallery-video-preview:hover .project-gallery-video-thumbnail {
    transform: scale(1.04);
}

.project-gallery-video-preview:focus-visible {
    outline: 3px solid var(--color-solar-orange);
    outline-offset: -3px;
}

.project-gallery-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    background: rgba(8, 27, 51, 0.82);
    color: var(--color-white);
    transform: translate(-50%, -50%);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.project-gallery-video-preview:hover .project-gallery-video-play {
    background: var(--color-solar-orange);
    transform: translate(-50%, -50%) scale(1.06);
}

.project-gallery-video-error {
    padding: var(--space-xs);
    color: var(--color-white);
    font-size: var(--text-xs);
    text-align: center;
}

.project-gallery-image-button {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.project-gallery-image-button:focus-visible {
    outline: 3px solid var(--color-solar-orange);
    outline-offset: -3px;
}

.project-gallery-cta {
    position: sticky;
    bottom: 0;
    display: block;
    flex: 0 0 auto;
    padding: var(--space-md) var(--space-lg);
    background: var(--color-solar-orange);
    color: var(--color-white);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 -8px 20px rgba(8, 27, 51, 0.12);
    transition: background-color var(--transition-fast);
}

.project-gallery-cta:hover,
.project-gallery-cta:focus-visible {
    background: var(--color-solar-orange-dark);
}

.project-image-dialog {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    overflow: hidden;
    padding: var(--space-xl);
    border: 0;
    background: rgba(8, 27, 51, 0.96);
}

.project-image-dialog::backdrop {
    background: rgba(8, 27, 51, 0.9);
}

.project-image-full {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
}

.project-image-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 1;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-full);
    background: rgba(8, 27, 51, 0.8);
    color: var(--color-white);
}

.project-image-close:hover,
.project-image-close:focus-visible {
    background: var(--color-solar-orange);
}

.project-image-nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-full);
    background: rgba(8, 27, 51, 0.8);
    color: var(--color-white);
    transform: translateY(-50%);
}

.project-image-prev {
    left: max(var(--space-md), env(safe-area-inset-left));
}

.project-image-next {
    right: max(var(--space-md), env(safe-area-inset-right));
}

.project-image-nav:hover,
.project-image-nav:focus-visible {
    background: var(--color-solar-orange);
}

.project-image-count {
    position: absolute;
    bottom: max(var(--space-sm), env(safe-area-inset-bottom));
    left: 50%;
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    transform: translateX(-50%);
}

.project-video-dialog {
    position: fixed;
    inset: 0;
    display: grid;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-width: none;
    max-height: none;
    place-items: center;
    margin: 0;
    overflow: hidden;
    padding: var(--space-xl);
    border: 0;
    background: rgba(8, 27, 51, 0.96);
}

.project-video-dialog:not([open]) {
    display: none;
}

.project-video-dialog::backdrop {
    background: rgba(8, 27, 51, 0.9);
}

.project-video-full {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.project-video-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    z-index: 1;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-full);
    background: rgba(8, 27, 51, 0.8);
    color: var(--color-white);
}

.project-video-close:hover,
.project-video-close:focus-visible {
    background: var(--color-solar-orange);
}

.project-video-error {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    width: min(90%, 560px);
    color: var(--color-white);
    text-align: center;
    transform: translateX(-50%);
}

/* ==========================================================================
   11. ABOUT SECTION (SOBRE NÓS / QUEM SOMOS)
   ========================================================================== */
.about-section {
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--color-border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-3xl);
    align-items: stretch;
}

/* Coluna Visual (Esquerda) */
.about-media-col {
    position: relative;
    display: flex;
}

.about-img-wrapper {
    position: relative;
    flex: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border);
    background-color: var(--color-primary-navy);
}

.about-video-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 0;
    padding: 0;
    background: var(--color-primary-navy);
    color: var(--color-white);
    text-align: left;
    cursor: pointer;
}

.about-video-card:focus-visible {
    outline: 3px solid var(--color-solar-orange);
    outline-offset: -5px;
}

.about-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-video-card:hover .about-img {
    transform: scale(1.04);
}

.about-inline-video {
    display: none;
}

.about-video-error {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: min(90%, 520px);
    padding: var(--space-md);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-md);
    background: rgba(8, 27, 51, 0.9);
    color: var(--color-white);
    text-align: center;
    transform: translate(-50%, -50%);
}

.about-video-error[hidden] {
    display: none;
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 27, 51, 0) 65%, rgba(8, 27, 51, 0.45) 100%);
}

.about-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    padding-left: 4px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-full);
    background: rgba(245, 124, 0, 0.95);
    color: var(--color-white);
    box-shadow: 0 8px 28px rgba(8, 27, 51, 0.35);
    transform: translate(-50%, -50%);
    transition: transform var(--transition-normal), background-color var(--transition-normal);
}

.about-video-card:hover .about-video-play {
    background: var(--color-solar-orange-dark);
    transform: translate(-50%, -50%) scale(1.08);
}

.about-video-caption {
    position: absolute;
    right: var(--space-lg);
    bottom: var(--space-lg);
    left: var(--space-lg);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 700;
    text-shadow: 0 1px 8px rgba(8, 27, 51, 0.8);
}

.about-video-dialog {
    position: fixed;
    inset: 0;
    width: min(960px, calc(100vw - 2rem));
    max-width: none;
    max-height: none;
    margin: auto;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--color-white);
}

.about-video-dialog::backdrop {
    background: rgba(8, 27, 51, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.about-video-dialog-content {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    background: #000;
    box-shadow: var(--shadow-xl);
}

.about-video-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.about-video-close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    z-index: 1;
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    background: rgba(8, 27, 51, 0.8);
    color: var(--color-white);
}

.about-video-close:hover,
.about-video-close:focus-visible {
    background: var(--color-solar-orange);
}

.about-video-close:focus-visible {
    outline: 2px solid var(--color-white);
    outline-offset: 2px;
}

/* Selo Flutuante de Experiência */
.about-badge-float {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(245, 124, 0, 0.25);
    border-radius: var(--radius-lg);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: 0 10px 25px -5px rgba(11, 37, 69, 0.15);
    z-index: 2;
}

@media (max-width: 768px) {
    .about-badge-float {
        display: none !important;
    }
}

.about-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-solar-orange) 0%, var(--color-solar-orange-dark) 100%);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.about-badge-text {
    display: flex;
    flex-direction: column;
}

.about-badge-text strong {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: 800;
    color: var(--color-primary-navy);
    line-height: 1.1;
}

.about-badge-text span {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    font-weight: 600;
}

/* Coluna de Conteúdo (Direita) */
.about-content-col {
    display: flex;
    flex-direction: column;
}

.about-paragraphs {
    margin-bottom: var(--space-xl);
}

.about-lead {
    font-size: var(--text-base);
    color: var(--color-text-main);
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.about-text {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Diferenciais */
.about-differentials-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.differential-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background-color: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-md) var(--space-lg);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal), background-color var(--transition-normal);
}

.differential-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(245, 124, 0, 0.3);
    background-color: var(--color-white);
}

.differential-icon-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: rgba(245, 124, 0, 0.12);
    color: var(--color-solar-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.differential-content {
    display: flex;
    flex-direction: column;
}

.differential-title {
    font-size: var(--text-base);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.diff-num {
    color: var(--color-solar-orange);
    font-weight: 800;
}

.differential-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* CTA Box */
.about-cta-box {
    background: linear-gradient(135deg, var(--color-primary-navy) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.about-cta-text {
    color: var(--color-white);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1.4;
    max-width: 320px;
}

.about-cta-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ==========================================================================
   12. TESTIMONIALS SECTION (DEPOIMENTOS / GOOGLE REVIEWS)
   ========================================================================== */
.testimonials-section {
    background-color: var(--color-bg-light) !important;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-main);
}

.testimonials-header {
    max-width: 680px;
    margin: 0 auto var(--space-2xl) auto;
}

.text-highlight-orange {
    color: var(--color-solar-orange);
    align-self: center;
    text-align: center;
}

/* Badge Google Reviews Centralizado */
.testimonials-google-badge {
    margin-top: var(--space-sm);
    display: flex;
    justify-content: center;
}

.google-summary-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.google-summary-link:hover {
    color: var(--color-primary-navy);
}

.google-summary-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.google-summary-stars {
    color: #FBBC05;
    letter-spacing: 2px;
    font-size: 0.95rem;
    line-height: 1;
}

/* Grid de Depoimentos */
.testimonials-slider-wrapper {
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: var(--space-xs) 0;
}

.testimonials-slider-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: stretch;
}

.testimonial-card {
    background-color: var(--color-white);
    border: 1px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08);
    border-color: rgba(13, 71, 161, 0.2);
}

.testimonial-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-bottom: 18px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-avatar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    color: var(--color-primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    border: 1px solid rgba(13, 71, 161, 0.15);
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-author-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.25;
    margin: 0 0 2px 0;
}

.testimonial-date {
    font-size: 0.85rem;
    color: #9CA3AF;
    font-weight: 500;
    line-height: 1;
}

.testimonial-google-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.testimonial-stars {
    display: inline-flex;
    gap: 2px;
    color: #FBBC05;
    font-size: 1.15rem;
    line-height: 1;
    letter-spacing: 2px;
}

.testimonial-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.testimonial-quote {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-style: normal;
    font-weight: 400;
    flex-grow: 1;
}

/* Controles Circulares de Navegação */
.testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-2xl);
}

.testimonials-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background-color: var(--color-solar-orange);
    border: none;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.3);
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
}

.testimonials-nav-btn:hover:not(:disabled) {
    background-color: var(--color-solar-orange-dark);
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(245, 124, 0, 0.4);
}

.testimonials-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

/* Paginação / Dots */
.testimonials-pagination {
    display: none;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background-color: rgba(11, 37, 69, 0.2);
    border: none;
    transition: all var(--transition-fast);
    padding: 0;
    cursor: pointer;
}

.testimonial-dot.is-active {
    width: 28px;
    background-color: var(--color-solar-orange);
}

/* ==========================================================================
   13. FAQ SECTION (DÚVIDAS FREQUENTES / ACCORDION)
   ========================================================================== */
.faq-section {
    background-color: var(--color-bg-light);
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: var(--space-3xl);
    align-items: flex-start;
}

/* Coluna Lateral / Sticky */
.faq-sidebar-col {
    position: relative;
}

.faq-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.faq-sidebar-sticky .section-header {
    margin-bottom: var(--space-xl);
}

.faq-support-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    margin-top: var(--space-xl);
}

.faq-support-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-solar-orange) 0%, var(--color-solar-yellow) 100%);
}

.faq-support-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: rgba(245, 124, 0, 0.12);
    color: var(--color-solar-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.faq-support-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-xs);
}

.faq-support-desc {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: var(--space-lg);
}

.faq-support-btn {
    box-shadow: var(--shadow-orange);
}

/* Coluna do Accordion */
.faq-content-col {
    width: 100%;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-item:hover {
    border-color: rgba(13, 71, 161, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-item.is-open {
    border-color: var(--color-primary-blue);
    box-shadow: var(--shadow-md);
}

.faq-item-header {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.faq-question-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    cursor: pointer;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    line-height: 1.4;
    transition: color var(--transition-fast), background-color var(--transition-fast);
}

.faq-question-btn:hover {
    color: var(--color-solar-orange);
}

.faq-question-btn:focus-visible {
    outline: 2px solid var(--color-solar-orange);
    outline-offset: -2px;
}

.faq-item.is-open .faq-question-btn {
    color: var(--color-primary-blue);
}

.faq-question-text {
    flex-grow: 1;
}

.faq-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background-color: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-navy);
    flex-shrink: 0;
    transition: transform var(--transition-normal), background-color var(--transition-normal), color var(--transition-normal);
}

.faq-question-btn:hover .faq-icon-wrapper {
    background-color: rgba(245, 124, 0, 0.15);
    color: var(--color-solar-orange);
}

.faq-item.is-open .faq-icon-wrapper {
    background-color: var(--color-solar-orange);
    color: var(--color-white);
    transform: rotate(180deg);
}

.faq-answer-panel {
    display: none;
    padding: 0 var(--space-xl) var(--space-xl) var(--space-xl);
}

.faq-item.is-open .faq-answer-panel {
    display: block;
    animation: faqFadeIn 0.3s ease-out forwards;
}

.faq-answer-inner {
    border-top: 1px solid var(--color-border-light);
    padding-top: var(--space-md);
}

.faq-answer-inner p {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0;
}

@keyframes faqFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   14. FOOTER BASE
   ========================================================================== */
.site-footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding-top: var(--space-3xl);
    border-top: 4px solid var(--color-solar-orange);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
}

.footer-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    margin-bottom: var(--space-md);
    background: #FFFFFF;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.footer-socials a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-sm);
    color: var(--color-white);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
    background-color: var(--color-solar-orange);
    border-color: var(--color-solar-orange);
}

.footer-socials svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.footer-socials a:nth-child(2) svg,
.footer-socials a:nth-child(3) svg {
    fill: currentColor;
    stroke: none;
}

.footer-socials .footer-social-fill {
    fill: currentColor;
    stroke: none;
}

.footer-heading {
    color: var(--color-white);
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-xs);
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background-color: var(--color-solar-orange);
    border-radius: var(--radius-full);
}

.footer-nav li {
    margin-bottom: var(--space-sm);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    transition: color var(--transition-fast), padding-left var(--transition-fast);
    display: inline-block;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
}

.footer-business-details {
    margin-top: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    overflow-wrap: anywhere;
}

.footer-business-details a {
    color: var(--color-white);
}

.footer-business-details a:hover,
.footer-business-details a:focus-visible {
    text-decoration: underline;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.25);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.6);
}

.tagline-text {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.footer-credit-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   15. PÁGINA DE POLÍTICA DE PRIVACIDADE
   ========================================================================== */
.privacy-policy-page .site-header {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: var(--shadow-md);
}

.privacy-policy-page #main-content {
    padding-top: 80px;
}

.privacy-policy-content {
    max-width: 900px;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-4xl);
}

.privacy-policy-header {
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.privacy-policy-header h1 {
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.privacy-policy-updated {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.privacy-policy-section {
    margin-top: var(--space-2xl);
}

.privacy-policy-section h2 {
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    line-height: 1.35;
    margin-bottom: var(--space-md);
}

.privacy-policy-section p,
.privacy-policy-section li {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.privacy-policy-section p + p {
    margin-top: var(--space-md);
}

.privacy-policy-section ul {
    list-style: disc;
    margin: var(--space-md) 0;
    padding-left: 1.5rem;
}

.privacy-policy-section li {
    padding-left: var(--space-2xs);
}

.privacy-policy-section li + li {
    margin-top: var(--space-sm);
}

/* ==========================================================================
   16. SCROLL ENTRANCE ANIMATIONS (IntersectionObserver & Progressive Enhancement)
   ========================================================================== */

/* Fallback seguro: se JS falhar ou estiver desativado, tudo fica 100% visível */
.reveal-item,
.reveal-fade-up,
.reveal-stagger > * {
    opacity: 1;
    transform: none;
}

/* Quando JS ativa o sistema de revelação suave */
html.js-reveal-enabled .reveal-fade-up,
html.js-reveal-enabled .reveal-stagger > * {
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estado antes de entrar no viewport */
html.js-reveal-enabled .reveal-fade-up:not(.is-revealed),
html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > * {
    opacity: 0;
    transform: translateY(22px);
    pointer-events: none;
}

/* Stagger sequencial para cards e itens em grids */
html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > *:nth-child(1) { transition-delay: 0.04s; }
html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > *:nth-child(2) { transition-delay: 0.12s; }
html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > *:nth-child(3) { transition-delay: 0.20s; }
html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > *:nth-child(4) { transition-delay: 0.28s; }
html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > *:nth-child(5) { transition-delay: 0.36s; }
html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > *:nth-child(6) { transition-delay: 0.44s; }
html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > *:nth-child(7) { transition-delay: 0.52s; }
html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > *:nth-child(8) { transition-delay: 0.60s; }

html.js-reveal-enabled .reveal-stagger.is-revealed > *:nth-child(1) { transition-delay: 0.04s; }
html.js-reveal-enabled .reveal-stagger.is-revealed > *:nth-child(2) { transition-delay: 0.12s; }
html.js-reveal-enabled .reveal-stagger.is-revealed > *:nth-child(3) { transition-delay: 0.20s; }
html.js-reveal-enabled .reveal-stagger.is-revealed > *:nth-child(4) { transition-delay: 0.28s; }
html.js-reveal-enabled .reveal-stagger.is-revealed > *:nth-child(5) { transition-delay: 0.36s; }
html.js-reveal-enabled .reveal-stagger.is-revealed > *:nth-child(6) { transition-delay: 0.44s; }
html.js-reveal-enabled .reveal-stagger.is-revealed > *:nth-child(7) { transition-delay: 0.52s; }
html.js-reveal-enabled .reveal-stagger.is-revealed > *:nth-child(8) { transition-delay: 0.60s; }

/* Preservação instantânea de efeitos de hover nos cards sem atraso */
.solution-card:hover,
.project-card:hover,
.step-card:hover,
.testimonial-card:hover,
.differential-item:hover,
.lead-problem-img-card:hover {
    transition-delay: 0s !important;
}

/* Respeito à diretiva de acessibilidade prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    html.js-reveal-enabled .reveal-fade-up,
    html.js-reveal-enabled .reveal-stagger > *,
    html.js-reveal-enabled .reveal-fade-up:not(.is-revealed),
    html.js-reveal-enabled .reveal-stagger:not(.is-revealed) > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        pointer-events: auto !important;
    }
}
