/*
Theme Name: Agostinho Instrutor Particular
Theme URI: https://agostinhoinstrutor.com.br
Author: Agostinho Instrutor
Description: Tema personalizado para landing page de aulas de direção em Jundiaí.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: agostinho-instrutor
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ========== VARIÁVEIS ========== */
:root {
  --primary: #1e3a6e;
  --primary-light: #2a4d8f;
  --primary-foreground: #ffffff;
  --accent: #e8960a;
  --accent-foreground: #1e2a3a;
  --success: #2e9b6e;
  --success-foreground: #ffffff;
  --background: #f5f7fa;
  --foreground: #1e2a3a;
  --card: #ffffff;
  --muted: #eef1f6;
  --muted-foreground: #5e6d82;
  --border: #dde3ed;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-card: 0 4px 24px -4px rgba(30, 58, 110, 0.08);
  --shadow-elevated: 0 12px 40px -8px rgba(30, 58, 110, 0.15);
  --radius: 0.75rem;
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ========== LAYOUT ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-padding {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section-padding { padding: 6rem 1rem; }
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.site-header .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
}

.site-header .logo span { color: var(--primary); }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

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

.nav-desktop a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-desktop a:hover { color: var(--foreground); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  background: var(--success);
  color: var(--success-foreground);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-whatsapp:hover { opacity: 0.9; }

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-foreground);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-accent:hover { opacity: 0.9; }

.btn-whatsapp-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  background: var(--success);
  color: var(--success-foreground);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  transition: opacity 0.2s;
  box-shadow: var(--shadow-elevated);
  border: none;
  cursor: pointer;
}

.btn-whatsapp-lg:hover { opacity: 0.9; }

/* ========== MOBILE NAV ========== */
.nav-mobile-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  font-size: 1.5rem;
}

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

.nav-mobile {
  display: none;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding-bottom: 1rem;
}

.nav-mobile.active { display: block; }

@media (min-width: 768px) {
  .nav-mobile { display: none !important; }
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.nav-mobile a:hover { color: var(--foreground); }

/* ========== HERO ========== */
.hero {
  background: var(--card);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  min-height: 85vh;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
    padding-bottom: 0;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  background: rgba(30, 58, 110, 0.1);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.025em;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 3.4rem; }
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p.subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 32rem;
  line-height: 1.7;
}

.hero p.subtitle strong { color: var(--foreground); }

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

@media (min-width: 640px) {
  .hero-buttons { flex-direction: row; }
}

.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.hero-badges span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.dot-success {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

@media (min-width: 1024px) {
  .hero-image-wrapper { justify-content: flex-end; }
}

.hero-image-bg {
  position: absolute;
  inset: -1rem;
  background: rgba(30, 58, 110, 0.05);
  border-radius: 1.5rem;
  transform: rotate(-3deg);
}

.hero-image-wrapper img {
  position: relative;
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
  max-width: 28rem;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* ========== CARD GRID SECTIONS ========== */
.benefits-grid,
.differentials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .benefits-grid,
  .differentials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(3, 1fr); }
  .differentials-grid { grid-template-columns: repeat(3, 1fr); max-width: 56rem; margin-left: auto; margin-right: auto; }
}

.benefit-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(221, 227, 237, 0.5);
  transition: box-shadow 0.3s;
}

.benefit-card:hover { box-shadow: var(--shadow-elevated); }

.benefit-card .icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(30, 58, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.benefit-card h3 {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
}

.differential-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(221, 227, 237, 0.5);
}

.differential-card .icon-box {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: rgba(232, 150, 10, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 1.25rem;
}

.differential-card p {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.6;
}

/* ========== FOR WHO ========== */
.for-who {
  background: var(--primary);
  color: var(--primary-foreground);
}

.for-who h2 { color: var(--primary-foreground); }

.for-who .subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.for-who-list {
  max-width: 42rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.for-who-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
}

.for-who-item .check {
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.for-who-item span { font-size: 1rem; }

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.about-image-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.about-image-bg {
  position: absolute;
  inset: -0.75rem;
  background: rgba(232, 150, 10, 0.2);
  border-radius: 1.5rem;
  transform: rotate(2deg);
}

.about-image-wrapper img {
  position: relative;
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
  width: 18rem;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about-image-wrapper img { width: 20rem; }
}

.about-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .about-content h2 { font-size: 2.25rem; }
}

.about-content .name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.about-content .text-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.about-content .text-block strong { color: var(--foreground); }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.about-stat {
  background: var(--muted);
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
}

.about-stat .number {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.about-stat .label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.testimonial-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(221, 227, 237, 0.5);
}

.testimonial-stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 1.25rem;
}

.testimonial-card .quote {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--foreground);
  font-style: italic;
  margin-bottom: 1.25rem;
}

.testimonial-card .author { font-family: var(--font-display); font-weight: 700; font-size: 0.875rem; color: var(--foreground); }
.testimonial-card .city { font-size: 0.75rem; color: var(--muted-foreground); }

/* ========== BOOKING ========== */
.booking { background: var(--muted); }

.booking-inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.booking-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.booking-embed {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  margin-bottom: 2rem;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-embed p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ========== FAQ ========== */
.faq-list {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid rgba(221, 227, 237, 0.5);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--foreground);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--muted-foreground);
  transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer { display: block; }

/* ========== CTA FINAL ========== */
.cta-final {
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.cta-final h2 {
  color: var(--primary-foreground);
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-final h2 { font-size: 2.25rem; }
}

.cta-final p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-final .small-text {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  margin-top: 1.5rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--foreground);
  padding: 3rem 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  font-size: 0.875rem;
}

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

.site-footer .brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary-foreground);
  margin-bottom: 0.5rem;
}

.site-footer .brand-sub {
  color: rgba(255,255,255,0.6);
}

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

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

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

.footer-copy {
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .footer-copy { text-align: right; }
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--success);
  color: var(--success-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-elevated);
  animation: pulse-whatsapp 2s ease-in-out infinite;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
}

.whatsapp-float:hover { opacity: 0.9; }

@keyframes pulse-whatsapp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up { animation: fadeInUp 0.6s ease-out both; }
.animate-fade-in-up-delay { animation: fadeInUp 0.6s ease-out 0.15s both; }

/* ========== SECTION HEADINGS ========== */
.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

.section-title-with-sub {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--foreground);
  text-align: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title-with-sub { font-size: 2.25rem; }
}

.section-subtitle {
  text-align: center;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  margin-bottom: 3.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
