/* Variáveis e reset */
:root {
    /* Tema claro */
    --primary-color: #ff4e6e;
    --secondary-color: #ff6b45;
    --dark-color: #18191a;
    --light-color: #ffffff;
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #ffffff;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --header-bg: #ffffff;
    --footer-bg: #18191a;
    --footer-text: #aaaaaa;
    --testimonial-bg: #f8f9fa;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition-speed: 0.5s;
}

[data-theme="dark"] {
    --primary-color: #ff4e6e;
    --secondary-color: #ff6b45;
    --dark-color: #ffffff;
    --light-color: #18191a;
    --bg-color: #121212;
    --text-color: #f0f0f0;
    --card-bg: #1e1e1e;
    --card-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    --header-bg: #1a1a1a;
    --footer-bg: #0a0a0a;
    --footer-text: #cccccc;
    --testimonial-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* Estilo para o ícone SVG */
.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    vertical-align: middle;
    animation: flicker 1.5s infinite alternate;
}

/* Garanta que o SVG mantenha a cor do tema */
.logo-icon path {
    fill: currentColor;
}

/* No header, ajuste a cor para o tema */
header .logo-icon {
    color: var(--primary-color);
}

/* No footer, ajuste a cor para o tema */
footer .logo-icon {
    color: var(--light-color);
}

/* Cursor personalizado */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 78, 110, 0.3);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    display: none;
}

@media (pointer: fine) {
    .custom-cursor {
        display: block;
    }
}

/* Partículas de coração */
.heart-particle {
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    animation: float-particle 2s ease-out forwards;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) scale(0.2) rotate(0deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-80px) scale(1) rotate(20deg);
        opacity: 0;
    }
}

/* Background da página */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.1;
    transition: opacity var(--transition-speed) ease;
}

/* Animação flicker para ícones */
@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        filter: drop-shadow(0 0 8px var(--primary-color));
    }
    20%, 24%, 55% {
        filter: none;
    }
}

/* Navbar secundária */
.secondary-navbar {
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    padding: 8px 40px;
    color: var(--light-color);
    font-size: 0.9rem;
    transition: background-color var(--transition-speed) ease;
    position: relative;
}

.secondary-navbar-links {
    display: flex;
    gap: 25px;
    max-width: 1200px;
    width: 100%;
    justify-content: flex-end;
}

.secondary-navbar-links a {
    color: var(--light-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.secondary-navbar-links a:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.secondary-navbar-links i {
    font-size: 0.8rem;
}

/* Header */
header {
    background-color: var(--header-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 101;
}

.logo span {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 10px;
}

/* Menu */
.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 30px;
    overflow: hidden;
}

.menu a:hover {
    color: #fff;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 78, 110, 0.3);
}

.menu a i {
    transition: transform 0.3s ease;
}

.menu a:hover i {
    transform: scale(1.2) rotate(10deg);
}

.menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.menu a:hover::before {
    left: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Botão de login */
.login-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-size: 200% auto;
    color: var(--light-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 78, 110, 0.3);
    text-decoration: none;
}

.login-btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 78, 110, 0.4);
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn i {
    transition: transform 0.3s ease;
}

.login-btn:hover i {
    transform: scale(1.2);
}

/* Botão de tema */
.theme-toggle {
    background: linear-gradient(145deg, #f5f5f5, #e6e6e6);
    border: none;
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.05), 
                -5px -5px 10px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 7px 7px 15px rgba(0, 0, 0, 0.1), 
                -7px -7px 15px rgba(255, 255, 255, 0.9);
}

.theme-toggle:active {
    transform: scale(0.95);
    box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.1), 
                inset -3px -3px 7px rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .theme-toggle {
    background: linear-gradient(145deg, #222, #333);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3), 
                -5px -5px 10px rgba(40, 40, 40, 0.5);
    color: var(--light-color);
}

[data-theme="dark"] .theme-toggle:hover {
    box-shadow: 7px 7px 15px rgba(0, 0, 0, 0.4), 
                -7px -7px 15px rgba(40, 40, 40, 0.6);
}

[data-theme="dark"] .theme-toggle:active {
    box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.4), 
                inset -3px -3px 7px rgba(40, 40, 40, 0.4);
}

.theme-toggle i {
    position: absolute;
    transition: transform 0.4s ease, opacity 0.4s ease;
    font-size: 1.4rem;
}

.theme-toggle .fa-sun {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

.theme-toggle .fa-moon {
    opacity: 0;
    transform: translateY(20px) rotate(-90deg);
}

[data-theme="dark"] .theme-toggle .fa-sun {
    opacity: 0;
    transform: translateY(-20px) rotate(90deg);
}

[data-theme="dark"] .theme-toggle .fa-moon {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}

/* Menu mobile */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 101;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: white;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-btn i {
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: scale(1.2);
}

/* Hearts container for background animation */
.hearts-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart {
    position: absolute;
    color: rgba(255, 255, 255, 0.6);
    animation: float 10s linear infinite;
    pointer-events: none;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* App Section */
.app-section {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.section-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,32L48,53.3C96,75,192,117,288,122.7C384,128,480,96,576,112C672,128,768,192,864,202.7C960,213,1056,171,1152,133.3C1248,96,1344,64,1392,48L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

.app-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 0 20px;
}

.app-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 20px;
}

.app-description {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.8;
}

.app-features {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.app-feature {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-info h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.feature-info p {
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.5;
}

.app-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.app-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.app-button .icon {
    font-size: 2rem;
}

.app-button .button-text {
    display: flex;
    flex-direction: column;
}

.app-button .button-text small {
    font-size: 0.8rem;
    opacity: 0.7;
}

.app-button .button-text span {
    font-size: 1rem;
    font-weight: 600;
}

.app-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    position: relative;
    z-index: 2;
}

.app-screenshot img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.screenshot-shadow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(255, 78, 110, 0.3), transparent);
    border-radius: 50%;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    opacity: 0.6;
    animation: floatAround 6s ease-in-out infinite;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background-color: var(--testimonial-bg);
    position: relative;
    transition: background-color var(--transition-speed) ease;
}

.blog-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23f8f9fa' fill-opacity='1' d='M0,32L48,53.3C96,75,192,117,288,122.7C384,128,480,96,576,112C672,128,768,192,864,202.7C960,213,1056,171,1152,133.3C1248,96,1344,64,1392,48L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

[data-theme="dark"] .blog-wave {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%231a1a1a' fill-opacity='1' d='M0,32L48,53.3C96,75,192,117,288,122.7C384,128,480,96,576,112C672,128,768,192,864,202.7C960,213,1056,171,1152,133.3C1248,96,1344,64,1392,48L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

.blog-subtitle {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background-color: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.blog-card-title {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-excerpt {
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more-btn {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    gap: 10px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.6;
}

.blog-meta div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all-btn {
    text-align: center;
}

.blog-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-size: 200% auto;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 78, 110, 0.3);
}

.blog-btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 78, 110, 0.4);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 60px;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease;
    gap: 20px;
}

.testimonial {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    flex: 0 0 calc(33.333% - 20px);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-initials {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
}

.testimonial-info h3 {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-info p {
    color: var(--text-color);
    opacity: 0.6;
    font-size: 0.9rem;
}

.testimonial-content {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    position: relative;
}

.quote-icon {
    position: absolute;
    bottom: -10px;
    right: 0;
    color: var(--primary-color);
    opacity: 0.3;
    font-size: 2rem;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
    position: relative;
    transition: background-color var(--transition-speed) ease;
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%2318191a' fill-opacity='1' d='M0,32L48,53.3C96,75,192,117,288,122.7C384,128,480,96,576,112C672,128,768,192,864,202.7C960,213,1056,171,1152,133.3C1248,96,1344,64,1392,48L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
}

[data-theme="dark"] .footer-wave {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230a0a0a' fill-opacity='1' d='M0,32L48,53.3C96,75,192,117,288,122.7C384,128,480,96,576,112C672,128,768,192,864,202.7C960,213,1056,171,1152,133.3C1248,96,1344,64,1392,48L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-logo {
    grid-column: 1 / 2;
    display: flex;
    flex-direction: column;
}

.footer-logo-img {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo-img span {
    color: var(--light-color);
    font-size: 1.8rem;
    font-weight: bold;
    margin-left: 10px;
}

.footer-logo p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(to bottom right, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

/* Informações de endereço */
.footer-info {
    display: flex;
    flex-direction: column;
}

.footer-info h3 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.footer-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-info i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 3px;
}

/* Download do App no footer */
.footer-download {
    display: flex;
    flex-direction: column;
}

.footer-download h3 {
    color: var(--light-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.footer-download h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.footer-download p {
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-app-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px; 
}

.footer-app-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #333;
    color: var(--light-color);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-app-button:hover {
    transform: translateY(-3px);
    background-color: #444;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-app-button .icon {
    font-size: 1.8rem;
    color: var(--light-color);
}

.footer-app-button .button-text {
    display: flex;
    flex-direction: column;
}

.footer-app-button .button-text small {
    font-size: 0.7rem;
    opacity: 0.7;
}

.footer-app-button .button-text span {
    font-size: 1rem;
    font-weight: 600;
}

.footer-blog-btn {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    background-size: 200% auto;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    width: fit-content;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-blog-btn:hover {
    background-position: right center;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Links da Navbar secundária no Footer */
.footer-secondary-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px auto 10px;
    max-width: 1200px;
    padding: 0 20px;
    margin-bottom: 10px;
}

.footer-secondary-links a {
    color: var(--footer-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-secondary-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-secondary-links i {
    font-size: 0.8rem;
}

.copyright {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

.heart-icon {
    color: var(--primary-color);
    animation: heartbeat 1.5s infinite;
}

/* Scroll to top button */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

/* Animação para navbar secundária em modo carrossel */
@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Esconde links duplicados em desktop mas mantém em mobile para animação */
.secondary-navbar-links .mobile-only {
    display: none;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-download {
        grid-column: span 2;
        margin-top: 20px;
    }

    .footer-app-buttons {
        flex-direction: row;
    }
    
    .secondary-navbar {
        padding: 8px 20px;
    }
    
    .testimonial {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero {
        height: 80vh;
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    /* Navbar secundária em mobile - carrossel */
    .secondary-navbar {
        overflow: hidden;
        padding: 8px 15px;
    }
    
    .secondary-navbar-links {
        display: flex;
        white-space: nowrap;
        gap: 30px;
        position: relative;
        justify-content: flex-start;
        animation: scrollSecondaryNav 20s linear infinite;
        padding-left: 100%;
        will-change: transform;
    }
    
    @keyframes scrollSecondaryNav {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-100%);
        }
    }
    
    .secondary-navbar-links a {
        flex-shrink: 0;
        opacity: 0.9;
        transition: opacity 0.3s ease;
    }
    
    .secondary-navbar-links a:hover {
        opacity: 1;
        transform: none;
    }
    
    header {
        padding: 15px 20px;
    }
    
    /* Menu mobile otimizado */
    .menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--header-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        gap: 30px;
        z-index: 100;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        opacity: 0;
        visibility: hidden;
        overflow-y: auto;
    }
    
    .menu.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    
    .menu a {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-download {
        grid-column: span 1;
    }
    
    .footer-app-buttons {
        flex-direction: column;
    }
    
    .footer-secondary-links {
        gap: 15px;
    }
    
    .secondary-navbar-links .mobile-only {
        display: flex;
    }
    
    .testimonial {
        flex: 0 0 calc(100% - 20px);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .secondary-navbar {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
    
    .logo span {
        font-size: 1.5rem;
    }
    
    .nav-right {
        gap: 10px;
    }

    .login-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .footer-secondary-links {
        gap: 12px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .blog-title {
        font-size: 2rem;
    }
}