/* Premium Design System for Guia de Sobrevivência ao Narcisismo */

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

@font-face {
  font-family: 'Qielftan';
  src: url('assets/Qielftan-1.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  /* Exact Colors from Original */
  --bg-primary: #FFFBF8;
  --bg-secondary: #FDEBEB;
  --bg-dark: #131313;
  --text-main: #191919;
  --text-muted: #2E2E2E;
  --text-light: #FFFFFF;
  --primary: #A8092D; /* Terracotta Red / Wine */
  --primary-hover: #740b1c;
  --secondary: #E7A29E; /* Dust Rose */
  --secondary-hover: #F2C1BE;
  --border-color: #E8A6A1;
  --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.05);
  --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.1);

  /* Fonts */
  --font-title: 'Poppins', sans-serif;
  --font-body: 'Lato', sans-serif;
  --font-custom: 'Qielftan', sans-serif;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}

p {
  font-size: clamp(1.05rem, 2vw, 1.15rem);
  color: var(--text-muted);
}

.text-rose { color: var(--secondary); }
.text-red { color: var(--primary); }

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

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  text-decoration: none;
  padding: 1rem 2.5rem;
  border-radius: 5px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--text-main);
}

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

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

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

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.15rem;
}

/* HERO / HEADER SECTION */
.hero {
  background-image: url('assets/Banner-Home-Neusa-Tamaio-desktop-1.webp');
  background-size: cover;
  background-position: center top;
  color: var(--text-main);
  padding: 2.5rem 0 8rem;
  position: relative;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tagline {
  font-family: var(--font-custom);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: -10px;
  letter-spacing: 2px;
}

.hero h1 {
  font-family: var(--font-custom);
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-transform: none;
  font-size: clamp(3.5rem, 6vw, 4.8rem);
  line-height: 1.1;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 2rem;
  max-width: 500px;
  font-weight: 600;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  text-decoration: none;
  background-color: #9d5b5d;
  color: white;
  padding: 1.25rem 3rem;
  border-radius: 5px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-hero:hover {
  background-color: #7a4648;
  transform: translateY(-2px);
  color: white;
}

@media (max-width: 768px) {
  .hero {
    background-image: url('assets/Banner-Home-Neusa-Tamaio-mobile-1.webp');
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding: clamp(16.75rem, 73vw, 18.5rem) 0 3.75rem;
  }

  .hero .container {
    padding: 0 1.25rem;
  }

  .hero-grid {
    display: block;
  }

  .hero-content {
    align-items: center;
    text-align: center;
  }

  .hero-tagline {
    max-width: 19rem;
    margin-bottom: 0.1rem;
    font-size: clamp(1.55rem, 7vw, 1.85rem);
    line-height: 1.15;
    letter-spacing: 1px;
  }

  .hero h1 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.5rem, 12.3vw, 3.4rem);
    line-height: 0.98;
    letter-spacing: 0;
  }

  .hero-desc {
    max-width: 20rem;
    margin-bottom: 2rem;
    font-size: 1.08rem;
    line-height: 1.48;
  }

  .hero .btn-hero {
    width: min(100%, 17.5rem);
    min-height: 3.75rem;
    padding: 1rem 1.5rem;
  }
}

/* SECTION: WHAT IS NARCISSISM & CHARACTERISTICS */
.narcissism-info {
  background-image: url('assets/Banner-Home-Secao-2-desktop.webp');
  background-size: cover;
  background-position: center center;
  position: relative;
}

@media (max-width: 768px) {
  .narcissism-info {
    background-image: url('assets/Banner-Home-Secao-2-mobile.webp');
  }
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.info-img-wrapper img {
  border-radius: 12px;
  box-shadow: var(--shadow-medium);
}

.info-content h2 {
  text-align: left;
}

/* SECTION: CHARACTERISTICS */
.characteristics-section {
  background-color: var(--bg-secondary);
}

.characteristics-section h2 {
  font-style: italic;
  font-weight: 600;
  color: var(--text-main);
}

.characteristics-section h2 .text-red {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}

.char-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 1.5rem;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.char-card {
  background-color: white;
  padding: 2.5rem 1rem 1rem;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
  border: none;
  position: relative;
  width: 240px;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.char-icon-box {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid rgba(168,9,45,0.2);
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.char-icon-box svg {
  width: 20px;
  height: 20px;
}

.char-text {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.4;
  margin: 0;
}

.char-text strong.text-red {
  color: var(--primary);
  font-weight: 700;
  font-style: normal;
}

.char-footer {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text-main);
  background: transparent;
  padding: 0;
  box-shadow: none;
  line-height: 1.6;
}

.char-footer strong.text-red {
  font-style: normal;
  font-weight: 700;
  color: var(--primary);
}

/* SECTION: IMPACTS */
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.impact-block {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-light);
  margin-bottom: 2rem;
  border-left: 5px solid var(--primary);
}

.impact-block h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.impact-list {
  list-style: none;
  margin-top: 1.5rem;
}

.impact-list li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.impact-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

/* CTA BANNER */
.liberation {
  background-color: var(--primary);
  text-align: center;
  color: white;
}

.liberation h2 {
  color: white;
}

.liberation p {
  color: #FDEBEB;
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

/* CURRICULUM */
.curriculum-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
}

details.module-card {
  background-color: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-light);
  cursor: pointer;
}

details.module-card summary {
  list-style: none;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  outline: none;
  display: flex;
  justify-content: space-between;
}

details.module-card summary::-webkit-details-marker { display: none; }
details.module-card summary::after {
  content: '+';
  color: var(--primary);
  font-size: 1.5rem;
}
details.module-card[open] summary::after { content: '-'; }

.module-content {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-secondary);
}

.curriculum-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: 2rem;
}

/* TARGET AUDIENCE */
.audience {
  background-color: transparent;
}

.audience h2 {
  color: #3b030b; /* A very dark burgundy, almost black */
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.audience-card {
  background: linear-gradient(135deg, #7c1221 0%, #9e1a2b 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: var(--shadow-medium);
}

.audience-card p {
  color: white;
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}

.audience-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.audience-icon svg {
  width: 48px;
  height: 48px;
  color: white;
}

/* PRICING SECTION */
.pricing-section {
  background-color: var(--bg-secondary);
  padding: 5rem 0;
}

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

.pricing-header-text h3 {
  font-size: 1.25rem;
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.pricing-header-text h2 {
  font-size: 2.5rem;
  color: var(--text-main);
  font-style: italic;
  font-weight: 700;
}

.pricing-card-container {
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: white;
  border-radius: 4px;
  padding: 3rem 4rem;
  text-align: center;
  box-shadow: var(--shadow-medium);
  max-width: 450px;
  width: 100%;
}

.pricing-features {
  list-style: none;
  margin: 0 0 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.pricing-features li {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
  font-style: italic;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--text-muted);
}

.pricing-features li:last-child {
  margin-bottom: 0;
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--text-main);
}

.pricing-label {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.price-main {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.price-cash {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}
/* BIO SECTION */
.bio {
  background-image: url('assets/Banner-Secao-Sobre-Neusa-Tamaio-desktop-2.webp');
  background-size: auto 100%;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-color: white; /* fallback */
  padding: 8rem 0;
  min-height: 650px;
}

@media (max-width: 768px) {
  .bio {
    background-image: url('assets/Banner-Secao-Sobre-Neusa-Tamaio-mobile-1.webp');
    background-position: top center;
    background-size: 100% auto;
    background-repeat: no-repeat;
    padding-top: 450px;
    padding-bottom: 3rem;
  }
  .bio-grid {
    display: block;
  }
  .bio-text, .bio-text h2 {
    text-align: left !important;
  }
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.bio-tagline {
  font-size: 0.9rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
}

.bio-text h2 {
  text-align: left;
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.bio-text p {
  color: var(--text-main);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* FOOTER */
.footer {
  background-color: #E2B7B7; /* match the pink footer of the reference */
  padding: 1.5rem 0;
  text-align: center;
}

.footer p {
  color: var(--text-main);
  font-size: 0.85rem;
  margin: 0;
}

/* WOUND LIST */
.wound-list {
  list-style: none;
  margin-top: 1.2rem;
  padding: 0;
}

.wound-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wound-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.2rem;
}

/* CHECKLIST GRID */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 4rem;
  max-width: 900px;
  margin: 3rem auto 0;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 500;
  padding: 0.6rem 0;
}

.checklist-item svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ABUSE SECTION */
.abuse-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.abuse-intro {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.abuse-needs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.abuse-need-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.abuse-need-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.abuse-need-card svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.abuse-text-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.abuse-text-block p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.abuse-text-block strong {
  color: var(--text-main);
}

.abuse-highlight {
  font-size: 1.2rem !important;
  font-weight: 600;
  color: var(--primary) !important;
  font-style: italic;
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
  text-align: left;
  margin: 1.5rem auto;
  max-width: 600px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid, .info-grid, .impact-grid, .curriculum-grid, .pricing-grid, .bio-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .info-content h2, .pricing-info h2, .bio-text h2 {
    text-align: center;
  }
  .impact-list li, .pricing-info ul li {
    text-align: left;
  }
  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    text-align: left;
  }
  .abuse-needs-grid {
    gap: 1rem;
  }
  .abuse-need-card {
    width: 100%;
    justify-content: center;
  }
}
