/* =============================================
   FONTS LOCALES
   Placez vos fichiers dans un dossier /fonts/
   - snotmaster-v.woff2  (ou .ttf)
   - smithy-xt.woff2     (ou .ttf)
============================================= */
@font-face {
  font-family: 'SnotmasterV';
  src: url('fonts/snotmaster-v/snotmaster.ttf') format('woff2'),
       url('fonts/snotmaster-v/snotmasteri.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'SmithyXT';
  src: url('fonts/smithy-xt.woff2') format('woff2'),
       url('fonts/smithy-xt.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* =============================================
   VARIABLES
============================================= */
:root {
  --rouge:       #8B0000;
  --rouge-vif:   #A00000;
  --beige:       #F5E6D3;
  --beige-clair: #FAF4E8;
  --blanc:       #FFFFFF;
  --noir:        #1A1A1A;
  --gris-texte:  #3A3A3A;
  --ombre:       rgba(0, 0, 0, 0.18);
}

/* =============================================
   RESET & BASE
============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--noir);
  background-color: var(--blanc);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* =============================================
   NAVIGATION
============================================= */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  border-bottom: 1px solid rgba(139, 0, 0, 0.12);
}

.nav-logo {
  font-family: 'SnotmasterV', 'EB Garamond', Georgia, serif;
  font-size: 2rem;
  color: var(--rouge);
  font-weight: bold;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'EB Garamond', serif;
  font-size: 1.05rem;
  color: var(--noir);
  transition: color 0.2s;
}

.nav-links a.active {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nav-links a:hover {
  color: var(--rouge);
}

/* =============================================
   HERO
============================================= */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)),
    url('Images/cabarotier-page-accueil.jpg') center / cover no-repeat;
    opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--blanc);
  padding: 60px 24px 48px;
  max-width: 680px;
}

.hero-logo-badge {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
}

.hero-logo-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.1);
}

.hero-title {
  font-family: 'SnotmasterV', 'EB Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: bold;
  color: var(--rouge);
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-family: 'Lora', serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--noir);
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   BOUTONS
============================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rouge);
  color: var(--blanc);
  border: 2px solid var(--rouge);
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--rouge-vif);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--rouge);
  border: 2px solid var(--rouge);
  padding: 14px 28px;
  border-radius: 6px;
  font-family: 'EB Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

.btn-icon {
  font-size: 1.2rem;
}

.btn-modifier {
  background: none;
  border: 1.5px solid #2a7a2a;
  color: #2a7a2a;
  font-family: 'EB Garamond', serif;
  font-size: 0.92rem;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
/* =============================================
   SECTION EXCELLENCE
============================================= */
.section-excellence {
  padding: 72px 24px 64px;
  text-align: center;
  background: var(--blanc);
  max-width: 720px;
  margin: 0 auto;
}

.section-excellence h2 {
  font-family: 'SmithyXT', 'EB Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--rouge);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.section-excellence p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gris-texte);
  line-height: 1.8;
}

/* =============================================
   SECTION STAFF
============================================= */
.section-staff {
  background: var(--beige);
  padding: 64px 48px 80px;
}

.section-staff h2 {
  font-family: 'SnotmasterV', 'EB Garamond', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--rouge);
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.staff-card {
  background: var(--blanc);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px var(--ombre);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.staff-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--beige); 
}

.staff-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}

.staff-card:hover .staff-card-img img {
  transform: scale(1.04);
}

.staff-card-body {
  padding: 20px 20px 24px;
}

.staff-card-body h3 {
  font-family: 'SmithyXT', 'EB Garamond', Georgia, serif;
  font-size: 1.45rem;
  color: var(--rouge);
  margin-bottom: 10px;
}

.staff-card-body p {
  font-family: 'EB Garamond', serif;
  font-size: 0.97rem;
  color: var(--gris-texte);
  line-height: 1.65;
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: var(--blanc);
  border-top: 1px solid rgba(139, 0, 0, 0.1);
  padding: 56px 48px 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.footer-brand h3 {
  font-family: 'SnotmasterV', 'EB Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--noir);
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #bbb;
  color: var(--gris-texte);
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--rouge);
  color: var(--rouge);
}

.footer-col h4 {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--noir);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a {
  font-size: 0.92rem;
  color: #555;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--rouge);
}

.footer-col ul li a.underline {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #999;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 900px) {
  nav {
    padding: 16px 24px;
  }

  .nav-logo {
    font-size: 1.5rem;
  }

  .section-staff {
    padding: 48px 24px 64px;
  }

  .staff-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  nav {
    padding: 14px 16px;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.9rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}
