/**
 * Landing Page - Atestado Fácil
 * Mobile First Design
 */

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #d1fae5 100%);
  color: var(--color-text);
  padding: 40px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-content {
  max-width: 100%;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--color-text);
}

.hero-content .hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.hero-content > p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.hero-benefits {
  list-style: none;
  margin-bottom: 24px;
  text-align: left;
  display: inline-block;
}

.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--color-text);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.hero-benefits svg {
  flex-shrink: 0;
  color: var(--color-success);
  margin-top: 2px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-image {
  order: -1;
}

.hero-image-placeholder {
  width: 200px;
  height: 160px;
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.15), rgba(251, 146, 60, 0.1));
  border: 2px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 3rem;
}

/* Tablet */
@media (min-width: 576px) {
  .hero {
    padding: 60px 0 80px;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .hero-image-placeholder {
    width: 280px;
    height: 220px;
    font-size: 4rem;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .hero {
    padding: 80px 0 100px;
  }
  
  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    text-align: left;
  }
  
  .hero-content h1 {
    font-size: clamp(2.25rem, 4vw, 3rem);
  }
  
  .hero-content > p {
    max-width: 480px;
  }
  
  .hero-benefits {
    display: block;
  }
  
  .hero-actions {
    justify-content: flex-start;
  }
  
  .hero-image {
    order: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hero-image-placeholder {
    width: 100%;
    max-width: 380px;
    height: 320px;
  }
}

/* Notebooks pequenos (1024px - 1366px) */
@media (min-width: 992px) and (max-width: 1366px) {
  .hero {
    padding: 50px 0 70px;
  }
  
  .hero .container {
    gap: 32px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .hero-content > p {
    font-size: 0.875rem;
    margin-bottom: 20px;
    max-width: 420px;
  }
  
  .hero-benefits {
    margin-bottom: 20px;
  }
  
  .hero-benefits li {
    font-size: 0.875rem;
    margin-bottom: 8px;
  }
  
  .hero-image-placeholder {
    max-width: 320px;
    height: 260px;
  }
}

/* ========== SECTIONS ========== */
.section {
  padding: 48px 0;
}

.section-alt {
  background: #f8fafc;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--color-text);
  padding: 0 8px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 0.9375rem;
  line-height: 1.7;
  padding: 0 8px;
}

@media (min-width: 576px) {
  .section {
    padding: 64px 0;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    margin-bottom: 40px;
  }
}

@media (min-width: 992px) {
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .section-subtitle {
    margin-bottom: 48px;
  }
}

/* Notebooks pequenos - Seções */
@media (min-width: 992px) and (max-width: 1366px) {
  .section {
    padding: 56px 0;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 10px;
  }
  
  .section-subtitle {
    font-size: 0.9rem;
    margin-bottom: 32px;
    max-width: 500px;
  }
}

/* ========== STEPS (Como Funciona) ========== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.step-card {
  text-align: center;
  padding: 24px 20px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.step-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--color-text);
}

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

@media (min-width: 576px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .step-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  
  .step-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
  
  .step-icon {
    width: 64px;
    height: 64px;
    font-size: 1.75rem;
  }
  
  .step-card h3 {
    font-size: 1.125rem;
  }
  
  .step-card p {
    font-size: 0.9375rem;
  }
}

/* Notebooks pequenos - Steps */
@media (min-width: 992px) and (max-width: 1366px) {
  .steps-grid {
    gap: 20px;
  }
  
  .step-card {
    padding: 20px 16px;
  }
  
  .step-icon {
    width: 52px;
    height: 52px;
    font-size: 1.375rem;
    margin-bottom: 12px;
  }
  
  .step-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
  }
  
  .step-card p {
    font-size: 0.8125rem;
  }
}

/* ========== BENEFITS ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.benefit-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.benefit-card .icon {
  width: 44px;
  height: 44px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.benefit-card h3 {
  font-size: 0.9375rem;
  margin-bottom: 6px;
  color: var(--color-text);
}

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

@media (min-width: 576px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .benefit-card {
    padding: 24px;
  }
}

@media (min-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .benefit-card .icon {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
  }
  
  .benefit-card h3 {
    font-size: 1rem;
  }
  
  .benefit-card p {
    font-size: 0.9375rem;
  }
}

/* Notebooks pequenos - Benefits */
@media (min-width: 992px) and (max-width: 1366px) {
  .benefits-grid {
    gap: 16px;
  }
  
  .benefit-card {
    padding: 18px;
  }
  
  .benefit-card .icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  
  .benefit-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
  }
  
  .benefit-card p {
    font-size: 0.8125rem;
    line-height: 1.5;
  }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  padding: 48px 0;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.testimonials .section-title {
  color: #000000;
}

.testimonials .section-subtitle {
  color: #000000;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.testimonial-avatar svg {
  width: 28px;
  height: 28px;
}

.testimonial-card .stars {
  color: var(--color-accent);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.testimonial-card blockquote {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 12px;
  font-style: italic;
}

.testimonial-card .author {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}

.testimonial-card .role {
  color: #6b7280;
  font-size: 0.75rem;
  margin-top: 2px;
}

@media (min-width: 576px) {
  .testimonials {
    padding: 64px 0;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .testimonial-card:nth-child(3) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .testimonial-card {
    padding: 28px 24px;
  }
}

@media (min-width: 992px) {
  .testimonials {
    padding: 80px 0;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .testimonial-card:nth-child(3) {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }
  
  .testimonial-avatar {
    width: 64px;
    height: 64px;
  }
  
  .testimonial-avatar svg {
    width: 36px;
    height: 36px;
  }
  
  .testimonial-card blockquote {
    font-size: 0.9375rem;
  }
}

/* Notebooks pequenos - Testimonials */
@media (min-width: 992px) and (max-width: 1366px) {
  .testimonials {
    padding: 56px 0;
  }
  
  .testimonials-grid {
    gap: 16px;
  }
  
  .testimonial-card {
    padding: 20px 16px;
  }
  
  .testimonial-avatar {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }
  
  .testimonial-avatar svg {
    width: 24px;
    height: 24px;
  }
  
  .testimonial-card .stars {
    font-size: 0.875rem;
    margin-bottom: 8px;
  }
  
  .testimonial-card blockquote {
    font-size: 0.8125rem;
    margin-bottom: 10px;
  }
  
  .testimonial-card .author {
    font-size: 0.8125rem;
  }
  
  .testimonial-card .role {
    font-size: 0.6875rem;
  }
}

/* ========== FAQ ========== */
.section-alt#faq {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
}

.faq-item:first-child {
  border-top: 1px solid #e5e7eb;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: left;
  background: transparent;
  border: none;
  color: #111827;
  cursor: pointer;
  transition: color 0.2s;
  gap: 12px;
}

.faq-question:hover {
  color: #10b981;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: #6b7280;
  width: 20px;
  height: 20px;
}

.faq-item.open .faq-question {
  color: #10b981;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
  color: #10b981;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
  transition: max-height 0.4s ease-in;
}

.faq-answer-inner {
  padding-bottom: 16px;
  color: #4b5563;
  font-size: 0.875rem;
  line-height: 1.7;
}

@media (min-width: 576px) {
  .faq-question {
    padding: 20px 0;
    font-size: 1rem;
  }
  
  .faq-answer-inner {
    padding-bottom: 20px;
    font-size: 0.9375rem;
  }
}

/* Notebooks pequenos - FAQ */
@media (min-width: 992px) and (max-width: 1366px) {
  .faq-list {
    max-width: 640px;
  }
  
  .faq-question {
    padding: 16px 0;
    font-size: 0.9375rem;
  }
  
  .faq-answer-inner {
    padding-bottom: 16px;
    font-size: 0.875rem;
  }
}

/* ========== HOME BLOG ========== */
.home-blog {
  padding: 48px 0;
}

.home-blog .section-header {
  margin-bottom: 32px;
}

.home-blog .blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.btn-ver-mais {
  text-align: center;
  margin-top: 32px;
}

@media (min-width: 576px) {
  .home-blog .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .home-blog .blog-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .home-blog {
    padding: 80px 0;
  }
  
  .home-blog .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .home-blog .blog-card:last-child:nth-child(odd) {
    max-width: none;
    margin: 0;
  }
}

/* Notebooks pequenos - Home Blog */
@media (min-width: 992px) and (max-width: 1366px) {
  .home-blog {
    padding: 56px 0;
  }
  
  .home-blog .section-header {
    margin-bottom: 24px;
  }
  
  .home-blog .blog-grid {
    gap: 16px;
  }
  
  .btn-ver-mais {
    margin-top: 24px;
  }
}
