/* ============================================
   Marina Bittencourt — design tokens & base
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,500&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&display=swap');

:root{
  --rose:        #e7c3ba;
  --rose-deep:   #d9a99c;
  --rose-pale:   #f2ded8;
  --cream:       #faf6ef;
  --cream-deep:  #f1e9db;
  --brown:       #45332c;
  --brown-soft:  #7a655d;
  --terracotta:  #c97b5c;
  --terracotta-deep: #b5644a;
  --green:       #4b5c4e;
  --mustard:     #d2a72e;
  --white:       #fffdfa;

  --serif: 'Fraunces', 'Georgia', serif;
  --sans: 'Poppins', 'Segoe UI', sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 20px 45px -20px rgba(69, 51, 44, 0.35);
  --shadow-soft: 0 12px 30px -14px rgba(69, 51, 44, 0.25);

  --max: 1120px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--sans);
  color: var(--brown);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4{
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
  color: var(--brown);
  letter-spacing: -0.01em;
}

.eyebrow{
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 12.5px;
  color: var(--terracotta-deep);
}

.serif-italic{
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
}

/* decorative dotted texture used across sections */
.texture{
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

section{ position: relative; }

/* ============ buttons ============ */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16.5px;
  padding: 17px 34px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}

.btn-primary{
  background: var(--brown);
  color: var(--cream);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{
  background: var(--terracotta-deep);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -14px rgba(197, 101, 74, 0.55);
}

.btn-outline{
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--brown);
}
.btn-outline:hover{
  background: var(--brown);
  color: var(--cream);
}

.btn-block{ width: 100%; }

.btn small{
  display: block;
  font-weight: 400;
  font-size: 12px;
  opacity: 0.75;
}

/* ============ header ============ */

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(69, 51, 44, 0.08);
}

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

.logo{
  font-family: var(--sans);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--brown);
}
.logo .dot{ color: var(--terracotta); }

.header-cta{
  font-size: 14px;
  padding: 11px 22px;
}

.header-actions{
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-link{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(69,51,44,0.18);
  color: var(--brown);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social-link svg{ width: 18px; height: 18px; }
.social-link:hover{ background: var(--brown); color: var(--cream); border-color: var(--brown); }

/* ============ hero ============ */

.hero{
  background: linear-gradient(180deg, var(--rose) 0%, var(--rose) 55%, var(--rose-pale) 100%);
  padding: 68px 0 0;
  overflow: hidden;
}

.hero .wrap{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy .eyebrow{ color: var(--brown); opacity: 0.65; }

.hero h1{
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  margin: 18px 0 22px;
  color: var(--brown);
}

.hero h1 em{
  font-style: italic;
  color: var(--white);
  -webkit-text-stroke: 0;
}

.hero-tag{
  display: inline-block;
  background: var(--brown);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(20px, 2.6vw, 28px);
  padding: 6px 18px 9px;
  border-radius: 8px;
  transform: rotate(-1.4deg);
  margin: 6px 0 26px;
}

.hero-lede{
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.5;
  color: var(--brown);
  max-width: 460px;
  margin-bottom: 34px;
}
.hero-lede strong{ font-weight: 600; }

.hero-actions{ display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.hero-note{
  font-size: 13.5px;
  color: var(--brown-soft);
  max-width: 180px;
  line-height: 1.4;
}

.hero-visual{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}

.hero-visual img{
  max-width: 420px;
  width: 100%;
  filter: drop-shadow(0 35px 45px rgba(69,51,44,0.35));
  transform: rotate(1.5deg);
}

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

.hero-author{
  text-align: center;
  padding: 26px 0 40px;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

/* ============ section shells ============ */

.section{ padding: 96px 0; }
.section-cream{ background: var(--cream); }
.section-pale{ background: var(--cream-deep); }
.section-brown{ background: var(--brown); color: var(--cream); }
.section-rose{ background: var(--rose-pale); }

.section-head{
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-head .eyebrow{ display:block; margin-bottom: 14px; }
.section-head h2{ font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; }
.section-head p{
  font-family: var(--sans);
  color: var(--brown-soft);
  font-size: 16.5px;
  margin-top: 16px;
  line-height: 1.6;
}
.section-brown .section-head p{ color: rgba(250,246,239,0.75); }

/* ============ "para quem" list ============ */

.for-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 28px;
  max-width: 920px;
  margin: 0 auto;
}

.for-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid rgba(69,51,44,0.08);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--brown);
  box-shadow: 0 10px 24px -18px rgba(69,51,44,0.25);
}

.for-item .ico{
  flex: none;
  width: 26px; height: 26px;
  color: var(--terracotta);
}

.for-item.wide{ grid-column: 1 / -1; }

.for-closing{
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 21px;
  max-width: 620px;
  margin: 46px auto 0;
  color: var(--brown);
  line-height: 1.5;
}

/* ============ contents / chapters ============ */

.toc{
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.toc-item{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid rgba(69,51,44,0.12);
}
.toc-item:first-child{ border-top: 1px solid rgba(69,51,44,0.12); }

.toc-num{
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  color: var(--terracotta);
}

.toc-title{
  font-family: var(--sans);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--brown);
  margin-bottom: 4px;
}
.toc-sub{
  font-size: 14.5px;
  color: var(--brown-soft);
  line-height: 1.55;
}

/* love languages grid */

.langs{
  margin-top: 64px;
}

.langs-intro{
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}
.langs-intro .eyebrow{ display:block; margin-bottom: 10px; }
.langs-intro h3{ font-size: 26px; }
.langs-intro p{ font-family: var(--sans); color: var(--brown-soft); font-size: 15px; margin-top: 12px; line-height:1.6; }

.langs-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.lang-card{
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 26px 18px;
  text-align: center;
  border: 1px solid rgba(69,51,44,0.08);
  box-shadow: 0 10px 24px -18px rgba(69,51,44,0.25);
}

.lang-card .ico{
  width: 34px; height: 34px;
  margin: 0 auto 16px;
  color: var(--terracotta);
}

.lang-card h4{
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.35;
  color: var(--brown);
}

.langs-detail{
  margin-top: 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  font-size: 14px;
  color: var(--brown-soft);
  line-height: 1.6;
  border-left: 3px solid var(--terracotta);
}
.langs-detail strong{ color: var(--brown); }

/* ============ bonus ============ */

.bonus-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 980px;
  margin: 0 auto;
}

.bonus-card{
  background: rgba(250,246,239,0.06);
  border: 1px solid rgba(250,246,239,0.18);
  border-radius: var(--radius);
  padding: 32px 26px;
}

.bonus-badge{
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brown);
  background: var(--mustard);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.bonus-card .ico{
  width: 36px; height: 36px;
  color: var(--rose);
  margin-bottom: 18px;
}

.bonus-card h4{
  font-family: var(--sans);
  font-weight: 700;
  font-size: 17px;
  color: var(--cream);
  margin-bottom: 10px;
}

.bonus-card p{
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(250,246,239,0.72);
  margin: 0;
}

.bonus-foot{
  text-align: center;
  margin-top: 44px;
  font-size: 14px;
  color: rgba(250,246,239,0.7);
}

/* ============ mid CTA banner ============ */

.cta-banner{
  background: var(--terracotta);
  border-radius: var(--radius);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: var(--cream);
}
.cta-banner h3{
  color: var(--cream);
  font-size: 27px;
  max-width: 460px;
}
.cta-banner .btn-primary{
  background: var(--brown);
}
.cta-banner .btn-primary:hover{ background: var(--white); color: var(--brown); }

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

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

.faq-item{
  background: var(--white);
  border: 1px solid rgba(69,51,44,0.08);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item summary{
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15.5px;
  color: var(--brown);
}
.faq-item summary::-webkit-details-marker{ display:none; }

.faq-plus{
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--terracotta);
  color: var(--terracotta);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px;
  transition: transform .25s ease;
}
.faq-item[open] .faq-plus{ transform: rotate(45deg); }

.faq-item p{
  margin: 0;
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--brown-soft);
}

/* ============ final CTA ============ */

.final-cta{
  text-align: center;
}
.final-cta h2{ font-size: clamp(32px, 4vw, 46px); max-width: 680px; margin: 0 auto; line-height: 1.15; }
.final-cta p{
  font-family: var(--sans);
  color: var(--brown-soft);
  max-width: 480px;
  margin: 18px auto 36px;
  font-size: 16px;
  line-height: 1.6;
}

/* ============ footer ============ */

.site-footer{
  background: var(--brown);
  color: rgba(250,246,239,0.65);
  padding: 46px 0;
  text-align: center;
  font-size: 13px;
}
.site-footer .logo{ color: var(--cream); justify-content: center; display:flex; margin-bottom: 12px; }
.site-footer a:hover{ color: var(--cream); }

.footer-social{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 600;
  color: rgba(250,246,239,0.85);
  transition: color .2s ease;
}
.footer-social svg{ width: 17px; height: 17px; }
.footer-social:hover{ color: var(--cream); }

/* ============ home page specific ============ */

.home-hero{
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 20% 20%, var(--rose-pale), var(--rose) 60%);
  text-align: center;
}
.home-hero .wrap{ display:block; }
.home-hero h1{ font-size: clamp(36px, 6vw, 64px); line-height: 1.08; max-width: 780px; margin: 0 auto 20px; }
.home-hero p{
  font-family: var(--sans);
  color: var(--brown-soft);
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 34px;
}
.home-card{
  margin: 56px auto 0;
  max-width: 420px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  text-align: left;
}
.home-card img{
  border-radius: var(--radius-sm);
  margin: 0 auto 22px;
  max-height: 300px;
  width: auto;
  box-shadow: 0 18px 30px -18px rgba(69,51,44,0.4);
}
.home-card .eyebrow{ display:block; margin-bottom: 8px; }
.home-card h3{ font-size: 21px; margin-bottom: 10px; }
.home-card p{ font-family: var(--sans); font-size: 14.5px; color: var(--brown-soft); margin-bottom: 22px; }

/* ============ responsive ============ */

@media (max-width: 900px){
  .hero .wrap{ grid-template-columns: 1fr; text-align: center; }
  .hero-lede{ margin-left: auto; margin-right: auto; }
  .hero-actions{ justify-content: center; }
  .hero-note{ max-width: none; }
  .hero-visual{ order: -1; margin-top: 20px; }
  .hero-visual img{ max-width: 300px; }

  .for-list{ grid-template-columns: 1fr; }
  .toc-item{ grid-template-columns: 44px 1fr; }
  .langs-grid{ grid-template-columns: repeat(3, 1fr); }
  .bonus-grid{ grid-template-columns: 1fr; }
  .cta-banner{ flex-direction: column; text-align: center; justify-content: center; }
  .cta-banner h3{ max-width: none; }
}

@media (max-width: 560px){
  .wrap{ padding: 0 20px; }
  .section{ padding: 68px 0; }
  .langs-grid{ grid-template-columns: repeat(2, 1fr); }
  .header-cta{ display: none; }
  .cta-banner{ padding: 38px 26px; }
}
