/*
 * ======================================
 * 🚀 Desenvolvido por Fernando Sousa
 * 💻 Desenvolvedor Web Fullstack
 * 🌐 Site: https://fsousa.com.br
 * 📱 WhatsApp: (48) 93505-7474
 * ======================================
 */

/* Reset e Variables */
:root {
    --primary-color: #e63f36;
    --secondary-color: #2c3e50;
    --dark-gray: #34495e;
    --light-gray: #ecf0f1;
    --white: #ffffff;
    --text-color: #333333;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

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

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

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo img {
    height: 80px;
    width: auto;
}

.nav-menu > ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu ul {
    list-style: none;
}

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

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

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown > a i {
    font-size: 0.8rem;
    transition: var(--transition);
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-hover);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.dropdown-menu li {
    margin: 0;
    display: block;
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 0;
    white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background: var(--light-gray);
    color: var(--primary-color);
}

.dropdown-menu a::after {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

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



.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-animation {
    flex: 1;
    max-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#lottie-animation {
    width: 100%;
    height: 500px;
    max-width: 500px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.2;
}

.highlight {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary,
.btn-outline,
.hero-buttons .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

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

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

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

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

.hero-buttons .btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.hero-buttons .btn-secondary:hover {
    background: var(--dark-gray);
    border-color: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat p {
    color: var(--dark-gray);
}



/* Sections */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Services */
.services {
    padding: 80px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--dark-gray);
}

/* About */
.about {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.about-features {
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.about-animation {
    display: flex;
    justify-content: center;
    align-items: center;
}

#lottie-animation-sobre {
    width: 100%;
    height: 650px;
    max-width: 750px;
}

.partnership-message {
    margin-top: 2rem;
    padding: 2rem;
    /**background: var(--light-gray);**/
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.partnership-message h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.partnership-message p {
    font-style: italic;
    line-height: 1.8;
}

/* Values */
.values {
    padding: 80px 0;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: translateX(0);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.value-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* How it Works */
.how-it-works {
    padding: 80px 0;
    background: var(--light-gray);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
}

.step {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.step p {
    color: var(--dark-gray);
}

/* Register */
.register {
    padding: 80px 0;
    background: var(--light-gray);
}

.register-content {
    max-width: 800px;
    margin: 0 auto;
}

.register-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.register-form button {
    width: 100%;
    margin-top: 1rem;
}

/* Contact */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 50px;
}

.contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-item p {
    color: var(--dark-gray);
}

/* Contact Links */
a.contact-item {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
}

a.contact-item:hover {
    background-color: rgba(230, 63, 54, 0.1);
    transform: translateY(-2px);
}

a.contact-item i {
    color: var(--primary-color);
}

a.contact-item:hover i {
    color: #c0392b;
}

/* Non-clickable contact items (area and schedule) */
div.contact-item {
    text-decoration: none;
    color: inherit;
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
    cursor: default;
}

/* Phone Links - Desktop/Tablet disabled state */
@media (min-width: 768px) {
    a.contact-item[href^="tel:"]:not(.phone-btn) {
        cursor: default !important;
        pointer-events: none !important;
    }
    
    a.contact-item[href^="tel:"]:not(.phone-btn):hover {
        background-color: transparent !important;
        transform: none !important;
    }
    
    a.contact-item[href^="tel:"]:not(.phone-btn) i {
        color: var(--primary-color) !important;
    }
}

.contact-map iframe {
    border-radius: 10px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 100%;
}



/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo img {
    height: 80px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer h3 {
    margin-bottom: 1.5rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer a:hover {
    opacity: 1;
}

.footer-contact p {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Phone Button */
.phone-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-hover);
    transition: var(--transition);
    z-index: 999;
    animation: pulse 2s infinite;
}

.phone-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(230, 63, 54, 0.4);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 63, 54, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(230, 63, 54, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(230, 63, 54, 0);
    }
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), #c0392b);
    padding: 100px 0 60px;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

/* Marca d'água Global - Todo o Site */
.hero,
.about,
.how-it-works,
.benefits,
.register,
.form-section,
.documents-section,
.info-section,
.page-hero {
    position: relative;
}

.hero::before,
.about::before,
.how-it-works::before,
.benefits::before,
.register::before,
.form-section::before,
.documents-section::before,
.info-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: url('/assets/logo_bos.png') no-repeat center center;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.hero > .container,
.about > .container,
.how-it-works > .container,
.benefits > .container,
.register > .container,
.form-section > .container,
.documents-section > .container,
.info-section > .container {
    position: relative;
    z-index: 1;
}

/* Responsivo para marca d'água - Todo o Site */
@media (max-width: 1024px) {
    .hero::before,
    .about::before,
    .how-it-works::before,
    .benefits::before,
    .register::before,
    .form-section::before,
    .documents-section::before,
    .info-section::before {
        width: 500px;
        height: 500px;
        opacity: 0.04;
    }
}

@media (max-width: 768px) {
    .hero::before,
    .about::before,
    .how-it-works::before,
    .benefits::before,
    .register::before,
    .form-section::before,
    .documents-section::before,
    .info-section::before {
        width: 400px;
        height: 400px;
        opacity: 0.03;
    }
}

@media (max-width: 480px) {
    .hero::before,
    .about::before,
    .how-it-works::before,
    .benefits::before,
    .register::before,
    .form-section::before,
    .documents-section::before,
    .info-section::before {
        width: 300px;
        height: 300px;
        opacity: 0.025;
    }
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 800;
}

/* Register Content Layout */
.register-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.register-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.register-benefits {
    display: grid;
    gap: 2rem;
}

.register-benefits .benefit {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.register-benefits .benefit i {
    font-size: 2rem;
    color: var(--primary-color);
    width: 40px;
}

.register-benefits .benefit h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.register-benefits .benefit p {
    color: var(--dark-gray);
}

.register-form h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.benefit-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.benefit-item p {
    color: var(--dark-gray);
}

/* Quick Contact Form */
.quick-contact {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.quick-contact h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.quick-contact-form .form-group {
    margin-bottom: 1rem;
}

.quick-contact-form input,
.quick-contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quick-contact-form button {
    width: 100%;
}

/* Contact Info Updates */
.contact-info > p {
    margin-bottom: 2rem;
    color: var(--dark-gray);
    line-height: 1.8;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

/* Documents Section */
.documents-section {
    padding: 80px 0;
    background: var(--white);
}

.documents-content {
    max-width: 900px;
    margin: 0 auto;
    background: var(--light-gray);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.documents-intro {
    margin-bottom: 2rem;
}
.documents-intro h2{
    text-align: center;
}

.documents-intro p {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-align: center;
}

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

.documents-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.documents-list li:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.documents-list li i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.documents-list li span {
    color: var(--text-color);
    line-height: 1.6;
}

.documents-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 8px;
    text-align: center;
}

.send-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.send-info i {
    font-size: 1.5rem;
}

.send-info p {
    font-size: 1.1rem;
    margin: 0;
}

.send-info strong {
    font-weight: 700;
    text-decoration: underline;
}

.print-button-container {
    text-align: center;
    margin-top: 3rem;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .phone-btn,
    .print-button-container,
    .page-hero {
        display: none !important;
    }
    
    .documents-section {
        padding: 0;
    }
    
    .documents-content {
        box-shadow: none;
        padding: 2rem;
        max-width: 100%;
    }
    
    .documents-list li {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    body {
        font-size: 12pt;
    }
    
    .documents-intro p {
        font-size: 14pt;
        margin-bottom: 1.5rem;
    }
    
    .documents-footer {
        background: none;
        color: var(--text-color);
        border: 2px solid var(--primary-color);
        margin-top: 2rem;
    }
    
    .send-info p {
        color: var(--text-color);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .hero-animation {
        max-width: 400px;
    }
    
    #lottie-animation {
        height: 400px;
    }
    
    .register-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu,
    .header-actions {
        position: fixed;
        left: 0;
        right: 0;
        background: white;
        box-shadow: var(--shadow);
        padding: 2rem;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
        display: block;
    }
    
    .nav-menu {
        top: 120px;
    }
    
    .header-actions {
        top: 70px;
        z-index: 998;
    }
    
    .nav-menu.active,
    .header-actions.active {
        transform: translateY(0);
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Dropdown adjustments for mobile */
    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        border-radius: 5px;
        margin: 0.5rem 0;
        padding: 0.5rem;
        display: none; /* Hidden by default, shown when parent has 'active' class */
    }
    
    .nav-menu .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Style the dropdown parent link when active */
    .nav-menu .dropdown.active > a {
        background: var(--light-gray);
        border-radius: 5px;
    }
    
    .nav-menu .dropdown-menu ul {
        gap: 0.5rem;
    }
    
    .nav-menu .dropdown-menu a {
        padding: 0.5rem 1rem;
        border-radius: 3px;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 1rem;
        min-height: auto;
        padding: 1rem 2rem;
    }
    
    /* Hide header-actions if empty */
    .header-actions:empty {
        display: none !important;
    }
    
    /* Position header-actions right after nav-menu */
    .header-actions.active:not(:empty) {
        transform: translateY(0);
        border-top: 1px solid var(--light-gray);
        background: #f8f9fa;
        box-shadow: none;
    }
    
    /* Mobile button styles for header-actions */
    .header-actions .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .header-actions .btn-secondary:last-child {
        margin-bottom: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }
    
    .hero-buttons a {
        width: 100%;
        text-align: center;
        min-width: auto;
        flex: none;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .hero-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .hero-animation {
        max-width: 300px;
        order: -1;
    }
    
    #lottie-animation {
        height: 300px;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #lottie-animation-sobre {
        height: 300px;
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    

    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .page-hero {
        padding: 80px 0 40px;
    }
    
    .contact-map iframe {
        height: 400px;
    }
    
    /* Contact Page Responsive */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        gap: 1rem;
    }
    
    .contact-item i {
        width: 40px;
        font-size: 1.5rem;
    }
    
    a.contact-item,
    div.contact-item {
        padding: 0.75rem;
        margin: 0.25rem 0;
    }
    
    .documents-content {
        padding: 2rem;
    }
    
    .documents-list li {
        padding: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .documents-intro p {
        font-size: 1.1rem;
    }
    
    .send-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact Page Tablet */
    .contact-grid {
        gap: 3rem;
    }
    
    .contact-item i {
        width: 45px;
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .register-form {
        padding: 2rem;
    }
    
    .values-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    /* Responsive Phone Button */
    .phone-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 1.25rem;
    }

    #lottie-animation-sobre {
        height: 250px;
    }
    
    /* Contact Page Mobile */
    .contact {
        padding: 40px 0;
    }
    
    .contact-grid {
        gap: 1.5rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info > p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        gap: 0.75rem;
    }
    
    .contact-item i {
        width: 35px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    
    .contact-item h3 {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .contact-item p {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    a.contact-item,
    div.contact-item {
        padding: 0.5rem;
        margin: 0.15rem 0;
        border-radius: 6px;
    }
    
    .contact-map iframe {
        height: 300px;
        border-radius: 8px;
    }
}

/* Form Styles */
.form-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    padding: 3rem;
}

.cadastro-form {
    width: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 1rem;
}

.form-header h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin: 0;
}

.form-group-section {
    margin-bottom: 2.5rem;
}

.form-group-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--light-gray);
}

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

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

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 63, 54, 0.1);
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--light-gray);
}

/* Download Section Styles */
.download-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.download-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.download-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.download-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.download-icon i {
    color: var(--white);
    font-size: 1.5rem;
}

.download-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.download-card p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.important-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.note-icon {
    color: #f39c12;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.note-content h3 {
    color: #d68910;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.note-content p {
    margin: 0;
    color: #7d6608;
    font-weight: 500;
}

.contact-info {
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.contact-details h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-details .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
}

.contact-details .contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-details .contact-item h4 {
    margin: 0 0 0.2rem 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.contact-details .contact-item p {
    margin: 0;
    font-weight: 500;
}

.contact-details .contact-item a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-details .contact-item a:hover {
    color: var(--primary-color);
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    .form-container {
        margin: 0 1rem;
        padding: 2rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        margin-top: 0;
        border-radius: 0;
        display: flex;
        flex-direction: column;
    }
    
    .dropdown-menu ul {
        display: flex;
        flex-direction: column;
    }
    
    .dropdown-menu li {
        display: block;
        width: 100%;
    }
    
    .dropdown > a i {
        display: inline-block;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active > a i {
        transform: rotate(180deg);
    }
    

}

@media (max-width: 480px) {
    .form-header h2 {
        font-size: 1.4rem;
    }
    
    .form-group-section h3 {
        font-size: 1.1rem;
    }
    
    .important-note {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-details .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* Additional Styles for New Sections */
.info-section {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.info-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    min-width: 40px;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    color: var(--secondary-color);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.step-content p {
    margin: 0;
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-highlight {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
}

.info-highlight h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

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

.highlight-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.highlight-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.highlight-item p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.related-links {
    margin: 3rem 0 1rem;
    text-align: center;
}

.related-links h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

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

.link-buttons .btn-outline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Responsive Additions */
@media (max-width: 768px) {
    .steps-list {
        gap: 1rem;
    }
    
    .step-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
    }
    
    .step-number {
        margin-top: 0.2rem;
        min-width: 35px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .highlight-grid {
        grid-template-columns: 1fr;
    }
    
    .link-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .link-buttons .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .info-section,
    .info-highlight {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    

    
    .highlight-item {
        padding: 1.2rem;
    }
    
    .highlight-item i {
        font-size: 1.5rem;
    }
}

/* 404 Error Page Styles */
.error-404 {
    padding: 4rem 0;
    background: var(--light-gray);
}

.error-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.error-icon {
    margin-bottom: 2rem;
}

.error-icon i {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.8;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-404 h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.error-404 p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.error-actions .btn-primary,
.error-actions .btn-outline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.quick-links {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.quick-links h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 5px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
}

.quick-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

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

.quick-link:hover i {
    color: var(--white);
}

.quick-link span {
    font-weight: 500;
}

.error-contact {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.error-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.error-contact p {
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--light-gray);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
}

.contact-option:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-option i {
    font-size: 1.1rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.contact-option:hover i {
    color: var(--white);
}

/* 404 Responsive Styles */
@media (max-width: 768px) {
    .error-404 {
        padding: 3rem 0;
    }

    .error-content {
        padding: 1.5rem;
    }

    .error-number {
        font-size: 6rem;
    }

    .error-404 h2 {
        font-size: 2rem;
    }

    .error-404 p {
        font-size: 1rem;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-actions .btn-primary,
    .error-actions .btn-outline {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .quick-links,
    .error-contact {
        margin: 2rem 0;
        padding: 1.5rem;
    }

    .contact-options {
        flex-direction: column;
        align-items: center;
    }

    .contact-option {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .error-404 {
        padding: 2rem 0;
    }

    .error-content {
        padding: 1rem;
    }

    .error-icon i {
        font-size: 3rem;
    }

    .error-number {
        font-size: 4rem;
    }

    .error-404 h2 {
        font-size: 1.5rem;
    }

    .error-404 p {
        font-size: 0.9rem;
    }

    .quick-links h3,
    .error-contact h3 {
        font-size: 1.3rem;
    }

    .quick-link {
        padding: 0.75rem;
    }

    .contact-option {
        padding: 0.75rem 1rem;
    }
}

/*
 * ========================================================================
 * 🎨 DESENVOLVIDO POR FERNANDO SOUSA
 * ========================================================================
 * 
 * 🚀 Desenvolvedor Web Fullstack
 * 🌐 Site: https://fsousa.com.br
 * 📱 WhatsApp: (48) 93505-7474
 * 💼 Especialista em CSS moderno, responsivo e performático
 *
 * ========================================================================
 */