* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f7f7f7;
}
:root {
  --black: #000;
  --white: #fff;
  --gray: #fdfdfd;
  --principal: #ff7d13;
}

.nav {
  max-width: 1110px;
}

.logo {
  width: 150px;
  height: 80px;
  object-fit: contain;
}

.containers {
  flex: 1;
}
.banner {
  background: url("https://img.freepik.com/photos-premium/papier-cache-lettres-vote-mot-vote-concept-election_220873-16079.jpg")
    center/cover no-repeat;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  border-radius: 10px;
  height: 450px;
}

.banner.b02 {
  background: url("https://files.billetfacile.com/bf-files/uploads/polls/le-grand-awards-des-maquilleurs/2025-05-02-1909-meilleure-entrepreneur-beaute.png")
    center/cover no-repeat;
}
.banner h1 {
  color: var(--white);
  font-size: 48px;
  font-weight: 800;
}

.banner p {
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  margin-top: 20px;
  /* text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6); */
}

.search-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  background: white;
  padding: 20px;
  margin: -30px auto 40px;
  width: 90%;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}
.search-bar.sb02 {
  margin: 20px auto 40px;
}

.search-bar input,
.search-bar select {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  flex: 1 1 200px;
}

.search-bar button {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.search-bar button i {
  font-size: 1rem;
}

.h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.votes-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

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

.vote-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 320px;
  margin: auto;
  cursor: pointer;
  transition: transform 0.3s;
}

.vote-card:hover {
  transform: translateY(-5px);
}

.vote-image {
  position: relative;
}

.vote-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  height: 200px;
  transition: all 1s;
}

.vote-card img:hover {
  scale: 1.1;
}

.badge {
  position: absolute;
  left: 20px;
  top: 19px;
  z-index: 9;
  background: var(--white);
  color: #ff4d4d;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 20px;
}
.badge.s2 {
  color: green;
}

.vote-content {
  padding: 15px;
  text-align: left;
}

.vote-content h3 {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
  color: #333;
}

.category {
  font-size: 14px;
  color: var(--principal);
  margin: 5px 0 10px;
}

.vote-date {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
}

.vote-date i {
  margin-right: 8px;
}

.vote-button,
.vote-email,
.vote-partage {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: bold;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
}
.vote-button {
  background-color: var(--principal);
  color: var(--white);
}
.vote-partage {
  background-color: var(--white);
  color: var(--principal);
  border: 1px solid var(--principal);
  margin-top: 10px;
  margin-bottom: 10px;
}

.vote-email {
  border: 0;
}
.vote-email.active {
  color: #f9f9f9;
  background-color: #757575;
}

.vote-button:hover,
.vote-partage:hover {
  background-color: var(--principal);
  color: var(--white);
}

.titleCat {
  background: white;
  color: var(--black);
  padding: 25px;
  width: 100%;
  margin-top: auto;
  z-index: 1;
}

/* ---------------------------- */

.presentations {
  width: 100%;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid #d4d4d4;
}

.presentations img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}
.presentations .contss {
  padding: 20px;
}
.presentations .contss .point {
  font-size: 3rem;
  font-weight: 600;
  color: var(--principal);
}
.presentations .contss .point i {
  font-size: 1rem;
}
.btn-part {
  display: flex;
  gap: 10px;
  border-top: 1px solid #d4d4d4;
  padding: 10px 0;
}

.detailss {
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid #d4d4d4;
  padding: 10px;
  background-color: var(--white);
}
.conv ul {
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 10px 0;
  list-style: none;
  background-color: #fcfcfc;
}
.conv ul li {
  padding-right: 10px;
  cursor: pointer;
}
.conv ul li.active {
  color: var(--principal);
}
.contsOne,
.contsTwo {
  font-size: 0.8rem;
}
.contsTwo {
  display: none;
}

/* ---------------------------- */

.detail {
  border-radius: 8px;
  border: 1px solid #d4d4d4;
  padding: 20px;
  background-color: var(--white);
}

.inputBox input,
.inputBox select {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  width: 100%;
}

.tt {
  background-color: #fcfcfc;
  padding: 10px;
  border-bottom: 1px solid #d4d4d4;
  margin-bottom: 20px;
}

.dfs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.mun {
  display: none;
}
.org {
  color: var(--principal);
}

/* --------------------------------------- */
.theCard {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
}

/* @media (min-width: 768px) {
  .theCard {
    grid-template-columns: repeat(2, 1fr);
  }
} */

.cardsss {
  display: flex;
justify-content:center;
align-items:center;
  position: relative;
  width: 90%;
  height: 60px;
  margin: 10px 0;
padding:8px 0;
  border-radius: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cardsss:hover {
  transform: scale(1.03);
}

.card-radio {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: 20px;
  height: 20px;
}

.card-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 10px;
}

/* --------------------------------------- */

footer {
  margin-top: 40px;
  background-color: #363636;
  color: #fff;
  text-align: center;
  padding: 3rem 0;
}
footer a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}

/* --- Responsive Text --- */
@media (max-width: 768px) {
  .banner h1 {
    font-size: 2rem;
  }

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