/* =============================================
   MATHS.ELAKILI.COM — Professeur Elakili
   Palette: Bleu pastel / Blanc / Doré
   ============================================= */


/* --- CSS Variables --- */
:root {
  --green-dark: #2C3E6B;
  --green-mid: #4A7CC9;
  --green-light: #6B9ADE;
  --green-soft: #95B8E8;
  --green-pale: #E8F0FE;
  --cream: #FAFCFF;
  --cream-dark: #EEF3FB;
  --gold: #C9A227;
  --gold-light: #E0BC45;
  --text-dark: #1C2744;
  --text-body: #2C3E5A;
  --text-muted: #4A5A72;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(44, 62, 107, 0.05);
  --shadow-md: 0 4px 20px rgba(44, 62, 107, 0.08);
  --shadow-lg: 0 8px 40px rgba(44, 62, 107, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--cream);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--green-dark);
  line-height: 1.3;
}

a {
  color: var(--green-mid);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Subtle Background Pattern --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(44, 62, 107, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(44, 62, 107, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  padding-bottom: 0;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo .logo-text .logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.nav-logo .logo-text .logo-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-logo:hover {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: rgba(253, 248, 240, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
  background: rgba(253, 248, 240, 0.1);
}

.nav-links a.active {
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold-light);
}

.nav-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: var(--transition);
}

.nav-whatsapp:hover {
  background: #1fb855 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2.5px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #FAFCFF 0%, #E8F0FE 50%, #F0F5FF 100%);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(74, 124, 201, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--cream), transparent);
  z-index: 2;
}

/* Math symbols floating */
.hero-math-symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.math-symbol {
  position: absolute;
  font-family: 'JetBrains Mono', monospace;
  color: rgba(44, 62, 107, 0.06);
  font-size: 3rem;
  animation: float 20s infinite linear;
}

.math-symbol:nth-child(1) { top: 10%; left: 5%; font-size: 4rem; animation-delay: 0s; animation-duration: 25s; }
.math-symbol:nth-child(2) { top: 30%; left: 85%; font-size: 3rem; animation-delay: -5s; animation-duration: 22s; }
.math-symbol:nth-child(3) { top: 60%; left: 15%; font-size: 5rem; animation-delay: -10s; animation-duration: 28s; }
.math-symbol:nth-child(4) { top: 80%; left: 70%; font-size: 2.5rem; animation-delay: -3s; animation-duration: 20s; }
.math-symbol:nth-child(5) { top: 20%; left: 50%; font-size: 3.5rem; animation-delay: -8s; animation-duration: 24s; }
.math-symbol:nth-child(6) { top: 50%; left: 90%; font-size: 4.5rem; animation-delay: -12s; animation-duration: 30s; }
.math-symbol:nth-child(7) { top: 75%; left: 40%; font-size: 2rem; animation-delay: -15s; animation-duration: 26s; }

@keyframes float {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
  25% { opacity: 0.6; }
  50% { transform: translateY(-30px) rotate(10deg); opacity: 0.3; }
  75% { opacity: 0.6; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
}

.hero .container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74, 124, 201, 0.1);
  border: 1px solid rgba(74, 124, 201, 0.25);
  color: var(--green-mid);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

.hero-badge::before {
  content: '✦';
  font-size: 0.8rem;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--gold);
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #2C3E6B;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.hero-image-wrapper {
  position: relative;
  width: 380px;
  height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(74, 124, 201, 0.2);
  box-shadow: 0 20px 60px rgba(44, 62, 107, 0.12);
}

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

.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: 'Playfair Display', serif;
}

.hero-image-placeholder .initials {
  font-size: 5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero-image-placeholder span {
  font-size: 1rem;
  opacity: 0.7;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #D4B55A);
  color: var(--green-dark);
  box-shadow: 0 4px 15px rgba(201, 162, 39, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(201, 162, 39, 0.4);
  color: var(--green-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid rgba(44, 62, 107, 0.25);
}

.btn-secondary:hover {
  background: rgba(44, 62, 107, 0.06);
  border-color: rgba(44, 62, 107, 0.4);
  color: var(--green-dark);
}

.btn-green {
  background: var(--green-dark);
  color: var(--cream);
}

.btn-green:hover {
  background: var(--green-mid);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-weight: 700;
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-whatsapp:hover {
  background: #1fb855;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.3);
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--green-dark);
  color: var(--cream);
}

.section-alt {
  background: var(--cream-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .overline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-dark .section-header h2 {
  color: var(--cream);
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(253, 248, 240, 0.65);
}

/* =============================================
   PUBLIC CARDS (Homepage)
   ============================================= */
.public-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.public-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid rgba(44, 62, 107, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.public-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-dark), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.public-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.public-card:hover::before {
  transform: scaleX(1);
}

.public-card .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--green-pale), rgba(45, 106, 79, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
}

.public-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.public-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.public-card .tarif {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
}

.public-card .tarif small {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  font-family: 'Source Sans 3', sans-serif;
}

/* =============================================
   PARCOURS TIMELINE
   ============================================= */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--gold), var(--green-mid));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px var(--gold);
  z-index: 2;
}

.timeline-content h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.timeline-content .year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(44, 62, 107, 0.08);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
}

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

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--green-pale);
  line-height: 1;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author .avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1rem;
}

.testimonial-author .info {
  font-size: 0.9rem;
}

.testimonial-author .name {
  font-weight: 600;
  color: var(--green-dark);
}

.testimonial-author .role {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* =============================================
   PRICING TABLE (Cours & Formules)
   ============================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  border: 2px solid rgba(44, 62, 107, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--gold);
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured::after {
  content: '★ Le plus demandé';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), #D4B55A);
  color: var(--green-dark);
  padding: 6px 24px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-card .level {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.pricing-card .description {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  min-height: 44px;
}

.pricing-card .price {
  margin-bottom: 28px;
}

.pricing-card .price .amount {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}

.pricing-card .price .currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-card .price .per {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pricing-card .price .euro-equiv {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-top: 4px;
}

.pricing-card .features {
  list-style: none;
  margin-bottom: 32px;
  text-align: left;
}

.pricing-card .features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card .features li::before {
  content: '✓';
  color: var(--green-soft);
  font-weight: 700;
  flex-shrink: 0;
}

/* =============================================
   SETUP / BUREAU
   ============================================= */
.setup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.setup-grid.reverse {
  direction: rtl;
}

.setup-grid.reverse > * {
  direction: ltr;
}

.setup-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(44, 62, 107, 0.1);
}

.setup-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-pale), var(--cream-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  font-size: 1.1rem;
  gap: 12px;
}

.setup-image-placeholder .icon-large {
  font-size: 3rem;
}

.setup-content h3 {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.setup-content p {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 20px;
}

.setup-features {
  list-style: none;
}

.setup-features li {
  padding: 10px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.setup-features li .feat-icon {
  width: 36px;
  height: 36px;
  background: var(--green-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* =============================================
   RESOURCES LINKS
   ============================================= */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(44, 62, 107, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.resource-card .resource-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.resource-card .resource-icon.green {
  background: linear-gradient(135deg, var(--green-pale), rgba(45, 106, 79, 0.15));
}

.resource-card .resource-icon.gold {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15), rgba(201, 162, 39, 0.05));
}

.resource-card .resource-icon.red {
  background: linear-gradient(135deg, #fde8e8, #fee2e2);
}

.resource-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.resource-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.resource-card .btn {
  align-self: flex-start;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--cream);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(253, 248, 240, 0.7);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #1A2B4D;
  color: rgba(253, 248, 240, 0.6);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--cream);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: rgba(253, 248, 240, 0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(253, 248, 240, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
}

/* =============================================
   WHATSAPP FLOATING BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  padding: 14px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.35);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.45);
  color: var(--white);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50px;
  background: #25D366;
  animation: pulse 2s infinite;
  z-index: -1;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* =============================================
   PAGE HEADER (for inner pages)
   ============================================= */
.page-header {
  background: linear-gradient(160deg, #EEF3FB, #E8F0FE, #F0F5FF);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(to top, var(--cream), transparent);
}

.page-header h1 {
  font-size: 2.8rem;
  color: var(--green-dark);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

/* =============================================
   FAQ
   ============================================= */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 16px;
  border: 1px solid rgba(44, 62, 107, 0.08);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--green-dark);
  transition: var(--transition);
}

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

.faq-question .arrow {
  transition: var(--transition);
  font-size: 1.2rem;
  color: var(--green-light);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 28px 22px;
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
  }
  
  .hero-image-wrapper {
    width: 280px;
    height: 340px;
  }
  
  .public-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
  
  .setup-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .setup-grid.reverse {
    direction: ltr;
  }
  
  .testimonials-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 60px;
    padding-right: 0;
    text-align: left;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--green-dark);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 2px solid rgba(201, 162, 39, 0.2);
  }
  
  .nav-links.open {
    display: flex;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero-stats {
    gap: 24px;
  }
  
  .hero-stat .number {
    font-size: 2.2rem;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .page-header h1 {
    font-size: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float {
    padding: 12px 20px;
    font-size: 0.9rem;
    bottom: 20px;
    right: 20px;
  }
}

/* =============================================
   WORDPRESS OVERRIDES
   ============================================= */
.wp-site-blocks {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.wp-site-blocks > .wp-block-post-content {
  padding: 0 !important;
  max-width: 100% !important;
}

.entry-content > * {
  max-width: 100% !important;
}

body {
  margin: 0 !important;
  padding: 0 !important;
}
