:root {
    --primary: #FF0000; /* Vermelho Puro de Impacto */
    --primary-glow: rgba(255, 0, 0, 0.5);
    --bg-dark: #050505; /* Preto Profundo */
    --bg-card: rgba(20, 20, 20, 0.8);
    --text-white: #FFFFFF;
    --text-gray: #A0A0A0;
    
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);

}

/* --- ESTILOS DO RODAPÉ PREMIUM HIGH-END --- */
.main-footer {
    padding: 100px 0 40px !important;
    background: #030303 !important;
    background: radial-gradient(circle at bottom center, rgba(255,0,0,0.08) 0%, #030303 60%) !important;
    color: var(--text-white);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* subtle line */
}

/* Faixa de luxo brilhante no topo do rodapé */
.main-footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
}

.footer-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 5rem !important;
    align-items: start !important;
    margin-bottom: 80px !important;
}

.footer-brand .footer-logo {
    width: 450px !important;
    height: 180px !important;
    object-fit: cover !important;
    object-position: center !important;
    margin-left: -60px !important;
    margin-bottom: -15px !important;
    margin-top: -30px !important;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1)) !important;
    transition: all 0.5s ease;
}

.footer-brand .footer-logo:hover {
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.5)) !important;
}

.footer-brand p {
    color: var(--text-gray);
    font-size: 1.15rem !important;
    line-height: 1.7 !important;
    max-width: 400px !important;
    margin-top: 10px !important;
    text-align: left !important;
}

.footer-nav h4, .footer-contact h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
    margin-bottom: 2.5rem !important;
    color: #fff !important;
    text-transform: uppercase !important;
    position: relative;
    display: inline-block;
}

.footer-nav h4::after, .footer-contact h4::after {
    content: ''; position: absolute; left: 0; bottom: -10px; width: 40px; height: 3px; background: var(--primary);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-nav a, .footer-contact a, .footer-contact p a {
    color: var(--text-gray) !important;
    text-decoration: none !important;
    font-size: 1.05rem !important;
    transition: all 0.4s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.footer-nav a:hover, .footer-contact a:hover, .footer-contact p a:hover {
    color: #fff !important;
    transform: translateX(8px) !important;
    text-shadow: 0 0 15px rgba(255,255,255,0.4) !important;
}

.footer-nav a i, .footer-contact a i {
    color: var(--primary) !important;
    font-size: 1.1rem;
    transition: transform 0.4s ease;
}

.footer-nav a:hover i, .footer-contact a:hover i {
    transform: scale(1.2);
}

.footer-social {
    display: flex !important;
    gap: 15px !important;
    margin-top: 35px !important;
    justify-content: flex-start !important;
}

.social-icon {
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--text-white) !important;
    font-size: 1.3rem !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    overflow: hidden;
}

.social-icon:hover {
    background: var(--primary) !important;
    color: white !important;
    transform: translateY(-5px) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.4) !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding-top: 40px !important;
    text-align: center !important;
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3) !important;
    font-size: 0.85rem !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease !important;
}

.footer-bottom a:hover {
    color: var(--primary) !important;
    border-bottom: 1px solid var(--primary) !important;
    text-shadow: 0 0 10px rgba(255,0,0,0.4) !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
    list-style: none; /* REMOVE PONTOS/BULLETS INDIŞEJADOS */
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    padding-top: 0; /* Removido para Heros Overlay */
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
}

a, button {
    cursor: pointer;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.container-header {
    width: 96%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

/* Header Premium */
header {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    height: 90px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    transition: all 0.5s ease;
}

header:hover {
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
    position: relative;
}

.logo {
    width: 360px; /* Redimensionado para comportar o 'A' sem cortar */
    height: 90px;
    position: relative;
    overflow: hidden; 
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.logo-img {
    position: absolute;
    height: 420px; /* Zoom agressivo para pular as margens transparentes do PNG */
    width: auto;
    object-fit: contain;
    top: 50%;
    left: 50%; /* Centralizado perfeitamente */
    transform: translate(-50%, -50%); 
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: none;
}

.logo:hover .logo-img {
    filter: drop-shadow(0 0 20px var(--primary));
    transform: translate(-50%, -50%) scale(1.02);
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 2px;
    position: relative;
    padding: 10px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0px; 
    left: 0; 
    width: 0%; 
    height: 2px;
    background: var(--primary);
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
    box-shadow: 0 0 10px var(--primary-glow);
}

.cta-btn {
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border: 1px solid var(--primary);
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.4s ease;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: var(--primary); transition: left 0.4s ease; z-index: -1;
}

.cta-btn:hover::before { left: 0; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3); color: #fff; }

/* Fix para Menu Mobile (Ponto Branco no Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* Hero Capa (Full Width) */
.hero {
    height: 100vh;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at center, #1a0000 0%, var(--bg-dark) 70%);
    position: relative;
    overflow: hidden;
}

/* Background impact elements */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    width: 100%;
    max-width: 1300px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    line-height: 0.9;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(50px);
    max-width: 1000px;
}

.hero h1 span {
    display: block;
    color: var(--primary);
    text-shadow: 0 0 20px var(--primary-glow);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    max-width: 700px;
}

/* Section Titles */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.testimonials .section-header {
    margin-bottom: 1rem; /* Reduzido drasticamente para o rodapé encostar */
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header .line {
    width: 100px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

/* Counters Grid */
.counters {
    padding: 100px 0;
    background: #0a0a0a;
}

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

.counter-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.counter-item:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    background: rgba(255, 0, 0, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.counter-item h3 {
    font-size: 2.5rem;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition-base);
}

.counter-item:hover h3 {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary-glow);
}

.counter-item p {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* DNA Section */
.dna {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
}

.dna-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.dna-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 4rem 3rem;
    position: relative;
    transition: var(--transition-slow);
    overflow: hidden;
}

.dna-card:hover {
    border-color: var(--primary);
    background: rgba(255, 0, 0, 0.02);
    transform: translateY(-10px);
}

.dna-icon {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 10px;
    right: 20px;
    font-family: 'Outfit', sans-serif;
}

.dna-card h3 {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    position: relative;
}

.dna-card h3::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary);
    margin-top: 10px;
}

.dna-card p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Pulsing Glow Animation */
@keyframes pulseGlow {
    0% { text-shadow: 0 0 10px var(--primary-glow); }
    50% { text-shadow: 0 0 30px var(--primary-glow), 0 0 10px var(--primary); }
    100% { text-shadow: 0 0 10px var(--primary-glow); }
}

.hero h1 span {
    display: block;
    color: var(--primary);
    animation: pulseGlow 3s infinite ease-in-out;
}

/* Testimonials / Cards */
.testimonials {
    padding: 80px 0 0px; /* Removido padding inferior totalmente */
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 0; /* Removido para aproximar o footer */
}

.testimonial-card {
    background: var(--bg-card);
    padding: 3rem;
    border-left: 4px solid var(--primary);
    transition: var(--transition-slow);
}

.testimonial-card:hover {
    transform: translateX(10px);
    background: #111;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.testimonial-card strong {
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
}

/* Contact Form Impact */
.contact-form textarea {
    resize: none;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white'%3E%3Cpath d='M0 0h12L6 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}

.benefit-item {
    border-left: 2px solid var(--primary);
    padding-left: 1.5rem;
    transition: var(--transition-base);
}

.benefit-item:hover {
    border-left-width: 5px;
    padding-left: 2rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr !important;
    }
    
    .contact-form-container {
        padding: 2rem !important;
    }
}

/* Contact Form Impact */
.contact-form {
    background: var(--bg-card);
    padding: 4rem;
    border: 1px solid var(--glass-border);
}

.form-group input, .form-group textarea, .form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 1.2rem;
    width: 100%;
    border-radius: 4px;
    font-family: inherit;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ff0000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
    appearance: none;
}

.form-group select option {
    background-color: #111; /* FUNDO ESCURO PARA OPÇÕES */
    color: white;
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 0, 0, 0.02);
    box-shadow: 0 0 10px var(--primary-glow);
}


.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* .logo-img styles refatorados no topo do CSS p/ prioridade visual */

/* Authority Badges */
.authority-badges {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.badge-item {
    text-align: center;
    border: 1px solid var(--glass-border);
    padding: 2rem;
    background: rgba(255, 0, 0, 0.05);
    min-width: 200px;
}

.badge-item h4 {
    color: var(--primary);
    font-size: 2rem;
    font-family: 'Outfit';
    margin-bottom: 0.5rem;
}

.badge-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Essence Section */
.essence-section {
    padding: 100px 0;
    background: linear-gradient(to right, #050505, #0a0a0a);
}

.essence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.essence-card {
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.essence-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.essence-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.essence-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Method Section */
.method-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

.method-step {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 6rem;
}

.method-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-number {
    font-family: 'Outfit', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary); /* Mudado de transparent */
    text-shadow: 0 0 20px var(--primary-glow);
    opacity: 0.9; /* Aumentado de 0.3 */
}

.step-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.step-info p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* Founder Photo Styles */
.founder-photo-container {
    position: relative;
    border: 2px solid var(--primary);
    padding: 1.5rem;
    background: var(--bg-card);
    /* overflow: hidden; Removed to allow badge visibility */
    max-width: 500px;
    margin: 0 auto;
}

.founder-photo {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
    transition: var(--transition-base);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.founder-photo:hover {
    transform: scale(1.02);
}

@keyframes pulseWhatsApp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}


/* Impact Statement Section */
.impact-statement {
    padding: 120px 0 20px; /* Reduzido padding inferior */
    background: linear-gradient(to bottom, var(--bg-dark), #0a0a0a);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.impact-statement::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 0;
}

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

.impact-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    line-height: 1;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
}

.impact-title.primary-color {
    color: var(--primary);
    margin-bottom: 2rem;
}

.impact-line {
    width: 100px;
    height: 4px;
    background: var(--primary);
    margin: 2rem auto;
}

.impact-text {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    line-height: 1.4;
    font-weight: 400;
}

.cta-btn.pulse {
    padding: 1.5rem 3rem;
    font-size: 1.2rem;
    border-radius: 0;
    background: var(--primary);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    animation: btnPulse 2s infinite;
}

@keyframes btnPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 0, 0, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none; /* Oculto por padrão no mobile até ser aberto */
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 5, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .impact-title {
        font-size: 3rem;
    }
    .impact-text {
        font-size: 1.1rem;
    }
}

/* Animação para seta de rolagem */
.bounce-arrow {
    animation: bounce 2s infinite;
}

.pulse-text {
    animation: textPulse 2s infinite;
}

@keyframes textPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* --- SEÇÃO DE HISTÓRIA --- */
.history-section {
    position: relative;
}

.history-text p {
    margin-bottom: 1rem;
}

.history-text strong {
    color: var(--primary);
}

/* --- AJUSTES FINAIS DE RESPONSIVIDADE (MOBILE & TABLET) --- */
@media (max-width: 900px) {
    /* Footer Responsivo */
    .main-footer {
        padding: 60px 15px 30px !important;
    }
    .footer-grid {
        gap: 3rem !important;
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-brand .footer-logo {
        width: 320px !important;
        height: 120px !important;
        margin: 0 auto 10px auto !important;
        transform: scale(1.5) !important;
        transform-origin: center !important;
    }
    .footer-brand p {
        text-align: center !important;
        margin: 20px auto 0 !important;
    }
    .footer-nav h4::after, .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .footer-nav ul {
        align-items: center !important;
    }
    .footer-social {
        justify-content: center !important;
        margin-top: 20px !important;
    }
    
    /* Header Responsivo */
    .logo {
        width: 200px !important;
        height: 60px !important;
    }
    .logo-img {
        height: 250px !important;
    }
}
@media (max-width: 480px) {
    .counters .counter-item h3 { font-size: 4rem !important; }
    .hero h1 { font-size: 3rem !important; }
    .impact-title { font-size: 2.5rem !important; }
    .footer-brand .footer-logo {
        width: 250px !important;
        height: 100px !important;
        transform: scale(1.3) !important;
    }
}


