/* ==========================================================================
   CSS Variables & Design System
   ========================================================================== */
:root {
    /* Colors based on ETHIC identity + Premium additions */
    --color-red: #E42D2D;
    --color-red-dark: #C21D1D;
    --color-graphite: #2A2A2A;
    --color-graphite-light: #3D3D3D;
    --color-dark: #121212;
    --color-white: #FFFFFF;
    --color-light: #F8F9FA;
    --color-gray: #6C757D;
    --color-gray-light: #E9ECEF;
    --color-secondary: #4A4A4A; /* Substitui o antigo azul petróleo */
    --color-secondary-dark: #2A2A2A;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
    --shadow-red: 0 8px 24px rgba(228, 45, 45, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--color-graphite);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xxl) 0;
}

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

.text-white { color: var(--color-white) !important; }
.text-red { color: var(--color-red) !important; }
.text-center { text-align: center; }

.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mb-4 { margin-bottom: var(--space-lg); }

.highlight-red { color: var(--color-red); }
.highlight-secondary { color: var(--color-secondary); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(228, 45, 45, 0.35);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
    transform: translateY(-2px);
}

.bg-light .btn-outline {
    color: var(--color-red);
    border-color: var(--color-red);
}
.bg-light .btn-outline:hover {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

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

/* ==========================================================================
   Logo (Custom HTML/CSS Implementation matching image)
   ========================================================================== */
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.logo-top {
    display: flex;
    font-family: Arial, Helvetica, sans-serif; /* Blocky font similar to logo */
    font-weight: 900;
    font-size: 2.2rem;
    line-height: 1;
    letter-spacing: -1px;
}
.logo-letter {
    display: inline-block;
    transform: scaleX(1.3); /* Stretch slightly to match the wide look */
    margin-right: 0.2rem;
}
.logo-letter.dark { color: var(--color-graphite); }
.logo-letter.red { color: var(--color-red); }
.logo-letter.light { color: var(--color-white); } /* For footer */
.logo-bottom {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.2em; /* Wide spacing */
    color: var(--color-gray);
    margin-top: 0.25rem;
    text-transform: uppercase;
    margin-left: 0.2rem;
}

.header-logo-img {
    height: 45px;
    width: auto;
    display: block;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    display: block;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

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

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

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-graphite);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--color-red);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-graphite);
    cursor: pointer;
}

/* Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-white);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.active {
    transform: translateY(0);
}

.mobile-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-graphite);
    cursor: pointer;
}

.mobile-nav-links {
    text-align: center;
    margin-bottom: 2rem;
}

.mobile-nav-links li {
    margin: 1.5rem 0;
}

.mobile-nav-links a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-graphite);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0; /* Cover entire screen */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05); /* For a slow zoom effect in JS if wanted */
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(18, 18, 18, 0.9) 0%, rgba(18, 18, 18, 0.6) 50%, rgba(18, 18, 18, 0.3) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-text-wrapper {
    max-width: 800px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ==========================================================================
   Institucional Section
   ========================================================================== */
.institucional-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

.section-text {
    font-size: 1.125rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--color-red);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-dark);
}

.aesthetic-card {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-secondary-dark) 100%);
    padding: 3rem;
    border-radius: var(--radius-lg);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.aesthetic-card h3 {
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.aesthetic-card p {
    position: relative;
    z-index: 2;
    opacity: 0.9;
}

.aesthetic-circles .circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.aesthetic-circles .c1 {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.aesthetic-circles .c2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
}

/* ==========================================================================
   Soluções Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-gray-light);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--color-red);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-secondary);
    gap: 0.5rem;
}

.service-link:hover {
    color: var(--color-red);
}

/* ==========================================================================
   Diferenciais Section
   ========================================================================== */
.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.dif-item {
    text-align: center;
    padding: 1.5rem;
}

.dif-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(228, 45, 45, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--color-red);
    transition: var(--transition);
}

.dif-item:hover .dif-icon {
    background-color: var(--color-red);
    color: var(--color-white);
    transform: scale(1.1) rotate(5deg);
}

.dif-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.dif-item p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   Tecnologia Section
   ========================================================================== */
.tecnologia-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(228, 45, 45, 0.2);
    color: var(--color-red);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.tech-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    color: rgba(255,255,255,0.8);
}

.tech-list i {
    font-size: 1.5rem;
}

.dashboard-mockup-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transform: perspective(1000px) rotateY(5deg);
    transition: var(--transition);
}

.dashboard-mockup-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(228, 45, 45, 0.2) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
}

/* ==========================================================================
   Depoimentos Section
   ========================================================================== */
.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: serif;
    font-size: 4rem;
    color: var(--color-red);
    line-height: 1;
    opacity: 0.15;
}

.testimonial-text {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-graphite-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-stars {
    color: #f5b207;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.author-info strong {
    display: block;
    color: var(--color-dark);
    font-family: var(--font-heading);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--color-gray);
}

/* ==========================================================================
   Imóveis Section
   ========================================================================== */
.filters-container {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border: 1px solid var(--color-gray-light);
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-gray-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-graphite);
    background-color: var(--color-light);
    appearance: none;
    cursor: pointer;
}

.search-btn {
    flex-shrink: 0;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.property-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--color-gray-light);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.property-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.property-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-white);
    z-index: 2;
}

.tag-sale { background-color: var(--color-red); }
.tag-rent { background-color: var(--color-secondary); }

.property-info {
    padding: 1.5rem;
}

.property-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.property-location {
    color: var(--color-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-top: 1px solid var(--color-gray-light);
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--color-graphite-light);
}

.property-features span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

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

.property-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.blog-img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-category {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.blog-title a:hover {
    color: var(--color-red);
}

.blog-excerpt {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.blog-date {
    font-size: 0.875rem;
    color: #999;
}

/* ==========================================================================
   CTA Final
   ========================================================================== */
.cta-final {
    background: linear-gradient(135deg, var(--color-secondary-dark) 0%, var(--color-secondary) 100%);
    padding: 8rem 0;
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-icon-wrapper {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.cta-icon-wrapper i {
    font-size: 5rem;
    color: var(--color-red);
    filter: drop-shadow(0 0 15px rgba(228, 45, 45, 0.4));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--color-white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.cta-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 1px;
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.dec-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

.dec-circle.c1 {
    width: 600px;
    height: 600px;
    top: -200px;
    right: -100px;
}

.dec-circle.c2 {
    width: 400px;
    height: 400px;
    bottom: -150px;
    left: -50px;
    background: rgba(228, 45, 45, 0.05); /* Toque avermelhado sutil no fundo */
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-slogan {
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--color-white);
    font-size: 1.6rem;
}

.social-links a:hover {
    background-color: var(--color-red);
    transform: translateY(-3px);
}

.footer-title {
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links li, .footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-red);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--color-red);
    font-size: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

/* ==========================================================================
   Animations & Reveal Classes
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal.active, .reveal-left.active, .reveal-right.active {
    opacity: 1;
    transform: translate(0,0);
}

/* ==========================================================================
   Wizard Form Styles
   ========================================================================== */
.wizard-container { max-width: 900px; margin: 4rem auto; padding: 2rem; background: var(--color-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--border-color); }
.wizard-header { margin-bottom: 2rem; text-align: center; }
.wizard-steps { display: flex; justify-content: space-between; margin-bottom: 2rem; position: relative; }
.wizard-steps::before { content: ''; position: absolute; top: 50%; left: 0; width: 100%; height: 2px; background: var(--border-color); z-index: 1; }
.step-indicator { position: relative; z-index: 2; background: var(--color-white); padding: 0.5rem 1rem; border-radius: 20px; border: 2px solid var(--border-color); color: var(--color-gray); font-weight: 600; font-size: 0.9rem; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.step-indicator.active { border-color: var(--color-red); color: var(--color-red); }
.step-indicator.completed { background: var(--color-red); border-color: var(--color-red); color: var(--color-white); }
.wizard-step-content { display: none; animation: fadeIn 0.4s ease; }
.wizard-step-content.active { display: block; }
.form-section { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px dashed var(--border-color); }
.form-section-title { font-size: 1.25rem; color: var(--color-dark); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-label { font-size: 0.9rem; font-weight: 500; color: var(--color-dark); }
.form-input, .form-select, .form-textarea { padding: 0.75rem 1rem; border: 1px solid var(--border-color); border-radius: var(--radius-sm); font-family: 'Inter', sans-serif; font-size: 1rem; transition: border-color 0.3s; background: #fafafa; width: 100%; box-sizing: border-box; }
.form-textarea { resize: vertical; min-height: 80px; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--color-red); background: var(--color-white); }
.form-text { font-size: 0.8rem; color: var(--color-gray-light); margin-top: 0.2rem; }
.radio-group, .checkbox-group { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.radio-label, .checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; cursor: pointer; color: var(--color-graphite); }
.conditional-field { display: none; margin-top: 0.75rem; padding-left: 1rem; border-left: 2px solid var(--color-red); }
.conditional-field.active { display: block; animation: fadeIn 0.3s ease; }
.wizard-footer { display: flex; justify-content: space-between; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border-color); }
.btn-add-owner { width: 100%; border: 2px dashed var(--color-red); background: rgba(228, 45, 45, 0.05); color: var(--color-red); padding: 1rem; font-weight: 600; border-radius: var(--radius-md); cursor: pointer; transition: all 0.3s; margin-top: 1rem; }
.btn-add-owner:hover { background: rgba(228, 45, 45, 0.1); }
.owner-block { background: #fdfdfd; border: 1px solid var(--border-color); padding: 1.5rem; border-radius: var(--radius-md); margin-bottom: 1.5rem; position: relative; }
.owner-block-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-weight: 600; color: var(--color-dark); border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
.remove-owner-btn { color: var(--color-red); cursor: pointer; background: none; border: none; font-size: 0.9rem; font-weight: 600; }
.lgpd-box { background: rgba(31, 31, 31, 0.03); padding: 1.5rem; border-radius: var(--radius-sm); border-left: 4px solid var(--color-dark); font-size: 0.9rem; line-height: 1.5; color: var(--color-gray); margin-top: 2rem; }

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

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .institucional-grid, .tecnologia-grid {
        gap: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .desktop-nav, .header-actions .btn {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }

    .institucional-grid, .tecnologia-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    /* Mobile Wizard Form */
    .wizard-container {
        padding: 1.5rem 1rem;
        margin: 2rem auto;
    }
    
    .step-indicator {
        padding: 0;
        width: 32px;
        height: 32px;
        border-radius: 50%;
    }
    
    .step-label {
        display: none;
    }
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0px 6px 15px rgba(37, 211, 102, 0.4);
    color: #FFF;
}
