:root{
  --brand:#00497C;
  --brand-dark:#04305A;
  --brand-mid:#1B699D;
  --accent:#FF8B31;
  --accent-dark:#FE7717;
  --soft:#f6f8ff;
}

/* =========================
   Base
========================= */
body{ color:#0b1220; }
.brand-logo{ width:34px; height:34px; object-fit:contain; }
.brand-name{ font-weight:900; color:var(--brand-dark); letter-spacing:.2px; }

a{ text-decoration:none; }
a:hover{ text-decoration:underline; }

.text-brand{ color:var(--brand)!important; }
.text-accent{ color:var(--accent)!important; }
.bg-soft{ background:var(--soft); }

/* Focus (propre) */
.btn:focus, .btn:focus-visible,
.form-control:focus, .form-select:focus{
  box-shadow: 0 0 0 .25rem rgba(255,139,49,.25) !important;
  border-color: rgba(255,139,49,.55) !important;
}

/* =========================
   Topbar
========================= */
.topbar{
  background: var(--brand-dark);
  color: rgba(255,255,255,.92);
}
.topbar-link{ color: rgba(255,255,255,.92); }
.topbar-link:hover{ color:#fff; text-decoration:none; }

.social{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
}
.social:hover{
  background:rgba(255,255,255,.12);
  text-decoration:none;
}

/* =========================
   Buttons
========================= */
.btn-brand{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}
.btn-brand:hover{
  background:var(--brand-dark);
  border-color:var(--brand-dark);
  color:#fff;
}

.btn-outline-brand{
  border-color:rgba(0,73,124,.45);
  color:var(--brand);
}
.btn-outline-brand:hover{
  background:rgba(0,73,124,.10);
  border-color:var(--brand);
  color:var(--brand-dark);
  text-decoration:none;
}

.btn-accent{
  background:var(--accent);
  border-color:var(--accent);
  color:#0b1220;
  font-weight:800;
}
.btn-accent:hover{
  background:var(--accent-dark);
  border-color:var(--accent-dark);
  color:#0b1220;
}

/* =========================
   HERO (Carousel)
========================= */
.hero-wrap{ position:relative; }

/* Image */
.hero-img{
  height: 78vh;
  min-height: 560px;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.05);
}
@media (max-width: 991.98px){
  .hero-img{ min-height: 520px; }
}

/* Overlay */
.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(4,48,90,.80) 0%, rgba(0,73,124,.55) 45%, rgba(0,0,0,.10) 100%),
    radial-gradient(700px 450px at 85% 25%, rgba(255,139,49,.24), transparent 60%);
}

/* Layer texte */
.hero-content{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  z-index:2;
}

/* Pill */
.hero-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.85rem;          /* ✅ corrigé */
  padding:.33rem .6rem;      /* ✅ corrigé */
  border-radius:999px;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.18);
  font-weight:800;
  color:var(--brand-dark);
}

/* ✅ Titre (réduit) */
.hero-title{
  color:#fff;
  font-weight:900;
  line-height:1.08;
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
}

/* ✅ Sous-titre (réduit) */
.hero-sub{
  font-size:1rem;
  line-height:1.45;
  max-width:520px;
  color:rgba(255,255,255,.80);
}
@media (max-width: 576px){
  .hero-sub{ font-size:.95rem; }
}

/* Highlights */
.hl{
  background:rgba(0,73,124,.32);
  padding:.06em .28em;     /* ✅ corrigé */
  border-radius:.42em;     /* ✅ corrigé */
  border:1px solid rgba(255,255,255,.18);
}
.hl-accent{
  background:rgba(255,139,49,.88);
  color:#0b1220;
  padding:.06em .28em;     /* ✅ corrigé */
  border-radius:.42em;     /* ✅ corrigé */
}

/* ✅ Boutons hero (plus petits) */
.hero-content .btn-lg{
  padding: .65rem 1rem;
  font-size: 1rem;
  border-radius: 12px;
}

/* ✅ Espace vertical réduit */
.hero-content .mb-4{ margin-bottom: 1rem !important; }
.hero-content .mb-3{ margin-bottom: .75rem !important; }

/* Search card glass */
.glass{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 18px;
  padding: 16px;
}
@supports (backdrop-filter: blur(10px)){
  .glass{ backdrop-filter: blur(10px); }
}

/* =========================
   Feature strip
========================= */
.feature-strip{
  position: relative;
  z-index: 3;
  margin-top: -48px;
  padding-bottom: 10px;
}
.feature-card{
  background:#fff;
  border:1px solid rgba(4,48,90,.12);
  border-radius:18px;
  padding:16px;
  position:relative;
  box-shadow: 0 10px 24px rgba(4,48,90,.08);
  overflow:hidden;
}
.feature-num{
  position:absolute;
  right:14px;
  top:10px;
  font-weight:900;
  opacity:.10;
  font-size:2rem;
  color:var(--brand-dark);
}
.feature-icon{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:rgba(0,73,124,.12);
  color:var(--brand);
  font-size:1.2rem;
  margin-bottom:10px;
}
.feature-icon.accent{
  background:rgba(255,139,49,.20);
  color:var(--accent-dark);
}
.feature-title{ font-weight:900; margin-bottom:2px; }
.feature-sub{ color:#6b7280; font-size:.9rem; }

/* =========================
   Sections titles
========================= */
.section-kicker{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--accent-dark);
  font-weight:900;
  margin-bottom: 8px;
}
.section-title{
  font-weight: 900;
  color: var(--brand-dark);
}

/* =========================
   About collage
========================= */
.about-collage{
  position:relative;
  min-height: 340px;
}
.about-img{
  position:absolute;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(4,48,90,.12);
}
.about-img.a{ left:0; top:0; width: 72%; height: 320px; }
.about-img.b{ right:0; bottom:-10px; width: 52%; height: 210px; border: 6px solid #fff; }
.about-badge{
  position:absolute;
  left:18px;
  bottom:18px;
  background: rgba(255,255,255,.92);
  border:1px solid rgba(4,48,90,.12);
  border-radius: 16px;
  padding: 10px 12px;
}
.mini-line{
  padding:10px 12px;
  border:1px solid rgba(4,48,90,.12);
  border-radius: 14px;
  background:#fff;
}

/* =========================
   Price cards
========================= */
.price-card{ border-radius:18px; }

.plan-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:.35rem .65rem;
  border-radius:999px;
  background:rgba(0,73,124,.10);
  color:var(--brand-dark);
  font-weight:900;
  font-size:.85rem;
}
.teacher-pill{
  background:rgba(255,139,49,.18);
  color:var(--accent-dark);
}
.price-amount{
  font-size:2.2rem;
  font-weight: 900;
  line-height:1.05;
}
.price-highlight{
  outline:2px solid rgba(255,139,49,.45);
  box-shadow: 0 14px 28px rgba(4,48,90,.10);
}
.badge-best{
  background:rgba(255,139,49,.22);
  border:1px solid rgba(255,139,49,.55);
  font-weight:900;
  color:#0b1220;
}

/* =========================
   Courses
========================= */
.course-card{
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(4,48,90,.10);
  transition: transform .12s ease, box-shadow .12s ease;
}
.course-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(4,48,90,.10);
}
.course-card img{
  height: 160px;
  object-fit: cover;
}
.course-pill{
  display:inline-flex;
  padding:.25rem .55rem;
  border-radius:999px;
  background: rgba(0,73,124,.10);
  color: var(--brand-dark);
  font-weight:900;
  font-size:.8rem;
}

/* =========================
   Top enseignants
========================= */
#top-enseignants .card-img-top{
  height: 280px;
  object-fit: cover;
  object-position: center top;
}
/*#top-enseignants .card-img-top.is-blurred{
  /*filter: blur(10px);
  transform: scale(1.03);
}
.card-img-top.is-blurred{
  /*filter: blur(10px);
  transform: scale(1.03);
}
.teacher-photo.is-blurred{
  filter: blur(10px);
  transform: scale(1.03);
}


/* =========================
   Footer
========================= */
.footer-blue{
  background: var(--brand);
  color:#fff;
}
.footer-muted{ color: rgba(255,255,255,.78); }
.footer-link{ color: rgba(255,255,255,.92); }
.footer-link:hover{ color:#fff; text-decoration: underline; }
.footer-hr{ border-color: rgba(255,255,255,.18); opacity:1; }

.footer-logo{
  background:#fff;
  padding:4px;
  border-radius:10px;
}

/* =========================
   CARDS - ORANGE DOUX (MÉLANGÉ AU BLANC)
   ========================= */
:root{
  /* adapte si tu veux : plus clair = baisse l'opacité */
  --brand-orange: #ff7a18;                /* orange principal */
  --brand-orange-soft: rgba(255, 122, 24, 0.10);
  --brand-orange-soft2: rgba(255, 122, 24, 0.18);
}

/* Toutes les cards Bootstrap */
.card{
  border: 1px solid var(--brand-orange-soft2) !important;
  background: linear-gradient(180deg, var(--brand-orange-soft) 0%, #ffffff 55%) !important;
}

/* Pour tes cartes custom non-Bootstrap */
.feature-card,
.search-card{
  border: 1px solid var(--brand-orange-soft2);
  
}
