/* ============================================
   Loja de Informática - Estilos CSS
   Design: Minimalismo Tecnológico Moderno
   Cores: Azul Elétrico (#0066FF) + Cinza Neutro
   Tipografia: Poppins (títulos) + Inter (corpo)
   ============================================ */

/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FFC107;
    --primary-dark: #FFC107;
    --primary-light: #E6F0FF;
    --secondary: #F5F5F5;
    --gray-900: #1A1A1A;
    --gray-800: #333333;
    --gray-700: #444444;
    --gray-600: #666666;
    --gray-500: #999999;
    --gray-300: #E0E0E0;
    --gray-200: #F0F0F0;
    --white: #FFFFFF;
    --border-radius: 0.5rem;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    background-color: var(--white);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    line-height: 1.1;
}

h2 {
    font-size: 2rem;
    line-height: 1.2;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

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

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

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-primary {
    background-color: #FFC107; /* Amarelo */
    color: var(--gray-900); /* Texto escuro para dar leitura */
}

.btn-primary:hover {
    background-color: #E0A800; /* Amarelo um pouco mais escuro ao passar o mouse */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4); /* Sombra amarelada */
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-outline {
    background-color: transparent;
    color: var(--gray-900);
    border: 1px solid var(--gray-300);
}

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

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--gray-800);
    border-bottom: 1px solid var(--gray-700);
    backdrop-filter: blur(10px);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background-color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.nav-menu {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    transition: var(--transition);
}

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

.nav-button {
    display: none;
}

@media (min-width: 768px) {
    .nav-button {
        display: block;
    }
}

/* --- Estilos do Menu Mobile --- */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary);
}

@media (max-width: 767px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 4rem;
        left: 0;
        width: 100%;
        background-color: var(--gray-800);
        padding: 1rem 0;
        text-align: center;
        border-bottom: 1px solid var(--gray-700);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
        animation: fadeIn 0.3s ease-out;
    }

    .nav-menu .nav-link {
        padding: 1rem;
        display: block;
    }
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom right, #F5F5F5, var(--white));
    padding: 5rem 0;
}

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

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.highlight {
    color: #FFC107; /* O mesmo amarelo do botão */
}

.hero-text > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--gray-600);
}

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

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-700);
    font-weight: 500;
}

.check-icon, .lightning-icon {
    color: var(--primary);
    font-size: 1.25rem;
}

.hero-image {
    width: 100%;
    height: 24rem;
}

@media (min-width: 1024px) {
    .hero-image {
        height: 100%;
    }
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

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

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

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.service-card {
    padding: 2rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.service-card > p {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    flex-grow: 1;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.service-list li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.375rem;
    height: 0.375rem;
    background-color: var(--primary);
    border-radius: 50%;
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
    background-color: var(--gray-200);
}

.why-us-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .why-us-content {
        grid-template-columns: 1fr 1fr;
    }
}

.why-us-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.why-us-text h2 {
    margin-bottom: 0.5rem;
}

.why-us-text > p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

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

.benefit-item {
    display: flex;
    gap: 1rem;
}

.benefit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.benefit-item h4 {
    margin-bottom: 0.25rem;
    color: var(--gray-900);
}

.benefit-item p {
    font-size: 0.9rem;
    margin: 0;
}

/* Location Section */
.location {
    padding: 5rem 0;
    background-color: var(--white);
}

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

@media (min-width: 1024px) {
    .location-content {
        grid-template-columns: 1fr 1fr;
    }
}

.location-info {
    padding: 2rem;
    background-color: var(--gray-200);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-300);
}

.location-info h3 {
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.location-info p {
    margin-bottom: 0.75rem;
    color: var(--gray-700);
    font-size: 1rem;
}

.location-hours {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.hours-list {
    list-style: none;
    margin-left: 0;
}

.hours-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
}

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

.location-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-map iframe {
    display: block;
    width: 100%;
    height: 400px;
}

/* Process Section */
.process {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
}

.process-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

@media (min-width: 768px) {
    .process-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    flex: 1;
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.step-content p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.process-connector {
    display: none;
    width: 2rem;
    height: 2px;
    background-color: var(--primary);
    position: absolute;
    top: 1.75rem;
}

@media (min-width: 768px) {
    .process-connector {
        display: block;
        width: 2px;
        height: 2rem;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Products Carousel Section */
.products-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.carousel-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
}

.carousel-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    min-width: calc(100% / 3);
    padding: 1rem;
}

@media (max-width: 1024px) {
    .carousel-item {
        min-width: calc(100% / 2);
    }
}

@media (max-width: 640px) {
    .carousel-item {
        min-width: 100%;
    }
}

.product-card {
    background-color: var(--white);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.product-image {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card h3 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
    font-size: 1.1rem;
}

.product-category {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    flex-grow: 1;
}

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

.carousel-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: none;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .carousel-container {
        gap: 1rem;
    }

    .carousel-btn {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.2rem;
    }
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background-color: var(--white);
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.contact-card {
    padding: 2rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.contact-card p {
    margin: 0.25rem 0;
}

.contact-detail {
    font-size: 0.85rem;
    color: var(--gray-500);
}



/* Footer */
.footer {
    background-color: var(--gray-900);
    color: var(--white);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

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

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

.footer-section a {
    color: var(--gray-500);
    transition: var(--transition);
    font-size: 0.9rem;
}

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

.footer-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-contact p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

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

.social-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px #ffffff;
    transition: var(--transition);
    z-index: 999;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    background-color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px #ffffff;
}

.whatsapp-button:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    display: inline-block;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.8);
    }
}

@media (max-width: 768px) {
    .whatsapp-button {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    .process-steps {
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .location-map iframe {
        height: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

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

.service-card,
.accessory-card,
.contact-card,
.benefit-item {
    animation: fadeIn 0.6s ease-out;
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Avaliações Section */
.reviews {
    padding: 5rem 0;
    background-color: var(--secondary);
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.review-card {
    min-width: calc((100% - 2rem) / 2); /* Exibe 2 cards lado a lado no PC */
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-300);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-author {
    color: var(--gray-900);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.review-stars {
    color: #FBBC05; /* Amarelo oficial do Google */
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-text {
    color: var(--gray-700);
    font-style: italic;
    margin: 0;
    flex-grow: 1;
}

/* Responsividade para celulares: 1 card por vez */
@media (max-width: 768px) {
    .review-card {
        min-width: 100%;
    }
}

/* Ajuste para as imagens reais dos produtos no carrossel */
.product-image {
    margin-bottom: 1rem;
    height: 180px; /* Define uma altura fixa para todas as imagens ficarem alinhadas */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* Faz a imagem caber no espaço sem cortar ou esticar */
    border-radius: 0.5rem;
}

/* Oculta a imagem do topo em telas menores que 768px (celulares) */
@media (max-width: 768px) {
    .hero-image {
        display: none;
    }
}