/* ==========================================================================
   styles.css — Dra. Andrea Paula de Azevedo
   Paleta: Vinho #7B1C3A | Rosa #C4687A | Rosa Claro #E8A4B0 | Branco #FFFFFF
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Variáveis)
   -------------------------------------------------------------------------- */
:root {
  --wine:        #7B1C3A;
  --wine-dark:   #5A1229;
  --wine-light:  #9D2B50;
  --gold:        #C4687A;
  --gold-light:  #E8A4B0;
  --gold-pale:   #F5D5DB;
  --cream:       #FEFAF6;
  --cream-dark:  #F0E8EA;
  --white:       #FFFFFF;
  --text-dark:   #2D1A22;
  --text-mid:    #5C3D4A;
  --text-soft:   #8B6474;
  --border:      #E8D5C4;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 8px rgba(123,28,58,0.08);
  --shadow-md:   0 6px 24px rgba(123,28,58,0.12);
  --shadow-lg:   0 16px 48px rgba(123,28,58,0.18);

  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body:    system-ui, -apple-system, 'Segoe UI', sans-serif;

  --transition:  0.28s ease;
  --max-width:   1160px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  margin: 0;
  padding: 0;
  background-color: var(--wine-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  padding: 0;
}

header, footer {
  display: block;
  margin: 0;
  padding: 0;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   3. Typography helpers
   -------------------------------------------------------------------------- */
.font-bold          { font-weight: 700; }
.text-center        { text-align: center; }
.text-left          { text-align: left; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--wine);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-mid);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.gradient-text {
  background: linear-gradient(135deg, var(--wine) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-dark {
  background: linear-gradient(135deg, var(--gold-light) 0%, #F0C0CB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-text {
  color: var(--wine);
  font-weight: 600;
}

.emphasis-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--wine);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.text-highlight {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   4. Spacing utilities
   -------------------------------------------------------------------------- */
.mt-2  { margin-top:  0.5rem; }
.mt-4  { margin-top:  1rem;   }
.mt-6  { margin-top:  1.5rem; }
.mt-8  { margin-top:  2rem;   }
.mt-12 { margin-top:  3rem;   }
.mb-2  { margin-bottom: 0.5rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem;   }
.mb-12 { margin-bottom: 3rem;   }

/* --------------------------------------------------------------------------
   5. Layout: Container & Grid
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.container.narrow {
  max-width: 740px;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }

.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem;   }
.gap-12 { gap: 3rem;   }

.align-center { align-items: center; }

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   6. Section wrapper
   -------------------------------------------------------------------------- */
.section {
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5.5rem 0; }
}

/* --------------------------------------------------------------------------
   7. Animations
   -------------------------------------------------------------------------- */
.fade-in-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.18s;
}

/* --------------------------------------------------------------------------
   8. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-light) 100%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--wine-dark);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-rose {
  background: linear-gradient(135deg, #C96E90 0%, #E0A0BC 100%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-rose:hover {
  background: linear-gradient(135deg, #B85C7E 0%, #C96E90 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.full-width {
  width: 100%;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.large-card {
  padding: 2.5rem;
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg, var(--white) 0%, var(--cream) 100%);
}

.large-card p {
  font-size: 1.05rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.large-card p:last-child { margin-bottom: 0; }

.hover-scale {
  transition: transform var(--transition), box-shadow var(--transition);
}

.hover-scale:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.center-content {
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Symptom cards */
.symptom-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem;
}

.symptom-card p {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* Check cards */
.check-card {
  padding: 2rem;
}

.check-card h3 {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
}

.yes-card {
  border-top: 4px solid #3d8c5c;
}

.yes-card h3 {
  color: #2d6b45;
}

.no-card {
  border-top: 4px solid #c0392b;
}

.no-card h3 {
  color: #a93226;
}

/* Form card */
.form-card {
  padding: 2.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
}

/* --------------------------------------------------------------------------
   10. Check list
   -------------------------------------------------------------------------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.icon-check {
  color: #2d6b45;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.icon-cross {
  color: #a93226;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --------------------------------------------------------------------------
   11. Icon circles & color variants
   -------------------------------------------------------------------------- */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bg-orange { background: #FFF0E6; }
.bg-indigo { background: #EEF0FF; }
.bg-rose   { background: #FFF0F3; }
.bg-yellow { background: #FFF0F3; }
.bg-purple { background: #F5F0FF; }
.bg-red    { background: #FFF0F0; }
.bg-light  { background: var(--cream-dark); }

.text-orange { color: #E85D04; }
.text-indigo { color: #4F46E5; }
.text-rose   { color: #E11D48; }
.text-yellow { color: #C4687A; }
.text-purple { color: #7C3AED; }
.text-red    { color: #DC2626; }

/* --------------------------------------------------------------------------
   12. Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--wine-dark);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 12s ease;
}

.hero-section:hover .hero-background {
  transform: scale(1.0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(90, 18, 41, 0.82) 0%,
    rgba(123, 28, 58, 0.70) 50%,
    rgba(45, 10, 20, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin: 0 auto 1.5rem;
  max-width: 700px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 540px;
  line-height: 1.7;
  margin: 0 auto 2rem;
}

/* --------------------------------------------------------------------------
   13. About Section
   -------------------------------------------------------------------------- */
.about-section {
  background: var(--white);
}

.about-grid {
  gap: 2.5rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   14. Philosophy Section
   -------------------------------------------------------------------------- */
.philosophy-section {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.philosophy-section .section-title {
  text-align: center;
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   15. YouTube / Sala de Aula Section
   -------------------------------------------------------------------------- */
.youtube-section {
  background: var(--white);
}

.sala-aula {
  margin-top: 0;
}

.sala-aula__container {
  max-width: 100%;
}

.sala-aula__titulo,
.sala-aula__subtitulo {
  display: none; /* hidden: já aparece no wrapper externo */
}

.sala-aula__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .sala-aula__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Video cards */
.video-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--white);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.video-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-dark);
}

.video-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(123, 28, 58, 0.45);
  transition: background var(--transition);
  color: var(--white);
}

.video-card:hover .video-card__play {
  background: rgba(123, 28, 58, 0.72);
}

.video-card__play svg {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transform: scale(1.8);
}

.video-card__body {
  padding: 1rem 1.25rem;
}

.video-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--wine);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   16. Identification Section
   -------------------------------------------------------------------------- */
.identification-section {
  background: linear-gradient(160deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.identification-section .section-title {
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   17. Divider
   -------------------------------------------------------------------------- */
.divider {
  width: 64px;
  height: 3px;
  background: linear-gradient(90deg, var(--wine), var(--gold));
  border-radius: 99px;
  margin: 1rem auto;
}

/* --------------------------------------------------------------------------
   18. Learning / Course Feature Card
   -------------------------------------------------------------------------- */
.learning-section {
  background: var(--white);
}

.course-feature-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .course-feature-card {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-content {
  padding: 2.5rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--wine);
  margin: 0.75rem 0 0.5rem;
}

.feature-content .subtitle-text {
  font-size: 1.05rem;
  color: var(--text-mid);
  font-style: italic;
  margin-bottom: 1rem;
}

.feature-content .description-text p {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cream-dark);
  color: var(--wine);
  border: 1px solid var(--gold-pale);
  border-radius: var(--radius-xl);
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge svg {
  color: var(--gold);
}

.badge-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(196, 104, 122, 0.2);
  color: var(--gold-light);
  border: 1px solid rgba(196, 104, 122, 0.35);
  border-radius: var(--radius-xl);
  padding: 0.3rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.feature-image {
  position: relative;
  min-height: 320px;
  background-size: cover;
  background-position: center;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(90,18,41,0.35) 0%,
    rgba(90,18,41,0.75) 100%
  );
}

.feature-highlights {
  position: absolute;
  bottom: 1.75rem;
  left: 1.75rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 1;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.highlight-item h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.15rem;
}

.highlight-item p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.78);
}

.icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(196, 104, 122, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   19. Scientific Section
   -------------------------------------------------------------------------- */
.scientific-section {
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.info-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.info-item h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--wine);
  margin-bottom: 0.25rem;
}

.info-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.55;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--wine);
  flex-shrink: 0;
}

.quote-box {
  background: linear-gradient(135deg, var(--wine) 0%, var(--wine-light) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  position: relative;
  margin-bottom: 1.5rem;
}

.quote-box::before {
  content: '\201C';
  position: absolute;
  top: -0.25rem;
  left: 1.25rem;
  font-size: 5rem;
  color: rgba(200,155,90,0.35);
  font-family: Georgia, serif;
  line-height: 1;
}

.quote-box p {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--white);
  line-height: 1.65;
  font-style: italic;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   20. Course Promo Section
   -------------------------------------------------------------------------- */
.course-promo-section {
  background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 60%, #9D2B50 100%);
}

.course-promo-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .course-promo-card {
    grid-template-columns: 1fr 1fr;
  }
}

.promo-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
}

.promo-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

.promo-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.icon-hero {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-md);
  background: rgba(200,155,90,0.2);
  border: 2px solid rgba(200,155,90,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
}

.feature-row svg {
  flex-shrink: 0;
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   21. Benefits Section
   -------------------------------------------------------------------------- */
.benefits-section {
  background: var(--white);
}

@media (max-width: 767px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}

/* --------------------------------------------------------------------------
   22. Filter Section
   -------------------------------------------------------------------------- */
.filter-section {
  background: var(--cream);
}

/* --------------------------------------------------------------------------
   23. Form Section
   -------------------------------------------------------------------------- */
.form-section {
  background: linear-gradient(160deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.form-section .section-title {
  text-align: center;
}

.form-section .section-subtitle {
  text-align: center;
  display: block;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--wine);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--cream);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus {
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(123,28,58,0.12);
  background: var(--white);
}

.form-group input::placeholder {
  color: var(--text-soft);
}

.security-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--cream);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.security-note svg {
  color: var(--wine);
  flex-shrink: 0;
  margin-top: 2px;
}

.security-note span {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   24. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: linear-gradient(160deg, var(--wine-dark) 0%, var(--wine) 100%);
  padding: 4rem 0 2.5rem;
  color: rgba(255,255,255,0.88);
}

.footer-grid {
  align-items: start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
  }
}

.footer-info h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.footer-info .role {
  font-size: 0.9rem;
  color: var(--gold-pale);
  margin-bottom: 0.2rem;
}

.footer-info .crm {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  transition: background var(--transition), transform var(--transition);
}

.social-links a:hover {
  background: rgba(200,155,90,0.35);
  transform: translateY(-2px);
}

.hotmart-link {
  width: auto !important;
  border-radius: var(--radius-xl) !important;
  padding: 0 1rem !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-links a {
  font-size: 0.85rem;
  color: var(--gold-pale);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.legal-links a:hover {
  color: var(--gold-light);
}

.legal-links p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.copyright {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.footer-image {
  display: flex;
  justify-content: center;
}

.footer-image img {
  max-width: 260px;
  width: 100%;
  border-radius: var(--radius-lg);
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.3));
}

/* --------------------------------------------------------------------------
   25. Toast Notifications
   -------------------------------------------------------------------------- */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--white);
  border-left: 4px solid var(--wine);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  color: var(--text-dark);
  max-width: 280px;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.success {
  border-left-color: #2d6b45;
}

.toast.error {
  border-left-color: #c0392b;
}

/* --------------------------------------------------------------------------
   26. Responsive: 768px
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
  }
}

/* --------------------------------------------------------------------------
   27. Responsive: 1024px+
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .about-grid {
    gap: 3.5rem;
  }

  .feature-content {
    padding: 3rem;
  }

  .quote-box {
    padding: 2.25rem 2.75rem;
  }
}

/* --------------------------------------------------------------------------
   28. Mobile polish (max 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .btn-large {
    padding: 0.9rem 1.75rem;
    font-size: 0.95rem;
  }

  .feature-content {
    padding: 1.75rem;
  }

  .form-card {
    padding: 1.75rem;
  }

  .large-card {
    padding: 1.75rem;
  }

  .quote-box {
    padding: 1.5rem 1.5rem;
  }

  .footer-image {
    display: none;
  }

  .course-promo-card {
    gap: 1.75rem;
  }
}
