/*
Theme Name: CapDCG
Theme URI: https://capdcg.fr
Author: CapDCG
Author URI: https://capdcg.fr
Description: Thème sur mesure pour CapDCG — plateforme de révision du DCG. Design terracotta et bleu canard.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: capdcg
Tags: education, membership, custom-colors, custom-menu, featured-images, full-width-template
*/

/* =============================================
   VARIABLES & RESET
   ============================================= */
:root {
  --terra: #C1714F;
  --terra-light: #D4906E;
  --terra-dark: #8B4A30;
  --terra-pale: rgba(193,113,79,0.08);
  --teal: #2A7C7C;
  --teal-light: #4AACAC;
  --teal-dark: #1A5C5C;
  --teal-pale: rgba(42,124,124,0.08);
  --cream: #FAF6F0;
  --cream-dark: #F0E8DC;
  --ink: #1C2B2B;
  --ink-light: #2E4444;
  --muted: #6B8080;
  --muted-light: #9AAFAF;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(28,43,43,0.08);
  --shadow-md: 0 8px 24px rgba(28,43,43,0.12);
  --shadow-lg: 0 24px 64px rgba(28,43,43,0.16);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--terra); }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1.2rem; color: var(--ink-light); }
.lead { font-size: 1.1rem; line-height: 1.8; color: var(--muted); font-weight: 300; }

/* =============================================
   LAYOUT
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: 800px; }
.container--wide { max-width: 1400px; }

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 128px 0; }
.section--dark { background: var(--ink); }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--teal { background: linear-gradient(135deg, var(--teal-dark), var(--teal)); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem; font-weight: 600; letter-spacing: 0.3px;
  border: none; cursor: pointer;
  transition: var(--transition); text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--terra); color: var(--white);
  box-shadow: 0 8px 24px rgba(193,113,79,0.35);
}
.btn--primary:hover {
  background: var(--terra-dark); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(193,113,79,0.45);
}
.btn--teal {
  background: var(--teal); color: var(--white);
  box-shadow: 0 8px 24px rgba(42,124,124,0.3);
}
.btn--teal:hover {
  background: var(--teal-dark); color: var(--white);
  transform: translateY(-2px);
}
.btn--outline {
  background: transparent; color: var(--terra);
  border: 2px solid var(--terra);
}
.btn--outline:hover { background: var(--terra); color: var(--white); }
.btn--outline-teal {
  background: transparent; color: var(--teal);
  border: 2px solid var(--teal);
}
.btn--outline-teal:hover { background: var(--teal); color: var(--white); }
.btn--ghost {
  background: transparent; color: var(--teal);
  font-weight: 600;
  padding: 14px 0;
}
.btn--ghost:hover { color: var(--terra); gap: 14px; }
.btn--lg { padding: 18px 44px; font-size: 1rem; }
.btn--sm { padding: 10px 22px; font-size: 0.82rem; }

/* =============================================
   BADGES & TAGS
   ============================================= */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
}
.badge--terra { background: var(--terra-pale); color: var(--terra-dark); }
.badge--teal { background: var(--teal-pale); color: var(--teal-dark); }
.badge--free { background: rgba(42,124,124,0.12); color: var(--teal-dark); }
.badge--premium { background: rgba(193,113,79,0.12); color: var(--terra-dark); }
.badge--new { background: var(--terra); color: white; }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(250,246,240,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(193,113,79,0.12);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 40px;
  max-width: 1400px; margin: 0 auto;
}
.site-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; color: var(--terra);
  letter-spacing: -0.5px; text-decoration: none;
  transition: var(--transition);
}
.site-logo span { color: var(--teal); }
.site-logo:hover { opacity: 0.85; color: var(--terra); }

.nav-menu {
  display: flex; align-items: center; gap: 40px;
  list-style: none;
}
.nav-menu a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--muted); letter-spacing: 0.3px;
  transition: var(--transition); text-decoration: none;
  position: relative;
}
.nav-menu a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--terra); border-radius: 2px;
  transform: scaleX(0); transition: var(--transition);
}
.nav-menu a:hover, .nav-menu a.current { color: var(--terra); }
.nav-menu a:hover::after, .nav-menu a.current::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-login {
  font-size: 0.88rem; font-weight: 600; color: var(--teal);
  text-decoration: none; transition: var(--transition);
}
.nav-login:hover { color: var(--terra); }

/* Mobile nav */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { padding: 0 20px; }
  .nav-actions .btn { display: none; }
  .nav-menu.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 24px 20px;
    border-bottom: 1px solid var(--cream-dark);
    gap: 8px; align-items: flex-start;
  }
  .nav-menu.open a { font-size: 1.1rem; padding: 8px 0; }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 40px 80px;
  position: relative; overflow: hidden;
  background: var(--cream);
}
.hero::before {
  content: '';
  position: absolute; top: -120px; right: -80px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(42,124,124,0.07) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: 20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(193,113,79,0.06) 0%, transparent 65%);
  border-radius: 50%; pointer-events: none;
}
.hero-inner {
  max-width: 1400px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 1;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 28px;
}
.hero-tag::before { content: '✦'; color: var(--teal); font-size: 0.75rem; }
.hero h1 { margin-bottom: 24px; }
.hero h1 em { color: var(--terra); font-style: italic; }
.hero-sub {
  font-size: 1.05rem; color: var(--muted); line-height: 1.8;
  max-width: 500px; margin-bottom: 44px; font-weight: 300;
}
.hero-ctas { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 40px; border-top: 1px solid var(--cream-dark);
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; color: var(--terra); line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

/* Dashboard card */
.hero-visual { position: relative; }
.dashboard-card {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: float 5s ease-in-out infinite;
  max-width: 440px; margin-left: auto;
}
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(0.3deg); }
}
.dashboard-header {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  padding: 22px 24px;
  display: flex; align-items: center; gap: 14px;
}
.dash-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.dash-hello { color: rgba(255,255,255,0.7); font-size: 0.75rem; }
.dash-name { color: white; font-weight: 600; font-size: 1rem; }
.dashboard-body { padding: 22px 24px; }
.progress-label {
  display: flex; justify-content: space-between;
  font-size: 0.72rem; font-weight: 700; color: var(--muted);
  margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px;
}
.ue-progress-list { display: flex; flex-direction: column; gap: 12px; }
.ue-progress-item { display: flex; align-items: center; gap: 12px; }
.ue-badge-sm {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; font-weight: 800; flex-shrink: 0;
}
.ue-badge-sm.t { background: var(--terra-pale); color: var(--terra-dark); }
.ue-badge-sm.c { background: var(--teal-pale); color: var(--teal-dark); }
.ue-badge-sm.m { background: rgba(28,43,43,0.06); color: var(--ink); }
.ue-progress-info { flex: 1; }
.ue-progress-name { font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.ue-progress-bar { height: 5px; border-radius: 5px; background: var(--cream-dark); overflow: hidden; }
.ue-progress-fill { height: 100%; border-radius: 5px; }
.fill-terra { background: linear-gradient(90deg, var(--terra), var(--terra-light)); }
.fill-teal { background: linear-gradient(90deg, var(--teal-dark), var(--teal-light)); }
.fill-mixed { background: linear-gradient(90deg, var(--terra), var(--teal)); }
.ue-progress-pct { font-size: 0.72rem; color: var(--muted); font-weight: 600; flex-shrink: 0; }
.dashboard-footer {
  background: var(--cream); padding: 16px 24px;
  display: flex; gap: 12px;
}
.dash-stat {
  flex: 1; background: white; border-radius: var(--radius-sm);
  padding: 12px; text-align: center;
}
.dash-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem; color: var(--terra); line-height: 1;
}
.dash-stat-label { font-size: 0.65rem; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* Floating badges */
.float-badge {
  position: absolute; background: white;
  border-radius: var(--radius-md); padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600; color: var(--ink);
  animation: float2 4s ease-in-out infinite;
}
.float-badge-1 { top: -20px; left: -30px; animation-delay: 0.5s; }
.float-badge-2 { bottom: 40px; left: -40px; animation-delay: 1.5s; }
@keyframes float2 {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.float-badge-icon { font-size: 1.2rem; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding: 100px 20px 60px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
  background: var(--ink); padding: 32px 40px;
  display: flex; justify-content: center; gap: 80px;
  flex-wrap: wrap;
}
.stats-bar-item { text-align: center; }
.stats-bar-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; color: var(--terra-light); line-height: 1;
}
.stats-bar-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* =============================================
   UE SECTION
   ============================================= */
.ue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 48px; }
.ue-card {
  background: white; border-radius: var(--radius-lg); padding: 28px;
  border: 2px solid transparent; transition: var(--transition);
  cursor: pointer; position: relative; overflow: hidden;
}
.ue-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: linear-gradient(90deg, var(--terra), var(--teal));
  transform: scaleX(0); transition: var(--transition);
  transform-origin: left;
}
.ue-card:hover { border-color: var(--cream-dark); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ue-card:hover::before { transform: scaleX(1); }
.ue-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; color: var(--cream-dark); font-weight: 700;
  position: absolute; top: 16px; right: 20px; line-height: 1;
}
.ue-card-badge {
  display: inline-flex; margin-bottom: 16px;
}
.ue-card-title { font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.ue-card-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; }
.ue-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--cream-dark);
}
.ue-card-meta { font-size: 0.72rem; color: var(--muted-light); display: flex; gap: 12px; }
.ue-card-meta span { display: flex; align-items: center; gap: 4px; }

/* =============================================
   FEATURES SECTION
   ============================================= */
.features-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 56px; }
.feature-tab {
  padding: 28px 20px; border-radius: var(--radius-md);
  text-align: center; cursor: pointer; transition: var(--transition);
  background: white; border: 2px solid transparent;
}
.feature-tab.active { background: var(--terra); border-color: var(--terra); }
.feature-tab.active .feature-tab-icon { color: white; }
.feature-tab.active .feature-tab-label { color: white; }
.feature-tab:hover:not(.active) { border-color: var(--cream-dark); transform: translateY(-2px); }
.feature-tab-icon { font-size: 1.8rem; margin-bottom: 10px; }
.feature-tab-label { font-size: 0.78rem; font-weight: 700; color: var(--ink); letter-spacing: 0.3px; }
.feature-content {
  background: white; border-radius: var(--radius-lg); padding: 48px;
  margin-top: 4px; min-height: 300px;
  display: none;
}
.feature-content.active { display: block; }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   PRICING
   ============================================= */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 860px; margin: 56px auto 0; }
.pricing-card { border-radius: var(--radius-xl); padding: 40px; position: relative; overflow: hidden; transition: var(--transition); }
.pricing-card:hover { transform: translateY(-4px); }
.pricing-free { background: white; border: 2px solid var(--cream-dark); }
.pricing-premium {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  box-shadow: var(--shadow-lg);
}
.pricing-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px; }
.pricing-free .pricing-label { color: var(--muted); }
.pricing-premium .pricing-label { color: rgba(255,255,255,0.65); }
.pricing-was {
  font-size: 0.88rem; margin-bottom: 4px;
  color: rgba(255,255,255,0.55);
}
.pricing-was s { text-decoration: line-through; color: rgba(255,255,255,0.4); }
.pricing-price { font-family: 'Playfair Display', serif; font-size: 3.2rem; line-height: 1; margin-bottom: 4px; }
.pricing-free .pricing-price { color: var(--ink); }
.pricing-premium .pricing-price { color: white; }
.pricing-period { font-size: 0.85rem; opacity: 0.55; }
.pricing-divider { height: 1px; background: currentColor; opacity: 0.1; margin: 28px 0; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.pricing-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; line-height: 1.5; }
.pricing-free .pricing-features li { color: var(--ink); }
.pricing-premium .pricing-features li { color: rgba(255,255,255,0.9); }
.pricing-btn {
  display: block; width: 100%; text-align: center;
  margin-top: 32px; padding: 16px; border-radius: 50px;
  font-weight: 700; font-size: 0.92rem; transition: var(--transition);
  letter-spacing: 0.3px; text-decoration: none;
}
.pricing-btn-free { background: var(--cream-dark); color: var(--ink); }
.pricing-btn-free:hover { background: var(--cream); color: var(--terra); border: 1px solid var(--terra); }
.pricing-btn-premium { background: var(--terra); color: white; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.pricing-btn-premium:hover { background: var(--terra-dark); color: white; transform: translateY(-1px); }

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

/* =============================================
   BLOG / POSTS
   ============================================= */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: white; border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); border: 2px solid transparent;
}
.post-card:hover { border-color: var(--cream-dark); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.post-card-image { aspect-ratio: 16/9; background: var(--cream-dark); overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card-body { padding: 24px; }
.post-card-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--terra); margin-bottom: 10px; }
.post-card-title { font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.4; }
.post-card-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.post-card-meta { font-size: 0.75rem; color: var(--muted-light); display: flex; gap: 12px; }

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

/* =============================================
   SINGLE POST
   ============================================= */
.post-header { padding: 120px 0 60px; background: var(--cream); }
.post-content { max-width: 740px; margin: 0 auto; padding: 60px 32px; }
.post-content h2, .post-content h3 { margin: 36px 0 16px; }
.post-content p { margin-bottom: 20px; line-height: 1.85; color: var(--ink-light); }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; color: var(--ink-light); line-height: 1.7; }
.post-content blockquote {
  border-left: 4px solid var(--terra); padding: 16px 24px;
  background: var(--terra-pale); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
}
.post-content blockquote p { color: var(--terra-dark); font-style: italic; margin: 0; }
.post-content .key-point {
  background: var(--teal-pale); border-radius: var(--radius-md);
  padding: 20px 24px; margin: 28px 0;
  border-left: 4px solid var(--teal);
}
.post-content .key-point-title { font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); margin-bottom: 8px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #0F1C1C; padding: 64px 40px 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--terra-light);
  margin-bottom: 16px; display: block;
}
.footer-brand-desc { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; }
.footer-col-title { font-size: 0.75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--terra-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.footer-bottom-left { font-size: 0.8rem; color: rgba(255,255,255,0.3); }
.footer-bottom-right { display: flex; gap: 24px; }
.footer-bottom-right a { font-size: 0.8rem; color: rgba(255,255,255,0.3); text-decoration: none; transition: var(--transition); }
.footer-bottom-right a:hover { color: var(--terra-light); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer { padding: 48px 20px 24px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =============================================
   MOTIVATION / POMODORO
   ============================================= */
.pomodoro-widget {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-xl); padding: 44px;
  text-align: center; max-width: 320px;
}
.pomodoro-timer {
  font-family: 'Playfair Display', serif;
  font-size: 4.5rem; color: var(--terra-light);
  line-height: 1; margin-bottom: 8px;
}
.pomodoro-label {
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
  margin-bottom: 32px; letter-spacing: 1px; text-transform: uppercase;
}
.streak-row { display: flex; gap: 8px; justify-content: center; margin-top: 28px; }
.streak-day {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 700;
}
.streak-done { background: var(--terra); color: white; }
.streak-today { background: var(--teal); color: white; }
.streak-empty { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.25); }

/* =============================================
   PMPro OVERRIDES (Paid Memberships Pro)
   ============================================= */
.pmpro_level { background: white; border-radius: var(--radius-xl) !important; border: 2px solid var(--cream-dark) !important; }
.pmpro_checkout { max-width: 600px; margin: 0 auto; }
#pmpro_account { background: white; border-radius: var(--radius-lg); padding: 32px; }
.pmpro-btn, .pmpro_btn { background: var(--terra) !important; border-radius: 50px !important; border: none !important; }
.pmpro-btn:hover, .pmpro_btn:hover { background: var(--terra-dark) !important; }

/* =============================================
   UTILITY CLASSES
   ============================================= */
.text-center { text-align: center; }
.text-terra { color: var(--terra); }
.text-teal { color: var(--teal); }
.text-muted { color: var(--muted); }
.text-white { color: white; }
.italic { font-style: italic; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.hidden { display: none; }

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.animate-fadeup { animation: fadeUp 0.7s ease both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
