/* Variáveis de Cores */
:root {
    --primary: #DD1E21;
    --secondary: #737373;
    --light-gray: #D9D9D9;
    --accent: #4143C1;
    --white: #FFFFFF;
    --black: #000000;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--black);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.header.scroll-down {
    transform: translateY(-100%);
}

.header.scroll-up {
    transform: translateY(0);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--black);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 160px 0 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('../assets/pattern.png'); */
    opacity: 0.1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    position: relative;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

.badge span {
    font-size: 0.9rem;
    color: var(--text-color);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    animation: slideUp 0.5s ease;
}

.floating-cta-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--primary);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.floating-cta span {
    color: white;
    font-weight: 500;
}

.floating-cta .cta-button {
    background: white;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.floating-cta .cta-button:hover {
    transform: scale(1.05);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

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

.cta-button.secondary:hover {
    background: var(--primary);
    color: white;
}

/* Botões CTA */
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Seções */
section {
    padding: 100px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary);
}

/* Sobre */
.sobre-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

.pilares {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.pilares li {
    min-width: 220px;
    max-width: 300px;
    padding: 20px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.pilares li:hover {
    transform: translateY(-5px);
}

.pilares i {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 10px;
}

/* Loja */
.loja {
    background: var(--light-gray);
}

.loja-content {
    text-align: center;
}

/* Instagram Grid */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.instagram-post {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 1;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.instagram-post:hover img {
    transform: scale(1.1);
}

/* YouTube Grid */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.youtube-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Depoimentos */
.depoimentos {
    background: var(--light-gray);
}

.depoimentos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.depoimento-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.depoimento-texto {
    margin-bottom: 20px;
    font-style: italic;
}

.depoimento-autor {
    display: flex;
    flex-direction: column;
}

.depoimento-autor strong {
    color: var(--primary);
}

.depoimento-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 2px solid var(--primary);
}

.depoimento-stars {
    color: #FFD700;
    margin: 8px 0 0 0;
    font-size: 1.1rem;
}

/* Formulário de Contato */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Contato */
.contato {
    background: var(--light-gray);
    text-align: center;
}

.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: var(--primary);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
}

.whatsapp-fixed i {
    font-size: 2rem;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 40px 0;
}

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

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

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

/* Responsividade */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px;
        transform: translateY(-100%);
        transition: transform 0.3s;
    }

    .main-nav.active {
        transform: translateY(0);
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .floating-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .galeria-grid img {
        height: auto;
        max-width: 100%;
        min-width: 0;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
    .galeria {
        padding: 30px 0;
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Galeria de Computadores Montados */
.galeria {
    background: var(--light-gray);
    padding: 80px 0;
}
.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.galeria-grid img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.galeria-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Botões de avaliações */
.avaliacoes-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}
.avaliacoes-btns .cta-button.secondary {
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: 30px;
}

/* Banner Persuasivo e CTA */
.banner-topo, .banner-cta {
    background: linear-gradient(90deg, var(--primary) 60%, var(--accent) 100%);
    color: #fff;
    text-align: center;
    padding: 32px 0;
    margin-bottom: 0;
}
.banner-cta {
    background: var(--accent);
}
.banner-topo h2, .banner-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.banner-topo p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.banner-topo .cta-button, .banner-cta .cta-button {
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    padding: 14px 36px;
    margin-top: 10px;
}

/* Lightbox Galeria */
.lightbox {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    transition: opacity 0.3s;
}
.lightbox-content {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    background: #fff;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 40px;
    right: 60px;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2100;
    transition: color 0.2s;
}
.lightbox-close:hover {
    color: var(--primary);
}
@media (max-width: 768px) {
    .lightbox-content {
        max-width: 98vw;
        max-height: 60vh;
    }
    .lightbox-close {
        top: 10px;
        right: 20px;
    }
}

/* Why Choose THINFORMA */
.why-thinforma {
    background: var(--white);
    padding: 80px 0 60px 0;
}
.why-thinforma h2 {
    color: var(--primary);
    margin-bottom: 40px;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    justify-items: center;
}
.why-item {
    background: var(--light-gray);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}
.why-item:hover {
    transform: translateY(-6px) scale(1.03);
}
.why-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 18px;
}
.why-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent);
}
.why-item p {
    font-size: 1rem;
    color: var(--secondary);
}

.input-error {
    border: 2px solid #DD1E21 !important;
    background: #fff0f0;
    color: #DD1E21;
}

.ver-mais-depoimento {
    background: none;
    border: none;
    color: var(--accent);
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    text-decoration: underline;
    font-size: 1rem;
}
.ver-mais-depoimento:hover {
    color: var(--primary);
}

.modal-depoimento {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    transition: opacity 0.3s;
}
.modal-depoimento-content {
    background: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    max-width: 90vw;
    max-height: 80vh;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    text-align: center;
    position: relative;
    overflow-y: auto;
}
.modal-depoimento-close {
    position: absolute;
    top: 16px;
    right: 24px;
    color: #333;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 3100;
    transition: color 0.2s;
}
.modal-depoimento-close:hover {
    color: var(--primary);
}
@media (max-width: 768px) {
    .modal-depoimento-content {
        padding: 16px 6px;
        max-width: 98vw;
        max-height: 70vh;
    }
    .modal-depoimento-close {
        top: 8px;
        right: 12px;
    }
}

.youtube-thumbs {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    min-height: 0 !important;
}
.youtube-thumb {
    width: 320px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.2s;
    background: #000;
    display: block;
    max-width: 100%;
    height: auto;
}
.youtube-thumb:hover {
    transform: scale(1.03);
}
@media (max-width: 900px) {
    .youtube-thumb {
        width: 100%;
        max-width: 340px;
    }
    .youtube-thumbs {
        gap: 10px;
    }
}
@media (max-width: 600px) {
    .youtube-thumbs {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .youtube-thumb {
        width: 98vw;
        max-width: 98vw;
    }
}

.videos {
    padding-bottom: 40px;
    margin-bottom: 0;
}
.videos .container {
    padding-bottom: 0;
    margin-bottom: 0;
}
.videos .cta-button {
    margin-top: 24px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq {
  padding: 60px 0 40px 0;
  background: #f8f9fa;
}
.faq .container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-accordion {
  margin-top: 30px;
}
.faq-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 10px;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  padding: 18px 0 18px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question.active, .faq-question:hover {
  color: #0a6cff;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4,0,0.2,1);
  background: none;
  padding: 0 0;
}
.faq-answer.open {
  padding: 10px 0 18px 0;
  max-height: 300px;
}
@media (max-width: 600px) {
  .faq .container {
    padding: 0 10px;
  }
  .faq-question {
    font-size: 1rem;
    padding: 14px 0 14px 0;
  }
}

/* Testimonials Page Styles */
.testimonials-hero {
  background: linear-gradient(135deg, #0a6cff 0%, #0056cc 100%);
  padding: 120px 0 80px 0;
  text-align: center;
  color: white;
}
.testimonials-hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}
.testimonials-hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}
.testimonials-page {
  padding: 60px 0;
  background: #f8f9fa;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.testimonial-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid #0a6cff;
}
.testimonial-info h3 {
  margin: 0 0 5px 0;
  color: #1a1a1a;
  font-size: 1.1rem;
}
.stars {
  color: #ffd700;
  font-size: 1rem;
  margin-bottom: 5px;
}
.date {
  color: #666;
  font-size: 0.9rem;
}
.testimonial-content p {
  color: #333;
  line-height: 1.6;
  font-style: italic;
  margin: 0;
}
.testimonials-cta {
  text-align: center;
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.testimonials-cta h2 {
  color: #1a1a1a;
  margin-bottom: 15px;
  font-size: 2rem;
}
.testimonials-cta p {
  color: #666;
  margin-bottom: 30px;
  font-size: 1.1rem;
}
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-button.secondary {
  background: #6c757d;
  color: white;
}
.cta-button.secondary:hover {
  background: #5a6268;
}
@media (max-width: 768px) {
  .testimonials-hero h1 {
    font-size: 2.5rem;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .testimonial-card {
    padding: 20px;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .cta-button {
    width: 100%;
    max-width: 300px;
  }
} 