/* =============================================
   BABBO STENO — Landing Page CSS
   Design: Blu Classico + Oro Antico
   ============================================= */

/* === 1. VARIÁVEIS CSS === */
:root {
  --navy: #1B2A4A;
  --navy-light: #2C4570;
  --gold: #D4A843;
  --gold-dark: #B8892A;
  --terracotta: #C17A4A;
  --parchment: #F5F0E8;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --text: #2D2D2D;
  --text-light: #666666;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Lato', Arial, sans-serif;
  --container: 1200px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(27, 42, 74, 0.10);
  --transition: all 0.3s ease;
}

/* === 2. RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* === 3. CONTAINER === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* === 4. TIPOGRAFIA === */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.25;
}
.section__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 40px;
  text-align: center;
}
.section__title--light {
  color: var(--white);
}
.section__title em {
  font-style: italic;
  color: var(--gold);
}

/* === 5. BOTÕES === */
.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.5px;
}
.btn--primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(212, 168, 67, 0.35);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: rgba(255,255,255,0.25);
  transform: skewX(-20deg);
  transition: left 0.4s ease;
}
.btn--primary:hover::after { left: 150%; }
.btn--primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 168, 67, 0.45);
}
.btn--large {
  padding: 20px 56px;
  font-size: 1.15rem;
}

/* === 6. HERO === */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__badge {
  display: inline-block;
  background: rgba(212, 168, 67, 0.15);
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.2;
}
.hero__title span {
  color: var(--gold);
  display: block;
  font-style: italic;
}
.hero__subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero__subtitle strong { color: var(--white); }
.hero__price {
  margin-top: 16px;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}
.hero__price strong { color: var(--gold); }
.hero__book {
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: rotate(2deg);
  transition: var(--transition);
}
.hero__book:hover { transform: rotate(0deg) scale(1.02); }

/* === 7. PROBLEM === */
.problem {
  background: var(--parchment);
  padding: 80px 0;
}
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.problem__card {
  background: var(--white);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.problem__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.14);
}
.problem__icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}
.problem__quote {
  background: var(--white);
  border-left: 6px solid var(--gold);
  padding: 28px 36px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--navy);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

/* === 8. SOLUTION === */
.solution {
  background: var(--navy);
  padding: 80px 0;
}
.solution__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.solution__text p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 16px;
}
.solution__text strong { color: var(--white); }
.solution__text em { color: var(--gold); font-style: italic; }
.solution__quote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  background: rgba(212, 168, 67, 0.08);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: rgba(255,255,255,0.9);
  font-style: italic;
  margin-top: 24px;
}
.solution__author-img {
  border-radius: var(--radius);
  border: 4px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

/* === 9. VALUE STACK === */
.value {
  background: var(--parchment);
  padding: 80px 0;
  text-align: center;
}
.value__list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: left;
}
.value__list li {
  font-size: 1.05rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(27,42,74,0.08);
  color: var(--text);
}
.value__list li strong { color: var(--navy); }
.value__price-box {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 40px 48px;
  max-width: 480px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.value__price-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
  font-weight: 700;
}
.value__prices {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}
.value__price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.value__format {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.value__amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
}
.value__price-divider {
  color: var(--gold);
  font-size: 2rem;
  font-weight: 300;
}

/* === 10. RECENSIONI === */
.reviews {
  background: var(--white);
  padding: 80px 0;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.reviews__card {
  background: var(--parchment);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.reviews__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(27, 42, 74, 0.12);
}
.reviews__quote-mark {
  font-family: var(--font-heading);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
  position: absolute;
  top: 8px;
  left: 20px;
}
.reviews__card p {
  padding-top: 32px;
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
}
.reviews__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviews__avatar {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.reviews__author strong {
  font-size: 0.9rem;
  color: var(--navy);
}

/* === 11. AUTORE === */
.author {
  background: var(--navy);
  padding: 80px 0;
}
.author__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}
.author__photo {
  border-radius: var(--radius);
  border: 4px solid var(--gold);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.author__label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 12px;
}
.author__bio p {
  color: rgba(255,255,255,0.82);
  margin-bottom: 14px;
}
.author__bio strong { color: var(--white); }
.author__isbn {
  color: rgba(255,255,255,0.5) !important;
  font-size: 0.85rem;
  margin-top: 24px !important;
}

/* === 12. PIATTAFORME === */
.platforms {
  background: var(--parchment);
  padding: 80px 0;
  text-align: center;
}
.platforms__subtitle {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 620px;
  margin: -20px auto 48px;
}
.platforms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 48px;
}
.platforms__btn {
  display: block;
  padding: 14px 16px;
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  transition: var(--transition);
}
.platforms__btn:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.platforms__cta {
  margin-top: 16px;
}
.platforms__tagline {
  margin-top: 20px;
  color: var(--text-light);
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1rem;
}

/* === 13. FOOTER === */
.footer {
  background: var(--dark);
  padding: 32px 0;
  border-top: 3px solid var(--gold);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.footer__inner strong { color: rgba(255,255,255,0.8); }

/* === REDES SOCIAIS NO FOOTER === */
.footer__social {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  width: 100%;
}
.footer__social a {
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
.footer__social a:hover {
  color: var(--gold);
  background: rgba(212, 168, 67, 0.15);
  transform: translateY(-3px);
}

/* === BOTÃO WHATSAPP FLUTUANTE === */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 1000;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* === 14. ANIMAÇÕES === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__content { animation: fadeInUp 0.8s ease forwards; }
.hero__image   { animation: fadeInUp 0.8s ease 0.2s both; }

/* === 15. RESPONSIVIDADE === */
@media (max-width: 1024px) {
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .platforms__grid { grid-template-columns: repeat(3, 1fr); }
}

/* === 16. INTERVISTA VIDEO === */
.interview {
  background: var(--white);
  padding: 80px 0;
  text-align: center;
}
.interview__subtitle {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 620px;
  margin: -20px auto 40px;
}
.interview__video-wrapper {
  position: relative;
  padding-top: 56.25%; /* aspect ratio 16:9 */
  max-width: 860px;
  margin: 0 auto;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(27,42,74,0.12);
}
.interview__video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsividade do vídeo (768px) */
@media (max-width: 768px) {
  .interview__video-wrapper {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero__inner,
  .solution__inner,
  .author__inner { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .hero__image { order: -1; }
  .hero__book { transform: none; max-width: 240px; margin: 0 auto; }
  .problem__grid { grid-template-columns: 1fr; }
  .reviews__grid { grid-template-columns: 1fr; }
  .platforms__grid { grid-template-columns: repeat(2, 1fr); }
  .value__price-box { padding: 28px 24px; }
  .section__title { font-size: 1.7rem; }
  .footer__inner { flex-direction: column; text-align: center; }
  .btn--large { padding: 16px 32px; font-size: 1rem; }
  
  /* Redes sociais mobile */
  .footer__social {
    margin-top: 16px;
  }
  
  /* WhatsApp mobile */
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 480px) {
  .platforms__grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 1.8rem; }
}
