/*
Theme Name: Teatro na Prática
Theme URI: https://teatronapratica.com.br
Author: Teatro na Prática
Author URI: https://teatronapratica.com.br
Description: Tema personalizado para a landing page do Teatro na Prática - Escola de Teatro em Porto Alegre
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teatro-na-pratica
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #f5f4f4;
  color: #241803;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ========================================
   VARIÁVEIS CSS
   ======================================== */
:root {
  --tnp-orange: #d26118;
  --tnp-yellow: #e59c0a;
  --tnp-brown: #241803;
  --tnp-beige: #d8a47d;
  --tnp-red: #e1050a;
  --tnp-offwhite: #f5f4f4;
  --tnp-charcoal: #232323;
  --tnp-white: #ffffff;
}

/* ========================================
   TIPOGRAFIA
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 3rem;
}

/* ========================================
   UTILITÁRIOS
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--tnp-orange);
  color: var(--tnp-white);
}

.btn-primary:hover {
  background-color: #b8520f;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--tnp-white);
  color: var(--tnp-brown);
}

.btn-yellow {
  background-color: var(--tnp-yellow);
  color: var(--tnp-brown);
}

.btn-yellow:hover {
  background-color: #c98a09;
}

.btn-brown {
  background-color: var(--tnp-brown);
  color: var(--tnp-white);
}

.btn-brown:hover {
  background-color: #1a1202;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(36, 24, 3, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

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

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

.navbar-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.navbar-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tnp-white);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-links {
  display: flex;
  gap: 2rem;
}

.navbar-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: var(--tnp-orange);
}

.navbar-cta {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-btn span {
  width: 25px;
  height: 2px;
  background-color: var(--tnp-white);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background-color: var(--tnp-brown);
  padding: 2rem;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--tnp-white);
  font-size: 1.1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .navbar-links,
  .navbar-cta {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--tnp-white);
  padding: 6rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(36,24,3,0.8));
  z-index: -1;
}

.hero-urgency-banner {
  background-color: var(--tnp-red);
  color: var(--tnp-white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  max-width: 900px;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.7;
}

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

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  animation: bounce 2s infinite;
}

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

.hero-scroll svg {
  width: 24px;
  height: 24px;
}

/* ========================================
   SOCIAL PROOF SECTION
   ======================================== */
.social-proof {
  background-color: var(--tnp-offwhite);
  padding: 5rem 0;
  position: relative;
}

.social-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.social-proof-item {
  padding: 2rem;
}

.social-proof-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--tnp-orange);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.social-proof-label {
  font-size: 1.1rem;
  color: var(--tnp-brown);
  opacity: 0.8;
}

@media (max-width: 768px) {
  .social-proof-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses {
  background-color: var(--tnp-white);
  padding: 5rem 0;
}

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

.course-card {
  background-color: var(--tnp-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.course-card-accent {
  height: 6px;
}

.course-card-accent.orange { background-color: var(--tnp-orange); }
.course-card-accent.yellow { background-color: var(--tnp-yellow); }
.course-card-accent.brown { background-color: var(--tnp-brown); }

.course-card-image {
  height: 200px;
  overflow: hidden;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover .course-card-image img {
  transform: scale(1.05);
}

.course-card-content {
  padding: 1.5rem;
}

.course-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--tnp-brown);
}

.course-card-description {
  font-size: 0.95rem;
  color: var(--tnp-brown);
  opacity: 0.8;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course-card-btn {
  width: 100%;
  padding: 0.875rem;
}

@media (max-width: 992px) {
  .courses-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

/* ========================================
   DIFFERENTIATORS SECTION
   ======================================== */
.differentiators {
  background-color: var(--tnp-brown);
  color: var(--tnp-white);
  padding: 5rem 0;
}

.differentiators .section-title {
  color: var(--tnp-white);
}

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

.differentiator-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: background-color 0.3s ease;
}

.differentiator-card:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.differentiator-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(210, 97, 24, 0.2);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.differentiator-icon svg {
  width: 28px;
  height: 28px;
  color: var(--tnp-orange);
}

.differentiator-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

.differentiator-content p {
  font-size: 0.95rem;
  opacity: 0.8;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .differentiators-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  background-color: var(--tnp-offwhite);
  padding: 5rem 0;
}

.testimonials-carousel {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  background-color: var(--tnp-white);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--tnp-orange);
  color: var(--tnp-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-info h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tnp-brown);
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--tnp-brown);
  opacity: 0.6;
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--tnp-orange);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--tnp-brown);
  font-style: italic;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--tnp-orange);
  background: transparent;
  color: var(--tnp-orange);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-nav-btn:hover {
  background-color: var(--tnp-orange);
  color: var(--tnp-white);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--tnp-beige);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-dot.active {
  background-color: var(--tnp-orange);
}

@media (max-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .testimonial-card {
    flex: 0 0 100%;
  }
}

/* ========================================
   PROFESSORS SECTION
   ======================================== */
.professors {
  background-color: var(--tnp-white);
  padding: 5rem 0;
}

.professors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.professor-card {
  text-align: center;
}

.professor-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--tnp-orange);
}

.professor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.professor-name {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--tnp-brown);
}

.professor-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--tnp-brown);
  opacity: 0.8;
  max-width: 350px;
  margin: 0 auto;
}

.professors-link {
  display: block;
  text-align: center;
  margin-top: 3rem;
  color: var(--tnp-orange);
  font-weight: 600;
  transition: color 0.3s ease;
}

.professors-link:hover {
  color: #b8520f;
}

@media (max-width: 640px) {
  .professors-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   CONTACT FORM SECTION
   ======================================== */
.contact {
  background: linear-gradient(135deg, var(--tnp-orange), var(--tnp-yellow));
  padding: 5rem 0;
}

.contact .section-title {
  color: var(--tnp-white);
}

.contact-form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background-color: var(--tnp-white);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--tnp-brown);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--tnp-beige);
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

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

.form-submit-btn {
  width: 100%;
  padding: 1.25rem;
  font-size: 1.1rem;
}

.form-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--tnp-brown);
  opacity: 0.6;
  margin-top: 1rem;
}

/* ========================================
   FINAL CTA SECTION
   ======================================== */
.final-cta {
  position: relative;
  padding: 8rem 0;
  text-align: center;
  color: var(--tnp-white);
}

.final-cta-background {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.final-cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(36, 24, 3, 0.85);
  z-index: -1;
}

.final-cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background-color: var(--tnp-brown);
  color: var(--tnp-white);
  padding: 4rem 0 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-logo span {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-tagline {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--tnp-orange);
}

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

.footer-links a {
  opacity: 0.8;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--tnp-orange);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   WORDPRESS OVERRIDES
   ======================================== */
.wp-block-post-content,
.entry-content {
  max-width: none;
  padding: 0;
}

body.page-template-default,
body.home {
  padding: 0;
  margin: 0;
}
