/* ============================================
   SIRA DATA — Styles globaux
   Couleurs : Rouge #D32F2F | Vert #2E7D32 | Jaune #F9A825
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --red: #D32F2F;
  --green: #2E7D32;
  --yellow: #F9A825;
  --dark: #1a1a1a;
  --text: #333;
  --light: #f8f8f6;
  --white: #ffffff;
  --gray: #666;
  --border: #e8e8e8;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); }

/* ── NAV ── */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px; height: 80px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--red) 40%, var(--green) 40%);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; color: white;
  position: relative; flex-shrink: 0;
}
.logo-icon::after {
  content: '';
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 16px; height: 3px; background: var(--yellow); border-radius: 2px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .name { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 20px; color: var(--dark); }
.logo-text .name strong { color: var(--green); }
.logo-text .tagline { font-size: 10px; color: var(--gray); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--text);
  transition: color 0.2s; padding-bottom: 3px;
}
.nav-links a:hover { color: var(--red); }
.nav-links a.active {
  color: var(--red); border-bottom: 2px solid var(--red);
}
.btn-nav {
  background: var(--green); color: white; border: none; cursor: pointer;
  padding: 11px 22px; border-radius: 8px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background 0.2s, transform 0.1s; white-space: nowrap;
}
.btn-nav:hover { background: #1b5e20; transform: translateY(-1px); }

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

/* ── PAGE HERO (pages internes) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1b3a1c 100%);
  padding: 70px 60px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -40%; left: -5%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,125,50,0.3) 0%, transparent 70%);
}
.page-hero::after {
  content: ''; position: absolute; bottom: -40%; right: 5%;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(211,47,47,0.25) 0%, transparent 70%);
}
.page-hero .breadcrumb {
  font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 12px;
  position: relative; z-index: 1;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero h1 {
  font-family: 'Sora', sans-serif; font-size: 42px; font-weight: 800;
  color: white; margin-bottom: 16px; position: relative; z-index: 1;
}
.page-hero h1 em { font-style: normal; color: var(--yellow); }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 600px; margin: 0 auto; position: relative; z-index: 1; line-height: 1.7; }

/* ── SECTIONS COMMUNES ── */
.section-tag { font-size: 11px; font-weight: 700; letter-spacing: 3px; color: var(--green); margin-bottom: 12px; display: block; }
.section-title { font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.section-title em { font-style: normal; color: var(--green); }
.section-title .red { color: var(--red); }
.text-center { text-align: center; }

/* ── BOUTONS ── */
.btn-primary {
  background: var(--red); color: white; border: none; cursor: pointer;
  padding: 14px 28px; border-radius: 8px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: #b71c1c; transform: translateY(-1px); }
.btn-green {
  background: var(--green); color: white; border: none; cursor: pointer;
  padding: 14px 28px; border-radius: 8px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.btn-green:hover { background: #1b5e20; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--green); border: 2px solid var(--green);
  cursor: pointer; padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center;
  gap: 8px; text-decoration: none; transition: all 0.2s;
}
.btn-outline:hover { background: var(--green); color: white; }
.btn-outline-white {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5);
  cursor: pointer; padding: 12px 24px; border-radius: 8px;
  font-size: 14px; font-weight: 600; display: inline-flex; align-items: center;
  gap: 8px; text-decoration: none; transition: all 0.2s;
}
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--dark) 0%, #1b3a1c 100%);
  padding: 70px 60px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; top: -50%; left: -5%;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(46,125,50,0.3) 0%, transparent 70%);
}
.cta-band h2 { font-family: 'Sora', sans-serif; font-size: 34px; font-weight: 800; color: white; margin-bottom: 12px; position: relative; z-index: 1; }
.cta-band p { font-size: 16px; color: rgba(255,255,255,0.6); margin-bottom: 36px; position: relative; z-index: 1; }
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ── PLACEHOLDER (sections à compléter) ── */
.placeholder-section {
  padding: 80px 60px; background: var(--light);
  border: 2px dashed var(--border); margin: 20px 60px; border-radius: 16px;
  text-align: center;
}
.placeholder-section .ph-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.placeholder-section h3 { font-family: 'Sora', sans-serif; font-size: 22px; color: var(--gray); margin-bottom: 8px; }
.placeholder-section p { font-size: 14px; color: #aaa; }

/* ── FOOTER ── */
footer {
  background: var(--dark); color: white;
  padding: 60px 60px 30px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand .logo-text .name { color: white; }
.footer-brand .logo-text .tagline { color: #aaa; }
.footer-brand p { font-size: 13px; color: #999; line-height: 1.7; margin-top: 16px; max-width: 260px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: white; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: #999; text-decoration: none; transition: color 0.2s; }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid #333; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: #666; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 8px; background: #333;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; text-decoration: none; transition: background 0.2s;
}
.footer-socials a:hover { background: var(--green); }

/* ── TECH BAR ── */
.tech-bar {
  background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 22px 60px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.tech-label { font-size: 12px; font-weight: 700; color: var(--gray); white-space: nowrap; }
.tech-logos { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tech-badge { padding: 6px 14px; border-radius: 6px; font-size: 12px; font-weight: 700; }
.tech-powerbi { background: #F2C811; color: #333; }
.tech-microsoft { background: #0078D4; color: white; }
.tech-sap { background: #009FDA; color: white; }
.tech-sql { background: #CC2927; color: white; }
.tech-azure { background: #0089D6; color: white; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation: fadeUp 0.6s 0.1s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.2s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease both; }
.fade-up-4 { animation: fadeUp 0.6s 0.4s ease both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 80px; left: 0; right: 0; background: white;
    padding: 20px; border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 16px;
  }
  .nav-links.open + .btn-nav { display: block; margin: 0 20px 20px; }
  .page-hero { padding: 50px 20px; }
  .page-hero h1 { font-size: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 50px 20px; }
  .cta-band h2 { font-size: 26px; }
}
