/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #DC143C;
    --secondary-color: #000000;
    --accent-color: #FF6B6B;
    --white-color: #FFFFFF;
    --gray-light: #F8F8F8;
    --gray-medium: #E5E5E5;
    --gray-dark: #333333;
    --shadow: 0 4px 15px rgba(220, 20, 60, 0.1);
    --shadow-hover: 0 8px 25px rgba(220, 20, 60, 0.2);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--gray-dark);
}

strong {
    color: var(--primary-color);
}

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

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

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

.btn-whatsapp {
    background: #25D366;
    color: var(--white-color);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-whatsapp:hover {
    background: #20B858;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

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

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

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

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

.btn-outline {
    background: transparent;
    color: var(--gray-dark);
    border: 2px solid var(--gray-medium);
}

.btn-outline:hover {
    background: var(--gray-dark);
    color: var(--white-color);
    border-color: var(--gray-dark);
}

.btn-app {
    background: var(--gray-dark);
    color: var(--white-color);
    padding: 0.8rem 1.5rem;
}

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: url('./assets/Hero-img.png') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(220, 20, 60, 0.75);
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.8rem;
    line-height: 1.15;
    color: white;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: white;
    line-height: 1.7;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons .btn {
    flex: 1;
    min-width: 220px;
    max-width: 260px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: var(--transition);
}

.hero .btn-primary {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.hero .btn-primary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(220, 20, 60, 0.4);
}

.hero .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.hero .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

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

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

.hero-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white-color);
}

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

.about-text {
    font-size: 1.1rem;
}

.franchise-info {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.franchise-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.franchise-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

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

.about-image {
    text-align: center;
}

.about-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white-color);
}

.services .section-header h2 {
    color: var(--white-color);
}

.services .section-header .btn {
    margin-top: 1rem;
}

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

.contact-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    flex: 1;
    min-width: 200px;
}

.contact-buttons .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.8);
}

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

.service-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(220, 20, 60, 0.25);
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img {
    filter: brightness(1.1) saturate(1.15);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: var(--white-color);
    padding: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-content {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.service-content h3 {
    color: var(--white-color);
    font-size: 1.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* App Section */
.app-section {
    padding: 80px 0;
    background: var(--gray-light);
}

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

.app-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
}

.app-features {
    list-style: none;
    margin: 1.5rem 0;
}

.app-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

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

/* Products Section */
.products {
    padding: 80px 0;
    background: var(--white-color);
}

.product-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.feature i {
    color: var(--primary-color);
}

.products-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.products-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.products-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    margin-bottom: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}



/* Unit Section */
.unit {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--white-color) 0%, var(--gray-light) 100%);
}

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

.unit-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.map {
    margin-bottom: 2rem;
}

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

.contact-info {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

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

.unit-btn {
    width: 100%;
    justify-content: center;
}

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

.faq-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.faq-text h2 {
    margin-bottom: 1.5rem;
}

.accordion-item {
    background: var(--white-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    background: var(--gray-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--primary-color);
    color: var(--white-color);
}

.accordion-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.accordion-header i {
    transition: var(--transition);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-header {
    background: var(--primary-color);
    color: var(--white-color);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 1.5rem;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--white-color);
    margin-bottom: 1rem;
}

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

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

.footer-column ul li a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary-color);
}

.social-links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-item a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: var(--white-color);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
}

.social-item a:hover {
    background: var(--white-color);
    color: var(--primary-color);
}

.social-item a i {
    color: var(--white-color);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-dark);
}

.footer-bottom p {
    color: var(--gray-medium);
}

/* Scroll to Top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .app-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .unit-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .faq-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .btn-whatsapp {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .product-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .products-content {
        display: block;
        text-align: center;
    }

    .products-right {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .app-buttons {
        flex-direction: column;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Loading States */
.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

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

.modal-content {
    background: var(--white-color);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-hover);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-medium);
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--gray-dark);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-light);
    color: var(--primary-color);
}

.modal-body {
    padding: 1.5rem;
    text-align: center;
}

.modal-body p {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
    font-size: 1.1rem;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-decoration: none;
}

.modal-btn i {
    font-size: 1.2rem;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .modal-header {
        padding: 1rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .modal-buttons {
        gap: 0.8rem;
    }
}
