:root {
    --primary-dark: #003366;
    --primary: #00509E;
    --primary-light: #0077CC;
    --accent: #FFC107;
    --light: #FFFFFF;
    --light-gray: #F8FAFC;
    --text: #333333;
    --text-light: #555555;
    --whatsapp: #25D366;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--light);
    scroll-behavior: smooth;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--accent);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 80, 158, 0.2);
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 80, 158, 0.3);
}

.btn:active {
    transform: translateY(1px);
}

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

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

section {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 15px auto 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 20px auto 0;
    color: var(--text-light);
}

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

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate {
    animation-fill-mode: both;
    animation-duration: 0.8s;
}

.fadeIn {
    animation-name: fadeIn;
}

.slideInLeft {
    animation-name: slideInLeft;
}

.slideInRight {
    animation-name: slideInRight;
}

header {
    background-color: rgba(0, 51, 102, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 15px 0;
}

header.scrolled {
    padding: 10px 0;
    background-color: rgba(0, 51, 102, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    transition: var(--transition);
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 45px;
    margin-right: 10px;
    transition: var(--transition);
}

.logo span {
    color: var(--light);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--light);
    font-weight: 500;
    font-size: 17px;
    transition: var(--transition);
    position: relative;
    padding-bottom: 5px;
}

nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--accent);
}

nav ul li a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background-color: #128C7E;
}

.whatsapp-btn i {
    transition: var(--transition);
}

.whatsapp-btn:hover i {
    transform: rotate(10deg);
}

@keyframes pulse {
    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); }
}

.whatsapp-btn.pulse {
    animation: pulse 2s infinite;
}

.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center/cover;
    opacity: 0.15;
}

.about {
    background-color: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: var(--transition);
}

.about-img:hover {
    transform: rotate(0deg) scale(1.02);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    color: var(--text-light);
}

.services {
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-card {
    background: var(--light);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(0, 80, 158, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 80, 158, 0.2);
}

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

.service-icon {
    font-size: 60px;
    color: var(--accent);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.service-card ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.05rem;
    color: var(--text-light);
}

.service-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent);
    font-size: 16px;
}

.problems {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.problems h2 {
    color: white;
}

.problems .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.problem-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.problem-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.problem-icon {
    font-size: 50px;
    margin-bottom: 25px;
    color: var(--light);
    transition: var(--transition);
}

.problem-card:hover .problem-icon {
    transform: scale(1.1);
}

.management-process {
    background-color: var(--light);
}

.process-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.process-header {
    background: var(--primary);
    color: white;
    padding: 30px;
    text-align: center;
}

.process-header h2 {
    color: white;
    margin-bottom: 15px;
}

.process-content {
    padding: 40px;
}

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

.process-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.process-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-dark);
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.process-text h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.process-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1rem;
}

.results {
    background-color: var(--light);
}

.results-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.result-item {
    padding: 40px 30px;
    border-radius: 15px;
    background: var(--light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 80, 158, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.result-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.result-icon {
    font-size: 50px;
    color: var(--accent);
    margin-bottom: 25px;
    transition: var(--transition);
}

.result-item:hover .result-icon {
    transform: scale(1.1);
}

.credibility {
    background-color: var(--light-gray);
}

.credibility-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.profile {
    text-align: center;
}

.profile-img {
    width: 70vw;
    height: 70vw;
    max-width: 280px;
    max-height: 280px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    border: 5px solid var(--light-gray);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.contact {
    background: var(--light);
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 28px;
    color: var(--accent);
    min-width: 50px;
    text-align: center;
    transition: var(--transition);
}

.contact-item:hover .contact-icon {
    transform: scale(1.2);
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-size: 22px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 80, 158, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

footer {
    background: var(--primary-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.6;
}

.footer-links h3 {
    color: white;
    margin-bottom: 25px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
}

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

.footer-links ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    display: inline-block;
}

.footer-links ul li i {
    min-width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

@media screen and (max-width: 768px) {
    input, textarea, select {
        font-size: 16px !important;
    }
}

@media (max-width: 992px) {
    .about-content,
    .credibility-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid, .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    .profile {
        order: -1;
        margin-bottom: 50px;
    }
    
    .about-img {
        transform: rotate(0);
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--primary-dark);
        flex-direction: column;
        padding: 100px 30px 30px;
        align-items: flex-start;
        justify-content: flex-start;
        z-index: 1002;
        transition: all 0.5s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
    }
    
    nav ul.active {
        left: 0;
    }
    
    nav ul li {
        margin: 15px 0;
        width: 100%;
    }
    
    nav ul li a {
        font-size: 18px;
        font-weight: 600;
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 24px;
        color: var(--light);
        cursor: pointer;
        z-index: 1003;
        transition: var(--transition);
        margin-left: 15px;
        padding: 5px;
        order: 1;
        position: relative;
    }
    
    .logo {
        order: 0;
        position: relative;
        z-index: 1003;
    }
    
    .mobile-menu-btn.active i:before {
        content: '\f00d';
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .footer-links h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .footer-links ul li a {
        font-size: 14px;
    }
    
    .services-grid, .problems-grid, .process-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .about-img {
        transform: rotate(0);
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .service-card, .problem-card, .result-item, .process-item {
        padding: 30px 20px;
    }

    .services-grid, .problems-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links {
        margin-bottom: 30px;
    }
    
    .logo img {
        height: 40px;
        margin-right: 8px;
    }
    
    .logo span {
        font-size: 1rem;
    }
    
    .mobile-menu-btn {
        font-size: 22px;
        margin-left: 10px;
    }
    
    .process-content {
        padding: 20px;
    }
    
    /* Botão forçado na posição inferior direita no celular */
    .whatsapp-btn {
        bottom: 25px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
        font-size: 26px !important;
    }
}