/* ct.css */

:root {
  --main-color: #007bff;
  --accent-color: #6c757d;
  --bg-labo: #ffffff;
}

/* On change les valeurs si le body porte la classe .is-connected */

body.is-connected {
  --main-color: #d4af37;
  --accent-color: #198754;
  --bg-labo: #f4f6c5;
}

/* Utilisation des variables dans tes composants */

.ct6-main-badge {
  border: 2px solid var(--main-color) !important;
}

#share-btn {
  color: var(--main-color) !important;
}

small {
  color: var(--accent-color) !important;
}

body {
  background-color: var(--bg-labo) !important;
}

/* Le conteneur de la photo */

.badge-avatar-wrapper {
  position: relative;
  width: 45px;
  height: 45px;
}

.badge-avatar {
  width: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

/* Effet Pro Connecté */

body.is-connected .badge-avatar {
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Le Cadenas en pastille */

.badge-status-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Optimisation tactile pour la barre d'identité */

.top-identity-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  min-height: 60px;
}

/* Bouton de partage "Pouce-Friendly" */

#share-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(var(--main-color-rgb), 0.1);
}

/* Texte adaptatif */

.sponsor-info {
  flex-grow: 1;
  margin-left: 12px;
  line-height: 1.2;
}

.sponsor-name {
  font-size: 1rem;
  font-weight: 700;
  display: block;
}

.city-tag {
  font-size: 0.8rem;
  color: var(--accent-color);
}

.accordion-button:hover {
  color: #000 !important;
}

.text-blink {
}

.fab.fa-facebook-f.fa-2x {
  color: #1877F2;
}

.fab.fa-telegram-plane.fa-2x {
  color: #26A5E4;
}

.fab.fa-whatsapp.fa-2x {
  color: #25D366;
}

/* ==========================================================================
   AJOUTS POUR L'OPPORTUNITÉ INTERNATIONALE (SUR FOND VIDÉO SOMBRE)
   ========================================================================== */

/* Couleur Or Premium pour Olfazeta (Fixe, hors statut de connexion) */

.text-gold {
  color: #d4af37 !important;
}

.tracking-wide {
  letter-spacing: 0.05em;
}

/* Ombres portées pour garantir la lisibilité sur la vidéo en mouvement */

.text-shadow-md {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.85), 0 0 6px rgba(0, 0, 0, 0.65);
}

.text-shadow-sm {
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.9);
}

/* gazette

/* ============================================================
   CHOGAN GAZETTE — Feuille de styles
   À coller dans ton fichier CSS global Bootstrap Studio
   ============================================================ */

/* ── 1. Variables centralisées ─────────────────────────────── */

:root {
  --cg-blue-dark: #0d1b4b;
  --cg-blue: #1B6FD8;
  --cg-gold: #F4A100;
  --cg-gold-light: #FFFBEE;
  --cg-gold-border: rgba(212, 175, 55, 0.3);
  --cg-green: #18bc9c;
  --cg-text: #2c2c2c;
  --cg-muted: #6c757d;
  --cg-radius: 14px;
  --cg-radius-sm: 8px;
}

/* ── 2. Layout sections ────────────────────────────────────── */

.cg-section {
  padding: 3rem 0;
}

.cg-section-alt {
  background-color: #f8faff;
}

.cg-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d0daf0, transparent);
  margin: 1rem 0 1.25rem;
}

/* ── 3. Typographie commune ────────────────────────────────── */

.cg-section-title {
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: var(--cg-blue-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cg-section-h2 {
  color: var(--cg-blue-dark);
}

.cg-gold-text {
  color: var(--cg-gold);
}

.cg-text-danger {
  color: #c0392b;
}

/* ── 4. Badges & pills ─────────────────────────────────────── */

.cg-badge-gold {
  display: inline-block;
  background: var(--cg-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.cg-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EEF4FF;
  color: var(--cg-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

/* ── 5. Hero banner ────────────────────────────────────────── */

.cg-hero-top {
  background: linear-gradient(135deg, var(--cg-blue-dark) 0%, var(--cg-blue) 100%);
  border-radius: var(--cg-radius);
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.cg-hero-top::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(244, 161, 0, 0.12);
  border-radius: 50%;
}

.cg-hero-top h2 {
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: #fff;
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.cg-hero-top .lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* ── 6. Carte sponsor / ville ──────────────────────────────── */

.cg-sponsor-card {
  background: #fff;
  border-radius: var(--cg-radius);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.cg-city-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.cg-sponsor-info {
  padding: 1.25rem 1.5rem;
  border-top: 3px solid var(--cg-gold);
}

.cg-region-label {
  color: var(--cg-green);
  font-weight: 700;
  font-size: 1.1rem;
}

.cg-sponsor-avatar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.cg-avatar-img {
  border-radius: 50%;
  border: 2px solid var(--cg-gold);
}

/* ── 7. Humour & histoire ──────────────────────────────────── */

.cg-humour {
  background: var(--bs-secondary-bg, #e9ecef);
  border-radius: var(--cg-radius);
  padding: 1rem 1.25rem;
  font-style: italic;
}

.cg-histoire h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--cg-blue-dark);
  margin-bottom: 1rem;
}

.cg-histoire p strong {
  color: var(--cg-blue);
}

/* ── 8. Section qualité ────────────────────────────────────── */

.cg-qualite-img {
  border-radius: var(--cg-radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(27, 111, 216, 0.12);
}

.cg-qualite-img img {
  border-radius: var(--cg-radius);
}

.cg-revenu-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cg-gold-light);
  border-left: 3px solid var(--cg-gold);
  border-radius: 0 var(--cg-radius-sm) var(--cg-radius-sm) 0;
  padding: 0.6rem 1rem;
  font-weight: 600;
  color: #c0392b;
  font-size: 0.95rem;
}

.cg-qualite-text {
  background: #fff;
  border-radius: var(--cg-radius);
  padding: 1.5rem;
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--cg-text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* ── 9. Gastronomie ────────────────────────────────────────── */

.cg-gastro-wrapper {
  border-radius: var(--cg-radius);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

.cg-gastro-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.cg-gastro-text {
  background: var(--cg-blue-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ── 10. Parfums ───────────────────────────────────────────── */

.cg-parfum-video {
  border-radius: var(--cg-radius);
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(27, 111, 216, 0.15);
  border: 2px solid var(--cg-gold-border);
}

/* Price tag parfum */

.luxury-price-tag-luminous {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #1a1a1a;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid #d4af37;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.12);
  transition: all 0.3s ease;
}

.luxury-price-tag-luminous:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, 0.22);
  background: #fffdf5;
}

.volume-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: #888;
}

.price-separator {
  margin: 0 15px;
  color: #d4af37;
  font-size: 18px;
}

.price-value {
  font-size: 15px;
  font-weight: 400;
  color: #1a1a1a;
}

.amount {
  font-weight: 800;
  font-size: 22px;
  color: #c5a028;
  margin: 0 2px;
}

/* ── 11. Cards bien-être ───────────────────────────────────── */

.cg-card {
  border: none;
  border-radius: var(--cg-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(27, 111, 216, 0.15);
}

.cg-card .card-body {
  padding: 1.75rem;
}

.cg-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #EEF4FF;
  color: var(--cg-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.cg-card-icon svg {
  width: 24px;
  height: 24px;
}

.cg-card-title {
  color: var(--cg-blue-dark);
  font-weight: 700;
  font-size: 1.05rem;
}

.cg-card .card-text strong {
  color: var(--cg-blue);
}

/* ── 12. Vision Chogan ─────────────────────────────────────── */

.cg-vision-img {
  border-radius: var(--cg-radius);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.cg-vision-title {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--cg-blue-dark);
}

/* ── 13. CTA final ─────────────────────────────────────────── */

.cg-cta-block {
  background: linear-gradient(135deg, var(--cg-blue-dark) 0%, var(--cg-blue) 100%);
  border-radius: var(--cg-radius);
  padding: 2.5rem 2rem;
  color: #fff;
  text-align: center;
}

.cg-cta-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.cg-cta-highlight {
  display: inline-block;
  color: var(--cg-gold);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin: 0.5rem 0;
}

.cg-cta-block a {
  color: var(--cg-gold);
  font-weight: 600;
}

.cg-cta-block a:hover {
  color: #fff;
}

/* ── 14. Responsive mobile ─────────────────────────────────── */

@media (max-width: 767px) {
  .cg-section {
    padding: 2rem 0;
  }
}

@media (max-width: 767px) {
  .cg-hero-top {
    padding: 2rem 1rem 1.5rem;
  }
}

@media (max-width: 767px) {
  .luxury-price-tag-luminous {
    padding: 8px 14px;
    flex-wrap: wrap;
    gap: 4px;
  }
}

@media (max-width: 767px) {
  .amount {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .volume-label {
    font-size: 9px;
  }
}

@media (max-width: 767px) {
  .cg-cta-block {
    padding: 2rem 1.25rem;
  }
}

cg-root {
  font-family: 'Inter', sans-serif;
  color: #1a1a2e;
}

.cg-hero {
  background: linear-gradient(135deg, #0d1b4b 0%, #1B6FD8 100%);
  border-radius: 20px;
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.cg-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: rgba(244,161,0,0.15);
  border-radius: 50%;
}

.cg-badge {
  display: inline-block;
  background: #F4A100;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.cg-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.3rem, 4vw, 2.1rem);
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.cg-hero h1 span {
  color: #F4A100;
}

.cg-hero .city-tag {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
}

.cg-video-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 560px;
  margin: 0 auto;
}

.cg-video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  background: #000;
}

.cg-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EEF4FF;
  color: #1B6FD8;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.cg-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  color: #0d1b4b;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.cg-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 1rem;
}

.cg-body a {
  color: #1B6FD8;
  font-weight: 500;
}

.cg-highlight {
  background: #FFFBEE;
  border-left: 3px solid #F4A100;
  border-radius: 0 10px 10px 0;
  padding: 0.75rem 1rem;
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 1.25rem;
}

.cg-highlight strong {
  color: #0d1b4b;
}

.cg-app-img {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.cg-app-img img {
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(27,111,216,0.15);
}

.cg-video-card2 {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(27,111,216,0.15);
  border: 2px solid rgba(244,161,0,0.3);
}

.cg-video-card2 video {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  background: #000;
}

.cg-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #d0daf0, transparent);
  margin: 1.5rem 0;
}

/* Styles personnalisés pour le header - à intégrer dans votre fichier style.css */

/* Couleurs du thème (variables Bootstrap) */

:root {
  --bs-primary: #0d6efd;
  --bs-primary-rgb: 13, 110, 253;
  --bg-labo: #ffffff;
}

/* Header principal */

.sticky-top {
  background: var(--bg-labo, #ffffff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

/* Navbar */

.navbar {
  background: transparent;
  min-height: 70px;
}

/* Liens de navigation */

.navbar-nav .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #4a5568;
  transition: color 0.2s ease;
  position: relative;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-nav .nav-link:hover {
  color: var(--bs-primary);
}

.navbar-nav .nav-link.active {
  color: var(--bs-primary);
  font-weight: 600;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--bs-primary);
  border-radius: 50%;
}

/* Adaptation responsive pour tablette et mobile */

@media (min-width: 992px) {
  .navbar-nav .nav-link.active::after {
    bottom: 4px;
    width: 20px;
    height: 2px;
    border-radius: 2px;
  }
}

/* Badge personnalisé */

.badge.bg-primary.bg-opacity-10 {
  background-color: rgba(var(--bs-primary-rgb), 0.1) !important;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Bouton Boutique */

.btn-primary {
  background-color: var(--bs-primary);
  border: none;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.8125rem;
}

.btn-primary:hover {
  background-color: var(--bs-primary);
  opacity: 0.85;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.3);
}

/* Toggler mobile personnalisé */

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Animation au scroll (optionnel) */

.sticky-top.scrolled {
  background: var(--bg-labo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Responsive fine-tuning */

@media (max-width: 991.98px) {
  .navbar-nav {
    padding-top: 1rem;
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-item {
    text-align: center;
    margin: 0.25rem 0;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav .btn-primary {
    margin-top: 0.5rem;
    width: auto;
    display: inline-block;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav .nav-link.active::after {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .badge.bg-primary.bg-opacity-10 {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    height: 34px;
    width: auto;
  }
}

@media (max-width: 767.98px) {
  .badge.bg-primary.bg-opacity-10 {
    font-size: 0.65rem;
    white-space: normal;
    text-align: center;
    max-width: 120px;
  }
}

/* Support pour thème sombre (optionnel) */

@media (prefers-color-scheme: dark) {
  :root {
    --bg-labo: #1a1a1a;
  }
}

@media (prefers-color-scheme: dark) {
  .navbar-nav .nav-link {
    color: #e2e8f0;
  }
}

@media (prefers-color-scheme: dark) {
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

/* Optionnel : Animation pour le JavaScript d'effet au scroll */

/* Décommentez si vous voulez l'effet de scroll */

/* window.addEventListener('scroll', function() {
    var header = document.querySelector('.sticky-top');
    if (window.scrollY > 50) {
        header.classList.add('scrolled');
    } else {
        header.classList.remove('scrolled');
    }
}); */

/* ==========================================
   🔧 OUTLINE DEBUGGER (À SUPPRIMER APRÈS)
   ========================================== */

/* * {
    outline: 1px solid red !important;
} */

main {
}

