/* ===================================================================
   MAIN.CSS - ESTILOS GLOBAIS HR PRÉ MOLDADOS
   Versão: 3.0 (Todas as cores em variáveis)
   =================================================================== */

/* -------------------------------------------------------------------
   SUMÁRIO
   -------------------------------------------------------------------
   1. IMPORTAÇÕES E DESIGN SYSTEM
      1.1. Fontes
      1.2. Variáveis CSS (Tema Claro) - TODAS AS CORES AQUI!
      1.3. Tema Escuro
   
   2. RESET E ESTILOS BASE
   3. LAYOUT E UTILITÁRIOS
   4. HEADER COMPLETO
   5. FOOTER COMPLETO
   6. RESPONSIVIDADE GERAL
   7. ANIMAÇÕES E EFEITOS
   ------------------------------------------------------------------- */


/* ===================================================================
   1. IMPORTAÇÕES E DESIGN SYSTEM
   =================================================================== */

/* -------------------- 1.1. FONTES -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&family=Barlow+Condensed:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=IBM+Plex+Mono:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* -------------------- 1.2. VARIÁVEIS CSS (TEMA CLARO) -------------------- */
:root {
    /* CORES DA MARCA — HR PRÉ MOLDADOS (Identidade 2025) */
    --primary: #FF5100;
    /* Laranja Estrutural */
    --primary-light: #FF7433;
    /* versão clara do laranja */
    --primary-dark: #CC4000;
    /* versão escura queimado */
    --secondary: #3D444E;
    /* Moonstone — cinza azulado estrutural */
    --secondary-light: #5A6370;
    /* moonstone claro */
    --secondary-dark: #2A2F36;
    /* moonstone escuro */

    /* CORES DE FUNDO - TEMA CLARO */
    --bg-color: #F2F2F2;
    /* Off-White HR */
    --bg-white: #FFFFFF;
    --bg-light: #E8E8E8;
    /* cinza muito claro — cards, inputs, hover */
    --bg-dark: #3D444E;
    /* Moonstone — seções escuras */
    --bg-dark-alt: #2A2F36;
    /* Moonstone escuro para gradientes */
    --surface: #F2F2F2;
    --surface-elevated: #FFFFFF;

    /* CORES DE TEXTO */
    --text-primary: #1A1C1E;
    /* quase preto */
    --text-secondary: #3D444E;
    /* Moonstone */
    --text-tertiary: #6B7280;
    /* cinza médio */
    --text-on-dark: #F2F2F2;
    /* Off-White sobre fundo escuro */
    --text-white: #FFFFFF;
    --text-white-muted: rgba(255, 255, 255, 0.85);
    --text-white-dim: rgba(255, 255, 255, 0.7);
    --text-white-very-dim: rgba(255, 255, 255, 0.4);

    /* BORDAS */
    --border-light: #D1D5DB;
    --border-medium: #9CA3AF;
    --border-white-light: rgba(255, 255, 255, 0.08);
    --border-white-medium: rgba(255, 255, 255, 0.1);
    --border-white-strong: rgba(255, 255, 255, 0.15);
    --border-primary-light: rgba(255, 81, 0, 0.3);

    /* SOMBRAS */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --shadow-header: 0 2px 20px rgba(0, 0, 0, 0.35);
    --shadow-submenu: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-submenu-level2: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-mobile-menu: -4px 0 24px rgba(0, 0, 0, 0.4);

    /* CORES DE HEADER */
    --header-bg: #3D444E;
    /* Moonstone */
    --header-bg-scrolled: #2A2F36;
    /* Moonstone escuro */
    --header-border: rgba(255, 255, 255, 0.08);
    --header-text: #ffffff;
    --header-text-muted: rgba(255, 255, 255, 0.82);
    --header-text-hover: #ffffff;

    /* CORES DE SUBMENU */
    --submenu-bg: #3D444E;
    --submenu-bg-level2: #2A2F36;
    --submenu-border: rgba(255, 255, 255, 0.1);
    --submenu-text: rgba(255, 255, 255, 0.85);
    --submenu-text-muted: rgba(255, 255, 255, 0.75);
    --submenu-text-hover: var(--primary-light);
    --submenu-hover-bg: rgba(255, 255, 255, 0.08);
    --submenu-icon-bg: rgba(255, 81, 0, 0.1);
    --submenu-icon-bg-light: rgba(255, 81, 0, 0.08);
    --submenu-arrow: rgba(255, 255, 255, 0.4);

    /* CORES DE FOOTER */
    --footer-bg: #3D444E;
    --footer-bg-dark: #2A2F36;
    --footer-gradient-start: rgba(61, 68, 78, 0.95);
    --footer-gradient-end: rgba(42, 47, 54, 0.98);
    --footer-gradient-start-dark: rgba(42, 47, 54, 0.95);
    --footer-gradient-end-dark: rgba(26, 28, 30, 0.98);
    --footer-text: #ffffff;
    --footer-text-muted: rgba(255, 255, 255, 0.8);
    --footer-text-dim: rgb(255, 254, 255);
    --footer-text-very-dim: rgba(255, 255, 255, 0.65);
    --footer-border: rgba(255, 255, 255, 0.15);
    --footer-social-bg: rgba(255, 255, 255, 0.1);
    --footer-social-border: rgba(255, 255, 255, 0.2);

    /* CORES DE CONTATO NO FOOTER */
    --contact-icon-bg: rgba(255, 81, 0, 0.2);
    --contact-icon-border: rgba(255, 81, 0, 0.3);
    --contact-item-bg: rgba(255, 255, 255, 0.04);
    --contact-item-border: rgba(255, 255, 255, 0.08);

    /* CORES DO MOBILE MENU */
    --mobile-menu-bg: #3D444E;
    --mobile-menu-bg-dark: #2A2F36;
    --mobile-menu-border: rgba(255, 255, 255, 0.08);
    --mobile-menu-text: rgba(255, 255, 255, 0.88);
    --mobile-menu-text-muted: rgba(255, 255, 255, 0.75);
    --mobile-menu-text-dim: rgba(255, 255, 255, 0.65);
    --mobile-menu-hover-bg: rgba(255, 255, 255, 0.08);
    --mobile-menu-hover-bg-strong: rgba(255, 255, 255, 0.12);
    --mobile-menu-hover-bg-light: rgba(255, 255, 255, 0.05);
    --mobile-menu-hover-bg-dark: rgba(0, 0, 0, 0.15);
    --mobile-menu-hover-bg-darker: rgba(0, 0, 0, 0.25);
    --mobile-menu-icon-bg: rgba(255, 81, 0, 0.1);
    --mobile-menu-icon-bg-light: rgba(255, 81, 0, 0.08);
    --mobile-menu-arrow: rgba(255, 255, 255, 0.4);
    --mobile-menu-close: rgba(255, 255, 255, 0.75);

    /* CORES DO WHATSAPP FLOAT */
    --whatsapp-bg: #25D366;
    --whatsapp-hover: #25D366;

    /* ESPAÇAMENTO SISTEMÁTICO */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 1.5rem;
    /* 24px */
    --space-lg: 2rem;
    /* 32px */
    --space-xl: 3rem;
    /* 48px */
    --space-2xl: 4rem;
    /* 64px */
    --space-3xl: 6rem;
    /* 96px */
    --space-section: 6.25rem;
    /* 100px — usado em seções editorial do sobre.css */

    /* BORDER RADIUS */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;

    /* TIPOGRAFIA - FAMÍLIAS */
    --font-display: 'Bomstad Display', sans-serif;
    --font-body: 'NewBlack', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
    --font-sans: var(--font-body);

    /* TIPOGRAFIA - TAMANHOS */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: 0.875rem;
    /* 14px */
    --text-base: 1rem;
    /* 16px */
    --text-lg: 1.125rem;
    /* 18px */
    --text-xl: 1.25rem;
    /* 20px */
    --text-2xl: 1.5rem;
    /* 24px */
    --text-3xl: 1.875rem;
    /* 30px */
    --text-4xl: 2.25rem;
    /* 36px */
    --text-5xl: 3rem;
    /* 48px */
    --text-6xl: 3.75rem;
    /* 60px */

    /* TRANSIÇÕES */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* RGB DAS CORES PRINCIPAIS (para uso em rgba() sem fallbacks) */
    --primary-rgb: 255, 81, 0;
    --secondary-rgb: 61, 68, 78;

    /* OVERLAYS */
    --overlay-heavy: rgba(0, 0, 0, 0.92);
    --overlay-dark: rgba(0, 0, 0, 0.70);
    --overlay-modal: rgba(0, 0, 0, 0.50);

    /* CORES SEMÂNTICAS DE ESTADO */
    --color-rating: #F59E0B;
    --color-success: #10B981;
    --color-error: #EF4444;

    /* ACABAMENTO PREMIUM (linha dourada) */
    --premium-bg: #FFF7E0;
    --premium-bg-alt: #FFEFC0;
    --premium-border: #FFD700;
    --premium-accent: #FDB931;
    --premium-dark: #B8860B;
    --premium-shadow: rgba(255, 215, 0, 0.20);
    --premium-glow: rgba(255, 215, 0, 0.30);

    /* ACABAMENTO PLUS (linha moonstone) */
    --plus-bg: #EFF1F3;
    --plus-bg-alt: #DDE0E4;
    --plus-border: var(--secondary);
    --plus-dark: var(--secondary-dark);
    --plus-shadow: rgba(61, 68, 78, 0.20);
    --plus-glow: rgba(61, 68, 78, 0.30);

    /* OPACIDADES PRIMÁRIAS FREQUENTES */
    --primary-alpha-05: rgba(255, 81, 0, 0.05);
    --primary-alpha-08: rgba(255, 81, 0, 0.08);
    --primary-alpha-10: rgba(255, 81, 0, 0.10);
    --primary-alpha-15: rgba(255, 81, 0, 0.15);
    --primary-alpha-20: rgba(255, 81, 0, 0.20);
    --primary-alpha-30: rgba(255, 81, 0, 0.30);
    --primary-alpha-40: rgba(255, 81, 0, 0.40);
    --primary-alpha-50: rgba(255, 81, 0, 0.50);
}

/* -------------------- 1.3. TEMA ESCURO -------------------- */
body.dark-theme {
    /* CORES DA MARCA */
    --primary: #FF5100;
    --primary-light: #FF7433;
    --primary-dark: #CC4000;
    --secondary: #3D444E;
    --secondary-light: #5A6370;
    --secondary-dark: #2A2F36;

    /* CORES DE FUNDO - TEMA ESCURO */
    --bg-color: #141617;
    --bg-white: #141617;
    --bg-light: #1E2022;
    --bg-dark: #0C0D0E;
    --bg-dark-alt: #101213;
    --surface: #1E2022;
    --surface-elevated: #2A2C2E;

    /* CORES DE TEXTO */
    --text-primary: #F2F2F2;
    --text-secondary: #C5C8CC;
    --text-tertiary: #8A909A;
    --text-on-dark: #F2F2F2;

    /* BORDAS */
    --border-light: #3A3D40;
    --border-medium: #4A4E52;

    /* SOMBRAS */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.35);

    /* CORES DE HEADER - TEMA ESCURO */
    --header-bg: #2A2F36;
    --header-bg-scrolled: #1A1C1E;

    /* CORES DE SUBMENU - TEMA ESCURO */
    --submenu-bg: #2A2F36;
    --submenu-bg-level2: #1A1C1E;

    /* CORES DE FOOTER - TEMA ESCURO */
    --footer-bg: #2A2F36;
    --footer-gradient-start: rgba(42, 47, 54, 0.95);
    --footer-gradient-end: rgba(26, 28, 30, 0.98);

    /* CORES DO MOBILE MENU - TEMA ESCURO */
    --mobile-menu-bg: #2A2F36;
    --mobile-menu-hover-bg-dark: rgba(0, 0, 0, 0.25);
}


/* ===================================================================
   2. RESET E ESTILOS BASE
   =================================================================== */

/* -------------------- 2.1. RESET UNIVERSAL -------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
}

/* -------------------- 2.2. HTML E BODY -------------------- */
html {
    font-size: clamp(14px, 1.1vw + 10px, 16px);
    scroll-behavior: smooth;
    scroll-padding-top: 125px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    background: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    transition: background-color var(--transition-slow), color var(--transition-slow);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* -------------------- 2.3. TIPOGRAFIA BASE -------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2rem, 4vw + 1rem, var(--text-5xl));
    letter-spacing: -0.01em;
}

h2 {
    font-size: clamp(1.6rem, 3vw + 0.8rem, var(--text-4xl));
}

h3 {
    font-size: clamp(1.3rem, 2.2vw + 0.6rem, var(--text-3xl));
}

h4 {
    font-size: clamp(1.1rem, 1.5vw + 0.5rem, var(--text-2xl));
}

h5 {
    font-size: var(--text-xl);
}

h6 {
    font-size: var(--text-lg);
    font-weight: 600;
}

p {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-md);
}

/* -------------------- 2.4. LINKS E TEXTO -------------------- */
a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-base);
}

strong,
b {
    font-weight: 700;
    color: var(--text-primary);
}

small {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* -------------------- 2.5. LISTAS -------------------- */
ul,
ol {
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

li {
    margin-bottom: var(--space-xs);
}

/* -------------------- 2.6. TABELAS -------------------- */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-md);
}

th {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-size: var(--text-sm);
    text-align: left;
    padding: var(--space-sm);
    background: var(--bg-light);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

td {
    padding: var(--space-sm);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
}

/* -------------------- 2.7. BLOCKQUOTE E CÓDIGO -------------------- */
blockquote {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 500;
    font-style: italic;
    color: var(--text-primary);
    border-left: 4px solid var(--primary);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-light);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
    line-height: 1.5;
}

code,
pre {
    font-family: var(--font-mono);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    padding: 0.2em 0.4em;
    font-size: 0.9em;
    color: var(--text-primary);
}

pre {
    padding: var(--space-md);
    overflow-x: auto;
}

pre code {
    padding: 0;
    background: none;
}

/* -------------------- 2.8. FORMULÁRIOS -------------------- */
input,
textarea,
select,
button {
    font-size: var(--text-base);
    font-weight: 400;
}

input,
textarea,
select {
    padding: var(--space-sm);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text-primary);
    transition: border-color var(--transition-base);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
}

label {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    display: block;
}


/* ===================================================================
   3. LAYOUT E UTILITÁRIOS
   =================================================================== */

/* -------------------- 3.1. CONTAINER -------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* -------------------- 3.2. SEÇÕES -------------------- */
section {
    padding: var(--space-3xl) 0;
    scroll-margin-top: 100px;
}

/* Seções alternadas */
.section-sand {
    background: var(--bg-color);
}

.section-white {
    background: var(--bg-white);
    box-shadow: inset 0 1px 0 var(--border-light), inset 0 -1px 0 var(--border-light);
}

.section-dark {
    background: var(--bg-dark);
    color: var(--text-on-dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--text-white);
}

.section-dark p,
.section-dark li {
    color: var(--text-white-muted);
}

.section-dark .section-subtitle {
    color: var(--primary-light);
}

.section-dark .section-title {
    color: var(--text-white);
}

/* -------------------- 3.3. UTILITÁRIOS DE TEXTO -------------------- */
.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-subtitle {
    font-size: var(--text-sm);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.section-title {
    font-size: var(--text-4xl);
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.section-desc {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* -------------------- 3.4. BOTÕES -------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 24px;
    min-height: 48px;
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

/* -------------------- 3.5. COMPONENTES FLUTUANTES -------------------- */
.theme-toggle {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.theme-toggle:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.whatsapp-float {
    position: fixed;
    bottom: calc(var(--space-xl) + 60px);
    right: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--whatsapp-bg);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 999;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
}

.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.1);
    box-shadow: var(--shadow-lg);
}


/* ===================================================================
   4. HEADER COMPLETO
   =================================================================== */

/* -------------------- 4.1. ESTRUTURA DO HEADER -------------------- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--header-border);
    transition: height 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
    height: 115px;
    display: flex;
    align-items: center;
}

/* ---- Estado: usuário rolou a página ---- */
header.scrolled {
    height: 65px;
    padding: 0.25rem 0;
    box-shadow: var(--shadow-header);
    background: var(--header-bg-scrolled);
}

header.scrolled .logo-img {
    height: 48px !important;
}

header.scrolled .logo-company-name {
    font-size: 0.88rem !important;
}

header.scrolled .logo-company-tagline {
    font-size: 0.6rem !important;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md) 0 var(--space-sm);
}

/* -------------------- 4.2. LOGO -------------------- */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    height: 100%;
    flex-shrink: 0;
}

.logo-img-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;
    transition: height 0.35s ease;
    display: block;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0;
    gap: 3px;
    margin-right: 2rem;
}

.logo-company-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--header-text);
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.5px;
    transition: font-size 0.35s ease;
}

.logo-company-tagline {
    font-size: 0.72rem;
    color: var(--primary-light);
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: font-size 0.35s ease;
}

/* -------------------- 4.3. MENU DESKTOP E SUBMENUS -------------------- */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-sm);
    margin: 0;
    padding: 0;
    align-items: center;
}

.desktop-nav>ul>li {
    position: relative;
}

.desktop-nav a {
    color: var(--header-text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 0.4rem 0.6rem;
    transition: color var(--transition-base);
    white-space: nowrap;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
}

.desktop-nav a:hover {
    color: var(--header-text-hover);
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* Link ativo — página atual (desktop) */
.desktop-nav a.active {
    color: var(--header-text-hover);
}

.desktop-nav a.active::after {
    width: 100%;
}

/* Submenu nível 1 */
.submenu-level-1 {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: var(--submenu-bg);
    border: 1px solid var(--submenu-border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) 0;
    box-shadow: var(--shadow-submenu);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
    z-index: 1000;
}

.submenu-item {
    position: relative;
    margin-bottom: 0;
}

.submenu-item>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    color: var(--submenu-text);
    text-decoration: none;
    border-radius: 0;
    transition: all var(--transition-base);
    font-size: 0.85rem;
    font-weight: 500;
}

.submenu-item>a:hover {
    background: var(--submenu-hover-bg);
    color: var(--submenu-text-hover);
    padding-left: 16px;
}

.submenu-icon {
    width: 20px;
    height: 20px;
    background: var(--submenu-icon-bg);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.7rem;
    margin-right: 8px;
    flex-shrink: 0;
}

.submenu-link-content {
    display: flex;
    align-items: center;
    flex: 1;
}

.submenu-arrow {
    color: var(--submenu-arrow);
    font-size: 0.65rem;
    transition: transform var(--transition-base);
}

/* Submenu nível 2 */
.submenu-level-2 {
    position: absolute;
    top: 0;
    left: 100%;
    width: 160px;
    background: var(--submenu-bg-level2);
    border: 1px solid var(--submenu-border);
    border-radius: var(--radius-md);
    padding: 8px 0;
    box-shadow: var(--shadow-submenu-level2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all var(--transition-base);
    z-index: 1001;
}

.sub-submenu-item {
    margin-bottom: 0;
}

.sub-submenu-item a {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    color: var(--submenu-text-muted);
    text-decoration: none;
    border-radius: 0;
    transition: all var(--transition-base);
    font-size: 0.8rem;
    white-space: nowrap;
    line-height: 1.3;
}

.sub-submenu-item a:hover {
    background: var(--submenu-hover-bg);
    color: var(--submenu-text-hover);
    padding-left: 16px;
}

.sub-submenu-icon {
    width: 16px;
    height: 16px;
    background: var(--submenu-icon-bg-light);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.65rem;
    margin-right: 8px;
    flex-shrink: 0;
}

/* -------------------- 4.4. MENU MOBILE -------------------- */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--mobile-menu-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    height: 40px;
    width: 40px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-btn:hover {
    background: var(--mobile-menu-hover-bg-strong);
}

.mobile-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--mobile-menu-border);
}

.mobile-logo-img {
    height: 70px;
    width: auto;
    margin-bottom: var(--space-md);
}

.mobile-logo-text h2 {
    font-size: 1.1rem;
    color: var(--header-text);
    margin: 0 0 4px 0;
}

.mobile-logo-text span {
    font-size: 0.75rem;
    color: var(--primary-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    background: var(--mobile-menu-bg);
    padding: var(--space-xl) var(--space-md);
    transition: right var(--transition-base);
    z-index: 1001;
    box-shadow: var(--shadow-mobile-menu);
    border-left: 1px solid var(--mobile-menu-border);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
    flex: 1;
    overflow-y: auto;
    padding-right: 4px;
}

.mobile-nav ul::-webkit-scrollbar {
    width: 4px;
}

.mobile-nav ul::-webkit-scrollbar-track {
    background: var(--mobile-menu-hover-bg-light);
    border-radius: 10px;
}

.mobile-nav ul::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.mobile-nav li {
    margin-bottom: 2px;
}

.mobile-nav>ul>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    color: var(--mobile-menu-text);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background var(--transition-base);
    font-size: var(--text-base);
    font-weight: 500;
}

.mobile-nav>ul>li>a:hover {
    background: var(--mobile-menu-hover-bg);
}

/* Link ativo — página atual (mobile) */
.mobile-nav>ul>li>a.active {
    background: var(--mobile-menu-hover-bg-strong);
    color: var(--mobile-menu-text);
    font-weight: 600;
}

.mobile-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--mobile-menu-close);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1002;
}

/* Submenus no mobile */
.mobile-submenu-toggle {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--mobile-menu-arrow);
    cursor: pointer;
    transition: color var(--transition-base);
    border-radius: var(--radius-sm);
}

.mobile-submenu-toggle:hover {
    background: var(--mobile-menu-hover-bg);
    color: var(--submenu-text-hover);
}

.mobile-submenu-toggle i {
    transition: transform var(--transition-base);
}

.mobile-submenu-toggle.active i {
    transform: rotate(180deg);
    color: var(--primary);
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    background: var(--mobile-menu-hover-bg-dark);
    border-radius: var(--radius-md);
    margin: 4px 0 8px 0;
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu-item {
    position: relative;
}

.mobile-submenu-item>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem 0.75rem 2rem;
    color: var(--mobile-menu-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-base);
}

.mobile-submenu-item>a:hover {
    background: var(--mobile-menu-hover-bg);
    color: var(--submenu-text-hover);
}

.mobile-submenu-item.has-subsubmenu>a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: var(--mobile-menu-arrow);
    transition: transform var(--transition-base);
}

.mobile-submenu-item.has-subsubmenu.active>a::after {
    transform: rotate(90deg);
    color: var(--primary);
}

.mobile-subsubmenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
    background: var(--mobile-menu-hover-bg-darker);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.mobile-subsubmenu.active {
    max-height: 300px;
}

.mobile-subsubmenu a {
    display: flex;
    align-items: center;
    padding: 0.65rem 1rem 0.65rem 3rem;
    color: var(--mobile-menu-text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-base);
}

.mobile-subsubmenu a:hover {
    background: var(--mobile-menu-hover-bg-light);
    color: var(--submenu-text-hover);
    padding-left: 3.5rem;
}

.mobile-menu-icon {
    width: 20px;
    height: 20px;
    background: var(--mobile-menu-icon-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.7rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.mobile-submenu-icon {
    width: 18px;
    height: 18px;
    background: var(--mobile-menu-icon-bg-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.65rem;
    margin-right: 8px;
    flex-shrink: 0;
}

/* -------------------- 4.5. Melhorias para dispositivos Touch ------------------ */
.has-submenu-link {
    -webkit-tap-highlight-color: transparent;
}

/* Indicador visual de que é clicável em touch */
@media (hover: none) and (pointer: coarse) {
    .has-submenu-link i.fa-chevron-down {
        transition: transform 0.3s ease;
    }

    .submenu-item>a i.submenu-arrow {
        transition: transform 0.3s ease;
    }

    /* Efeito de feedback ao tocar */
    .has-submenu-link:active,
    .submenu-item>a:active {
        background-color: var(--bg-light);
        opacity: 0.8;
        border-radius: var(--radius-sm);
    }

    /* Aumentar área de clique */
    .has-submenu-link {
        padding: 0.6rem 1rem;
    }

    .submenu-item>a {
        padding: 12px 16px;
    }
}

/* Prevenir que o hover atrapalhe em touch */
@media (hover: none) {
    .desktop-nav a::after {
        display: none;
    }

    .desktop-nav a:hover {
        color: var(--text-secondary);
    }

    /* Garantir que submenus fiquem visíveis quando abertos por clique */
    .submenu-level-1.active,
    .submenu-level-2.active,
    .submenu-level-3.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    .submenu-level-2.active {
        transform: translateX(0) !important;
    }
}

/* Ajustes específicos para tablets em modo paisagem */
@media (min-width: 768px) and (max-width: 1150px) and (hover: none) and (pointer: coarse) {
    .desktop-nav {
        display: block !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    /* Garantir que o menu caiba na tela */
    .desktop-nav ul {
        gap: 0.5rem;
    }

    .desktop-nav a {
        font-size: 0.85rem;
        padding: 0.5rem 0.6rem;
    }
}

/* -------------------- 4.6. RESPONSIVIDADE DO HEADER -------------------- */
@media (min-width: 1251px) and (max-width: 1400px) {
    .desktop-nav ul {
        gap: 0.85rem;
    }

    .desktop-nav a {
        padding: 0.4rem 0.6rem;
        font-size: 0.88rem;
    }
}

@media (min-width: 1201px) and (max-width: 1250px) {
    .desktop-nav ul {
        gap: 0.7rem;
    }

    .desktop-nav a {
        padding: 0.38rem 0.55rem;
        font-size: 0.85rem;
    }

    .logo-company-name {
        font-size: 1.15rem;
    }

    .logo-company-tagline {
        font-size: 0.78rem;
    }
}

@media (min-width: 1151px) and (max-width: 1200px) {
    .desktop-nav ul {
        gap: 0.6rem;
    }

    .desktop-nav a {
        padding: 0.35rem 0.5rem;
        font-size: 0.82rem;
    }

    .submenu-level-1 {
        width: 210px;
    }

    .submenu-level-2 {
        width: 180px;
    }

    .logo-company-name {
        font-size: 1.1rem;
    }

    .logo-company-tagline {
        font-size: 0.75rem;
    }

    .logo-img {
        height: 78px;
    }
}

/* ---- Tablet com menu desktop visível (1151px+) ---- */
@media (min-width: 1151px) {
    header.scrolled .logo-img {
        height: 48px !important;
    }
}

/* ---- Tablet e Mobile: menu hambúrguer ---- */
@media (max-width: 1150px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .logo-text-container {
        display: flex !important;
        flex-direction: column;
        margin-left: 8px;
    }

    .header-container {
        padding: 0 15px !important;
    }

    .mobile-menu-btn {
        margin-left: auto;
    }

    .has-submenu:nth-last-child(2) .submenu-level-1,
    .has-submenu:nth-last-child(1) .submenu-level-1 {
        left: auto;
        right: 0;
    }

    .has-submenu:nth-last-child(2) .submenu-level-2,
    .has-submenu:nth-last-child(1) .submenu-level-2 {
        left: auto;
        right: 100%;
    }
}

/* ---- Tablet grande (769px–1150px) ---- */
@media (max-width: 1150px) and (min-width: 769px) {
    header {
        height: 95px;
    }

    .logo-img {
        height: 78px !important;
    }

    .logo-company-name {
        font-size: 1.05rem !important;
        color: var(--header-text) !important;
    }

    .logo-company-tagline {
        font-size: 0.75rem !important;
        color: var(--primary-light) !important;
    }

    header.scrolled {
        height: 65px !important;
    }

    header.scrolled .logo-img {
        height: 48px !important;
    }

    header.scrolled .logo-company-name {
        font-size: 0.85rem !important;
    }

    header.scrolled .logo-company-tagline {
        font-size: 0.62rem !important;
    }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
    header {
        height: 85px;
    }

    .logo-img {
        height: 70px !important;
    }

    .logo-company-name {
        font-size: 1.05rem !important;
        white-space: nowrap;
        color: var(--header-text) !important;
    }

    .logo-company-tagline {
        font-size: 0.7rem !important;
        white-space: nowrap;
        color: var(--primary-light) !important;
    }

    header.scrolled {
        height: 60px !important;
    }

    header.scrolled .logo-img {
        height: 46px !important;
    }

    header.scrolled .logo-company-name {
        font-size: 0.88rem !important;
    }

    header.scrolled .logo-company-tagline {
        font-size: 0.62rem !important;
    }
}


/* ===================================================================
   5. FOOTER COMPLETO
   =================================================================== */

/* -------------------- 5.1. ESTRUTURA DO FOOTER -------------------- */
footer {
    background: var(--footer-bg);
    color: var(--text-primary);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: none;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--footer-gradient-start) 0%, var(--footer-gradient-end) 100%);
    z-index: 0;
}

footer .container {
    position: relative;
    z-index: 1;
}

body.dark-theme footer {
    background: var(--footer-bg-dark);
}

body.dark-theme footer::before {
    background: linear-gradient(135deg, var(--footer-gradient-start-dark) 0%, var(--footer-gradient-end-dark) 100%);
}

/* -------------------- 5.2. CONTEÚDO DO FOOTER -------------------- */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    margin-bottom: var(--space-lg);
}

.footer-desc {
    color: var(--footer-text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--footer-social-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    text-decoration: none;
    transition: all var(--transition-base);
    border: 1px solid var(--footer-social-border);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--footer-text);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--footer-text);
    opacity: 0.95;
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: all var(--transition-base);
    font-size: var(--text-sm);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 4px;
}

/* Contato */
.contact-item {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-icon {
    width: 36px;
    height: 36px;
    background: var(--contact-icon-bg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid var(--contact-icon-border);
}

.contact-text h4 {
    font-size: var(--text-sm);
    color: var(--footer-text);
    opacity: 0.95;
    margin-bottom: 2px;
    font-weight: 600;
}

.contact-text p {
    color: var(--footer-text-muted);
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--footer-border);
    color: var(--footer-text);
    font-size: var(--text-sm);
    position: relative;
    z-index: 1;
}

.copyright p {
    color: var(--footer-text) !important;
}

/* Ajustes específicos do footer */
footer .logo-text span {
    color: var(--primary-light) !important;
}

footer .logo-text h1,
footer .logo-text h3 {
    color: var(--footer-text) !important;
}

/* Logo do footer — tamanho próprio (não vinculado ao scroll do header) */
.footer-logo .logo-img {
    height: 80px !important;
}

/* -------------------- 5.3. RESPONSIVIDADE DO FOOTER -------------------- */
/*
 * Breakpoints:
 *   > 1024px  — desktop grande   (3 colunas)
 *   769–1024px — tablet grande   (3 colunas compactas)
 *   ≤ 768px   — mobile           (2 colunas / layout em blocos)
 *   ≤ 480px   — mobile médio     (ajustes de tamanho)
 *   ≤ 360px   — mobile mínimo    (textos ainda menores)
 */

/* ===== DESKTOP GRANDE (acima de 1024px) ===== */
@media (min-width: 1025px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1.4fr;
        gap: var(--space-2xl);
        align-items: start;
    }

    .footer-contacts-row {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .contact-item {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-sm);
        margin-bottom: 0;
    }
}

/* ===== TABLET GRANDE (769px - 1024px) ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1.8fr 1fr 1.4fr;
        gap: var(--space-xl);
        align-items: start;
    }

    footer .logo-text span {
        font-size: 0.68rem;
        white-space: normal;
        display: block;
        max-width: 160px;
        line-height: 1.2;
    }

    .footer-logo .logo-img {
        height: 80px !important;
    }

    .footer-desc {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .footer-contacts-row {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .contact-item {
        flex-direction: row;
        align-items: flex-start;
        gap: var(--space-sm);
        margin-bottom: 0;
    }

    .contact-text h4 {
        font-size: 0.8rem;
    }

    .contact-text p {
        font-size: 0.78rem;
    }
}

/* ===== MOBILE (até 768px) ===== */
@media (max-width: 768px) {
    footer {
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: var(--space-md) var(--space-md);
        margin-bottom: 0;
        text-align: left;
    }

    .footer-col:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .footer-logo {
        margin-bottom: var(--space-sm);
        display: flex;
        justify-content: flex-start;
    }

    .footer-logo .logo {
        height: auto;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        flex-direction: row;
    }

    .footer-logo .logo-img-container {
        height: auto;
        flex-shrink: 0;
    }

    .footer-logo .logo-img {
        height: 64px !important;
        width: auto;
    }

    .footer-logo .logo-text h3 {
        font-size: 0.85rem !important;
        line-height: 1.2;
        letter-spacing: 0.5px;
        margin: 0;
        color: var(--footer-text) !important;
    }

    .footer-logo .logo-text span {
        font-size: 0.48rem !important;
        letter-spacing: 1.5px;
        margin-top: 2px;
    }

    .footer-desc {
        font-size: 0.75rem;
        line-height: 1.6;
        margin-bottom: var(--space-md);
        display: block;
        overflow: visible;
        color: var(--footer-text-very-dim);
        max-width: 100%;
    }

    .footer-social {
        justify-content: flex-start;
        gap: var(--space-sm);
        margin-top: 0;
    }

    .footer-social a {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .footer-col:nth-child(2) {
        display: block;
        grid-column: 2;
        grid-row: 1;
        text-align: center;
    }

    .footer-title {
        font-size: 0.6rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        opacity: 0.5;
        margin-bottom: var(--space-sm);
        font-weight: 700;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        list-style: none;
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
    }

    .footer-links li {
        margin-bottom: 0;
        width: auto;
        text-align: center;
    }

    .footer-links a {
        font-size: 0.8rem;
        color: var(--footer-text-very-dim);
        text-decoration: none;
        display: inline-block;
        padding: 2px 0;
    }

    .footer-links a:hover {
        color: var(--primary-light);
    }

    .footer-col:nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
        padding-top: var(--space-md);
        border-top: 1px solid var(--footer-border);
    }

    .footer-col:nth-child(3) .footer-title {
        text-align: center;
        display: block;
    }

    .footer-contacts-row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: var(--space-xs);
        width: 100%;
    }

    .footer-contacts-row .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 6px;
        margin-bottom: 0;
        flex: 1;
        background: var(--contact-item-bg);
        border: 1px solid var(--contact-item-border);
        border-radius: var(--radius-md);
        padding: var(--space-sm) 4px;
    }

    .contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .contact-text h4 {
        font-size: 0.58rem;
        font-weight: 700;
        color: var(--footer-text);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 2px;
    }

    .contact-text p {
        font-size: 0.58rem;
        line-height: 1.4;
        color: var(--footer-text-very-dim);
    }

    .copyright {
        font-size: 0.65rem;
        padding-top: var(--space-md);
        margin-top: var(--space-md);
        color: rgba(255, 255, 255, 0.85);
    }

}

/* ===== MOBILE MÉDIO (até 480px) ===== */
@media (max-width: 480px) {
    footer {
        padding: var(--space-lg) 0 var(--space-md);
    }

    .footer-logo .logo-img {
        height: 56px !important;
    }

    .footer-desc {
        font-size: 0.72rem;
    }

    .footer-contacts-row {
        gap: 4px;
    }

    .footer-contacts-row .contact-item {
        padding: var(--space-xs) 2px;
    }

    footer .logo-text span {
        display: block;
        white-space: normal;
        max-width: 140px;
        font-size: 0.7rem !important;
        line-height: 1.2;
        margin-top: 2px;
        text-align: left;
    }

    /* DEPOIS */
    .copyright,
    .copyright p {
        font-size: 0.65rem !important;
        padding-top: var(--space-sm);
        margin-top: var(--space-sm);
    }
}

/* ===== MOBILE PEQUENO (até 360px) ===== */
@media (max-width: 360px) {
    footer .logo-text span {
        max-width: 120px;
        font-size: 0.65rem !important;
    }

    .copyright,
    .copyright p {
        font-size: 0.58rem !important;
    }
}


/* ===================================================================
   6. RESPONSIVIDADE GERAL
   =================================================================== */

/* -------------------- 6.1. BREAKPOINTS PRINCIPAIS -------------------- */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 var(--space-lg);
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 95px;
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .section-subtitle {
        font-size: 0.7rem;
        letter-spacing: 1.5px;
    }

    .section-desc {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .theme-toggle,
    .whatsapp-float {
        width: 44px;
        height: 44px;
        font-size: 1rem;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float {
        bottom: 74px;
    }

    header {
        height: 85px;
        padding: 0.375rem 0;
    }

    .logo-img {
        height: 70px !important;
    }
}

@media (max-width: 480px) {
    :root {
        --space-3xl: 3.5rem;
        --space-2xl: 3rem;
    }

    section {
        padding: var(--space-2xl) 0;
    }

    .section-title {
        font-size: var(--text-2xl);
    }

    .section-header {
        margin-bottom: var(--space-xl);
    }

    .container {
        padding: 0 var(--space-sm);
    }
}

/* -------------------- 6.2. BREAKPOINTS ESPECÍFICOS POR DISPOSITIVO -------------------- */
/*
 * Complementa os breakpoints do 6.1 com ajustes mais finos por faixa de tela.
 * Usado principalmente pela seção de hero e produtos do home.css.
 */
/* Tablets paisagem e telas médias (1024px - 1180px) */
@media (min-width: 1024px) and (max-width: 1180px) {
    .container {
        max-width: 95%;
        padding: 0 var(--space-lg);
    }

    .hero {
        min-height: 80vh;
        padding-top: 125px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 4vw, 3.5rem);
    }

    .hero-title span {
        font-size: clamp(2rem, 3.5vw, 3rem);
    }

    .hero-stats {
        gap: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: var(--space-lg);
    }

    .product-card {
        min-height: 520px;
    }
}

/* Tablets médios (820px - 1024px) */
@media (min-width: 820px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 0 var(--space-md);
    }

    .hero {
        min-height: 75vh;
        padding-top: 110px;
        text-align: center;
    }

    .hero-content {
        max-width: 700px;
        margin: 0 auto;
    }

    .hero-title {
        font-size: clamp(2rem, 3.8vw, 3.2rem);
    }

    .hero-title span {
        font-size: clamp(1.8rem, 3.3vw, 2.8rem);
        margin-top: 0.3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
        gap: var(--space-md);
    }

    .hero-btns .btn {
        min-width: 180px;
    }

    .hero-stats {
        justify-content: center;
        gap: 3rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
        gap: var(--space-md);
    }

    .product-card {
        min-height: 500px;
    }

    .product-image {
        height: 220px;
    }

    .product-filters {
        gap: var(--space-xs);
        max-width: 700px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .location-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .location-info {
        text-align: center;
    }

    .location-info h2 {
        font-size: var(--text-3xl);
    }

    .location-detail {
        justify-content: center;
    }

    .location-buttons {
        justify-content: center;
    }

    .location-map-container {
        height: 350px;
    }

    .clients-carousel::before,
    .clients-carousel::after {
        width: 80px;
    }

    .client-logo {
        width: 170px;
        height: 75px;
    }
}

/* Tablets pequenos (768px - 820px) */
@media (min-width: 768px) and (max-width: 820px) {
    .hero {
        min-height: 70vh;
        padding-top: 105px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title span {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        gap: var(--space-md);
    }

    .product-card {
        min-height: 480px;
    }

    .product-image {
        height: 200px;
    }

    .product-title {
        font-size: 1.1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Tablets em retrato (600px - 768px) */
@media (min-width: 600px) and (max-width: 768px) {
    header {
        height: 85px;
    }

    .logo-img {
        height: 70px !important;
    }

    .logo-text-container {
        display: flex !important;
    }

    .logo-company-name {
        font-size: 0.95rem !important;
    }

    .logo-company-tagline {
        font-size: 0.68rem !important;
    }

    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: var(--space-xl);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-title span {
        font-size: 1.8rem;
    }

    .hero-btns {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-btns .btn {
        min-width: 200px;
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
        background: rgba(255, 255, 255, 0.06);
        border-radius: var(--radius-md);
        padding: var(--space-sm);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .product-card {
        min-height: 450px;
    }

    .product-image {
        height: 180px;
    }

    .product-info {
        padding: var(--space-md);
    }

    .product-specs {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "tamanho resistencia"
            "classe classe";
    }

    .clients-carousel::before,
    .clients-carousel::after {
        width: 50px;
    }

    .client-logo {
        width: 140px;
        height: 65px;
    }
}

/* Telas muito largas (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero {
        min-height: 85vh;
    }

    .hero-title {
        font-size: var(--text-6xl);
    }

    .hero-title span {
        font-size: var(--text-5xl);
    }

    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ===================================================================
   7. ANIMAÇÕES E EFEITOS
   =================================================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===================================================================
   TELAS GRANDES — LARGE (≥ 1400px) E XLARGE (≥ 2000px)
   =================================================================== */

/* ---- ≥ 1400px ---------------------------------------------------- */
@media (min-width: 1400px) {

    /* Hero */
    .hero {
        min-height: 88vh;
        padding-top: 145px;
    }

    .hero-content {
        max-width: 900px;
    }

    .hero-title {
        font-size: clamp(3.5rem, 5vw, 4.8rem);
        margin-bottom: 2rem;
    }

    .hero-title span {
        font-size: clamp(3rem, 4.5vw, 4.2rem);
    }

    .hero-subtitle {
        font-size: 1.3rem;
        max-width: 780px;
        margin-bottom: 3rem;
    }

    .hero-btns {
        margin-bottom: 5rem;
    }

    .hero-btns .btn {
        padding: 15px 32px;
        font-size: 1.05rem;
    }

    .hero-stats {
        gap: 5rem;
    }

    .stat-number {
        font-size: 3.8rem;
    }

    .stat-label {
        font-size: 1rem;
        letter-spacing: 1.5px;
    }

    /* Produtos */
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xl);
    }

    .product-card {
        min-height: 580px;
    }

    .product-image {
        height: 270px;
    }

    .product-title {
        font-size: var(--text-xl);
    }

    .finish-guide {
        max-width: 960px;
        gap: 40px;
    }

    .finish-guide-item {
        padding: 20px 30px;
    }

    .product-filters {
        max-width: 960px;
    }

    .pagination-row-top {
        max-width: 700px;
    }

    /* Depoimentos */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-2xl);
    }

    .testimonial-card {
        padding: var(--space-2xl);
    }

    .testimonial-text {
        font-size: 1.05rem;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    /* Carrossel de logos */
    .client-card {
        width: 220px;
    }

    .client-card-logo {
        height: 130px;
        padding: 22px 24px 16px;
    }

    .client-card-name {
        font-size: 12px;
        padding: 11px 16px;
    }

    .clients-carousel::before,
    .clients-carousel::after {
        width: 160px;
    }

    .clients-title {
        font-size: var(--text-3xl);
    }

    /* Localização */
    .location-container {
        grid-template-columns: 1fr 1.4fr;
        gap: var(--space-3xl);
    }

    .location-map-container {
        height: 500px;
    }

    .location-info h2 {
        font-size: var(--text-4xl);
    }

    .location-icon {
        width: 50px;
        height: 50px;
    }

    .location-text h4 {
        font-size: var(--text-xl);
    }

    .location-text p {
        font-size: 1rem;
    }

    .map-tab {
        padding: var(--space-lg);
        font-size: 1rem;
    }
}

/* ---- ≥ 2000px ---------------------------------------------------- */
@media (min-width: 2000px) {

    /* Hero */
    .hero {
        min-height: 86vh;
        padding-top: 160px;
    }

    .hero-content {
        max-width: 1100px;
    }

    .hero-title {
        font-size: clamp(4rem, 5.5vw, 6rem);
        margin-bottom: 2.5rem;
    }

    .hero-title span {
        font-size: clamp(3.5rem, 5vw, 5.5rem);
    }

    .hero-subtitle {
        font-size: 1.5rem;
        max-width: 900px;
        margin-bottom: 3.5rem;
    }

    .hero-btns {
        margin-bottom: 6rem;
    }

    .hero-btns .btn {
        padding: 18px 40px;
        font-size: 1.15rem;
        min-height: 58px;
    }

    .hero-stats {
        gap: 7rem;
    }

    .stat-number {
        font-size: 4.8rem;
    }

    .stat-label {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    /* Produtos */
    .products-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .product-card {
        min-height: 600px;
    }

    .product-image {
        height: 290px;
    }

    .product-title {
        font-size: 1.25rem;
    }

    .product-desc {
        font-size: 0.92rem;
    }

    .finish-guide {
        max-width: 1300px;
        gap: 50px;
    }

    .finish-guide-item {
        padding: 24px 36px;
        min-width: 300px;
    }

    .guide-content h4 {
        font-size: 1.4rem;
    }

    .guide-content p {
        font-size: 1rem;
    }

    .product-filters {
        max-width: 1200px;
    }

    .filter-btn {
        padding: 12px 26px;
        font-size: 0.95rem;
    }

    /* Depoimentos */
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-2xl);
    }

    .testimonial-card {
        padding: var(--space-2xl) var(--space-xl);
    }

    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.8;
    }

    .author-avatar {
        width: 66px;
        height: 66px;
        font-size: 2rem;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .author-role {
        font-size: 0.95rem;
    }

    /* Carrossel de logos */
    .clients-title {
        font-size: var(--text-4xl);
    }

    .client-card {
        width: 250px;
    }

    .client-card-logo {
        height: 150px;
        padding: 26px 28px 20px;
    }

    .client-card-name {
        font-size: 13px;
        padding: 13px 18px;
        letter-spacing: 1.5px;
    }

    .clients-carousel::before,
    .clients-carousel::after {
        width: 200px;
    }

    /* Localização */
    .location-container {
        grid-template-columns: 1fr 1.6fr;
        align-items: start;
    }

    .location-map-container {
        height: 600px;
    }

    .location-info h2 {
        font-size: clamp(2.5rem, 3vw, 3.5rem);
    }

    .location-info>p {
        font-size: 1.15rem;
        line-height: 1.75;
    }

    .location-icon {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    .location-text h4 {
        font-size: var(--text-2xl);
    }

    .location-text p {
        font-size: 1.05rem;
    }

    .location-buttons .btn {
        padding: 15px 32px;
        font-size: 1.05rem;
        min-height: 54px;
    }

    .map-tab {
        padding: var(--space-lg) var(--space-xl);
        font-size: 1.05rem;
    }
}

/* ---- ≥ 2000px: XLarge (ultra-wide, 2200×900) --------------------- */
@media (min-width: 2000px) {
    :root {
        --space-3xl: 8rem;
        --space-2xl: 5.5rem;
        --text-base: 1.05rem;
        --text-sm: 0.95rem;
    }

    .container {
        max-width: 1720px;
    }

    .section-title {
        font-size: clamp(3rem, 3.5vw, 4rem);
    }

    .section-subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .section-desc {
        font-size: 1.2rem;
        max-width: 820px;
    }

    p {
        font-size: 1.05rem;
    }

    /* Header */
    .header-container {
        max-width: 1720px;
    }

    header {
        height: 130px;
    }

    .logo-img {
        height: 122px;
    }

    .logo-company-name {
        font-size: 1.45rem;
    }

    .logo-company-tagline {
        font-size: 0.92rem;
    }

    .logo-text-container {
        margin-right: 3rem;
    }

    .desktop-nav ul {
        gap: 1.8rem;
    }

    .desktop-nav a {
        font-size: 1.1rem;
        padding: 0.55rem 0.9rem;
    }

    .submenu-level-1 {
        width: 260px;
    }

    .submenu-item>a {
        font-size: 1rem;
        padding: 10px 16px;
    }

    .submenu-level-2 {
        width: 200px;
    }

    .sub-submenu-item a {
        font-size: 0.95rem;
        padding: 8px 16px;
    }

    /* Footer */
    footer .container {
        max-width: 1720px;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1.8fr;
        gap: var(--space-3xl);
    }

    .footer-logo .logo-img {
        height: 110px !important;
    }

    .footer-desc {
        font-size: 1.05rem;
        line-height: 1.8;
    }

    .footer-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-xl);
    }

    .footer-links li {
        margin-bottom: var(--space-md);
    }

    .footer-links a {
        font-size: 1rem;
    }

    .contact-text h4 {
        font-size: var(--text-lg);
    }

    .contact-text p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .footer-social a {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    .copyright {
        font-size: 1rem;
        padding-top: var(--space-2xl);
    }
}