/* Fonts - POPPINS & CORMORANT GARAMOND */
:root {
    /* Cores Principais */
    --primary-blue: #003F7F;
    --light-blue: #0056B3;
    --primary-white: #FFFFFF;
    
    /* Cores da Bandeira e Frelimo - Tons Elegantes */
    --accent-red: #DC143C;
    --accent-green: #00563F;
    --accent-gold: #FFC107;
    --accent-yellow: #FFEB3B;
    --accent-black: #212121;
    
    /* Gradientes Modernos */
    --gradient-blue: linear-gradient(135deg, #003F7F 0%, #0056B3 50%, #1976D2 100%);
    --gradient-red: linear-gradient(135deg, #DC143C 0%, #FF1744 100%);
    --gradient-green: linear-gradient(135deg, #00563F 0%, #2E7D32 100%);
    --gradient-gold: linear-gradient(135deg, #FFC107 0%, #FFD54F 100%);
    
    /* Neutros */
    --gray-light: #F5F7FA;
    --gray-medium: #8492A6;
    --gray-dark: #3C4858;
    --bg-light: #FAFBFC;
    
    /* Tipografia */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Cormorant Garamond', serif;
    --font-nav: 'Plus Jakarta Sans', sans-serif;
    
    /* Sombras */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--gray-dark);
    line-height: 1.7;
    background-color: var(--primary-white);
    overflow-x: hidden;
    width: 100%;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    color: var(--accent-black);
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Acessibilidade: skip link e focus visível */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: var(--primary-white);
    font-weight: 600;
    z-index: 9999;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-gold);
    outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    display: flex;
    gap: 10px;
}

.loader span {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--gradient-blue);
    animation: pulse 1.4s ease-in-out infinite;
}

.loader span:nth-child(2) {
    animation-delay: 0.2s;
    background: var(--gradient-red);
}

.loader span:nth-child(3) {
    animation-delay: 0.4s;
    background: var(--gradient-green);
}

/* Navigation */
#mainNav {
    background: linear-gradient(135deg, #0a1929 0%, #0d2137 50%, #132f4c 100%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 15px 0;
    box-shadow: none;
    font-family: var(--font-nav);
}

#mainNav.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.nav-container {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.navbar-brand {
    font-size: 1.8rem;
    font-family: var(--font-nav);
    font-weight: 700;
}

.brand-text {
    color: var(--primary-white);
    font-weight: 600;
}

.brand-accent {
    color: var(--accent-gold);
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--font-nav);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 16px !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-gold) !important;
}

.navbar-nav .nav-link:hover::before {
    width: 30px;
}

.btn-nav {
    background: linear-gradient(135deg, var(--accent-red) 0%, #e91e63 100%);
    color: var(--primary-white) !important;
    border-radius: 50px;
    padding: 10px 24px !important;
    margin-left: 16px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

#mainNav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.4);
    padding: 0.4rem 0.6rem;
}

#mainNav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-white) 100%);
    overflow: hidden;
}

.hero-container {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.hero-side-panel {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 18%;
    min-width: 180px;
    max-width: 280px;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 63, 127, 0.03) 0%, rgba(0, 86, 179, 0.06) 50%, rgba(0, 94, 63, 0.03) 100%);
    border-right: 1px solid rgba(0, 63, 127, 0.08);
}

.hero-side-right {
    left: auto;
    right: 0;
    border-right: none;
    border-left: 1px solid rgba(0, 63, 127, 0.08);
    background: linear-gradient(180deg, rgba(0, 94, 63, 0.03) 0%, rgba(0, 86, 179, 0.06) 50%, rgba(0, 63, 127, 0.03) 100%);
}

@media (min-width: 1200px) {
    .hero-side-panel {
        display: block;
    }
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-blue);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: -200px;
    right: -200px;
    animation: float 20s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-red);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: float 15s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-green);
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    top: 50%;
    left: 50%;
    animation: float 25s ease-in-out infinite;
}

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

.hero-tag {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--accent-black);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.text-gradient {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-line {
    width: 100px;
    height: 5px;
    background: var(--gradient-red);
    border-radius: 5px;
    margin: 20px 0;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-medium);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-primary-custom {
    background: var(--gradient-blue);
    color: var(--primary-white);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 63, 127, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 63, 127, 0.4);
    color: var(--primary-white);
}

.btn-secondary-custom {
    background: transparent;
    color: var(--accent-red);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--accent-red);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-secondary-custom:hover {
    background: var(--gradient-red);
    color: var(--primary-white);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-green);
    margin-bottom: 5px;
    font-family: var(--font-primary);
    font-weight: 700;
}

.stat-item p {
    color: var(--gray-medium);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.hero-image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-image-frame img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.hero-image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--gradient-gold);
    border-radius: 50%;
    opacity: 0.8;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-medium);
    animation: bounce 2s infinite;
    cursor: pointer;
}

/* Sections */
.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--accent-red);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--accent-black);
}

.highlight-text {
    color: var(--primary-blue);
    position: relative;
}

/* Page Header (internal pages) */
.page-header {
    padding-top: 120px;
    background: var(--bg-light);
}

.page-header .section-title {
    font-size: 2.5rem;
}

/* Service Detail (servicos.html) */
.service-detail-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    color: var(--primary-white);
    border-radius: 16px;
    font-size: 2rem;
}

.service-detail-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.service-detail-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-detail-list li i {
    color: var(--accent-green);
    font-size: 1rem;
}

.service-detail-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

/* About Section */
.about-section {
    background: var(--bg-light);
    position: relative;
}

.about-image-group {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.about-image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--primary-white);
}

.about-image-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -24px;
    left: 30px;
    background: var(--gradient-green);
    color: var(--primary-white);
    padding: 16px 24px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-primary);
}

.experience-badge .text {
    font-size: 0.85rem;
    font-weight: 500;
}

.about-content {
    padding-left: 50px;
}

.about-text {
    margin: 30px 0;
}

.about-text .lead {
    font-size: 1.1rem;
    color: var(--gray-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-medium);
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.feature-item span {
    color: var(--gray-dark);
    font-weight: 500;
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-blue);
    padding: 12px 30px;
    border: 2px solid var(--primary-blue);
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: var(--gradient-blue);
    color: var(--primary-white);
    transform: translateY(-2px);
}

/* Services Section */
.services-section {
    background: var(--primary-white);
}

.service-card {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    gap: 20px;
}

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

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 86, 179, 0.1);
    font-family: var(--font-primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: var(--gradient-blue);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.8rem;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: var(--font-primary);
    font-weight: 600;
}

.service-content p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
}

.service-list li {
    color: var(--gray-dark);
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-red);
    font-weight: 600;
}

/* Timeline Section */
.timeline-section {
    background: var(--bg-light);
}

.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: var(--gradient-blue);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 20px 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--accent-red);
    border: 4px solid var(--primary-white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 52%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 52%;
}

.timeline-date {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--accent-black);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-content {
    background: var(--primary-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-family: var(--font-primary);
}

.timeline-content p {
    color: var(--gray-medium);
}

/* Portfolio Section */
.portfolio-section {
    background: var(--primary-white);
}

.portfolio-filters {
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    color: var(--gray-dark);
    padding: 8px 25px;
    border: 2px solid var(--gray-light);
    border-radius: 50px;
    margin: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-blue);
    color: var(--primary-white);
    border-color: transparent;
}

.portfolio-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

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

.portfolio-img {
    position: relative;
    overflow: hidden;
    height: 350px;
}

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

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 63, 127, 0.95), transparent);
    padding: 30px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-info h4 {
    color: var(--primary-white);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.portfolio-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: var(--gradient-gold);
    color: var(--accent-black);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.portfolio-card-footer {
    background: var(--primary-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.portfolio-link:hover {
    transform: scale(1.1);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
}

.testimonial-item {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-content {
    background: var(--primary-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent-gold);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    font-family: var(--font-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

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

/* Blog Section */
.blog-section {
    background: var(--primary-white);
}

.blog-card {
    background: var(--primary-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
}

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

.blog-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--gradient-red);
    color: var(--primary-white);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
}

.blog-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.blog-date .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.blog-meta span {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--accent-green);
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent-black);
    font-family: var(--font-primary);
    font-weight: 600;
}

.blog-content p {
    color: var(--gray-medium);
    margin-bottom: 20px;
}

.blog-link {
    color: var(--primary-blue);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-link:hover {
    gap: 12px;
    color: var(--accent-red);
}

/* CTA Section */
.cta-section {
    background: var(--gradient-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--primary-white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-white-custom {
    background: var(--primary-white);
    color: var(--primary-blue);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-white-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: var(--primary-blue);
}

/* Contact Section */
.contact-section {
    background: var(--bg-light);
}

.contact-info-wrapper {
    padding: 40px;
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-info-wrapper h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-family: var(--font-primary);
}

.contact-info-wrapper p {
    color: var(--gray-medium);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-info-item .icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--gradient-green);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-white);
    font-size: 1.3rem;
}

.contact-info-item .info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: var(--font-primary);
}

.contact-info-item .info p {
    color: var(--gray-medium);
    margin: 0;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-blue);
    color: var(--primary-white);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-form {
    background: var(--primary-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: none;
    outline: none;
}

.btn-submit {
    background: var(--gradient-blue);
    color: var(--primary-white);
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.footer {
    background: var(--accent-black);
    color: var(--primary-white);
    padding: 60px 0 30px;
}

.footer-widget h3,
.footer-widget h4 {
    color: var(--primary-white);
    margin-bottom: 20px;
    font-family: var(--font-primary);
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-widget ul li a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px 0 0 50px;
}

.newsletter-form button {
    background: var(--gradient-red);
    color: var(--primary-white);
    border: none;
    padding: 12px 25px;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--gradient-green);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-blue);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    color: var(--primary-white);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

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

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

/* Lazy Loading */
.lazy {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive – mobile centering (evita desvio à esquerda) + layout */
@media (max-width: 991px) {
    .container,
    .hero-container {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .nav-container {
        width: 100%;
        max-width: 100%;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    
    [class^="col-"] {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: -24px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item::before {
        left: 30px;
    }
    
    .timeline-date {
        margin-left: 80px;
        display: block;
    }
    
    .timeline-item .timeline-content {
        margin-left: 80px !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    
    .hero-section .row {
        align-items: flex-start;
    }
    
    .hero-section .col-lg-4 {
        align-self: flex-start;
        flex: 0 0 auto;
    }
    
    .hero-image-frame {
        height: auto;
        max-height: none;
    }
    
    .hero-image-frame img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
        object-position: center;
        display: block;
        vertical-align: middle;
    }
    
    .hero-section {
        padding-top: 120px;
    }
    
    .hero-section .min-vh-100 {
        min-height: 0;
    }
    
    .navbar-collapse {
        text-align: center;
    }
    
    .navbar-nav {
        align-items: center;
    }
    
    .btn-nav {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-line {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
    }
    
    .hero-stats {
        justify-content: space-around;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .about-image-secondary {
        display: none;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container,
    .hero-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .testimonial-content {
        padding: 30px 20px;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
    
    .contact-info-wrapper,
    .contact-form {
        padding: 30px 20px;
    }
}