/* Polygone Coffee Club — charte Lélé Studio
   terracotta #C56141 · sauge #8CA896 · marron #694139 · beige #F0DBB0 · blanc */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --terracotta: #C56141;
  --sauge: #8CA896;
  --marron: #694139;
  --beige: #F0DBB0;
  --blanc: #FFFFFF;
  --titre: "Stinger Variable", "Unbounded", sans-serif;
  --texte: "Avenir Next", Avenir, "Nunito Sans", system-ui, sans-serif;
  --gouttiere: clamp(20px, 5vw, 64px);
  --section: clamp(56px, 7vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--beige);
  color: var(--marron);
  font-family: var(--texte);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: hidden;
}
img { max-width: 100%; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; text-wrap: balance; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--marron); outline-offset: 3px; border-radius: 6px; }
.sombre a:focus-visible, .sombre button:focus-visible { outline-color: var(--beige); }
strong, .gras { font-weight: 800; }

.contenu { max-width: 1200px; margin: 0 auto; padding-left: var(--gouttiere); padding-right: var(--gouttiere); }
.passer { position: absolute; left: -9999px; }
.passer:focus { left: 16px; top: 16px; z-index: 10; background: var(--marron); color: var(--beige); padding: 12px 18px; border-radius: 999px; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 30px; border-radius: 999px;
  border: 2.5px solid var(--marron);
  background: var(--marron); color: var(--beige);
  font: inherit; font-weight: 800; font-size: 17px; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.bouton:hover { transform: translateY(-2px); }
.bouton.contour { background: transparent; color: var(--marron); }
.bouton.contour:hover { background: var(--marron); color: var(--beige); }
.bouton.clair { background: var(--beige); color: var(--marron); border-color: var(--beige); }
@media (prefers-reduced-motion: reduce) { .bouton { transition: none; } .bouton:hover { transform: none; } }

/* En-tête */
.entete { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 20px; }
.entete .logo { display: block; padding: 4px 0; }
.entete .logo img { display: block; height: 64px; width: auto; }
.menu { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.menu a { font-weight: 800; font-size: 16px; text-decoration: none; padding: 12px 0; }
.menu a:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Accueil */
.accueil { display: flex; flex-wrap: wrap; align-items: center; gap: 44px 56px; padding-top: clamp(20px, 3vw, 40px); padding-bottom: var(--section); }
.accueil .texte { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.statut { display: inline-flex; align-items: center; gap: 10px; background: var(--marron); color: var(--beige); border-radius: 999px; padding: 8px 18px; font-size: 15px; font-weight: 800; }
.statut .point { width: 10px; height: 10px; border-radius: 50%; background: var(--sauge); }
.statut.ferme .point { background: var(--terracotta); }
.accueil h1 { color: var(--terracotta); font-size: clamp(33px, 5.4vw, 72px); line-height: 1.04; letter-spacing: -1px; }
.accueil .chapo { font-size: clamp(18px, 1.6vw, 21px); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.accueil .visuel { flex: 1 1 360px; min-width: 0; position: relative; }
.accueil .visuel img { display: block; width: 100%; height: clamp(340px, 40vw, 540px); object-fit: cover; border-radius: 40px; }
.pastille {
  position: absolute; left: -14px; bottom: -22px; width: 148px; height: 148px; border-radius: 50%;
  background: var(--marron); color: var(--beige);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  font-size: 13px; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: .5px;
  transform: rotate(-8deg);
}
@media (max-width: 480px) { .pastille { left: -6px; } }

/* La carte */
.carte { background: var(--blanc); }
.carte .contenu { padding-top: var(--section); padding-bottom: var(--section); display: flex; flex-direction: column; gap: 36px; }
.carte h2 { color: var(--terracotta); font-size: clamp(28px, 3.8vw, 50px); line-height: 1.06; letter-spacing: -.5px; }
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.bloc { background: var(--beige); border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.bloc.fort { background: var(--marron); color: var(--beige); }
.bloc h3 { font-size: 19px; line-height: 1.2; }
.puces { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.puces li { border: 2px solid var(--marron); border-radius: 999px; padding: 7px 18px; font-size: 15px; font-weight: 800; }

/* Équipe */
.equipe { background: var(--marron); color: var(--beige); }
.equipe .contenu { padding-top: var(--section); padding-bottom: var(--section); display: flex; flex-wrap: wrap; align-items: center; gap: 44px 56px; }
.equipe .photo { flex: 1 1 340px; min-width: 0; width: 100%; height: clamp(360px, 40vw, 560px); object-fit: cover; object-position: 50% 45%; border-radius: 40px; }
.equipe .texte { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.equipe h2 { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.5px; }
.equipe p { max-width: 540px; }
.chiffres { display: flex; flex-wrap: wrap; gap: 20px 40px; }
.chiffres div { display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.chiffres .nombre { font-family: var(--titre); font-weight: 700; font-size: 38px; line-height: 1; color: var(--sauge); }
.lien { align-self: flex-start; font-weight: 800; padding: 12px 0; text-underline-offset: 4px; }

/* Horaires + adresse */
.pratique { display: flex; flex-wrap: wrap; align-items: stretch; gap: 20px; padding-top: var(--section); padding-bottom: var(--section); }
.horaires { flex: 1 1 300px; min-width: 0; background: var(--sauge); border-radius: 36px; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-direction: column; gap: 24px; }
.horaires h2, .trouver h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.06; }
.horaires dl { display: flex; flex-direction: column; gap: 14px; font-size: 21px; font-weight: 800; }
.horaires dl div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.horaires dl div + div { border-top: 2.5px solid var(--marron); padding-top: 14px; }
.horaires p { font-size: 19px; font-weight: 800; }
.trouver { flex: 2 1 420px; min-width: 0; background: var(--blanc); border-radius: 36px; padding: clamp(28px, 3.4vw, 44px); display: flex; flex-wrap: wrap; gap: 28px; }
.trouver h2 { color: var(--terracotta); }
.trouver .infos { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.trouver address { font-style: normal; font-size: 20px; font-weight: 800; }
.plan { flex: 1 1 240px; min-width: 0; min-height: 260px; border-radius: 24px; background: var(--beige); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; }
.plan small { font-size: 14px; }
.plan.charge { padding: 0; }
.plan iframe { width: 100%; height: 100%; min-height: 260px; border: 0; display: block; }

/* Le club */
.club { background: var(--terracotta); }
.club .contenu { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.club h2 { color: var(--blanc); font-size: clamp(27px, 4vw, 52px); line-height: 1.08; letter-spacing: -.5px; max-width: 900px; }

/* Pied de page */
.pied { background: var(--marron); color: var(--beige); font-size: 15px; }
.pied .contenu { padding-top: 40px; padding-bottom: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.pied img { display: block; height: 60px; width: auto; }
.pied nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.pied nav a { font-weight: 800; padding: 12px 0; text-underline-offset: 4px; }
.pied .legal { flex: 1 1 100%; }

/* Mentions légales */
.page-legale { padding-top: clamp(24px, 4vw, 56px); padding-bottom: var(--section); max-width: 820px; }
.page-legale h1 { color: var(--terracotta); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.06; letter-spacing: -.5px; margin-bottom: 32px; }
.page-legale h2 { font-size: 20px; line-height: 1.2; margin: 36px 0 10px; }
.page-legale p + p { margin-top: 10px; }
.page-legale a { font-weight: 800; text-underline-offset: 4px; }
