body {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Comfortaa', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
}

h1, h2, h3, h4, h5, h6, .section-title, .hero-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 59, 115, 0.1);
}

.content-wrapper {
    margin-top: 80px;
}

.btn-primary {
    background: #E87E25;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: #d16d1e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 126, 37, 0.3);
}

.btn-secondary {
    background: #003B73;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #002a52;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 59, 115, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 59, 115, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 59, 115, 0.15);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #003B73;
    margin-bottom: 16px;
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #666;
    text-align: center;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.nav-link {
    color: #003B73;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #E87E25;
}

.logo-absolute {
    left: 0;
    position: absolute;
    top: 0;
}

.logo-absolute .logo-container {
    background: #FFFFFF;
    border-radius: 0 0 8px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 59, 115, 0.15);
}

.logo-absolute .logo-container img {
    width: 155px;
}

.accordion-button {
    background: white;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px;
    font-size: 1.125rem;
    font-weight: 600;
    color: #003B73;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-button:hover {
    background: #f8f9fa;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: #666;
}

.accordion-content.active {
    max-height: 200px;
    padding: 0 20px 20px;
}

.testimonial-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 59, 115, 0.08);
}

.star {
    color: #FFD700;
    font-size: 1.25rem;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 59, 115, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 59, 115, 0.2);
}

a[data-fancybox] {
    display: block;
    position: relative;
}

a[data-fancybox]::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

a[data-fancybox]:hover::after {
    opacity: 0.9;
}

.form-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #003B73;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: #E8F1FB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-button span {
    display: block;
    width: 28px;
    height: 3px;
    background: #003B73;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-button.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-button.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 59, 115, 0.15);
    z-index: 999;
    transition: right 0.4s ease;
    padding-top: 100px;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-nav-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0.1), 0 0 0 20px rgba(37, 211, 102, 0.05);
    }
    100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

.tab-button.active {
    color: #003B73 !important;
    border-bottom-color: #E87E25 !important;
}

.tab-button:hover {
    color: #E87E25;
}

.tab-content {
    animation: fadeIn 0.4s ease;
}

.the_content p, .the_content ol li, .the_content ul li {
    padding-bottom: 15px;
}

.the_content ol, .the_content ul {
    padding-left: 18px;
}

.the_content ol {
    list-style: inside decimal;
}

.the_content ul {
    list-style: inside disc;
}

.the_content h1, .the_content h2, .the_content h3, .the_content h4, .the_content h5, .the_content h6 {
    font-weight: 700; 
    padding-bottom: 12px;
}

.the_content h2 {
    font-size: 24px;
}

label.error {
    color: lightcoral;
    font-size: 14px;
    padding-left: 5px;
    padding-top: 4px;
}

@keyframes fadeIn {
    from {
    opacity: 0;
    transform: translateY(10px);
    }
    to {
    opacity: 1;
    transform: translateY(0);
    }
}

@media (max-width: 968px) {
    .desktop-nav {
    display: none !important;
    }

    .mobile-menu-button {
    display: block !important;
    }

    .section-title {
    font-size: 2rem;
    }
    
    .hero-title {
    font-size: 2rem;
    }

    .header-fixed > div {
    padding: 12px 20px !important;
    }

    .card {
    padding: 24px;
    }

    .gallery-img {
    height: 200px;
    }
}

@media (max-width: 640px) {
    .section-title {
    font-size: 1.75rem;
    }

    .hero-title {
    font-size: 1.75rem !important;
    }

    .content-wrapper {
    margin-top: 80px;
    }

    .the_content h2 {
        font-size: 18px;
    }

    .logo-absolute {
        left: 15px;
    }

    .logo-absolute .logo-container img {
        width: 95px;
    }

    .logo-footer {
        width: 80px;
    }

    .sobre-footer {
        justify-content: center;
        text-align: center;
    }

    .hide-mobile {
        display: none !important;
    }
}

@view-transition { navigation: auto; }