/*
Theme Name: O Exame Perfeito
Theme URI: https://oexameperfeito.com.br
Author: Dra. Claudia Chagas
Author URI: https://oexameperfeito.com.br
Description: Tema personalizado para a landing page O Exame Perfeito - Workshop de USG de Tireoide
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: exame-perfeito
Tags: landing-page, one-page, responsive, custom-colors
*/

/* ===========================
   RESET E BASE
   =========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Cores principais */
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --primary-foreground: #ffffff;
  
  /* Cores de fundo */
  --background: #ffffff;
  --secondary: #f8fafc;
  --foreground: #0f172a;
  
  /* Cores de texto */
  --muted-foreground: #64748b;
  
  /* Borders */
  --border: #e2e8f0;
  
  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transições */
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===========================
   TIPOGRAFIA
   =========================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
}

/* ===========================
   CONTAINER E LAYOUT
   =========================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

section {
  padding: 4rem 0;
}

/* ===========================
   BOTÕES
   =========================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-xl);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
  box-shadow: var(--shadow-2xl);
}

.btn-lg {
  padding: 1.5rem 2rem;
  font-size: 1.125rem;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, var(--background) 50%, rgba(37, 99, 235, 0.1) 100%);
  text-align: center;
}

.hero-section h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-section .subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: var(--secondary);
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  margin: 3rem 0;
  border: 4px solid rgba(37, 99, 235, 0.2);
}

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

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.play-button {
  width: 5rem;
  height: 5rem;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 1rem;
}

.play-button svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary-foreground);
  margin-left: 0.25rem;
}

/* ===========================
   PROBLEM SECTION
   =========================== */

.problem-section {
  background-color: var(--secondary);
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background-color: var(--background);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
  transition: var(--transition);
}

.problem-item:hover {
  box-shadow: var(--shadow-lg);
}

.problem-icon {
  flex-shrink: 0;
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
}

.problem-text {
  font-size: 1.125rem;
  line-height: 1.7;
  padding-top: 0.5rem;
}

/* ===========================
   SOLUTION SECTION
   =========================== */

.solution-section {
  background-color: var(--background);
}

.solution-intro {
  font-size: 1.25rem;
  text-align: center;
  color: var(--muted-foreground);
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--secondary);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.benefit-item:hover {
  background-color: rgba(37, 99, 235, 0.05);
}

.benefit-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

.benefit-text {
  font-size: 1.125rem;
  line-height: 1.7;
}

/* ===========================
   COMPARISON TABLE
   =========================== */

.comparison-section {
  background-color: var(--secondary);
}

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

.comparison-column {
  background-color: var(--background);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.comparison-column.highlight {
  border: 3px solid var(--primary);
  position: relative;
}

.badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
}

.comparison-column h3 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.comparison-item:last-child {
  border-bottom: none;
}

.comparison-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.25rem;
}

.comparison-icon.negative {
  color: #ef4444;
}

.comparison-icon.positive {
  color: #10b981;
}

/* ===========================
   TESTIMONIALS
   =========================== */

.testimonials-section {
  background-color: var(--background);
}

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

.testimonial-card {
  background-color: var(--secondary);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
}

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

.star {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  fill: var(--primary);
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.author-name {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-specialty {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ===========================
   OFFER SECTION
   =========================== */

.offer-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--primary-foreground);
}

.offer-card {
  background-color: var(--background);
  color: var(--foreground);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--shadow-2xl);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.offer-header {
  text-align: center;
  margin-bottom: 3rem;
}

.offer-header h2 {
  color: var(--foreground);
  margin-bottom: 1rem;
}

.offer-content h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.offer-items {
  margin-bottom: 2rem;
}

.offer-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.offer-item:last-child {
  border-bottom: none;
}

.offer-icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

.pricing {
  text-align: center;
  margin: 3rem 0;
  padding: 2rem;
  background-color: var(--secondary);
  border-radius: 0.75rem;
}

.price-old {
  font-size: 1.5rem;
  text-decoration: line-through;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.price-current {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.price-installments {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

.cta-button {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
}

.security-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ===========================
   AUTHOR SECTION
   =========================== */

.author-section {
  background-color: var(--secondary);
}

.author-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background-color: var(--background);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.author-photo {
  text-align: center;
}

.photo-circle {
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(37, 99, 235, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 4px solid rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-bio h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.author-bio p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.author-credentials {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* ===========================
   GUARANTEE SECTION
   =========================== */

.guarantee-section {
  background-color: var(--background);
  text-align: center;
}

.guarantee-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  background-color: rgba(37, 99, 235, 0.1);
  border-radius: 50%;
  margin-bottom: 2rem;
}

.guarantee-icon svg {
  width: 3rem;
  height: 3rem;
  color: var(--primary);
}

.guarantee-box {
  background-color: var(--secondary);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 48rem;
  margin: 2rem auto;
}

.guarantee-box p {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.guarantee-box .highlight {
  font-weight: 700;
  color: var(--primary);
}

.guarantee-box .emphasis {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

.guarantee-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 2rem;
}

.guarantee-footer svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===========================
   FAQ SECTION
   =========================== */

.faq-section {
  background-color: var(--secondary);
}

.faq-list {
  max-width: 56rem;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--background);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

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

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  padding-top: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* ===========================
   FOOTER
   =========================== */

footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 2rem 0;
  text-align: center;
}

footer p {
  font-size: 0.875rem;
  margin: 0;
}

/* ===========================
   ANIMAÇÕES
   =========================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* ===========================
   RESPONSIVE
   =========================== */

/* Tablets */
@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
  
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .comparison-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .author-card {
    grid-template-columns: 18.75rem 1fr;
  }
  
  .photo-circle {
    width: 16rem;
    height: 16rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero-section h1 {
    font-size: 4rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .hero-section h1 {
    font-size: 4.5rem;
  }
}
