/* ============================    VARIABLES DE COULEURS    ============================ */
:root {
  --fond: #070708;
  --rouge: #8A2121;
  --texte: #FFFFFF;
  --gris: #BEBEBE;
}

/* ============================    BASE GÉNÉRALE    ============================ */
html, body {
  margin: 0;
  width: 100%;
  background: var(--fond);
  color: var(--texte);
  font-family: 'Manrope', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

p, a, li {
  font-weight: 400;
}

/* ============================    CONTAINER (identique à l’index)    ============================ */
.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 clamp(80px, 10vw, 160px);
  box-sizing: border-box;
}

/* ============================    HEADER    ============================ */
.entete {
  background: var(--fond);
  border-bottom: 1px solid #222;
}

.entete .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 10vw;
}

.logo img {
  width: 120px;
  height: auto;
}

.bouton-contact {
  background: #1C1C21;
  color: var(--texte);
  border: 1px solid #2F2F37;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.bouton-contact:hover {
  border-color: var(--rouge);
  color: var(--rouge);
}

/* ============================    SECTION HERO    ============================ */
.hero {
  position: relative;
  height: 200px;
  border-bottom: 1px solid #1E1E1E;
  overflow: hidden;
}

.hero h1 {
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: left;
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
}

.pastèque {
  position: absolute;
  top: -10px;
  right: 70px;
  width: 240px;
  z-index: 1;
  pointer-events: none;
}

/* ============================    CONTENU DE LA PAGE    ============================ */
.page {
  width: 95%;
  max-width: 1200px;
  margin: 60px auto;
}

.bloc {
  border: 1px solid #1E1E1E;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}

h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

p {
  font-size: 0.95rem;
}

a {
  color: #fff;
  text-decoration: underline;
}

a:hover {
  opacity: 0.8;
}

/* ============================    IMAGE BONHOMME    ============================ */
.bloc-bonhomme {
  position: relative;
  border: 1px solid #1E1E1E;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}

.bonhomme {
  position: relative;
  width: 220px;
  margin-left: 870px; 
  margin-bottom: -30px;
}

/* ============================   BOUTON RETOUR HAUT   ============================ */
.top-btn {
  position: fixed;
  bottom: 60px;
  right: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
  z-index: 300;
}

.top-btn img {
  width: 48px;
  height: auto;
  display: block;
}

.fleche-default {
  position: absolute;
  opacity: 1;
}

.fleche-hover {
  position: absolute;
  opacity: 0;
}

.top-btn:hover .fleche-default {
  opacity: 0;
}

.top-btn:hover .fleche-hover {
  opacity: 1;
}

/* Scroll fluide */
html {
  scroll-behavior: smooth;
}

/* ============================    FENÊTRE CONTACTS    ============================ */
.fenetre {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.contenu-fenetre {
  background: #111;
  color: white;
  border-radius: 20px;
  padding: 50px 60px;
  width: 95%;
  max-width: 1200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  position: relative;
}

.fermer-fenetre {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 2px solid #EBEBEB;
  color: #EBEBEB;
  border-radius: 10px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
}

.fermer-fenetre:hover {
  background: #EBEBEB;
  color: #111;
}

.contenu-fenetre h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 28px;
}

.cartes-contacts {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: nowrap;
}

.carte-contact {
  flex: 1;
  max-width: 320px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s ease;
}

.carte-contact:hover {
  border-color: var(--rouge);
}

.carte-contact h3 {
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 600;
}

.carte-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 15px;
  color: var(--texte);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.carte-contact a img {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease, filter 0.3s ease;
}

.carte-contact a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 28px;
  width: 0%;
  height: 1px;
  background: var(--rouge);
  transition: width 0.7s;
}

.carte-contact a:hover::after {
  width: calc(100% - 28px);
}

.carte-contact a:hover {
  color: var(--rouge);
}

.carte-contact a:hover img {
  transform: scale(1.15);
  filter: brightness(1.3);
}
