/* Base typographie + Palette bleu/vert */
:root{
  --primary-600:#3E7DA0; /* Bleu */
  --primary-700:#3E7DA0;
  --accent-600:#3E7DA0;  /* Bleu */
  --accent-700:#3E7DA0;
  --gray-50:#f9fafb; --gray-100:#f3f4f6; --gray-700:#374151; --gray-800:#1f2937; --white:#ffffff;
  --shadow-lg:0 10px 25px rgba(2,6,23,.08)
}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Inter','InterFallback',system-ui,-apple-system,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',Arial,'Noto Sans',sans-serif;line-height:1.6;color:#3E7DA0;background:var(--gray-50)}
body{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  align-items: center;
}
img{max-width:100%;height:auto;display:block}
.container{max-width:1120px;margin:0 auto;padding:0 1.5rem}

/* Header */
.header{position:sticky;top:0;z-index:50;background:var(--white);box-shadow:0 1px 0 rgba(0,0,0,.06)}
.header-border{border-bottom:1px solid var(--gray-100)}
.header-inner{padding:1rem 1.5rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem}
.logo-48{height:48px;width:auto}
.logo-40{height:40px;width:auto}

/* Navigation desktop */
.nav{display:flex;gap:.875rem}
.nav a{color:#4b5563;text-decoration:none;transition:color .2s ease}
.nav a:hover{color:var(--primary-600)}

/* Menu burger */
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem;flex-direction:column;gap:4px}
.menu-toggle span{width:24px;height:3px;background:#374151;transition:all .3s ease;border-radius:2px}
.menu-toggle.active span:nth-child(1){transform:rotate(45deg) translate(5px, 5px)}
.menu-toggle.active span:nth-child(2){opacity:0}
.menu-toggle.active span:nth-child(3){transform:rotate(-45deg) translate(7px, -6px)}

/* Navigation mobile */
@media (max-width: 768px) {
  .menu-toggle{display:flex}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--white);flex-direction:column;gap:0;box-shadow:0 4px 6px rgba(0,0,0,.1);padding:1rem}
  .nav.active{display:flex}
  .nav a{padding:.75rem 0;border-bottom:1px solid var(--gray-100)}
  .nav a:last-child{border-bottom:none}
}

/* Boutons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;font-weight:600;border-radius:999px;padding:.9rem 1.75rem;text-decoration:none;color:#fff;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease
}
.btn:focus{
  outline:2px solid transparent;outline-offset:2px;box-shadow:0 0 0 4px rgba(37,99,235,.18)
}
.btn-primary{
  background:var(--primary-600)
}
.btn-primary:hover{
  background:var(--primary-700);transform:translateY(-2px);box-shadow:0 8px 20px rgba(2,6,23,.15)
}
.btn-secondary{
  background:var(--accent-600)
}
.btn-secondary:hover{
  background:var(--accent-700);transform:translateY(-2px);box-shadow:0 8px 20px rgba(2,6,23,.15)
}

/* Cartes */
.card{background:var(--white);border-radius:1rem;box-shadow:var(--shadow-lg);padding:2rem}

/* Grilles simples */
.grid{display:grid;gap:2rem}
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-1-2{grid-template-columns:1fr 2fr}
.items-start{align-items:start}
.gap-1{gap:1rem}
@media (max-width: 768px){
  .grid-2{
    grid-template-columns:1fr}.grid-1-2{grid-template-columns:1fr
    }
  
  }



/* Titres */
.h1{font-size:clamp(2rem,2vw+1.5rem,3rem);font-weight:800;margin:.5rem 0 1rem}
.h2{font-size:clamp(1.5rem,1.2vw+1rem,2.25rem);font-weight:700;margin:0 0 1rem}
.h3{font-size:1.5rem;font-weight:700;margin:0 0 .75rem}
.text-primary{color:var(--primary-600)}
.text-accent{color:var(--accent-600)}

/* Sections */
.section{padding:4rem 0}
.section.alt{background:var(--gray-100)}
.center{text-align:center}
.section-narrow{max-width:768px}
.hero-content-padding{padding:6rem 1.5rem}

/* Héros vidéo */
.hero{
  position:relative;
  color:#fff;
  overflow:hidden;
  width:100%;
}
.hero .video-container{position:absolute;inset:0;z-index:1;overflow:hidden}
.hero iframe{
  position:absolute;
  top:50%;
  left:50%;
  width:100vw;
  height:100vh;
  transform:translate(-50%,-50%);
  min-width:100%;
  min-height:100%;
  pointer-events:none;
}
.hero .overlay{position:absolute;inset:0;background:linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.55));z-index:1}
.hero .content{position:relative;z-index:2}

/* Amélioration spécifique pour mobile */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
  }
  .hero iframe {
    /* Pour mobile, on force un zoom pour éliminer les bandes noires */
    width: 120vw;
    height: 67.5vw; /* 16:9 ratio avec zoom */
    min-width: 213.33vh;
    min-height: 120vh;
    transform: translate(-50%, -50%) scale(1.2);
  }
  .hero-content-padding {
    padding: 4rem 1.5rem;
  }
}

/* Formulaires */
.field{width:100%;border:1px solid #d1d5db;border-radius:.625rem;padding:.6rem .8rem;font-size:1rem}
.field:focus{border-color:var(--primary-600);box-shadow:0 0 0 4px rgba(37,99,235,.18);outline:0}
.label{display:block;font-size:.9rem;color:#374151;margin:.25rem 0}
.badge{display:inline-flex;align-items:center;font-weight:600;font-size:.75rem;background:#ecfdf5;color:var(--accent-700);padding:.25rem .6rem;border-radius:999px}
.stack-2{display:flex;flex-direction:column;gap:.5rem}

/* Utilitaires minimes */
.mt-1{margin-top:.25rem}.mt-3{margin-top:.75rem}.mt-6{margin-top:1.5rem}.mt-12{margin-top:3rem}
.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-12{margin-bottom:3rem}
.hidden{display:none}
.text-center{text-align:center}
.text-muted{color:#3E7DA0;}
.text-sm{font-size:.9rem}
.text-xs{font-size:.8rem}
.font-semibold{font-weight:600}
.text-dark{color:#1f2937}
.list-indent{padding-left:1.1rem}
.pad-page{padding:3rem 1.5rem}
.max-1000{max-width:1000px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.flex-between{display:flex;align-items:center;justify-content:space-between}
.w-full{width:100%}
.rounded-lg{border-radius:.75rem}

/* Footer */
.footer{width: 100%;background:#33A5D5;;color:#fff;padding:2rem 0;text-align:center}
