/* Importation de la police Serif Playfair/Georgia */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,700;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --red-accent: #e5383b;
  --navy-title: #1a2332;
  --body-gray: #555555;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--body-gray);
  background-color: #ffffff;
}

/* Typographie */
.serif-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
}

.text-navy {
  color: var(--navy-title);
}

.text-red {
  color: var(--red-accent) !important;
}

/* Logo Navbar */
.logo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  line-height: 1.1;
  color: #000;
  font-weight: 400;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 520px;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url('../img/UaH_accueil_montage2-e1749755042389.jpg') center/cover no-repeat;
}

/* Bouton */
.btn-red {
  background-color: var(--red-accent);
  color: #ffffff;
  border-radius: 0;
  border: none;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}

.btn-red:hover {
  background-color: #c92a2d;
  color: #ffffff;
}

/* Filtre */
.img-bw {
  filter: grayscale(100%);
  object-fit: cover;
  width: 100%;
  height: 160px;
  transition: filter 0.3s ease;
}

.img-bw:hover {
  filter: grayscale(0%);
}

/* Liste à puces */
.custom-chevron-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
}

.custom-chevron-list li::before {
  content: ">";
  position: absolute;
  left: 0;
  color: #888888;
  font-weight: 600;
}

/* Bouton de retour en haut */
.btn-back-to-top {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background-color: var(--red-accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.btn-back-to-top:hover {
  color: white;
  background-color: #c92a2d;
}

.logo-img {
  max-height: 55px;
  width: auto;
  display: block;
}

/* Logos*/
.footer-partner-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

/* Foote */
.footer-grey {
  background-color: #beb7b0;
  color: #000000 !important;
}

/* Titres, textes et liens */
.footer-grey h5,
.footer-grey p,
.footer-grey li,
.footer-grey a {
  color: #000000 !important;
}

/* Effet au survol des liens */
.footer-grey a:hover {
  text-decoration: underline !important;
}

/* Icônes réseaux */
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #333333;
  color: #333333;
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.social-icon-link:hover {
  background-color: #333333;
  color: #ffffff;
}

/* Sous-footer noir */
.footer-black {
  background-color: #000000;
}

/* --- SECTION ÉQUIPE & ACCORDÉON --- */

/* Style des photos */
.team-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  filter: grayscale(100%);
  background-color: #f0f0f0;
}

/* Ligne grise sous la fonction du membre */
.team-divider {
  width: 60px;
  height: 2px;
  background-color: #6c757d;
  margin: 0 auto;
}

/* Icônes de réseaux sociaux */
.team-social-icon {
  color: #e5383b;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s;
}

.team-social-icon:hover {
  color: #c92a2d;
  opacity: 0.8;
}

/* Accordéon */
.custom-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #000;
  box-shadow: none;
}

.custom-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, .125);
}

.custom-accordion .accordion-item {
  border-radius: 0;
}

.dropcap {
  float: left;
  font-size: 3.5rem;
  line-height: 0.8;
  font-weight: 700;
  color: #d9383a;
  padding-right: 8px;
  padding-top: 4px;
  font-family: inherit;
}

.project-category {
  font-size: 1.1rem;
  color: #6c757d;
  font-weight: 500;
}

.project-tag {
  color: #d9383a;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.project-meta {
  color: #555555;
  font-size: 1rem;
  line-height: 1.8;
}


/* CSS spécifique pour la galerie des réalisations */
.filter-btn {
  background: transparent;
  border: none;
  color: #555;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 8px 16px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: #333333;
  color: #ffffff;
}

/* Carte Réalisation & Overlay au Survol (Hover) */
.portfolio-card {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 4px;
  text-decoration: none;
  aspect-ratio: 1 / 1;
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.35s ease;
  color: #ffffff;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.2;
}

.portfolio-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
}

.portfolio-tag {
  color: #ff2b2b;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  line-height: 1.3;
}