/*
Theme Name: AutoShow Chevrolet Landing Page
Theme URI: http://autoshow-chevrolet.local
Author: Rafael Sequoia
Author URI:
Description: Landing page customizada para captação de leads - Autoshow Chevrolet
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: autoshow-theme
Domain Path: /languages
*/

/* ===== FONTS CHEVROLET ===== */
@font-face {
  font-family: 'ChevySans';
  src: url('./assets/fonts/ChevySans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'ChevySans';
  src: url('./assets/fonts/ChevySans-Demi.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'ChevySans';
  src: url('./assets/fonts/ChevySans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

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

html, body {
  font-family: 'ChevySans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

body {
  background-color: #fff;
}

a {
  color: #0073aa;
  text-decoration: none;
}

a:hover {
  color: #005a87;
}

/* Estrutura Básica */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== LANDING PAGE HERO SECTION ===== */
body.landing-page {
  margin: 0;
  padding: 0;
}

.hero {
  /* Imagem de fundo que cobre toda a viewport */
  min-height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 40px 20px;
  overflow: hidden;
}

/* Overlay escuro sobre a imagem para melhor legibilidade do texto */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(20, 30, 50, 0.7) 0%, rgba(30, 50, 80, 0.6) 50%, rgba(20, 30, 50, 0.7) 100%);
  z-index: 1;
}

/* Conteúdo dentro do hero */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

/* Header do Hero */
.hero-header {
  margin-bottom: 15px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: -1px;
}

.hero-logo {
  max-width: 540px;
  height: auto;
  margin-bottom: 15px;
  filter: drop-shadow(2px 2px 8px rgba(0, 0, 0, 0.4));
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #e8e8e8;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
  font-weight: 300;
}

/* CTA Section */
.hero-cta {
  margin-bottom: 40px;
}

.cta-title {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-description {
  font-size: 1.1rem;
  color: #f0f0f0;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* ===== NOTIFICAÇÕES ===== */
.form-notification {
  padding: 16px 24px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
  animation: slideDown 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-notification-sucesso {
  background-color: #10b981;
  color: white;
  border-left: 4px solid #059669;
}

.form-notification-erro {
  background-color: #ef4444;
  color: white;
  border-left: 4px solid #dc2626;
}

.form-notification.fade-out {
  animation: fadeOut 0.3s ease;
  opacity: 0;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* ===== FORMULÁRIO DE LEADS ===== */
.lead-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  margin-bottom: 20px;
}

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

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.form-input:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-input::placeholder {
  color: #999;
}

/* Select styling */
.form-input[type="email"],
.form-input[type="tel"],
.form-input[type="text"],
.form-input select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.form-input[type="email"],
.form-input[type="tel"],
.form-input[type="text"] {
  background-image: none;
}

/* Checkbox */
.form-group.checkbox {
  display: flex;
  align-items: center;
  margin: 25px 0;
}

.form-group.checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-right: 12px;
  cursor: pointer;
  accent-color: #dc2626;
}

.form-group.checkbox label {
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  line-height: 1.4;
}

/* Botão Submit */
.btn-submit {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.4);
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

.btn-submit:active {
  transform: translateY(0);
}

/* Disclaimer */
.form-disclaimer {
  font-size: 0.85rem;
  color: #999;
  margin-top: 15px;
  font-style: italic;
}

/* ===== SEÇÃO DE BENEFÍCIOS ===== */
.benefits {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8e8e8 100%);
  padding: 80px 20px;
  margin-top: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.benefit-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid #dc2626;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #333;
}

.benefit-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
  background-color: #1a1a1a;
  padding: 40px 0;
  text-align: center;
  color: #ccc;
  margin-top: 0;
  border-top: none;
}

footer p {
  margin: 8px 0;
  font-size: 0.95rem;
}

footer p:first-child {
  color: #ddd;
  font-weight: 500;
}

.footer-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
  .hero-logo {
    max-width: 396px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  html, body {
    font-size: 14px;
  }

  .container {
    padding: 0 15px;
  }

  .hero {
    min-height: 120vh;
    background-attachment: scroll;
    padding: 15px 15px 30px 15px;
  }

  .hero-logo {
    max-width: 396px;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.5rem;
  }

  .cta-description {
    font-size: 0.95rem;
  }

  .lead-form {
    padding: 30px 20px;
  }

  .form-notification {
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .form-input {
    padding: 12px 14px;
    font-size: 16px; /* Previne zoom em iOS */
  }

  .btn-submit {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .benefits {
    padding: 60px 15px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .benefit-card {
    padding: 30px 20px;
  }

  .benefit-icon {
    font-size: 2.5rem;
  }

  .benefit-card h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
    padding: 15px 20px 30px 20px;
  }

  .hero-header {
    margin-bottom: 12px;
  }

  .hero-logo {
    max-width: 324px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .cta-description {
    font-size: 0.95rem;
  }

  .hero-cta {
    margin-bottom: 35px;
  }

  .lead-form {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

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

  .form-group.checkbox {
    margin: 20px 0;
  }

  .form-disclaimer {
    font-size: 0.85rem;
  }

  .btn-submit {
    padding: 16px 24px;
    font-size: 1.05rem;
  }

  .benefit-card {
    padding: 25px 20px;
  }

  .benefit-icon {
    font-size: 2.2rem;
  }

  .benefit-card h3 {
    font-size: 1.2rem;
  }

  .benefit-card p {
    font-size: 0.95rem;
  }
}
