/* ===== ARCADINS Training Center - Main Stylesheet ===== */
:root {
  --blue: #0B5D3B;
  --blue-dark: #074A2E;
  --blue-light: #1C8C5A;
  --red: #FF0000;
  --red-dark: #CC0000;
  --gold: #C9A84C;
  --gold-light: #e6c06b;
  --white: #ffffff;
  --gray-light: #f4f6fb;
  --gray: #e0e4ef;
  --gray-text: #555;
  --text: #1a1a2e;
  --shadow: 0 4px 24px rgba(11,93,59,0.10);
  --radius: 12px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  padding: 6px 0;
  text-align: center;
}
.topbar a { color: var(--gold-light); text-decoration: none; }

/* ===== NAVBAR ===== */
nav {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -1px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}
.logo-sub {
  font-size: 0.68rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 7px 11px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover { background: var(--gray-light); color: var(--blue); }
.nav-links .btn-login {
  background: transparent;
  border: 2px solid var(--blue);
  color: var(--blue);
  border-radius: 8px;
  padding: 6px 14px;
  font-weight: 600;
}
.nav-links .btn-login:hover { background: var(--blue); color: white; }
.nav-links .btn-cta {
  background: var(--red);
  color: white;
  border-radius: 8px;
  padding: 8px 16px;
  font-weight: 700;
}
.nav-links .btn-cta:hover { background: var(--red-dark); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  color: white;
  padding: 90px 24px 80px;
  position: relative;
  overflow: hidden;
}
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 25s infinite;
}
.hero-slideshow img:nth-child(1) { animation-delay: 0s; }
.hero-slideshow img:nth-child(2) { animation-delay: 5s; }
.hero-slideshow img:nth-child(3) { animation-delay: 10s; }
.hero-slideshow img:nth-child(4) { animation-delay: 15s; }
.hero-slideshow img:nth-child(5) { animation-delay: 20s; }
.hero-slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,42,77,.88) 0%, rgba(26,75,140,.85) 50%, rgba(74,144,217,.8) 100%);
}
@keyframes heroFade {
  0%, 4% { opacity: 0; }
  6%, 18% { opacity: 1; }
  20%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slideshow img { animation: none; opacity: 0; }
  .hero-slideshow img:first-child { opacity: 1; }
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: rgba(201,168,76,0.12);
  border-radius: 50%;
  z-index: 1;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  z-index: 1;
}
.hero-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.2);
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--gold-light); }
.hero p {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-primary {
  background: var(--red);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,0,0,0.3); }
.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); }
.btn-gold {
  background: var(--gold);
  color: var(--blue-dark);
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 32px;
  width: 100%;
  max-width: 380px;
}
.hero-card h3 {
  color: var(--gold-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 700;
}
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-item {
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-light);
  display: block;
}
.stat-label { font-size: 0.75rem; opacity: 0.8; margin-top: 4px; }
.hero-flags {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  justify-content: center;
}
.flag-pill {
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== SECTIONS COMMUNES ===== */
section { padding: 70px 24px; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-tag {
  display: inline-block;
  background: rgba(11,93,59,0.08);
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-text);
  max-width: 640px;
  margin: auto;
}
.container { max-width: 1200px; margin: auto; }

/* ===== WHY ARCADINS ===== */
.why-section { background: var(--gray-light); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-top-color: var(--blue);
  box-shadow: 0 8px 32px rgba(11,93,59,0.15);
}
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.88rem; color: var(--gray-text); }

/* ===== FORMATIONS ===== */
.formations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.formation-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.formation-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(11,93,59,0.18); }
.formation-header {
  padding: 32px;
  color: white;
}
.formation-header.tef { background: linear-gradient(135deg, #0B5D3B, #1C8C5A); }
.formation-header.tcf { background: linear-gradient(135deg, #CC0000, #ff4444); }
.formation-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.formation-header h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.formation-header p { opacity: 0.9; font-size: 0.9rem; }
.formation-body { background: white; padding: 28px; }
.module-list { list-style: none; margin-bottom: 20px; }
.module-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray);
  font-size: 0.9rem;
  color: var(--text);
}
.module-list li:last-child { border-bottom: none; }
.module-list li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== TESTS INTERACTIFS ===== */
.tests-section { background: var(--gray-light); }
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.test-card {
  background: white;
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.test-card:hover { border-color: var(--blue); transform: translateY(-4px); }
.test-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.test-card h3 { font-size: 0.95rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 6px; }
.test-card p { font-size: 0.8rem; color: var(--gray-text); }
.test-card .badge-free {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 12px;
  margin-top: 10px;
}

/* ===== TARIFS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: white;
  border-radius: 18px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 2px solid var(--gray);
}
.pricing-card.popular {
  border-color: var(--blue);
  transform: scale(1.04);
}
.pricing-card:hover { box-shadow: 0 12px 40px rgba(11,93,59,0.18); }
.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.plan-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--blue-dark);
  margin-bottom: 4px;
}
.plan-price span { font-size: 1rem; font-weight: 400; color: var(--gray-text); }
.plan-desc { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 20px; }
.plan-features { list-style: none; margin-bottom: 24px; }
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.87rem;
  color: var(--text);
}
.plan-features li::before {
  content: '✓';
  color: #2e7d32;
  font-weight: 700;
  flex-shrink: 0;
}
.plan-features li.no::before { content: '✗'; color: #ccc; }

/* ===== INSCRIPTION ===== */
.inscription-section { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.inscription-section .section-header h2 { color: white; }
.inscription-section .section-header p { color: rgba(255,255,255,0.8); }
.inscription-form {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 720px;
  margin: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 2px solid var(--gray);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--gray-light);
  color: var(--text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
}

/* ===== FAQ ===== */
.faq-section { background: var(--gray-light); }
.faq-list { max-width: 800px; margin: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: inherit;
  transition: var(--transition);
}
.faq-question:hover { background: var(--gray-light); }
.faq-icon {
  width: 28px;
  height: 28px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gray-text);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { background: var(--red); transform: rotate(45deg); }

/* ===== LEGAL NOTICE ===== */
.legal-notice {
  background: #fff8e1;
  border-left: 4px solid var(--gold);
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 860px;
  margin: 40px auto 0;
  font-size: 0.85rem;
  color: #5a4500;
  line-height: 1.6;
}
.legal-notice strong { color: #3d2f00; }

/* ===== FOOTER ===== */
footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 24px 24px;
}
.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-name { color: white; font-size: 1.2rem; }
.footer-brand .logo-sub { color: var(--gold-light); }
.footer-brand p {
  margin-top: 14px;
  font-size: 0.85rem;
  opacity: 0.75;
  line-height: 1.7;
}
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-btn:hover { background: var(--blue-light); }
.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  max-width: 1200px;
  margin: auto;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== MODAL CONNEXION ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: white;
  border-radius: 20px;
  padding: 40px;
  width: 100%;
  max-width: 420px;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity:0; transform: scale(0.9) translateY(-20px); }
  to { opacity:1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gray-light);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.modal-close:hover { background: var(--gray); }
.modal h2 { font-size: 1.4rem; color: var(--blue-dark); margin-bottom: 6px; }
.modal p { font-size: 0.85rem; color: var(--gray-text); margin-bottom: 24px; }
.modal-tabs { display: flex; gap: 0; margin-bottom: 24px; border-radius: 10px; overflow: hidden; border: 2px solid var(--gray); }
.modal-tab {
  flex: 1;
  padding: 10px;
  border: none;
  background: var(--gray-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.modal-tab.active { background: var(--blue); color: white; }
.modal-form { display: none; flex-direction: column; gap: 16px; }
.modal-form.active { display: flex; }
.forgot-link { text-align: right; font-size: 0.8rem; }
.forgot-link a { color: var(--blue); text-decoration: none; }

/* ===== TABLEAU DASHBOARD ===== */
.dashboard-section { background: var(--gray-light); }
.dashboard-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; }
.sidebar {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  height: fit-content;
}
.sidebar-user { text-align: center; margin-bottom: 24px; }
.avatar {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 10px;
}
.sidebar-user h3 { font-size: 1rem; color: var(--blue-dark); font-weight: 700; }
.sidebar-user p { font-size: 0.78rem; color: var(--gray-text); }
.sidebar-menu { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--gray-text);
  font-size: 0.88rem;
  transition: var(--transition);
}
.sidebar-menu a:hover, .sidebar-menu a.active {
  background: rgba(11,93,59,0.08);
  color: var(--blue);
  font-weight: 600;
}
.main-content { display: flex; flex-direction: column; gap: 20px; }
.dash-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.dash-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.progress-item { margin-bottom: 14px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.83rem;
  color: var(--text);
  margin-bottom: 6px;
}
.progress-bar {
  height: 8px;
  background: var(--gray);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 4px;
  transition: width 1s ease;
}
.score-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.score-item {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}
.score-num { font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.score-label { font-size: 0.72rem; color: var(--gray-text); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-block {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 20px;
  padding: 48px;
  color: white;
  text-align: center;
}
.about-img-block .big-icon { font-size: 4rem; margin-bottom: 16px; }
.about-img-block h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 10px; }
.about-img-block p { opacity: 0.85; line-height: 1.7; }
.values-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.value-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.value-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(11,93,59,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.value-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--blue-dark); }
.value-item p { font-size: 0.85rem; color: var(--gray-text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .formations-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 74px; left: 0; right: 0; background: white; flex-direction: column; padding: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .score-grid { grid-template-columns: 1fr 1fr; }
  .pricing-card.popular { transform: none; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .hero-btns a { text-align: center; justify-content: center; }
  section { padding: 48px 16px; }
}

/* ===== WHATSAPP FLOATING BUTTON ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.wa-btn {
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  animation: waPulse 2.5s infinite;
}
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 30px; height: 30px; fill: white; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.75); }
}
.wa-tooltip {
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  font-size: .85rem;
  max-width: 220px;
  text-align: center;
  display: none;
  border: 1px solid var(--gray);
}
.wa-tooltip strong { color: var(--blue-dark); display: block; margin-bottom: 4px; }
.wa-tooltip p { color: var(--gray-text); margin: 0; font-size: .78rem; }
.wa-float:hover .wa-tooltip { display: block; }

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 8999;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(11,93,59,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  font-size: 1.1rem;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--blue-dark); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: var(--blue-dark);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: .84rem; margin: 0; opacity: .9; }
.cookie-banner a { color: var(--gold-light); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--gold);
  color: var(--blue-dark);
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 700;
  cursor: pointer;
  font-size: .85rem;
  font-family: inherit;
  transition: var(--transition);
}
.btn-cookie-accept:hover { background: var(--gold-light); }
.btn-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: .85rem;
  font-family: inherit;
  transition: var(--transition);
}
.btn-cookie-decline:hover { color: white; border-color: white; }

/* ===== WELCOME POPUP ===== */
.welcome-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.welcome-overlay.active { display: flex; }
.welcome-popup {
  background: white;
  border-radius: 24px;
  max-width: 500px;
  width: 100%;
  overflow: hidden;
  animation: popIn .4s ease;
  position: relative;
}
@keyframes popIn {
  from { opacity:0; transform: scale(.88) translateY(-30px); }
  to { opacity:1; transform: scale(1) translateY(0); }
}
.welcome-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 32px 32px 24px;
  color: white;
  text-align: center;
}
.welcome-header .offer-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.welcome-header h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 8px; }
.welcome-header p { font-size: .9rem; opacity: .85; }
.welcome-body { padding: 28px 32px 32px; }
.welcome-perks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.welcome-perks li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text); }
.welcome-perks li::before { content: "v"; width: 22px; height: 22px; background: var(--blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .7rem; font-weight: 700; flex-shrink: 0; }
.welcome-close {
  position: absolute;
  top: 14px; right: 16px;
  background: rgba(255,255,255,.2);
  border: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: white;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.welcome-close:hover { background: rgba(255,255,255,.35); }

/* ===== CHAT WIDGET ===== */
.chat-widget {
  position: fixed;
  bottom: 96px;
  right: 96px;
  z-index: 8998;
  width: 340px;
  background: white;
  border-radius: 18px;
  box-shadow: 0 8px 40px rgba(0,0,0,.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chat-widget.open { display: flex; }
.chat-header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 16px 18px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-agent { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 38px; height: 38px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--blue-dark);
  font-size: .85rem;
  flex-shrink: 0;
}
.chat-agent-info strong { display: block; font-size: .9rem; }
.chat-agent-info span { font-size: .72rem; opacity: .8; }
.chat-close-btn { background: transparent; border: none; color: white; cursor: pointer; font-size: 1.1rem; padding: 4px; }
.chat-messages { height: 260px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--gray-light); }
.msg { max-width: 85%; }
.msg-bot { align-self: flex-start; }
.msg-user { align-self: flex-end; }
.msg-bubble { padding: 10px 14px; border-radius: 14px; font-size: .84rem; line-height: 1.5; }
.msg-bot .msg-bubble { background: white; color: var(--text); border-bottom-left-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.msg-user .msg-bubble { background: var(--blue); color: white; border-bottom-right-radius: 4px; }
.chat-quick-btns { padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 6px; border-top: 1px solid var(--gray); background: white; }
.quick-btn {
  background: rgba(11,93,59,.08);
  border: 1px solid rgba(11,93,59,.15);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: .75rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--blue);
  transition: var(--transition);
}
.quick-btn:hover { background: var(--blue); color: white; }
.chat-input-row { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--gray); background: white; }
.chat-input { flex: 1; border: 2px solid var(--gray); border-radius: 10px; padding: 9px 12px; font-size: .84rem; font-family: inherit; outline: none; transition: var(--transition); }
.chat-input:focus { border-color: var(--blue); }
.chat-send { background: var(--blue); color: white; border: none; border-radius: 10px; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; transition: var(--transition); }
.chat-send:hover { background: var(--blue-dark); }
.chat-toggle-btn {
  position: fixed;
  bottom: 96px;
  right: 96px;
  z-index: 8997;
  width: 48px;
  height: 48px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(11,93,59,.4);
  font-size: 1.3rem;
  transition: var(--transition);
}
.chat-toggle-btn:hover { background: var(--blue-dark); transform: scale(1.08); }
.chat-notif {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--red);
  color: white;
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: .65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section { background: var(--gray-light); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testi-card {
  background: white;
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(11,93,59,.14); }
.stars { color: #f4a700; font-size: 1rem; margin-bottom: 12px; }
.testi-text { font-size: .9rem; color: var(--gray-text); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; color: white; flex-shrink: 0; }
.testi-name { font-weight: 700; font-size: .9rem; color: var(--text); }
.testi-meta { font-size: .76rem; color: var(--gray-text); }
.testi-result { display: inline-block; background: #e8f5e9; color: #2e7d32; font-size: .72rem; font-weight: 700; padding: 2px 10px; border-radius: 10px; margin-top: 4px; }

/* ===== NEWSLETTER ===== */
.newsletter-section { background: linear-gradient(135deg, #074A2E 0%, #0B5D3B 60%, #C9A84C 100%); padding: 70px 24px; }
.newsletter-inner { max-width: 700px; margin: auto; text-align: center; color: white; }
.newsletter-inner h2 { font-size: 1.9rem; font-weight: 900; margin-bottom: 10px; }
.newsletter-inner p { opacity: .85; margin-bottom: 28px; font-size: 1rem; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: auto; flex-wrap: wrap; }
.newsletter-input { flex: 1; min-width: 220px; padding: 14px 18px; border-radius: 10px; border: none; font-size: .95rem; font-family: inherit; outline: none; }
.newsletter-perks { display: flex; justify-content: center; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.newsletter-perks span { font-size: .78rem; opacity: .8; display: flex; align-items: center; gap: 5px; }

/* ===== NOTIFICATION BAR ===== */
.notif-bar {
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  color: white;
  text-align: center;
  padding: 10px 40px;
  font-size: .82rem;
  font-weight: 600;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.notif-bar a { color: var(--gold-light); font-weight: 700; text-decoration: underline; }
.notif-bar-close { position: absolute; right: 14px; background: transparent; border: none; color: rgba(255,255,255,.8); cursor: pointer; font-size: 1.1rem; padding: 2px 6px; top: 50%; transform: translateY(-50%); }
.notif-bar-count { background: var(--gold); color: var(--blue-dark); font-size: .7rem; font-weight: 800; padding: 2px 10px; border-radius: 12px; }

/* ===== BLOG ===== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 32px rgba(11,93,59,.15); }
.blog-thumb { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-body { padding: 20px; }
.blog-cat { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); margin-bottom: 8px; }
.blog-card h3 { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 8px; line-height: 1.4; }
.blog-card p { font-size: .83rem; color: var(--gray-text); line-height: 1.6; margin-bottom: 14px; }
.blog-meta { font-size: .75rem; color: var(--gray-text); display: flex; align-items: center; justify-content: space-between; }
.read-more { color: var(--blue); font-weight: 600; text-decoration: none; font-size: .82rem; }
.read-more:hover { text-decoration: underline; }

/* ===== READING PROGRESS BAR ===== */
.reading-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--gold)); z-index: 2000; width: 0%; transition: width .1s linear; }

/* ===== LIVE COUNTER ===== */
.counter-dot { width: 10px; height: 10px; background: #4caf50; border-radius: 50%; animation: blink 1.2s infinite; flex-shrink: 0; display: inline-block; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:.3; } }

@media (max-width: 768px) {
  .wa-float { bottom: 18px; right: 18px; }
  .scroll-top { bottom: 84px; right: 18px; }
  .chat-toggle-btn { right: 84px; bottom: 84px; }
  .chat-widget { right: 10px; bottom: 140px; width: calc(100vw - 20px); }
  .notif-bar { padding: 10px 36px 10px 14px; font-size: .78rem; }
}
