/* 
  Atelier Editorial Minimal - Custom Vanilla CSS Design System
  Project: Chubby Vegan - Ateliê de Confeitaria Autônoma
  Designed in accordance with the Frontend Design Skill (Distinctive & Production-Grade)
*/

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens & Variables --- */
:root {
  /* Colors */
  --color-bg-light: #FAF6F0;       /* Creamy Ivory */
  --color-bg-dark: #1F1612;        /* Rich Espresso Dark */
  --color-primary: #1F1612;        /* Espresso */
  --color-primary-light: #30231D;  /* Muted Espresso */
  --color-accent: #825427;         /* Warm Pastry Bronze */
  --color-accent-rgb: 130, 84, 39; 
  --color-accent-light: rgba(130, 84, 39, 0.08);
  --color-accent-border: rgba(130, 84, 39, 0.2);
  --color-on-light: #1A110D;       /* Cocoa Black for text on light bg */
  --color-on-light-muted: #3D3029; /* Muted text */
  --color-on-dark: #FAF6F0;        /* Ivory text on dark bg */
  --color-on-dark-muted: #D1C5BD;  /* Muted text on dark bg */
  --color-border-light: rgba(130, 84, 39, 0.15);
  --color-border-dark: rgba(250, 246, 240, 0.1);
  --color-neutral-light: #F2EDE6;  /* Soft Warm Neutral Sand */

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing System */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;
  --space-xxl: 120px;
  --container-max: 1280px;

  /* Layout Constants */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

section[id] {
  scroll-margin-top: 100px;
}

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

/* --- Layout Elements --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  position: relative;
}

.section-padding-large {
  padding: var(--space-xxl) 0;
}

.section-padding-medium {
  padding: var(--space-xl) 0;
}

/* Spacing Utilities */
.space-y-xs > * + * { margin-top: var(--space-xs); }
.space-y-sm > * + * { margin-top: var(--space-sm); }
.space-y-md > * + * { margin-top: var(--space-md); }
.space-y-lg > * + * { margin-top: var(--space-lg); }

/* Responsive line-break utilities */
.hidden {
  display: none !important;
}

@media (min-width: 901px) {
  .md\:block {
    display: block !important;
  }
  .md\:hidden {
    display: none !important;
  }
}

/* --- Typography Helper Classes --- */
.font-display {
  font-family: var(--font-display);
}

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

/* Headings & Text-balancing callouts */
h1, h2, h3, h4, .section-title, .hero-title, .cta-lead-text {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.1;
  text-wrap: balance;
}

.cta-lead-text {
  display: block;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.card-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  display: inline-block;
}

.paragraph-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.7;
  color: var(--color-on-light-muted);
  font-weight: 300;
}

.paragraph-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-on-light-muted);
}

/* --- Aesthetic Texture & Noise (DFII) --- */
.paper-grain-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.045;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Textured cards & sections */
.stationery-card {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 10px 40px -15px rgba(31, 22, 18, 0.05),
              inset 0 0 50px rgba(130, 84, 39, 0.02);
  border-radius: 4px;
  padding: var(--space-md);
  position: relative;
  transition: var(--transition-smooth);
}

.stationery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  pointer-events: none;
  border: 1px dashed rgba(130, 84, 39, 0.1);
  margin: 6px;
}

/* --- Handcrafted Highlight Styles (Ink Accent) --- */
.ink-strike {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.ink-strike::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -5%;
  width: 110%;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='20' viewBox='0 0 100 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 12 C 20 8, 40 14, 60 10 S 80 8, 98 12' stroke='%23825427' stroke-width='3' fill='none' opacity='0.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  transform: translateY(-50%) rotate(-1deg);
  pointer-events: none;
}

.ink-underline {
  position: relative;
  display: inline-block;
}

.ink-underline::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='10' viewBox='0 0 200 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 Q 50 1, 100 5 T 200 5' stroke='%23825427' stroke-width='2.5' fill='none' opacity='0.75' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
}

.brush-highlight {
  position: relative;
  z-index: 1;
  display: inline-block;
}

.brush-highlight::before {
  content: "";
  position: absolute;
  bottom: 2px;
  left: -6px;
  width: calc(100% + 12px);
  height: 38%;
  background-color: rgba(130, 84, 39, 0.12);
  z-index: -1;
  transform: skewX(-10deg) rotate(-0.5deg);
  border-radius: 40% 60% 30% 70% / 50% 30% 70% 40%;
}

.painted-emphasis {
  position: relative;
  display: inline-block;
  padding: 0 6px;
  z-index: 1;
}

.painted-emphasis::before {
  content: "";
  position: absolute;
  inset: -1px -4px;
  background-color: var(--color-accent-light);
  z-index: -1;
  clip-path: polygon(1% 10%, 99% 4%, 96% 92%, 4% 95%);
  transform: rotate(0.4deg);
}

.annotation {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-accent);
  opacity: 0.85;
  letter-spacing: 0.03em;
}

/* --- Main Navigation Header --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 246, 240, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-light);
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.03em;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-text-fallback {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
}

.logo-text-fallback span {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-link {
  text-decoration: none;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--color-on-light-muted);
  transition: var(--transition-fast);
  position: relative;
  padding-bottom: var(--space-xxs);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* --- Hero Section (Above the Fold) --- */
.hero-section {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-lg);
  align-items: center;
}

.hero-content {
  grid-column: 1 / span 7;
  position: relative;
  z-index: 10;
}

.hero-copy-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.hero-split {
  display: flex;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-md);
}

.hero-lead-col {
  flex: 1.2;
}

.hero-quote-col {
  flex: 0.8;
  position: relative;
  padding-left: var(--space-md);
}

.quote-mark {
  position: absolute;
  top: -15px;
  left: -5px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-accent);
  opacity: 0.3;
  line-height: 1;
}

.hero-quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-on-light);
}

.hero-visuals {
  grid-column: 8 / span 5;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-image-wrapper {
  width: 90%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 70px -15px rgba(31, 22, 18, 0.15);
  border: 1px solid var(--color-border-light);
}

.hero-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 3.5s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(0.08) contrast(1.02);
}

.hero-image-wrapper:hover .hero-img-main {
  transform: scale(1.06);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(250, 246, 240, 0.05) 0%, rgba(31, 22, 18, 0.05) 100%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* Secondary overlapping image */
.hero-inset-badge {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid var(--color-bg-light);
  box-shadow: 0 15px 40px -10px rgba(31, 22, 18, 0.2);
  z-index: 20;
}

.hero-inset-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-floating-tag {
  position: absolute;
  right: -20px;
  top: 40%;
  transform: rotate(90deg);
  transform-origin: right bottom;
  white-space: nowrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.2rem;
  background-color: var(--color-accent);
  color: var(--color-bg-light);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  box-shadow: 0 15px 30px -10px rgba(130, 84, 39, 0.35);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: var(--transition-fast);
  z-index: 1;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(130, 84, 39, 0.45);
}

.cta-button:hover::before {
  transform: translateY(0);
}

.cta-button span {
  position: relative;
  z-index: 2;
}

.cta-button-text-only {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--color-primary);
  transition: var(--transition-fast);
  margin-top: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
}

.cta-button-text-only svg {
  transition: var(--transition-fast);
}

.cta-button-text-only:hover {
  color: var(--color-accent);
}

.cta-button-text-only:hover svg {
  transform: translateX(6px);
}

/* --- Section: O Problema (Dark contrast section) --- */
.problem-section {
  background-color: var(--color-bg-dark);
  color: var(--color-on-dark);
  position: relative;
}

.problem-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
              radial-gradient(circle at 85% 85%, rgba(130, 84, 39, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.problem-section h2 {
  color: var(--color-on-dark);
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.problem-visuals {
  grid-column: 1 / span 6;
  position: relative;
}

.problem-main-image-wrapper {
  width: 90%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--color-border-dark);
}

.problem-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.9);
}

.problem-inset-image-wrapper {
  position: absolute;
  top: -5%;
  bottom: auto;
  left: -5%;
  width: 48%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  border: 8px solid var(--color-bg-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.problem-img-inset {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.problem-label {
  position: absolute;
  bottom: -35px;
  left: 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-on-dark-muted);
  opacity: 0.6;
}

.problem-content {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.problem-quote-block {
  position: relative;
  padding-left: var(--space-md);
  border-left: 2px solid var(--color-accent);
}

.problem-quote-text {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-on-dark);
}

.problem-cycle {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  border-top: 1px solid var(--color-border-dark);
  padding-top: var(--space-md);
}

.cycle-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  font-weight: 700;
}

.cycle-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.cycle-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-on-dark-muted);
  transition: var(--transition-fast);
}

.cycle-item-dot {
  width: 30px;
  height: 1px;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
}

.cycle-item:hover {
  color: var(--color-on-dark);
  padding-left: var(--space-xs);
}

.cycle-item:hover .cycle-item-dot {
  width: 45px;
}

.problem-lead-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-on-dark-muted);
}

/* --- Section: O Método (Three chemical/structural modules) --- */
.method-section {
  background-color: var(--color-bg-light);
}

.method-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: var(--space-md);
}

.method-title-wrap {
  max-width: 58%;
}

.method-desc-wrap {
  max-width: 40%;
  text-align: right;
  padding-bottom: 6px;
}

.method-footer-cta {
  text-align: center;
  margin-top: var(--space-xl);
}



.method-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.method-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  cursor: pointer;
  height: 100%;
}

.method-img-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 10px 25px -10px rgba(31, 22, 18, 0.1);
  border: 1px solid var(--color-border-light);
  position: relative;
}

.method-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.method-card:hover .method-card-img {
  transform: scale(1.05);
}

.method-card-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-style: italic;
  color: rgba(130, 84, 39, 0.15);
  line-height: 1;
}

.method-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  flex-grow: 1;
}

.method-card-detail {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border-light);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: var(--color-on-light-muted);
}

.method-card-detail svg {
  transition: var(--transition-fast);
}

.method-card:hover .method-card-detail svg {
  transform: translateX(6px);
}

/* --- Section: Prova / Impacto (Autonomia Criativa - Dark Section) --- */
.impact-section {
  background-color: var(--color-bg-dark);
  color: var(--color-on-dark);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  position: relative;
}

.impact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.03) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(130, 84, 39, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.impact-section .section-title {
  color: var(--color-on-dark);
}

.impact-section .eyebrow {
  color: var(--color-on-dark-muted);
  opacity: 0.8;
}

.impact-section .paragraph-lead {
  color: var(--color-on-dark);
}

.impact-section .paragraph-body {
  color: var(--color-on-dark-muted);
}

.impact-section .impact-item-title {
  color: var(--color-on-dark);
}

.impact-section .impact-item-description {
  color: var(--color-on-dark-muted);
}

.impact-section .impact-icon-box {
  color: var(--color-accent);
}

.impact-section .font-display {
  color: var(--color-on-dark);
}

.impact-section strong {
  color: var(--color-accent);
}

.impact-section .impact-note-box {
  border-top: 1px solid var(--color-border-dark) !important;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.impact-content {
  grid-column: 1 / span 7;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.impact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.impact-icon-box {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: var(--transition-smooth);
  margin-top: 4px;
}

.impact-item:hover .impact-icon-box {
  transform: translateX(3px) scale(1.1);
}

.impact-item-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxs);
}

.impact-item-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
}

.impact-item-description {
  font-size: 0.95rem;
  color: var(--color-on-light-muted);
}

.impact-note-box {
  border-top: 1px solid var(--color-border-light);
  padding-top: var(--space-md);
  text-align: center;
  max-width: 500px;
}

.impact-visuals {
  grid-column: 8 / span 5;
  position: relative;
}

.impact-main-image-wrapper {
  width: 90%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(31, 22, 18, 0.15);
  border: 1px solid var(--color-border-light);
  z-index: 5;
  position: relative;
}

.impact-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.01) saturate(0.95);
}

.impact-bg-card {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 70%;
  height: 70%;
  background-color: var(--color-neutral-light);
  border: 1px solid var(--color-border-light);
  border-radius: 4px;
  z-index: 1;
  overflow: hidden;
}

.impact-img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.impact-label {
  position: absolute;
  bottom: -50px;
  right: 0;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.impact-border-box {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 50%;
  height: 50%;
  border: 2px solid var(--color-accent-border);
  border-radius: 4px;
  z-index: 1;
}

/* --- Section: FAQ Técnico (Interactive accordion) --- */
.faq-section {
  background-color: var(--color-neutral-light);
}

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

.faq-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.faq-accordion {
  border-top: 1px solid var(--color-border-light);
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
  transition: var(--transition-fast);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-header-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.faq-icon-chef {
  color: var(--color-accent);
  opacity: 0.7;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 500;
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.faq-item:hover .faq-question {
  color: var(--color-accent);
}

.faq-arrow {
  color: var(--color-accent);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

/* Open states */
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-panel-content {
  padding-bottom: 2rem;
  padding-left: 3.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-on-light-muted);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

/* --- Section: Final CTA --- */
.final-section {
  background-color: var(--color-bg-light);
  overflow: hidden;
}

.final-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  align-items: center;
}

.final-visuals {
  grid-column: 1 / span 6;
  position: relative;
}

.final-main-image-wrapper {
  width: 85%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 65px -10px rgba(31, 22, 18, 0.15);
  border: 1px solid var(--color-border-light);
  z-index: 5;
  position: relative;
}

.final-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-label {
  position: absolute;
  bottom: -50px;
  left: 0;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.final-inset-image-wrapper {
  position: absolute;
  bottom: -40px;
  right: 0;
  width: 48%;
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  border: 10px solid var(--color-bg-light);
  box-shadow: 0 20px 50px rgba(31, 22, 18, 0.2);
  z-index: 10;
}

.final-img-inset {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-content {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.final-decor-blur {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background-color: rgba(130, 84, 39, 0.04);
  border-radius: 50%;
  filter: blur(100px);
  z-index: 1;
  pointer-events: none;
}

/* --- Footer --- */
footer {
  background-color: var(--color-neutral-light);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border-light);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  text-align: center;
}

.footer-brand {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.95);
}

.footer-logo-text-fallback {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.footer-logo-text-fallback span {
  font-style: italic;
  font-weight: 400;
  color: var(--color-accent);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md) var(--space-lg);
  list-style: none;
}

.footer-link {
  text-decoration: none;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--color-on-light-muted);
  transition: var(--transition-fast);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}

.footer-link:hover {
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-accent);
}

.footer-divider {
  width: 50px;
  height: 1px;
  background-color: var(--color-border-light);
}

.footer-copy {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-on-light-muted);
  opacity: 0.7;
  font-size: 1rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .hero-grid, .problem-grid, .final-grid {
    gap: var(--space-lg);
  }
  
  .hero-content {
    grid-column: 1 / span 8;
  }
  
  .hero-visuals {
    grid-column: 9 / span 4;
  }

  .problem-visuals {
    grid-column: 1 / span 5;
  }

  .problem-content {
    grid-column: 6 / span 7;
  }

  .final-visuals {
    grid-column: 1 / span 6;
  }

  .final-content {
    grid-column: 7 / span 6;
  }
}

@media (max-width: 900px) {
  .method-cards-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .method-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .method-title-wrap,
  .method-desc-wrap {
    max-width: 100%;
    width: 100%;
    text-align: left;
  }

  .method-footer-cta {
    text-align: left;
    margin-top: var(--space-lg);
  }



  .faq-title {
    text-align: left;
    margin-bottom: var(--space-lg);
  }

  .hero-grid, .problem-grid, .impact-grid, .final-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .hero-content, .hero-visuals,
  .problem-content, .problem-visuals,
  .impact-content, .impact-visuals,
  .final-content, .final-visuals {
    grid-column: 1 / -1;
  }

  .hero-visuals, .problem-visuals, .final-visuals {
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .hero-image-wrapper, .problem-main-image-wrapper, .final-main-image-wrapper {
    width: 100%;
  }
  
  .hero-inset-badge {
    left: -20px;
    bottom: -20px;
    width: 130px;
    height: 130px;
  }

  .problem-visuals {
    margin-bottom: 100px;
  }

  .problem-inset-image-wrapper {
    top: auto;
    left: 50%;
    right: auto;
    bottom: -50px;
    transform: translateX(-50%);
    width: 55%;
    border-width: 6px;
  }

  .problem-label {
    left: 50%;
    bottom: -90px;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
  }

  .impact-visuals {
    max-width: 440px;
    margin: 40px auto 60px auto;
    width: 90%;
    position: relative;
  }

  .impact-label {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: -45px;
    width: 100%;
    text-align: center;
  }

  .final-visuals {
    margin-bottom: 100px;
  }

  .final-inset-image-wrapper {
    left: 50%;
    right: auto;
    bottom: -50px;
    transform: translateX(-50%);
    width: 55%;
    border-width: 6px;
  }

  .final-label {
    left: 50%;
    bottom: -90px;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
  }

  .header-container {
    flex-direction: column;
    gap: var(--space-md);
    padding: 1rem 0;
  }

  .nav-links {
    gap: var(--space-md);
  }

  .cta-lead-text {
    text-align: center;
  }
}

@media (max-width: 600px) {
  :root {
    --space-xxl: 80px;
    --space-xl: 60px;
  }

  .hero-split {
    flex-direction: column;
    gap: var(--space-md);
  }

  .hero-quote-col {
    padding-left: 0;
    padding-top: var(--space-sm);
    border-left: none;
    border-top: 1px solid var(--color-border-light);
  }

  .faq-panel-content {
    padding-left: 0;
  }

  .faq-header-content {
    gap: var(--space-xs);
  }
  
  .faq-question {
    font-size: 1.15rem;
  }

  .cta-button {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    text-align: center;
    padding: 0.95rem 1.6rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    white-space: normal;
  }
}

/* --- Entry & Scroll Animations --- */
[data-animate] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animated {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* --- High-End Editorial Image Grain Texture Overlay (Cookbook print feel) --- */
.hero-image-wrapper,
.problem-main-image-wrapper,
.method-img-wrapper,
.impact-main-image-wrapper,
.final-main-image-wrapper,
.testimonial-img-wrapper,
.offer-image-wrapper {
  position: relative;
}

.hero-image-wrapper::after,
.hero-inset-badge::after,
.problem-main-image-wrapper::after,
.problem-inset-image-wrapper::after,
.method-img-wrapper::after,
.impact-main-image-wrapper::after,
.impact-bg-card::after,
.final-main-image-wrapper::after,
.final-inset-image-wrapper::after,
.testimonial-img-wrapper::after,
.offer-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  z-index: 2;
  border-radius: inherit;
}

/* --- Testimonials Section (Social Proof) --- */
.testimonials-section {
  background-color: var(--color-neutral-light); /* Creamy sand transitional theme */
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  overflow: hidden;
}

.testimonials-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl) auto;
}

/* 3+2 Centered Grid for Desktop */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-lg);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Individual Testimonial Card as Stationery / Polaroid Card */
.testimonial-card {
  flex: 0 1 calc(33.333% - var(--space-lg) * 2 / 3);
  min-width: 280px;
  max-width: 350px;
  background-color: var(--color-bg-light); /* Warm paper Ivory */
  border: 1px solid var(--color-border-light);
  box-shadow: 0 15px 35px rgba(31, 22, 18, 0.05);
  border-radius: 4px;
  padding: var(--space-sm);
  position: relative;
  transition: var(--transition-smooth);
  transform: rotate(var(--card-rotate, 0deg));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Card delay modifiers using inline custom CSS variables */
.testimonial-card[data-animate] {
  transition-delay: var(--card-delay, 0s);
}

.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  pointer-events: none;
  border: 1px dashed rgba(130, 84, 39, 0.08);
  margin: 4px;
}

.testimonial-img-wrapper {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  background-color: var(--color-neutral-light);
}

.testimonial-img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.95) contrast(1.02);
  transition: var(--transition-smooth);
}

.testimonial-card-badge {
  margin-top: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

/* Hover Effect: Card straightens up, scales, and drops a deeper shadow */
.testimonial-card:hover {
  transform: rotate(0deg) scale(1.03) translateY(-8px);
  box-shadow: 0 25px 50px rgba(31, 22, 18, 0.12);
  z-index: 10;
  border-color: rgba(130, 84, 39, 0.3);
}

.testimonial-card:hover .testimonial-img {
  filter: saturate(1.05) contrast(1.05);
}

/* Responsive Overrides */
@media (max-width: 1100px) {
  .testimonial-card {
    flex: 0 1 calc(50% - var(--space-lg) / 2);
    max-width: 380px;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    gap: var(--space-md);
  }
  
  .testimonial-card {
    flex: 0 1 100%;
    max-width: 420px;
    transform: rotate(0deg) !important; /* Straighten on mobile for easier reading */
    margin: 0 auto;
  }
  
  .testimonial-card:hover {
    transform: translateY(-4px) scale(1.01);
  }
}

/* --- Offer & Pricing Section (Section 04.6) --- */
.offer-section {
  background-color: var(--color-bg-dark); /* High-contrast Dark Espresso theme */
  color: var(--color-on-dark);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  position: relative;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: flex-start; /* top align elements */
}

.value-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  padding: var(--space-lg) 0;
}

.value-item {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.value-item-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-accent);
  line-height: 1;
  padding-top: 2px;
}

.value-item-text h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-xxs);
}

.value-item-text p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Right Offer Column housing Image + Pricing Card */
.offer-right {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* force children to span the full width of the column */
  width: 100%;
}

/* Pricing Card Component under the image */
.pricing-card {
  background-color: rgba(250, 246, 240, 0.03); /* Soft paper trace */
  border: 1px dashed var(--color-accent-border);
  border-radius: 4px;
  padding: var(--space-lg);
  text-align: center;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-md);
}

.pricing-anchor {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-on-dark-muted);
  margin-bottom: var(--space-xs);
}

.pricing-original-price {
  text-decoration: line-through;
  color: rgba(250, 246, 240, 0.4);
}

.pricing-installments {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--space-xs);
  color: var(--color-on-dark);
}

.installments-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-accent);
}

.installments-of {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-on-dark-muted);
  margin: 0 4px;
}

.installments-symbol {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.installments-value {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-cash {
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.btn-offer-enroll {
  width: 100%;
  max-width: 100%;
  text-align: center;
  justify-content: center;
  padding: 1.1rem 2rem;
}

.pricing-badges,
.pricing-guarantee {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  margin-top: var(--space-sm);
}

.pricing-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-badges svg,
.pricing-guarantee svg {
  flex-shrink: 0;
}

/* Offer Visual Column */
.offer-visuals {
  position: relative;
  width: 100%;
}

.offer-image-wrapper {
  width: 100%;
  height: 380px; /* fixed height for portrait/parallax crop */
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
}

.offer-img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.1); /* baseline scale to support smooth parallax scroll translation */
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.offer-img-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(31, 22, 18, 0.4) 100%);
  pointer-events: none;
}

.offer-label {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-top: var(--space-sm);
  font-weight: 600;
}

/* Advanced typography balancing for editorial look */
.card-title, .section-title, .hero-title, .value-item-text h4 {
  text-wrap: balance;
}

/* Responsive Rules for Offer Grid */
@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .offer-left {
    text-align: center;
  }
  
  .value-stack {
    text-align: left;
  }
  
  .offer-right {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .offer-image-wrapper {
    height: 300px; /* slightly shorter crop on mobile */
  }
}

/* --- INSTRUCTOR / QUEM SOU EU SECTION --- */
.instructor-section {
  background-color: var(--color-bg-light);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
  overflow: hidden;
}

.instructor-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: var(--space-xl);
  align-items: center;
}

@media (max-width: 900px) {
  .instructor-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.instructor-visuals {
  position: relative;
}

.instructor-image-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(31, 22, 18, 0.12);
  border: 1px solid var(--color-border-light);
}

.instructor-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  display: block;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.8s ease;
}

.instructor-image-wrapper:hover .instructor-img {
  transform: scale(1.03);
}

.instructor-badge-floating {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: var(--color-primary);
  color: var(--color-on-dark);
  padding: 10px 18px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid var(--color-accent-border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 8px;
}

.instructor-badge-floating svg {
  color: var(--color-accent);
}

.instructor-credentials-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: var(--space-md) 0;
  padding-left: 0;
  list-style: none;
}

.instructor-credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-on-light);
}

.instructor-credential-icon {
  color: var(--color-accent);
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.instructor-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--space-md);
}

.instructor-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--color-accent-light);
  border: 1px solid var(--color-accent-border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
}

/* --- ECOSYSTEM / OUTROS CURSOS SECTION --- */
.ecosystem-section {
  background-color: var(--color-neutral-light);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  position: relative;
}

.ecosystem-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto var(--space-xl);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

@media (max-width: 960px) {
  .ecosystem-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

.course-card {
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
  position: relative;
  box-shadow: 0 4px 15px rgba(31, 22, 18, 0.04);
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(31, 22, 18, 0.12);
  border-color: var(--color-accent);
}

.course-card-thumb-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.course-card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-card-thumb {
  transform: scale(1.06);
}

.course-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.course-card-tag.tag-upcoming {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.course-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
  line-height: 1.25;
}

.course-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--color-on-light-muted);
  margin-bottom: var(--space-md);
  flex-grow: 1;
}

.course-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border-light);
}

.course-card-link:hover {
  color: var(--color-primary);
}


