/* ===================================
   PALETA DE CORES
   =================================== */

:root {
    /* Cores Primárias */
    --primary: #2563EB;           /* Azul moderno */
    --primary-dark: #1E40AF;      /* Azul mais escuro */
    --primary-light: #DBEAFE;     /* Azul muito claro */
    
    /* Cores Secundárias */
    --secondary: #10B981;          /* Verde sucesso */
    --secondary-dark: #059669;     /* Verde escuro */
    --secondary-light: #D1FAE5;    /* Verde claro */
    
    /* Cores Neutras */
    --text-primary: #1F2937;       /* Cinza escuro (texto principal) */
    --text-secondary: #6B7280;     /* Cinza médio (texto secundário) */
    --text-light: #9CA3AF;         /* Cinza claro */
    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;           /* Cinza muito claro */
    --bg-lighter: #F3F4F6;
    --border: #E5E7EB;
    
    /* Cores de Status */
    --error: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    --success: #10B981;
}

/* ===================================
   RESET E ESTILOS GLOBAIS
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-primary);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===================================
   CONTAINER E LAYOUT
   =================================== */

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

/* ===================================
   HEADER E NAVEGAÇÃO
   =================================== */

.header {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }
}

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

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.cta-buttons-center {
    justify-content: center;
}

/* Hero Visual */

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

.phone-showcase {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.phone-glow {
    position: absolute;
    width: 90%;
    height: 70%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    z-index: 0;
    bottom: -10%;
}

.phone-screenshot {
    position: relative;
    z-index: 1;
    width: 280px;
    height: 560px;
    object-fit: cover;
    object-position: top;
    border-radius: 40px;
    box-shadow:
        0 40px 80px rgba(37, 99, 235, 0.25),
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(37, 99, 235, 0.08);
    animation: floatPhone 6s ease-in-out infinite;
}

@keyframes floatPhone {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 20px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 1.875rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: 6rem 20px;
    background-color: var(--bg-light);
}

.features h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   GALLERY SECTION
   =================================== */

.gallery-section {
    padding: 6rem 20px;
    background-color: var(--bg-white);
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.gallery-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.08);
    transition: all 0.3s ease;
    display: block;
    max-width: 220px;
    margin: 0 auto;
}

.gallery-item:hover img {
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    transform: translateY(-5px);
    border-color: var(--primary);
}

.gallery-caption {
    margin-top: 1rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .gallery-item img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 3rem 20px;
    }

    .gallery-section h2 {
        font-size: 1.75rem;
    }

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

    .gallery-caption {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-section h2 {
        font-size: 1.5rem;
    }

    .gallery-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* ===================================   CONTACT SECTION
   =================================== */

.contact-section {
    padding: 6rem 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
}

.contact-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-text > p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

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

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

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 0.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-link {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--primary-dark);
}

.contact-text {
    color: var(--text-secondary);
    margin: 0;
}

.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-box {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    overflow: hidden;
    width: 100%;
    max-width: 350px;
}

.contact-box-header {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
}

.contact-box-content {
    padding: 2rem;
}

.contact-box-content p {
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.contact-box-content p:last-child {
    margin-bottom: 0;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-box {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3rem 20px;
    }

    .contact-text h2 {
        font-size: 1.75rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-box {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-text h2 {
        font-size: 1.5rem;
    }

    .contact-text > p {
        font-size: 1rem;
    }

    .contact-item {
        gap: 1rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .contact-label {
        font-size: 0.75rem;
    }

    .contact-link {
        font-size: 1rem;
    }

    .contact-box-content {
        padding: 1.5rem;
    }
}

/* ===================================   PRIVACY SECTION
   =================================== */

.privacy-section {
    padding: 6rem 20px;
    background-color: var(--bg-white);
}

.privacy-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.privacy-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.privacy-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.privacy-points {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.privacy-point {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.checkmark {
    color: var(--secondary);
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: -0.25rem;
}

.privacy-point p {
    color: var(--text-secondary);
    margin: 0;
}

.privacy-point strong {
    color: var(--text-primary);
}

.privacy-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.privacy-icon {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px) {
    .privacy-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .privacy-icon {
        width: 150px;
        height: 150px;
    }
}

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

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

.cta-section h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background-color: white;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background-color: var(--bg-light);
}

/* ===================================
   POLICY PAGE STYLES
   =================================== */

.policy-section {
    padding: 4rem 20px;
    background-color: var(--bg-white);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
}

.policy-header {
    margin-bottom: 3rem;
    text-align: center;
    border-bottom: 2px solid var(--border);
    padding-bottom: 2rem;
}

.policy-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.policy-content {
    line-height: 1.9;
}

.policy-section-content {
    margin-bottom: 3rem;
}

.policy-section-content h2 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    margin-top: 2rem;
}

.policy-section-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.policy-list {
    list-style-position: inside;
    color: var(--text-secondary);
}

.policy-list li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.policy-list strong {
    color: var(--text-primary);
}

.policy-summary {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border);
}

.summary-box {
    background-color: var(--primary-light);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary);
}

.summary-box p {
    color: var(--text-primary);
    margin: 0;
}

.summary-box p:first-child {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 20px 1rem;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-logo svg {
    width: 32px;
    height: 32px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

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

/* ===================================
   RESPONSIVO
   =================================== */

@media (max-width: 768px) {
    .hero {
        padding: 2rem 20px;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 1.875rem;
    }

    .features {
        padding: 3rem 20px;
    }

    .features h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .privacy-section {
        padding: 3rem 20px;
    }

    .cta-section {
        padding: 3rem 20px;
    }

    .cta-section h2 {
        font-size: 1.75rem;
    }

    .policy-header h1 {
        font-size: 1.75rem;
    }
}

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

    .hero-content p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .features h2 {
        font-size: 1.5rem;
    }

    .phone-screenshot {
        width: 240px;
        height: 480px;
    }

.privacy-text h2 {
        font-size: 1.5rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
}

/* ===================================
   ANIMAÇÕES
   =================================== */

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

.hero-content,
.feature-card {
    animation: fadeIn 0.8s ease-out;
}

/* ===================================
   ACESSIBILIDADE
   =================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible para Acessibilidade */
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===================================
   MODAL ANDROID BETA
   =================================== */

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(16px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
    margin-bottom: 1.25rem;
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.modal-email-btn {
    display: inline-block;
    margin: 1rem 0;
    padding: 0.65rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s;
    word-break: break-all;
}

.modal-email-btn:hover {
    background: var(--primary-dark);
}

.modal-close-btn {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.65rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.modal-close-btn:hover {
    background: var(--bg-lighter);
    color: var(--text-primary);
}
