/* ===== VARIABLES ===== */
:root {
  --primary: #0D1B6E;
  --accent: #F57C00;
  --accent-light: #FF9800;
  --white: #FFFFFF;
  --light: #F5F7FA;
  --gray: #6B7280;
  --dark: #1A1A2E;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { font-size: 1rem; color: var(--gray); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p { max-width: 600px; margin: 1rem auto 0; font-size: 1.1rem; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.85rem 2rem; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-whatsapp { background: #25D366; color: var(--white); }
.btn-whatsapp:hover { background: #1EBE58; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }

/* ===== BADGE ===== */
.badge { display: inline-block; background: rgba(245, 124, 0, 0.12); color: var(--accent); font-size: 0.8rem; font-weight: 700; padding: 0.3rem 1rem; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; width: 100%; z-index: 1000; background: rgba(13, 27, 110, 0.97); backdrop-filter: blur(10px); padding: 1rem 0; transition: var(--transition); }
.navbar.scrolled { padding: 0.6rem 0; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-text { font-size: 1.5rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; }
.logo-text span { color: var(--accent); }
.logo-tag { font-size: 0.65rem; background: var(--accent); color: white; padding: 0.15rem 0.4rem; border-radius: 4px; font-weight: 700; vertical-align: super; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; transition: var(--transition); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 25px; height: 2px; background: white; transition: var(--transition); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: var(--primary); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 2rem; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: white; font-size: 1.4rem; font-weight: 600; }
.mobile-menu a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero { min-height: 100vh; background: linear-gradient(135deg, var(--primary) 0%, #1a2d8f 50%, #0a1550 100%); display: flex; align-items: center; padding-top: 5rem; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(245,124,0,0.15) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -20%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-content { color: white; }
.hero-content .badge { background: rgba(245,124,0,0.2); color: #FFB74D; }
.hero-content h1 { margin-bottom: 1.5rem; }
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; max-width: 480px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); }
.stat-item { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.05em; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-card { background: rgba(255,255,255,0.08); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.15); border-radius: 20px; padding: 2rem; width: 100%; max-width: 380px; }
.hero-card-title { color: white; font-size: 1.1rem; font-weight: 700; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-card-title span { font-size: 1.4rem; }
.service-pill { display: flex; align-items: center; gap: 0.8rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 0.75rem 1rem; margin-bottom: 0.75rem; color: rgba(255,255,255,0.9); font-size: 0.9rem; transition: var(--transition); }
.service-pill:hover { background: rgba(245,124,0,0.15); border-color: var(--accent); }
.service-pill-icon { font-size: 1.2rem; }

/* ===== SERVICES ===== */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); transition: var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--accent); transform: scaleY(0); transition: var(--transition); transform-origin: bottom; }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.service-card:hover::before { transform: scaleY(1); }
.service-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { color: var(--primary); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.92rem; }

/* ===== FORMATIONS ===== */
.formations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.formation-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.formation-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.formation-header { background: linear-gradient(135deg, var(--primary), #1a2d8f); padding: 1.5rem; }
.formation-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.formation-header h3 { color: white; }
.formation-body { padding: 1.5rem; }
.formation-body p { margin-bottom: 1rem; font-size: 0.92rem; }
.formation-features { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.5rem; }
.formation-features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.88rem; color: var(--gray); }
.formation-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.formation-cta { display: flex; align-items: center; justify-content: space-between; }
.formation-price { font-size: 1.1rem; font-weight: 700; color: var(--primary); }
.formation-price span { font-size: 0.8rem; font-weight: 400; color: var(--gray); }

/* ===== POURQUOI NOUS ===== */
.why-us { background: var(--primary); color: white; }
.why-us .section-header h2 { color: white; }
.why-us .section-header p { color: rgba(255,255,255,0.7); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; }
.why-item { text-align: center; padding: 2rem 1rem; }
.why-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.why-item h3 { color: white; margin-bottom: 0.75rem; }
.why-item p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }

/* ===== TEMOIGNAGES ===== */
.temoignages { background: var(--light); }
.temoignages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.temoignage-card { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--border); }
.stars { color: #F59E0B; font-size: 1.1rem; margin-bottom: 1rem; letter-spacing: 2px; }
.temoignage-card p { font-style: italic; margin-bottom: 1.5rem; }
.temoignage-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar { width: 45px; height: 45px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.author-name { font-weight: 600; font-size: 0.95rem; color: var(--dark); }
.author-role { font-size: 0.8rem; color: var(--gray); }

/* ===== CTA BAND ===== */
.cta-band { background: linear-gradient(135deg, var(--accent) 0%, #E65100 100%); padding: 4rem 0; text-align: center; }
.cta-band h2 { color: white; margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info h2 { color: var(--primary); margin-bottom: 1rem; }
.contact-info p { margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1rem; }
.contact-item-icon { width: 45px; height: 45px; border-radius: 10px; background: rgba(13,27,110,0.08); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-item-text strong { display: block; font-size: 0.85rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.contact-item-text a { color: var(--dark); font-weight: 500; transition: var(--transition); }
.contact-item-text a:hover { color: var(--accent); }
.contact-social { display: flex; gap: 0.75rem; }
.social-btn { width: 40px; height: 40px; border-radius: 10px; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: var(--transition); }
.social-btn:hover { background: var(--primary); transform: translateY(-2px); }
.contact-form { background: var(--light); border-radius: var(--radius); padding: 2.5rem; }
.contact-form h3 { color: var(--primary); margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; }
input, textarea, select { width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.95rem; transition: var(--transition); background: white; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,27,110,0.1); }
textarea { resize: vertical; min-height: 130px; }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 4rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo-text { font-size: 1.4rem; margin-bottom: 1rem; display: block; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 1.5rem; }
.footer-col h4 { color: white; font-size: 0.95rem; margin-bottom: 1.25rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a { font-size: 0.88rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.85rem; }
.footer-bottom a { color: var(--accent); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: linear-gradient(135deg, var(--primary), #1a2d8f); padding: 8rem 0 4rem; text-align: center; color: white; }
.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.85rem; }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--accent); }

/* ===== PORTFOLIO ===== */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.portfolio-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); background: white; }
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.portfolio-img { height: 200px; background: linear-gradient(135deg, var(--primary), #1a2d8f); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.portfolio-body { padding: 1.5rem; }
.portfolio-tag { font-size: 0.75rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.portfolio-body h3 { color: var(--primary); margin-bottom: 0.5rem; }
.portfolio-body p { font-size: 0.88rem; }

/* ===== BOUTIQUE ===== */
.produits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.produit-card { background: white; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.produit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.produit-img { height: 180px; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 4rem; }
.produit-body { padding: 1.25rem; }
.produit-badge { font-size: 0.72rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.produit-body h3 { color: var(--dark); margin: 0.3rem 0 0.5rem; font-size: 1rem; }
.produit-body p { font-size: 0.85rem; margin-bottom: 1rem; }
.produit-footer { display: flex; align-items: center; justify-content: space-between; }
.produit-price { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.produit-btn { padding: 0.5rem 1rem; font-size: 0.82rem; }

/* ===== A PROPOS ===== */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual { background: linear-gradient(135deg, var(--primary), #1a2d8f); border-radius: 20px; height: 420px; display: flex; align-items: center; justify-content: center; font-size: 8rem; position: relative; }
.about-badge-float { position: absolute; bottom: -1rem; right: -1rem; background: var(--accent); color: white; border-radius: 12px; padding: 1rem 1.5rem; text-align: center; box-shadow: var(--shadow); }
.about-badge-float .num { font-size: 2rem; font-weight: 900; display: block; }
.about-badge-float .lbl { font-size: 0.75rem; font-weight: 600; opacity: 0.9; }
.about-content .badge { margin-bottom: 1rem; }
.about-content h2 { color: var(--primary); margin-bottom: 1.25rem; }
.about-content p { margin-bottom: 1rem; }
.values-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.value-item { display: flex; align-items: flex-start; gap: 1rem; }
.value-icon { font-size: 1.5rem; flex-shrink: 0; }
.value-item h4 { color: var(--primary); margin-bottom: 0.2rem; font-size: 0.95rem; }
.value-item p { font-size: 0.88rem; margin: 0; }

/* ===== MAP ===== */
.map-section { background: var(--light); padding: 4rem 0; }
.map-wrapper { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-wrapper iframe { width: 100%; height: 350px; border: none; display: block; }

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-inner { grid-template-columns: 1fr; }
  .about-visual { height: 250px; font-size: 5rem; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 0; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(25px); } to { opacity: 1; transform: translateY(0); } }
.fade-in-up { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
