/* Styles globaux (qui concernant l'ensemble de la page) */
html {
  scroll-padding-top: 100px;
}

:root {
  --vert-default: #144d47;
  --vert-logo: #597c64;
  --rouge-caraibe: #c0231c;
  --jaune-soleil: #ff8c3b;
  --accent-color: #ffc107;
  --jaune-bouton: #fcb900;
  --jaune-border: #fdca69;
}

.bg-vert-default {
    background-color: var(--vert-default) !important;
    color: white; /* pour le contraste du texte */
}


/* body */
body {
  font-family: 'Source Sans Pro', Arial, sans-serif;
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  color: #222;
  background-color: #fff;
}

h1 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

h2::first-letter {
  text-transform: uppercase;
}

.bg-martinique {
  background-color: var( --vert-default) !important; /* Remplace par ta couleur */
  color: #fff !important; /* Pour le texte en blanc */
}

/* paragraphes */
p {
  font-size: 1.125rem; 
  line-height: 1.6;
 
}

article ul {
 
  margin-left: 30px;
  
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  list-style-type: none;
  /* padding: 0;
  margin: 0; */
  margin-left: 10px;
}

.related li {
  margin: 0;
}



/* liens */
a {
  color: var(--vert-default);
}

a:hover {
  color: var(--jaune-soleil);
}

.sidebar-title {
 border-bottom: 1px solid var(--jaune-bouton);
 margin-bottom: 20px;;
}

.sidebar-title::first-letter {color: var(--rouge-caraibe);font-size: 130%;}



/* REGLAGES TEMPORAIRES */

/* header, footer{
    min-height: 50px;
     background: #927373; 
    color: #fff;
}
section{
    min-height: 100px;
    border: 2px solid grey;
}
.container, .container-fluid{
    border: 2px solid red;
} */

/* Je vise l'ensemble des colonnes */
/* .row > *{
    border: 1px solid blue;
}  */


/* ****** HEADER ******* */
#header .navbar-brand {
  font-size: 40px;
  /* font-weight: bold; */
}

/* ****** SECTION1 ******* */
#section1 {}


/* ****** Trending  ******* */
.current-trend-container {
  width: 100%;
  overflow: hidden;
}

.content-current-trend {
  white-space: nowrap;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ****** /Trending  ******* */

/* .jumbotron-arrow::before,
.jumbotron-arrow::after {
  content: "";
  position: absolute;
  background-color: var(--noir-texte); 
  width: 50px;
  height: 50px;
  transform: rotate(45deg);
} */

/* .jumbotron-arrow::before {
  top: -25px;
  left: -25px;
}

.jumbotron-arrow::after {
  bottom: -25px;
  right: -25px;
} */

/* .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: #6c757d;
    display: inline-block !important;
    padding-right: 0.5em;
    padding-left: 0.5em;
} */
.breadcrumb {
  margin-top: 30px
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li.separator {
  margin: 0 0.6em;
  color: #6c757d;
  font-weight: normal;
}


#section2 {}

#trending {}

.marquee-content {
  display: flex;
  animation: marquee 20s linear infinite;
}

/* .marquee-item {
    flex: 0 0 auto;
    padding: 0 20px;
    font-size: 1.2rem;
    color: #495057;
  } */

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* Optional: Pause animation on hover */
/* .marquee-container:hover .marquee-content {
    animation-play-state: paused;
  } */

/* ****** SECTION jumbotrom ******* */

.jumbotrom {
  background-color: var(--vert-default) !important;
  padding-bottom: 48px;
}

.jumbotron-arrow {
  align-items: center;
  min-height: 280px;
}

.slogan {
  color: var(--rouge-caraibe);
  font-size: large;
}


.full-bloc {
  margin-top: -42px;
  padding-top: 50px;
  background-color: #fff;
}

/* ****** SECTION4 ******* */
#section4 {}

.card {
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 1rem;
}
.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}
.card-img-top {
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.stretched-link:hover {
  color: #0d6efd;
  text-decoration: underline;
}


.comment-btn{
  background-color: var(--vert-default);
  color: #fff;  
}

.comment-btn:hover{
  background-color: var(--jaune-soleil);
  color: #000; 
}


/* Couleur des liens normaux */
.pagination .page-link {
  color: var(--vert-default);
  border-color: var(--vert-default);
}

.pagination .page-link:hover {
  color: #ffffff;
  background-color: var(--vert-default);
  border-color: var(--jaune-soleil);
}

.pagination .page-item.active .page-link {
  background-color: var(--rouge-caraibe);
  border-color: var(--rouge-caraibe);
  color: #ffffff;
}

.pagination .page-item.disabled .page-link {
  color: var(--jaune-soleil);
  background-color: #ffffff;
  border-color: #dee2e6;
}


/** Stat ***/

/* Styles ultra-légers */
.stats-inline { font-size: 0.9em; }

.stats-badges { 
    display: flex; 
    gap: 0.5rem; 
    flex-wrap: wrap; 
    margin: 0.5rem 0; 
}

.stats-badges .badge {
    background: #f8f9fa;
    color: #495057;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    border: 1px solid #dee2e6;
}

.stats-badges .viral { background: #dc3545; color: white; }
.stats-badges .popular { background: #ffc107; color: #000; }
.stats-badges .today { background: #28a745; color: white; }

.stats-card {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.stats-card.animate {
    animation: slideUp 0.3s ease;
}

.stat {
    text-align: center;
    padding: 0.5rem;
}

.stat .number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #495057;
}

.stat .label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.popularity-bar .bar {
    width: 100%;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
}

.popularity-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    transition: width 1s ease;
}

.badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.badges .badge {
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.badges .viral { background: #dc3545; color: white; }
.badges .popular { background: #ffc107; color: #000; }
.badges .liked { background: #17a2b8; color: white; }
.badges .today { background: #28a745; color: white; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 576px) {
    .stats-badges { justify-content: center; }
    .stat .number { font-size: 1.2rem; }
}


/* ****** FOOTER ******* */
#footer {}

.modal {
     width: 600px;
}