/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary: #0D1335;          /* Logo Deep Navy */
    --primary-light: #1A2254;    /* Navy Highlight */
    --primary-bg: #0A0E28;       /* Deep Dark Footer Background */
    --accent: #2563EB;           /* Corporate Blue */
    --accent-hover: #1D4ED8;     /* Darker Blue */
    --accent-light: #EFF6FF;     /* Blue Background Accent */
    
    /* Neutral Palette */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;         /* Soft Gray/Blue */
    --bg-card: #FFFFFF;
    --text-dark: #1E293B;        /* Slate 800 - Headers */
    --text-muted: #475569;       /* Slate 600 - Body */
    --text-light: #94A3B8;       /* Slate 400 */
    --border: #E2E8F0;           /* Slate 200 */
    --error: #EF4444;            /* Red */
    --success: #10B981;          /* Emerald Green */

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans Pro', Arial, sans-serif;

    /* Shadows & Borders */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.03);
    --shadow-premium: 0 20px 25px -5px rgba(13, 19, 53, 0.05), 0 10px 10px -5px rgba(13, 19, 53, 0.02);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    /* Animations & Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   CSS RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.7;
    color: var(--text-muted);
    background: #fafbfc;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
   content: '';
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: 
      linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(248,250,252,1) 100%);
   z-index: -2;
}

body::after {
   content: '';
   position: fixed;
   top: -30%;
   right: -10%;
   width: 60%;
   height: 80%;
   background: radial-gradient(ellipse, rgba(26,58,92,0.03) 0%, transparent 70%);
   z-index: -1;
   transform: rotate(-8deg);
}

.background-accent-2 {
   position: fixed;
   bottom: -20%;
   left: -5%;
   width: 50%;
   height: 60%;
   background: radial-gradient(ellipse, rgba(26,58,92,0.02) 0%, transparent 70%);
   z-index: -1;
   transform: rotate(5deg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

h1 {
   font-size: clamp(28px, 6vw, 48px);
}

h2 {
   font-size: clamp(22px, 4.5vw, 36px);
}

h3 {
   font-size: clamp(18px, 3.5vw, 28px);
}

strong, b {
    font-weight: 600;
}

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

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

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

ul {
    list-style: none;
}

/* Common Layout Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.section-padding {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

.bg-light {
    background-color: rgba(248, 250, 252, 0.5);
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.hidden { display: none !important; }

.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn, .btn-submit, .cta-button {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 10px auto;
    box-sizing: border-box;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 16px;
    min-height: 48px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

@media (min-width: 768px) {
    .btn, .btn-submit, .cta-button {
        width: auto;
        display: inline-flex;
        margin: 0;
        align-items: center;
        justify-content: center;
    }
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.cta-button {
    background: #1a3a5c;
    color: white;
    padding: 14px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
}

.cta-button:hover {
    background: #112840;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(26, 58, 92, 0.25);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition);
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

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

.main-header.scrolled .header-container {
    height: 70px;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.main-header.scrolled .logo-img {
    height: 42px;
}

.primary-navigation {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.25rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--accent);
}

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

.nav-link-cta {
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-link-cta:hover {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.15);
}

/* Mobile Menu Button */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
}

.hamburger {
    display: block;
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--text-dark);
    transition: var(--transition);
}

.hamburger::before { top: -6px; right: 0; }
.hamburger::after { bottom: -6px; right: 0; }

.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ==========================================================================
   TELA 1: HOME / HERO
   ========================================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(248, 250, 252, 0.4) 100%);
    padding-top: 10.5rem;
    padding-bottom: 7.5rem;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    background-color: var(--accent-light);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 550px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
}

.hero-image-backdrop {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent);
    border-radius: var(--radius-lg);
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
}

.hero-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 2;
}

/* SVG Hero Wave decoration */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.hero-wave .shape-fill {
    fill: var(--bg-white);
}

/* ==========================================================================
   TELA 2: QUEM SOMOS / SOBRE NÓS
   ========================================================================== */
.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.experience-card {
    position: absolute;
    bottom: -25px;
    right: -25px;
    background-color: var(--primary);
    color: var(--bg-white);
    padding: 1.75rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 220px;
    z-index: 10;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.exp-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.about-text:last-of-type {
    margin-bottom: 0;
}

/* ==========================================================================
   TELA 3: SERVIÇOS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 3rem 2.25rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: rgba(37, 99, 235, 0.2);
}

.service-icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--accent-light);
    color: var(--accent);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background-color: var(--accent);
    color: var(--bg-white);
}

.service-card-title {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    font-weight: 600;
}

.service-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ==========================================================================
   TELA 4: DIFERENCIAIS
   ========================================================================== */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.diferencial-item {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: var(--transition);
    border: 1px solid transparent;
}

.diferencial-item:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    border-color: var(--border);
    transform: translateY(-3px);
}

.diferencial-icon {
    color: var(--accent);
    background-color: var(--bg-white);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
    transition: var(--transition);
}

.diferencial-item:hover .diferencial-icon {
    background-color: var(--accent);
    color: var(--bg-white);
}

.diferencial-info {
    display: flex;
    flex-direction: column;
}

.diferencial-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.diferencial-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   SEÇÃO LIBERDADE
   ========================================================================== */
.freedom-section {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.freedom-image-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.freedom-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    max-width: none;
}

.freedom-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 14, 40, 0.82) 0%,
        rgba(10, 14, 40, 0.60) 50%,
        rgba(10, 14, 40, 0.25) 100%
    );
}

.freedom-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    margin-left: 8%;
    padding: 5rem 2rem;
    color: #fff;
}

.freedom-label {
    display: inline-block;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.25rem;
    border-left: 3px solid var(--accent);
    padding-left: 0.75rem;
}

.freedom-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.freedom-text {
    font-size: clamp(16px, 1.8vw, 18px);
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 560px;
}

.freedom-cta {
    background-color: #fff !important;
    color: var(--primary) !important;
    border-color: #fff !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    width: auto !important;
    display: inline-flex !important;
    margin: 0 !important;
}

.freedom-cta:hover {
    background-color: var(--accent) !important;
    color: #fff !important;
    border-color: var(--accent) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
}

@media (max-width: 768px) {
    .freedom-section {
        min-height: 520px;
        align-items: flex-end;
    }

    .freedom-overlay {
        background: linear-gradient(
            to top,
            rgba(10, 14, 40, 0.90) 0%,
            rgba(10, 14, 40, 0.50) 60%,
            rgba(10, 14, 40, 0.10) 100%
        );
    }

    .freedom-content {
        margin-left: 0;
        padding: 3rem 1.5rem;
        text-align: center;
        max-width: 100%;
    }

    .freedom-label {
        border-left: none;
        border-bottom: 2px solid var(--accent);
        padding-left: 0;
        padding-bottom: 0.4rem;
    }

    .freedom-cta {
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
}

/* ==========================================================================
   TELA 5: CONTATO & FORMULÁRIO
   ========================================================================== */
.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 5rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.section-title.text-left {
    text-align: left;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method-item {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.method-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-method-item:hover .method-icon {
    background-color: var(--accent);
    color: var(--bg-white);
    transform: scale(1.05);
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.method-link {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.method-link:hover {
    color: var(--accent);
}

/* Formulário e Inputs */
.contact-form-wrapper {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: var(--transition);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1.5px solid var(--border);
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control::placeholder {
    color: var(--text-light);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Validations and Errors */
.error-message {
    font-size: 0.8rem;
    color: var(--error);
    display: none;
    margin-top: 0.25rem;
    font-weight: 500;
}

.form-control.invalid {
    border-color: var(--error);
}

.form-control.invalid:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.btn-submit {
    margin-top: 1rem;
    position: relative;
    border: none;
}

/* Spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--bg-white);
    animation: spin 1s ease-in-out infinite;
    position: absolute;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Success State Box */
.success-message-box {
    text-align: center;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.5s ease-out forwards;
}

.success-icon-wrapper {
    width: 72px;
    height: 72px;
    background-color: var(--success);
    color: var(--bg-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.success-message-box h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.success-message-box p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 400px;
    margin-bottom: 2rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleUp {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   FOOTER / RODAPÉ
   ========================================================================== */
.main-footer {
    background-color: var(--primary-bg);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 5rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0.95);
    background-color: rgba(255, 255, 255, 0.95); /* Keep logo backgrounds crisp if it has background */
    padding: 6px;
    border-radius: var(--radius-sm);
}

.footer-tagline {
    font-size: 0.95rem;
    max-width: 350px;
    line-height: 1.6;
}

.footer-info h4 {
    color: var(--bg-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-company {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-white);
    margin-bottom: 0.5rem;
}

.footer-cnpj {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    padding: 2rem 0;
    font-size: 0.875rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal-links {
    display: flex;
    gap: 2rem;
}

.footer-link:hover {
    color: var(--bg-white);
}

/* ==========================================================================
   SCROLL INTERSECTION ANIMATIONS
   ========================================================================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* Large Tablets & Desktop */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-container {
        gap: 2.5rem;
    }

    .hero-image {
        height: 380px;
    }

    .about-container {
        gap: 3rem;
    }

    .about-image {
        height: 380px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .diferenciais-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-container {
        gap: 3rem;
    }
}

/* Small Tablets & Large Mobile */
@media (max-width: 768px) {
    .section-padding {
        padding-top: 4.5rem;
        padding-bottom: 4.5rem;
    }

    .section-title {
        font-size: 1.85rem;
    }

    /* Navigation */
    .mobile-nav-toggle {
        display: block;
    }

    .primary-navigation {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-white);
        box-shadow: 0 10px 15px rgba(15, 23, 42, 0.05);
        padding: 3rem 2rem;
        z-index: 999;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        display: block;
    }

    .main-header.scrolled .primary-navigation {
        top: 70px;
        height: calc(100vh - 70px);
    }

    .primary-navigation.open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        text-align: center;
    }

    .nav-link {
        font-size: 1.25rem;
        display: block;
    }

    .nav-link-cta {
        display: block;
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
    }

    /* Hero */
    .hero-section {
        padding-top: 8.5rem;
        padding-bottom: 5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-wrapper {
        order: -1;
    }

    .hero-image {
        height: 320px;
    }

    /* About Us */
    .about-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .experience-card {
        right: 0;
        bottom: -20px;
        padding: 1.25rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2.5rem 1.75rem;
    }

    /* Contact */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }

    .contact-info {
        text-align: center;
    }

    .section-title.text-left {
        text-align: center;
    }

    .contact-methods {
        align-items: center;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1) translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* Secondary navigation styling and mobile overrides */
.secondary-nav {
    text-align: center;
    padding: 15px 10px;
    background: #f5f5f5;
    margin-top: 80px;
    position: relative;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.secondary-nav a {
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 16px;
    color: #1a3a5c;
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

.secondary-nav a:hover {
    background-color: rgba(26, 58, 92, 0.05);
}

@media (min-width: 768px) {
    .secondary-nav {
        flex-direction: row;
        justify-content: center;
        gap: 30px;
        padding: 15px 0;
    }
    
    .secondary-nav a {
        padding: 0;
        width: auto;
        border-bottom: none;
    }
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
    /* Hide background decorations on mobile for better performance and layout */
    body::before, 
    body::after, 
    .background-accent-2 {
        display: none !important;
    }
    
    body {
        background: #fafbfc !important;
    }
    
    /* WhatsApp floating button on mobile */
    .whatsapp-float {
        bottom: 15px !important;
        right: 15px !important;
        width: 50px !important;
        height: 50px !important;
    }
    
    .whatsapp-icon {
        width: 26px !important;
        height: 26px !important;
    }
    
    /* Inputs responsive paddings and iOS zoom fix */
    .form-control {
        font-size: 16px !important;
        padding: 14px 16px !important;
    }
}
