/* ============================================
   RESET & VARIABLES
   ============================================ */

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

:root {
    /* Cores profissionais e confiáveis */
    --primary-color: #1B2B4B;      /* Azul marinho - profissional e confiável */
    --primary-dark: #0F1823;       /* Azul muito escuro - para hover */
    --primary-light: #2A3F5F;      /* Azul mais claro - para backgrounds */
    --accent-color: #C9A84C;       /* Dourado sutil - sofisticado */
    --accent-light: #E8D4A0;       /* Dourado claro */
    --accent-blue: #4A90E2;        /* Azul moderno - CTA secundária */

    --text-dark: #1B2B4B;
    --text-light: #666666;
    --text-muted: #999999;

    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-lighter: #F0F2F5;
    --border-color: #E0E0E0;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

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

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

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

.hidden {
    display: none !important;
}

/* ============================================
   BUTTONS & FORMS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

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

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

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

.form-group input {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition-fast);
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27, 43, 75, 0.1);
}

.form-group select {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition-fast);
    background-color: var(--bg-white);
    color: var(--text-dark);
    cursor: pointer;
}

.form-group select option {
    color: var(--text-dark);
}
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
}

.logo-symbol {
    font-size: 32px;
    color: var(--accent-color);
}

.logo-text {
    font-size: 20px;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

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

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.5;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--border-color) 100%);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.placeholder-image i {
    font-size: 64px;
    margin-bottom: 16px;
}

/* ============================================
   PROBLEMS SECTION
   ============================================ */

.problems-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

.problems-section h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 60px;
}

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

@media (min-width: 1024px) {
    .problems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .problems-grid {
        grid-template-columns: 1fr;
    }
}

.problem-card {
    background-color: var(--bg-light);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.card-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.problem-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   HOW SECTION
   ============================================ */

.how-section {
    padding: 80px 0;
    background-color: var(--bg-lighter);
}

.how-section h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.step {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.step p {
    color: var(--text-light);
    font-size: 15px;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .step-arrow {
        display: none;
    }
}

/* ============================================
   SECURITY SECTION
   ============================================ */

.security-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.security-section h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
    color: white;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.security-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 12px;
    transition: var(--transition);
    text-align: center;
}

.security-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.security-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 16px;
}

.security-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.8;
}

.card-cta {
    color: var(--accent-light) !important;
    font-weight: 600;
    margin-top: 16px !important;
}

.security-conclusion {
    text-align: center;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--accent-color);
    border-radius: 12px;
}

.security-conclusion p {
    color: var(--accent-light);
    font-size: 18px;
    margin: 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: 80px 0;
    background-color: var(--bg-white);
}

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

.about-content h2 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about-content p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-content h3 {
    font-size: 22px;
    margin: 30px 0 16px 0;
    color: var(--primary-color);
}

.expertise-list {
    list-style: none;
    margin-bottom: 30px;
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 12px;
}

.expertise-list i {
    color: var(--accent-color);
    font-size: 18px;
}

.credentials {
    background-color: var(--bg-light);
    padding: 24px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.credentials p {
    margin: 8px 0;
    font-size: 15px;
}

/* ============================================
   TIPS SECTION
   ============================================ */

.tips-section {
    padding: 80px 0;
    background-color: var(--bg-lighter);
}

.tips-section h2 {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-color);
}

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

.tip-card {
    background-color: var(--bg-white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tip-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.tip-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.tip-icon i {
    color: var(--accent-color) !important;
}

.tip-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--primary-color);
}

.tip-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   CTA SECTION
   ============================================ */

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

.cta-section h2 {
    font-size: 48px;
    margin-bottom: 16px;
    color: white;
}

.cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   PROFILE IMAGES
   ============================================ */

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    aspect-ratio: 1;
    box-shadow: var(--shadow-md);
    display: block;
    transition: var(--transition);
}

.profile-image:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

/* ============================================
   FOOTER
   ============================================ */

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

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

.footer-section h4 {
    color: var(--accent-color);
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.8;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-color);
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FOOTER WARNING
   ============================================ */

.footer-warning {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: center;
}

.warning-icon {
    font-size: 24px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.warning-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
}

.warning-content strong {
    color: var(--accent-light);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.flabs-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.flabs-credit:hover {
    opacity: 1;
}

.flabs-credit span {
    font-size: 0.75rem;
    color: #fff;
    white-space: nowrap;
}

.flabs-credit img {
    display: block;
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-bottom p {
    margin: 5px 0;
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}

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

.modal-content {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideUp 0.3s ease-out forwards;
}

.modal.active .modal-content {
    animation: slideUp 0.3s ease-out forwards;
}

.modal:not(.active) .modal-content {
    animation: slideDown 0.3s ease-out forwards;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 32px;
    font-weight: 300;
    border: none;
    background: none;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 24px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

.popup-blocker-warning {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--bg-white);
        gap: 0;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu a {
        display: block;
        padding: 16px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .problems-section h2,
    .how-section h2,
    .tips-section h2,
    .cta-section h2,
    .about-section h2,
    .security-section h2 {
        font-size: 36px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .modal-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .problems-section h2,
    .how-section h2,
    .tips-section h2,
    .cta-section h2,
    .security-section h2 {
        font-size: 28px;
    }

    .logo-text {
        font-size: 16px;
    }

    .nav-menu {
        top: 60px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tip-card {
        padding: 24px 16px;
    }
}