

/* ----   CBC STATION — GLOBAL STYLE ----- */

:root{
  --primary:#0B5FFF;
  --accent:#FF3B30;
  --bg:#ffffff;
  --muted:#6b7280;
  --dark:#111827;
  --light:#F8FAFC;
  font-family:"Inter", sans-serif;
}

body{
  margin:0;
  background:#fff;
  color:var(--dark);
  line-height:1.5;
}

/* -----   HEADER ----- */

.site-header{
  position:sticky;
  top:0;
  background:#fff;
  z-index:2000;
  box-shadow:0 1px 6px rgba(0,0,0,.05);
}

.header-inner{
  max-width:1200px;
  margin:auto;
  padding:12px 20px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

.header-top{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

/* Logo */

.logo{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#000;
}

.logo .mark{
  width:44px;
  height:44px;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 4px 10px rgba(11,95,255,.25);
}

.logo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Search */

.search-box{
  position: relative;           /* permet de positionner le bouton à l’intérieur */
  flex: 1 1 0;
  min-width: 0;
  display: block;               /* le conteneur prend toute la largeur dispo */
}

.search-box input{
  width: 100%;
  padding: 6px 38px 6px 12px;  /* espace pour le bouton à droite */
  border: none;
  border-radius: 12px;
  background: #F8FAFC;
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
}

.search-box button{
  position: absolute;
  right: 6px;                   /* collé à l’intérieur, côté droit */
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease;
}

.search-box button:hover{
  background: #0066FF;
}

/* NAV */

.nav-links{
  display:flex;
  gap:18px;
}

.nav-links a{
  font-size:14px;
  color:var(--muted);
  font-weight:500;
  text-decoration:none;
}

.nav-links a:hover{
  color:var(--primary);
}

/* HAMBURGER */

.hamburger{
  display:flex;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
}

.hamburger span{
  width:26px;
  height:3px;
  background:var(--primary);
  border-radius:2px;
  transition:.3s;
}

/* -----  MOBILE MENU  ----+ */

#mobile-menu{
  position:fixed;
  top:60px;
  right:-100%;
  width:250px;
  height:calc(100% - 60px);
  background:#fff;
  box-shadow:-2px 0 12px rgba(0,0,0,0.1);
  z-index:3000;
  transition:.3s;
  padding:20px;
}

#mobile-menu.open{
  right:0;
}

.mobile-nav{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.mobile-nav a{
  font-size:16px;
  color:var(--dark);
  font-weight:600;
  text-decoration:none;
}

/* -----  ALERT BAR. --+ */

.site-alert{
  display:none;
  justify-content:center;
  padding:8px 15px;
  font-weight:600;
  font-size:15px;
}

.site-alert.info{background:#FEF3C7;color:#92400E;}
.site-alert.success{background:#ECFDF5;color:#065F46;}
.site-alert.error{background:#FEE2E2;color:#991B1B;}

/* -----   HERO  -----*/

.hero{
  background:url('https://images.unsplash.com/photo-1521790797524-b2497295b8a0?auto=format&fit=crop&w=1200&q=60') center/cover no-repeat;
  padding:90px 20px;
  color:white;
  text-align:center;
}

.hero h1{
  font-size:36px;
  margin-bottom:10px;
}

.hero h2{
  font-size:28px;
  margin-bottom:10px;
}

.hero p{
  font-size:17px;
  margin-bottom:25px;
}

.hero-btns{
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.hero-btns a{
  background:rgba(255,255,255,0.12);
  padding:12px 18px;
  border-radius:12px;
  color:white;
  backdrop-filter:blur(6px);
  text-decoration:none;
  font-weight:600;
}


/* pitch */


.pitch {
  text-align: center;
  padding: 30px 15px; /* section plus courte */
  background: linear-gradient(135deg, #0b5fff 0%, #0f8fff 100%);
  color: #fff;
  position: relative;
  font-family: 'Arial', sans-serif;
}

.pitch h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.pitch .animated-text {
  font-size: 1rem;
  line-height: 1.4;
  min-height: 50px; /* juste pour l'animation */
  margin-bottom: 20px;
  white-space: pre-wrap;
}

.pitch .btn-cta {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: #0b5fff;
  background-color: #fff;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
}

.pitch .btn-cta:hover {
  background-color: #f0f0f0;
  transform: translateY(-1.5px);
}

/*  -------- STATS SECTION.  ------- */
.stats {
  max-width: 1000px;
  margin: 20px auto;
  display: flex;              /* flex horizontal */
  justify-content: space-between; /* espace uniforme entre les cartes */
  flex-wrap: nowrap;          /* pas de retour à la ligne */
  padding: 0 10px;
  text-align: center;
}

.stat {
  background: #F8FAFC;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;                    /* toutes les cartes prennent la même largeur */
  margin: 0 5px;              /* petit écart horizontal entre elles */
  min-width: 0;               /* évite débordement du texte */
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.stat h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 4px 0;
  line-height: 1.1;
}

.stat p {
  font-size: 0.75rem;
  margin: 0;
  color: #555;
}

/* Responsive : juste réduire la taille des textes si écran petit */
@media (max-width: 576px) {
  .stat h3 {
    font-size: 16px;
  }
  .stat p {
    font-size: 0.65rem;
  }
}

/* -----+
   PREUVE SOCIALE
------- */

.proof{
  text-align:center;
  padding:40px 20px;
}

.proof-logos{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  margin-top:20px;
}

.proof-item{
  background:#F3F4F6;
  padding:10px 18px;
  border-radius:10px;
  font-weight:600;
}

.rendu-item {
  background: #fff;
  padding: 12px 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-family: 'Arial', sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rendu-item strong {
  display: block;
  font-size: 1rem;
  color: #0b5fff;
  margin-bottom: 4px;
}

.rendu-item small {
  color: #666;
  font-size: 0.85rem;
}

.rendu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  cursor: pointer;
}


/*  ----- COMMENT ÇA MARCHE ------ */

.how-it-works {
  padding: 40px 20px; /* réduit le padding vertical */
  background: #F9FAFB;
  text-align: center;
}

.how-it-works h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.steps {
  margin-top: 20px; /* réduit l’espace */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* plus compact */
  gap: 15px; /* réduit le gap */
}

.step {
  background: #fff;
  padding: 16px; /* réduit padding */
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.step h3 {
  font-size: 22px; /* réduit pour compacité */
  color: var(--primary);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .step h3 {
    font-size: 20px;
  }

  .step p {
    font-size: 0.9rem;
  }
}

/* -----
   EXEMPLES METIERS
----- */

.examples{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:15px;
}

.example{
  background:#F3F4F6;
  padding:12px;
  border-radius:10px;
  text-align:center;
  font-weight:600;
}

/* ------   SECTION TITRES----- */

.section{
  max-width:1200px;
  margin:60px auto;
  padding:0 20px;
}

.section h2{
  font-size:26px;
  margin-bottom:25px;
}

/* ------   FEATURED
------ */

.featured-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
}

.card{
  background:white;
  border-radius:14px;
  padding:18px;
  box-shadow:0 4px 10px rgba(0,0,0,0.06);
}

/* -----   CATEGORIES----- */

.categories{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
}

.cat-card{
  background:#F3F4F6;
  padding:14px;
  border-radius:12px;
  text-align:center;
  font-weight:600;
}

/*     VALUES  */

.values-list{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.value-box{
  background:#F9FAFB;
  padding:18px;
  border-radius:12px;
  box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

/*    PLANS     */

.plans{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}

.plan{
  flex:1;
  min-width:260px;
  padding:20px;
  border-radius:14px;
  background:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,0.06);
}

.plan button{
  margin-top:12px;
  padding:8px 16px;
  background:var(--primary);
  color:#fff;
  border:none;
  border-radius:8px;
  font-weight:600;
  cursor:pointer;
}

/*    CTA     */

.final-cta{
  text-align:center;
  padding:60px 20px;
  background:#E0ECFF;
  border-radius:14px;
}

.final-cta a{
  display:inline-block;
  margin:10px;
  padding:12px 20px;
  background:var(--primary);
  color:white;
  border-radius:12px;
  text-decoration:none;
}
.cta-container{
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

/* Boutons principaux CTA */
.cta {
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;       /* moins haut et moins large */
  border-radius: 6px;       /* coins un peu moins arrondis */
  font-weight: 600;
  font-size: 0.85rem;       /* texte plus petit */
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;       /* empêche retour à la ligne dans le texte */
}

.cta:hover{
  transform: translateY(-1.5px); 
  box-shadow: 0 3px 10px rgba(11,95,255,0.25);
}

.cta.static{
  background: #111827;
  color: #fff;
}

/* Boutons/mini-flotteurs dans section */
section a {
  display: inline-block;
  padding: 4px 12px;       /* padding réduit */
  margin: 2px 1px;         /* petits espacements */
  background-color: #0b5fff;
  color: #fff;
  text-decoration: none;
  border-radius: 16px;     /* légèrement moins rond que 18px */
  font-weight: 600;
  font-size: 0.8rem;       /* texte plus petit */
  transition: all 0.25s ease;
  white-space: nowrap;      /* empêche retour à la ligne */
  line-height: 1.2;         /* compacte la hauteur */
}

section a::before,
section a::after {
  content: "";
}

/* Hover léger et compact */
section a:hover {
  background-color: #0f8fff;
  transform: translateY(-1px);  
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Responsive pour petit écran */
@media (max-width: 480px){
  .cta {
    padding: 5px 10px;
    font-size: 0.75rem;
  }
  section a {
    padding: 3px 8px;
    font-size: 0.7rem;
  }
}

/*    FOOTER */

footer{
  margin-top:60px;
  background:#111827;
  color:white;
  padding:40px 20px;
}

footer .f-container{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:30px;
}

footer a{
  color:#cbd5e1;
  text-decoration:none;
}

footer small{
  display:block;
  margin-top:20px;
  opacity:.7;
}

/*    RESPONSIVE     */

@media(max-width:1024px){

.categories{
grid-template-columns:repeat(3,1fr);
}

}

@media(max-width:768px){

.nav-links{display:none;}

.categories{
grid-template-columns:repeat(2,1fr);
}

.stats{
grid-template-columns:1fr;
}

}

@media(max-width:480px){

.categories{
grid-template-columns:1fr;
}

.hero h1{
font-size:28px;
}

.hero h2{
font-size:22px;
}

}
