@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0056b3;
    --primary-hover: #004085;
    --primary-light: #e6f0fa;
    --accent: #00b894;
    --accent-hover: #00a884;
    --dark: #1e293b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.logo span {
    color: var(--dark);
    font-weight: 500;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

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

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

.nav-btn {
    background-color: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

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

.menu-toggle {
    display: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    height: 24px;
    justify-content: space-between;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hero {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-tag {
    align-self: flex-start;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--dark);
    line-height: 1.15;
}

.hero-title span {
    color: var(--primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    gap: 10px;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

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

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

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -10%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,86,179,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: 1;
}

.hero-img {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    background-color: var(--white);
    border: 8px solid var(--white);
}

.section {
    padding: 100px 0;
}

.section-bg {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--dark);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.card {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.card-title {
    font-size: 1.25rem;
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.card-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: var(--transition);
}

.card-link:hover svg {
    transform: translateX(4px);
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 10px;
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.feature-text h4 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.about-img-wrapper::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-light);
    z-index: 1;
    border-radius: var(--radius-sm);
}

.about-img {
    position: relative;
    z-index: 2;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.stat-item h3 {
    font-size: 2.25rem;
    color: var(--primary);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.parceiros-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px 80px;
    margin-top: 40px;
}

.parceiro-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: var(--transition);
    text-align: center;
}

.parceiro-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.parceiro-logo svg {
    width: 48px;
    height: 48px;
    fill: var(--text-muted);
    transition: var(--transition);
}

.parceiro-logo:hover svg {
    fill: var(--primary);
}

.parceiro-logo span {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

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

.contact-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    display: flex;
    gap: 20px;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-card-content h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-card-content p, .contact-card-content a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-card-content a:hover {
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.social-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.social-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-form-wrapper {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: span 2;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--dark);
    background-color: var(--light);
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

.form-feedback.error {
    display: block;
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.25rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 1.1rem;
}

.cta-section .btn {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-col h3 {
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition);
    color: var(--primary);
}

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

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-info-item svg {
    width: 18px;
    height: 18px;
    fill: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.page-header {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2.75rem;
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.breadcrumb-separator {
    color: var(--border);
}

.services-list-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.service-row {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-row:nth-child(even) {
    grid-template-columns: 0.8fr 1.2fr;
}

.service-row:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-row-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.service-row:nth-child(even) .service-row-content {
    order: 2;
}

.service-row-title {
    font-size: 1.75rem;
}

.service-row-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

.service-row-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.service-row:nth-child(even) .service-row-img {
    order: 1;
}

.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.history-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: var(--border);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-right: 0;
    padding-left: 40px;
}

.timeline-dot {
    position: absolute;
    top: 4px;
    right: -8px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.timeline-item:nth-child(even) .timeline-dot {
    right: auto;
    left: -10px;
}

.timeline-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.timeline-year {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-tag {
        align-self: center;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .service-row, .service-row:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .service-row-content, .service-row:nth-child(even) .service-row-content {
        order: 2;
        padding: 35px;
    }
    
    .service-row-img, .service-row:nth-child(even) .service-row-img {
        order: 1;
        height: 250px;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        padding: 40px;
        transition: var(--transition);
        border-top: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
    }
    
    .nav.open {
        left: 0;
    }
    
    .nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .menu-toggle.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .history-timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 45px;
        padding-right: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
        padding-left: 45px;
    }
    
    .timeline-dot {
        left: 11px;
        right: auto;
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: 11px;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group-full {
        grid-column: span 1;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}
