/* Base styles shared verbatim across cartes/index.html, donnees/index.html, plans/index.html:
   reset, nav, hero/breadcrumb, section/section-label. Page-specific CSS stays inline. */

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

  @keyframes slideInDown {
    from { transform: translateY(-10px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }

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

  body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background: linear-gradient(135deg, #eceef2 0%, #e2e6ec 100%);
    color: #1a1a18;
    line-height: 1.6;
  }

  /* NAV */
  nav { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 0 2rem; 
    height: 64px; 
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky; 
    top: 0; 
    z-index: 100;
    animation: slideInDown 0.6s ease-out;
  }

  .nav-logo { 
    font-size: 16px; 
    font-weight: 700; 
    letter-spacing: -0.3px; 
    color: #1c3c6e;
    text-decoration: none;
    background: linear-gradient(135deg, #1c3c6e, #1a9455);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .nav-links { 
    display: flex; 
    gap: 2rem;
    align-items: center;
  }

  .nav-links a { 
    font-size: 14px; 
    color: #6b6b66; 
    text-decoration: none; 
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1c3c6e, #1a9455);
    transition: width 0.3s ease;
  }

  .nav-links a:hover {
    color: #1c3c6e;
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav-pill { 
    background: linear-gradient(135deg, #1c3c6e, #1a9455);
    color: #fff !important;
    padding: 8px 18px; 
    border-radius: 24px; 
    font-size: 13px !important; 
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(28, 60, 110, 0.3);
    text-decoration: none;
  }

  .nav-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(28, 60, 110, 0.4);
  }

  /* HERO */
  .hero { 
    position: relative; 
    overflow: hidden; 
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(28, 60, 110, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
  }

  .hero-content { 
    max-width: 900px; 
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }

  .breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 13px;
  }

  .breadcrumb a {
    color: #1c3c6e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  .breadcrumb a:hover {
    text-decoration: underline;
  }

  .breadcrumb span {
    color: #6b6b66;
  }

  h1 { 
    font-size: 42px; 
    font-weight: 700; 
    line-height: 1.2; 
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1c3c6e 0%, #1a9455 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
  }

  .hero-desc { 
    font-size: 16px; 
    line-height: 1.8; 
    color: #6b6b66; 
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
  }

  /* SECTIONS */
  .section { 
    max-width: 900px; 
    margin: 0 auto; 
    padding: 3rem 2rem;
    animation: fadeInUp 0.8s ease-out;
  }

  .section-label { 
    font-size: 12px; 
    font-weight: 700; 
    letter-spacing: 0.12em; 
    text-transform: uppercase; 
    color: #1c3c6e;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-label::before {
    content: '';
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #1c3c6e, #1a9455);
    border-radius: 50%;
  }
