/* =============================================
   PAULO FARLAU — Cursos de Francês Premium
   Design: Dark Premium, Navy & Gold
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&display=swap');

:root {
  --bg-main: #080d14;
  --bg-section: #0d1520;
  --bg-card: #111b2a;
  --bg-card-hover: #162133;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim: rgba(201, 168, 76, 0.15);
  --white: #ffffff;
  --off-white: #e8eaed;
  --muted: #7a8fa6;
  --border: rgba(201, 168, 76, 0.2);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --radius: 12px;
}

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

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

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

h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.2; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 100px 0; }
.bg-alt { background-color: var(--bg-section); }

/* ---- TAGS / LABELS ---- */
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-dim); color: var(--gold);
  border: 1px solid var(--border); border-radius: 50px;
  padding: 6px 16px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
}

/* ---- BUTTONS ---- */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: #000;
  padding: 14px 32px; border-radius: 6px;
  font-weight: 700; font-size: 0.95rem;
  transition: var(--transition); border: 2px solid var(--gold);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,168,76,0.3); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--gold);
  padding: 14px 32px; border-radius: 6px;
  font-weight: 600; font-size: 0.95rem;
  transition: var(--transition); border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--gold); background: var(--gold-dim); }

/* ========================================
   NAVBAR
======================================== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 22px 0; transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8, 13, 20, 0.97);
  backdrop-filter: blur(12px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: var(--font-serif); font-size: 1.6rem;
  color: var(--gold); font-weight: 700;
}
.logo span { color: var(--off-white); font-style: italic; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a:not(.btn-gold) {
  color: var(--muted); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); position: relative;
}
.nav-links a:not(.btn-gold):hover { color: var(--gold); }
.nav-links a:not(.btn-gold)::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: var(--transition);
}
.nav-links a:not(.btn-gold):hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--off-white); transition: var(--transition); border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   HERO
======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 90px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 100%;
}
.hero-text {
  padding: 40px 0;
}
.hero-text .tag { margin-bottom: 24px; }
.hero-text h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.15;
}
.hero-text h1 em { color: var(--gold); font-style: italic; }
.hero-text p {
  color: var(--muted); font-size: 1.05rem; max-width: 480px;
  margin-bottom: 36px; line-height: 1.75;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats {
  display: flex; gap: 36px;
  padding-top: 36px; border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.8rem; font-family: var(--font-serif); color: var(--gold); font-weight: 700; }
.stat span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

.hero-image-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-photo-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(201,168,76,0.4), 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(201,168,76,0.08);
}
.hero-photo-wrap img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(10%);
}
.hero-badge {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(8,13,20,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 10px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
}
.hero-badge-icon { font-size: 1.8rem; color: var(--gold); flex-shrink: 0; }
.hero-badge-text strong { display: block; color: var(--white); font-size: 1rem; }
.hero-badge-text span { color: var(--muted); font-size: 0.78rem; }

/* ========================================
   TRUST BAR
======================================== */
.trust-bar { padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; }
.trust-bar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 30px; flex-wrap: nowrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.8rem; font-weight: 500;
  white-space: nowrap;
}
.trust-item i { color: var(--gold); font-size: 1rem; }

/* ========================================
   PROBLEM SECTION
======================================== */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.problem-text .tag { margin-bottom: 20px; }
.problem-text h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); margin-bottom: 20px; }
.problem-text p { color: var(--muted); margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }
.problem-cards { display: flex; flex-direction: column; gap: 16px; }
.problem-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: var(--transition);
}
.problem-card:hover { border-color: var(--gold); background: var(--bg-card-hover); transform: translateX(6px); }
.problem-card-icon {
  width: 44px; height: 44px; background: var(--gold-dim);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.2rem; flex-shrink: 0;
}
.problem-card h4 { color: var(--white); margin-bottom: 4px; font-family: var(--font-sans); font-weight: 600; }
.problem-card p { color: var(--muted); font-size: 0.88rem; }

/* ========================================
   ABOUT SECTION
======================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius); width: 100%; }
.about-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-section) 0%, transparent 50%);
  border-radius: var(--radius);
}
.about-xp {
  position: absolute; bottom: 30px; left: 30px; z-index: 2;
  background: rgba(8,13,20,0.85); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 24px; text-align: center;
}
.about-xp strong { display: block; font-size: 2.5rem; color: var(--gold); font-family: var(--font-serif); }
.about-xp span { color: var(--muted); font-size: 0.8rem; }

.about-content .tag { margin-bottom: 20px; }
.about-content h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); margin-bottom: 12px; }
.about-content .subtitle { color: var(--gold); font-size: 1rem; margin-bottom: 20px; font-style: italic; }
.about-content p { color: var(--muted); margin-bottom: 16px; line-height: 1.8; }
.about-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.about-list li {
  display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: 0.9rem;
}
.about-list li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }

/* ========================================
   COURSES SECTION
======================================== */
.courses-header { text-align: center; margin-bottom: 60px; }
.courses-header .tag { margin-bottom: 20px; }
.courses-header h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); margin-bottom: 12px; }
.courses-header p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.courses-meta {
  display: flex; justify-content: center; gap: 30px; flex-wrap: wrap;
  margin-bottom: 50px;
}
.meta-pill {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 50px; padding: 10px 22px;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.85rem; color: var(--muted);
}
.meta-pill i { color: var(--gold); }

.courses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.course-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition); cursor: default;
  position: relative; overflow: hidden;
}
.course-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transform-origin: left;
  transition: var(--transition);
}
.course-card:hover { border-color: rgba(201,168,76,0.4); background: var(--bg-card-hover); transform: translateY(-6px); }
.course-card:hover::before { transform: scaleX(1); }
.course-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.course-num { font-size: 3rem; color: var(--gold-dim); font-family: var(--font-serif); font-weight: 900; line-height: 1; }
.course-tag-delf {
  background: var(--gold-dim); color: var(--gold);
  padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 700;
  border: 1px solid var(--border);
}
.course-card h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 8px; }
.course-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ========================================
   WHY FRENCH
======================================== */
.why-header { text-align: center; margin-bottom: 60px; }
.why-header .tag { margin-bottom: 20px; }
.why-header h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); margin-bottom: 12px; }
.why-header p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.why-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 30px;
  display: flex; gap: 20px; align-items: flex-start;
  transition: var(--transition);
}
.why-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.why-icon {
  width: 52px; height: 52px; background: var(--gold-dim);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.4rem; flex-shrink: 0;
}
.why-card h3 { color: var(--white); margin-bottom: 8px; font-size: 1.1rem; }
.why-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* ========================================
   DELF DALF SECTION
======================================== */
.delf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.delf-text .tag { margin-bottom: 20px; }
.delf-text h2 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--white); margin-bottom: 20px; }
.delf-text p { color: var(--muted); margin-bottom: 16px; line-height: 1.8; }
.delf-cards { display: flex; flex-direction: column; gap: 20px; }
.delf-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  transition: var(--transition);
}
.delf-card:hover { border-color: var(--gold); }
.delf-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.delf-badge {
  background: var(--gold); color: #000;
  padding: 6px 14px; border-radius: 4px; font-weight: 800;
  font-size: 0.85rem; letter-spacing: 1px;
}
.delf-card h3 { color: var(--white); font-size: 1.1rem; }
.delf-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.delf-levels { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.level-pill {
  background: var(--gold-dim); color: var(--gold); border: 1px solid var(--border);
  padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600;
}

/* ========================================
   LINKS SECTION
======================================== */
.links-header { text-align: center; margin-bottom: 50px; }
.links-header h2 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); color: var(--white); margin-bottom: 12px; }
.links-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.links-col h3 {
  color: var(--gold); font-size: 0.85rem; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 20px; font-family: var(--font-sans);
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.links-col li a {
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 0.9rem; padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
}
.links-col li a:hover { color: var(--gold); padding-left: 8px; }
.links-col li a i { font-size: 0.75rem; color: var(--gold); }

/* ========================================
   CTA BANNER
======================================== */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(201,168,76,0.05) 100%);
  border: 1px solid var(--border); border-radius: 20px; padding: 80px 60px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner .tag { margin-bottom: 20px; }
.cta-banner h2 { font-size: clamp(2rem, 3.5vw, 3rem); color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: var(--muted); max-width: 540px; margin: 0 auto 40px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========================================
   FOOTER
======================================== */
.footer {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
  padding-bottom: 50px; border-bottom: 1px solid var(--border);
  margin-bottom: 30px;
}
.footer-brand .logo { font-size: 1.8rem; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; max-width: 280px; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  color: var(--white); font-family: var(--font-sans); font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px;
}
.footer-col li { margin-bottom: 12px; }
.footer-col li a { color: var(--muted); font-size: 0.88rem; transition: var(--transition); }
.footer-col li a:hover { color: var(--gold); }
.footer-col li { color: var(--muted); font-size: 0.88rem; display: flex; align-items: flex-start; gap: 8px; }
.footer-col li i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--muted); font-size: 0.82rem; }

/* ========================================
   ANIMATIONS
======================================== */
.fade-up {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.show { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .hero { padding-top: 90px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-text { padding: 0; }
  .hero-text p { max-width: 100%; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-col { justify-content: center; }
  .hero-photo-wrap { max-width: 400px; }
  .about-grid, .problem-grid, .delf-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section-pad { padding: 70px 0; }
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-main); flex-direction: column; justify-content: center;
    align-items: center; gap: 28px; z-index: 999;
  }
  .nav-links.active { display: flex; }
  .nav-links a:not(.btn-gold) { font-size: 1.3rem; }
  .hamburger { display: flex; z-index: 1001; position: relative; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-image-col { display: none; }
  .hero-cta { justify-content: center; }
  .hero-stats { gap: 24px; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
  .links-columns { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .cta-banner { padding: 50px 24px; }
  .trust-bar-inner { gap: 16px; }
  .courses-grid { grid-template-columns: 1fr; }
  .why-card { flex-direction: column; }
}
