:root {
    --primary: #1e3a8a;
    --primary-dark: #1e40af;
    --primary-light: #eff6ff;
    --secondary: #3b82f6;
    --secondary-dark: #2563eb;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --white: #ffffff;
    --shadow-sm: 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

#bg {
    background-color: #183158;
}

#fp {
    color: var(--gray-800);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

/* ========== OFERTA DESTAQUE ========== */
.offer-highlight-right-sobre {
    border-radius: 48px;
    margin: 4rem auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.offer-highlight-left-sobre {
    border-radius: 48px;
    margin: 4rem auto;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.offer-highlight-inner-sobre {
    flex: 1.2;
    min-width: 260px;
}

.offer-title-sobre {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: #fff800;
}

.offer-description-sobre {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    line-height: 1.5;
    color: white;
    margin-bottom: 2rem;
}

.btn-offer-sobre {
    background: linear-gradient(95deg, var(--secondary) 0%, var(--primary) 100%);
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.25s ease;
    box-shadow: 0 8px 18px rgba(74, 139, 183, 0.3);
    border: none;
    cursor: pointer;
}

.btn-offer-sobre:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -8px rgba(74, 139, 183, 0.4);
    background: linear-gradient(95deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.offer-image-right-sobre,
.offer-image-left-sobre {
    text-align: center;
    border-radius: 20px;
    position: relative;
}

.offer-image-right-sobre img,
.offer-image-left-sobre img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.1));
}

/* Removendo pseudoelementos problemáticos */
.offer-image-right-sobre::after,
.offer-image-left-sobre::after {
    display: none;
}

.differentials-sobre {
    padding: 2rem 0;
}

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

.differential-card-sobre {
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: 32px;
    transition: all 0.2s;
    border: 1px solid var(--gray-200);
    background: var(--white);
}

.bg-primary-light-sobre {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f0ff 100%);
}

.bg-secondary-light-sobre {
    background: linear-gradient(135deg, #eef2ff 0%, #e6f0ff 100%);
}

.differential-badge-sobre {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    background: rgba(44, 110, 158, 0.1);
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 60px;
    margin-bottom: 1rem;
}

.differential-card-sobre i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f0ff 100%);
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
    border-radius: 40px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.section-header h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    color: var(--gray-800);
    border-radius: 20px;
    height: fit-content;
    margin-bottom: 0.75rem;
    font-weight: 700;
    width: 100%;
}

.section-header h1 {
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    color: var(--accent-light);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.section-header p {
    font-size: clamp(0.875rem, 2vw, 1rem);
    color: var(--gray-800);
    max-width: 600px;
    margin: 0 auto;
}

.page-inner-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 8vw, 8rem);
    position: relative;
    overflow: hidden;
}

.page-inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" fill-opacity="1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.nav-menu .btn-primary {
    color: var(--primary);
    background: rgb(255, 255, 255);
    padding: 0.5rem 1.25rem;
}

.logo-text {
    font-weight: 800;
    font-size: clamp(1rem, 4vw, 1.3rem);
    color: var(--primary-light);
    letter-spacing: -0.3px;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.hero-inner-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
    padding: 0 1rem;
}

.hero-inner-content .badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 60px;
    font-size: clamp(0.7rem, 2vw, 0.8rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-inner-content h1 {
    font-size: clamp(1.6rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    color: white;
}

.hero-inner-content h3{
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 5px;
    border-radius: 10px;
    width: 100%;
    z-index: 2;
    opacity: 0.7;
    font-size: 1.2rem
}

.hero-inner-content a{
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 5px;
    border-radius: 10px;
    width: 100%;
    z-index: 2;
    opacity: 0.7;
    font-size: 1.2rem
}

.hero-inner-content p {
    font-size: clamp(0.875rem, 2.5vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
}

.hero-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave-top svg,
.hero-wave-bottom svg {
    display: block;
    width: 100%;
}

/* Seção história */
.history-section {
    background: var(--white);
}

.history-grid {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding: 20px 0;
}

.history-text {
    flex: 1.2;
    min-width: 280px;
}

.history-text .section-tag {
    margin-bottom: 0.5rem;
    display: inline-block;
}

.history-text h2 {
    font-size: clamp(1.4rem, 4vw, 2rem);
    margin-bottom: 1.2rem;
    color: var(--gray-800);
}

.history-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--gray-800);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.history-milestones {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.milestone {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gray-50);
    padding: 0.6rem 1rem;
    border-radius: 60px;
    border: 1px solid var(--gray-200);
    flex: 1;
    min-width: 180px;
}

.milestone i {
    font-size: 1.2rem;
    color: var(--primary);
}

.milestone span {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: var(--gray-700);
}

.history-image {
    width: auto;
    height: 450px;
    position: relative;
}

.history-image img {
    width: auto;
    height: 450px;
    transition: transform 0.3s ease;
}

.history-image:hover img {
    transform: scale(1.02);
}

.image-caption {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-600); 
    margin-top: 0.8rem;
}

/* Missão Visão Valores */
.mission-vision {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 255, 255, .25) 0%, transparent 35%),
        radial-gradient(circle at 90% 30%, rgba(255, 0, 255, .20) 0%, transparent 35%),
        radial-gradient(circle at 30% 80%, rgba(0, 255, 128, .20) 0%, transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(255, 200, 0, .15) 0%, transparent 40%),
        linear-gradient(
            135deg,
            #0f172a 0%,
            #1e3a8a 20%,
            #346aff 40%,
            #2015f3 60%,
            #042a94 80%,
            #2563eb 100%
        );
}
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: 2rem;
}

.mvv-card {
    background: var(--white);
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.mvv-icon {
    width: clamp(50px, 10vw, 70px);
    height: clamp(50px, 10vw, 70px);
    background: var(--primary-light);
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.mvv-icon i {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: var(--primary);
}

.mvv-card h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
}

.mvv-card p {
    color: var(--gray-600);
    line-height: 1.5;
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.mvv-card ul {
    list-style: none;
    padding: 0;
}

.mvv-card ul li {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-size: clamp(0.875rem, 2vw, 1rem);
}

.mvv-card ul li i {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Equipe */
.team-section {
    background: var(--white);
    padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 8vw, 6rem);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 3vw, 2rem);
    margin-top: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

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

.team-image {
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: clamp(200px, 40vw, 280px);
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.team-info {
    padding: clamp(1rem, 3vw, 1.5rem);
    text-align: center;
}

.team-info h3 {
    margin-bottom: 0.25rem;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.team-role {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.8rem;
    border-radius: 60px;
    margin-bottom: 1rem;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1.2rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.team-social a {
    width: 32px;
    height: 32px;
    background: var(--gray-100);
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    transition: all 0.2s;
}

.team-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Números de impacto */
.impact-numbers {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: var(--primary);
    color: white;
}

.impact-stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: clamp(1rem, 3vw, 2rem);
    text-align: center;
}

.impact-stat {
    flex: 1;
    min-width: 140px;
}

.impact-stat i {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.impact-number {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    display: block;
    letter-spacing: -1px;
}

.impact-stat p {
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.differentials-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    margin-top: 2rem;
}

.diff-item {
    text-align: center;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: var(--gray-50);
    border-radius: 32px;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.diff-item:hover {
    transform: translateY(-6px);
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.diff-icon {
    width: clamp(60px, 12vw, 80px);
    height: clamp(60px, 12vw, 80px);
    background: var(--primary-light);
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.diff-icon i {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    color: var(--primary);
}

.diff-item h3 {
    margin-bottom: 0.8rem;
    font-size: clamp(1rem, 2.5vw, 1.2rem);
}

.diff-item p {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: var(--gray-600);
}

/* Depoimento institucional */
.testimonial-institutional {
    padding: clamp(2rem, 5vw, 4rem) 0;
    background: linear-gradient(120deg, #eef2ff 0%, #e0e7ff 100%);
}

.testimonial-inst-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.testimonial-inst-text {
    flex: 1;
    min-width: 260px;
    position: relative;
}

.quote-icon {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1rem;
    display: inline-block;
}

.testimonial-inst-text p {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    line-height: 1.5;
    color: var(--gray-700);
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.testimonial-inst-author img {
    width: clamp(45px, 10vw, 60px);
    height: clamp(45px, 10vw, 60px);
    border-radius: 60px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.testimonial-inst-author strong {
    display: block;
    color: var(--gray-800);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.testimonial-inst-author span {
    font-size: 0.8rem;
    color: var(--gray-600);
}

.testimonial-inst-image {
    flex: 0.9;
    min-width: 260px;
}

.testimonial-inst-image img {
    width: 100%;
    height: auto;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
}

/* Chamada matrícula */
.cta-matricula {
    background: var(--primary);
    padding: 135px 0;
}

.cta-container {
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: clamp(1.3rem, 4vw, 2rem);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-buttons .btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Link ativo no menu */
.active-link {
    font-weight: 700;
    text-decoration: underline !important;
}

/* ========== RESPONSIVIDADE COMPLETA REVISADA ========== */

/* Base para todos os elementos responsivos */
img, picture, video, canvas, svg {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Telas muito largas (1900px+) */
@media (min-width: 1900px) {
    .container {
        max-width: 1600px;
    }
    
    .hero-inner-content h1 {
        font-size: 4rem;
    }
    
    .hero-inner-content p {
        font-size: 1.3rem;
    }
    
    .section-header h2 {
        font-size: 2.5rem;
    }
    
    .offer-title-sobre {
        font-size: 2.5rem;
    }
    
    .history-text h2 {
        font-size: 2.2rem;
    }
    
    .team-image img {
        height: 320px;
    }
}

/* Desktop padrão (1200px - 1899px) */
@media (min-width: 1200px) and (max-width: 1899px) {
    .container {
        max-width: 1320px;
    }
}

/* Tablet landscape (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
        padding: 0 1.25rem;
    }
    
    .offer-highlight-right-sobre,
    .offer-highlight-left-sobre {
        padding: 1.5rem;
    }
    
    .offer-image-right-sobre img,
    .offer-image-left-sobre img {
        max-width: 350px;
    }
    
    .team-image img {
        height: 260px;
    }
    
    .history-image {
        height: 380px;
    }
    
    .history-image img {
        height: 380px;
        width: auto;
    }
}

/* Tablet portrait (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 1.25rem;
    }
    
    .offer-highlight-right-sobre,
    .offer-highlight-left-sobre {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        margin: 2.5rem auto;
    }
    
    .offer-highlight-left-sobre {
        flex-direction: column-reverse;
    }
    
    .offer-highlight-inner-sobre {
        text-align: center;
    }
    
    .offer-image-right-sobre img,
    .offer-image-left-sobre img {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .history-grid {
        flex-direction: column;
        text-align: center;
    }
    
    .history-text {
        text-align: center;
        width: 100%;
    }
    
    .history-milestones {
        justify-content: center;
    }
    
    .milestone {
        justify-content: center;
        flex: auto;
    }
    
    .history-image {
        height: auto;
        text-align: center;
        width: 100%;
    }
    
    .history-image img {
        height: auto;
        max-width: 100%;
        width: auto;
        max-height: 380px;
    }
    
    .testimonial-inst-container {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-inst-author {
        justify-content: center;
    }
    
    .impact-stats-grid {
        justify-content: center;
    }
    
    .impact-stat {
        min-width: 160px;
        flex: auto;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .mvv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile grande (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        max-width: 540px;
        padding: 0 1rem;
    }
    
    .offer-highlight-right-sobre,
    .offer-highlight-left-sobre {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        margin: 2rem auto;
        border-radius: 36px;
    }
    
    .offer-highlight-left-sobre {
        flex-direction: column-reverse;
    }
    
    .offer-highlight-inner-sobre {
        text-align: center;
        width: 100%;
    }
    
    .offer-image-right-sobre img,
    .offer-image-left-sobre img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .btn-offer-sobre {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .differentials-grid-sobre,
    .mvv-grid,
    .team-grid,
    .differentials-grid-about {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        gap: 1.25rem;
    }
    
    .history-milestones {
        flex-direction: column;
        align-items: stretch;
    }
    
    .milestone {
        width: 100%;
        justify-content: flex-start;
        min-width: auto;
    }
    
    .history-image {
        display: none;
    }
    
    .impact-stats-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .impact-stat {
        width: 100%;
        max-width: 250px;
        flex: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .testimonial-inst-image {
        order: -1;
    }
}

/* Mobile médio (375px - 575px) */
@media (min-width: 375px) and (max-width: 575px) {
    .container {
        padding: 0 1rem;
    }
    
    .offer-highlight-right-sobre,
    .offer-highlight-left-sobre {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        margin: 1.5rem auto;
        border-radius: 28px;
        gap: 1rem;
    }
    
    .offer-highlight-left-sobre {
        flex-direction: column-reverse;
    }
    
    .offer-highlight-inner-sobre {
        text-align: center;
        min-width: auto;
    }
    
    .offer-image-right-sobre img,
    .offer-image-left-sobre img {
        max-width: 290px;
        margin: 0 auto;
    }
    
    .offer-title-sobre {
        font-size: 1.5rem;
    }
    
    .offer-description-sobre {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .btn-offer-sobre {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }
    
    .differentials-grid-sobre,
    .mvv-grid,
    .team-grid,
    .differentials-grid-about {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .differential-card-sobre {
        padding: 1.25rem;
    }
    
    .mvv-card {
        padding: 1.25rem;
    }
    
    .team-info {
        padding: 1rem;
    }
    
    .team-image img {
        height: auto;
        max-height: 220px;
    }
    
    .team-card {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .impact-stat {
        min-width: auto;
    }
    
    .impact-number {
        font-size: 1.5rem;
    }
    
    .testimonial-inst-text p {
        font-size: 0.9rem;
    }
    
    .cta-content h2 {
        font-size: 1.3rem;
    }
    
    .cta-content p {
        font-size: 0.85rem;
        padding: 0 0.5rem;
    }
    
    .history-image {
        display: none;
    }
    
    .history-text {
        text-align: center;
    }
    
    .history-milestones {
        gap: 0.75rem;
    }
    
    .milestone {
        justify-content: center;
        padding: 0.5rem 0.8rem;
    }
    
    .page-inner-hero {
        padding: clamp(5rem, 12vw, 8rem) 0 clamp(3rem, 6vw, 8rem);
    }
    
    .hero-inner-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-inner-content p {
        font-size: 0.85rem;
    }
    
    .team-grid {
        max-width: 100%;
    }
    
    .diff-item {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .testimonial-inst-author {
        justify-content: center;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
}

/* Mobile pequeno (320px - 374px) */
@media (min-width: 320px) and (max-width: 374px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .offer-highlight-right-sobre,
    .offer-highlight-left-sobre {
        padding: 0.75rem;
        margin: 1rem auto;
        border-radius: 24px;
        gap: 0.75rem;
    }
    
    .offer-image-right-sobre img,
    .offer-image-left-sobre img {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .offer-title-sobre {
        font-size: 1.3rem;
    }
    
    .offer-description-sobre {
        font-size: 0.8rem;
    }
    
    .btn-offer-sobre {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
        gap: 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .hero-inner-content h1 {
        font-size: 1.3rem;
    }
    
    .hero-inner-content p {
        font-size: 0.8rem;
    }
    
    .history-text h2 {
        font-size: 1.2rem;
    }
    
    .history-text p {
        font-size: 0.85rem;
    }
    
    .milestone {
        padding: 0.4rem 0.7rem;
        gap: 0.5rem;
    }
    
    .milestone i {
        font-size: 0.9rem;
    }
    
    .milestone span {
        font-size: 0.75rem;
    }
    
    .team-image img {
        height: 180px;
    }
    
    .team-info h3 {
        font-size: 1rem;
    }
    
    .diff-item {
        padding: 1rem;
    }
    
    .diff-icon {
        width: 50px;
        height: 50px;
    }
    
    .diff-icon i {
        font-size: 1.3rem;
    }
    
    .mvv-icon {
        width: 45px;
        height: 45px;
    }
    
    .mvv-icon i {
        font-size: 1.3rem;
    }
    
    .mvv-card h3 {
        font-size: 1.1rem;
    }
    
    .mvv-card ul li {
        font-size: 0.8rem;
    }
    
    .cta-buttons .btn-primary,
    .cta-buttons .btn-outline {
        max-width: 220px;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.2rem;
    }
    
    .cta-content p {
        font-size: 0.8rem;
    }
    
    .impact-stat i {
        font-size: 1.5rem;
    }
    
    .impact-number {
        font-size: 1.3rem;
    }
    
    .impact-stat p {
        font-size: 0.7rem;
    }
    
    .testimonial-inst-text p {
        font-size: 0.85rem;
    }
    
    .testimonial-inst-author img {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-inst-author strong {
        font-size: 0.85rem;
    }
    
    .testimonial-inst-author span {
        font-size: 0.7rem;
    }
}

/* Ajustes gerais para todos os dispositivos */
@media (max-width: 768px) {
    .offer-highlight-right-sobre,
    .offer-highlight-left-sobre {
        border-radius: 28px;
    }
    
    .section-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.8rem;
    }
    
    .history-milestones {
        gap: 0.75rem;
    }
    
    .milestone {
        min-width: auto;
    }
    
    .mvv-icon {
        width: 55px;
        height: 55px;
    }
    
    .mvv-icon i {
        font-size: 1.5rem;
    }
    
    .testimonial-inst-author {
        justify-content: center;
    }
    
    .differential-badge-sobre {
        font-size: 0.65rem;
    }
}

/* Melhorias para toque em dispositivos móveis */
@media (hover: none) and (pointer: coarse) {
    .btn-primary, 
    .btn-outline,
    .btn-offer-sobre,
    .team-social a,
    .milestone,
    .mvv-card,
    .diff-item,
    .team-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn-primary:active,
    .btn-outline:active,
    .btn-offer-sobre:active {
        transform: scale(0.97);
        transition: transform 0.05s ease;
    }
    
    .team-card:active {
        transform: translateY(-4px);
    }
    
    .mvv-card:active {
        transform: translateY(-4px);
    }
    
    .diff-item:active {
        transform: translateY(-3px);
    }
}

/* Ajuste para orientação landscape em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .page-inner-hero {
        padding: 2rem 0 1.5rem;
    }
    
    .hero-inner-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-inner-content p {
        font-size: 0.8rem;
    }
    
    .team-image img {
        height: 160px;
    }
    
    .impact-stat {
        min-width: 120px;
    }
    
    .offer-image-right-sobre img,
    .offer-image-left-sobre img {
        max-width: 200px;
    }
    
    .offer-highlight-right-sobre,
    .offer-highlight-left-sobre {
        margin: 1rem auto;
        padding: 1rem;
    }
    
    .history-image {
        display: none;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .mvv-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* Prevenção de overflow horizontal */
img, iframe, video, svg {
    max-width: 100%;
    height: auto;
}

/* Melhorias de acessibilidade para zoom e toque */
@media (max-width: 768px) {
    button, 
    .btn-primary, 
    .btn-outline,
    .btn-offer-sobre,
    .team-social a,
    .milestone {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Suavizar scroll em dispositivos móveis */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Melhorar legibilidade em telas pequenas */
@media (max-width: 480px) {
    body {
        font-size: 16px;
        line-height: 1.5;
    }
    
    p, li, .offer-description-sobre {
        line-height: 1.5;
    }
}

/* Ajuste para elementos flutuantes */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Garantir que containers não ultrapassem a largura */
.row, 
[class*="grid"],
[class*="flex"] {
    max-width: 100%;
}

/* Ajuste para imagens de fundo responsivas */
.bg-cover-responsive {
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .bg-cover-responsive {
        background-size: contain;
        background-repeat: no-repeat;
    }
}

/* Ajuste para cards em mobile */
@media (max-width: 576px) {
    .differential-card-sobre,
    .mvv-card,
    .team-card,
    .diff-item {
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
}