/* Coop Loire Rhône Ain : page d'attente */

:root {
  --vert: #b4be31;
  --vert-hover: #a3ad2c;
  --encre: #1c1c1c;
  --texte-doux: #4a4a4a;
  --fond: #f3f4ec;
  --filet: #e4e6d6;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--fond);
}

body::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--vert);
}

.page {
  flex: 1;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 6vw, 64px) 20px 24px;
}

/* En-tête */
.entete { text-align: center; margin-bottom: clamp(24px, 4vw, 40px); }
.logo { display: inline-block; width: 224px; max-width: 60%; height: auto; }
h1 {
  margin: 12px 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.insec { white-space: nowrap; }
.baseline { margin: 0 auto; max-width: 34em; color: var(--texte-doux); font-size: 1.05rem; }

/* Carte */
.carte {
  background: #fff;
  border-top: 4px solid var(--vert);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 40px);
  box-shadow: 0 1px 2px rgba(28, 28, 28, .06), 0 8px 24px rgba(28, 28, 28, .08);
}
.carte h2 { margin: 0 0 28px; font-size: 1.4rem; line-height: 1.3; text-align: center; }
.carte h3 { margin: 0 0 12px; font-size: 1.05rem; }

.grille { display: grid; grid-template-columns: 1fr 1fr; }
.horaires-bloc { padding-left: 40px; border-left: 1px solid var(--filet); }

.coordonnees {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  padding-right: 40px;
}
.adresse { display: flex; align-items: center; gap: 20px; }
.pin { flex: none; width: 56px; height: auto; }
address { font-style: normal; font-size: 1.3rem; line-height: 1.5; font-weight: 700; }

.actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 300px; }
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid var(--encre);
  border-radius: 999px;
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-plein { background: var(--vert); border-color: var(--vert); }
.btn-plein:hover { background: var(--vert-hover); border-color: var(--vert-hover); }
.btn-contour { background: transparent; }
.btn-contour:hover { background: var(--encre); color: #fff; }

/* Horaires */
.horaires { width: 100%; border-collapse: separate; border-spacing: 0; }
.horaires th, .horaires td { padding: 10px 12px; border-bottom: 1px solid var(--filet); font-weight: 400; }
.horaires th { text-align: left; }
.horaires td { text-align: right; white-space: nowrap; }
.horaires tr:last-child th, .horaires tr:last-child td { border-bottom: 0; }
.horaires .ferme td { color: var(--texte-doux); }

/* Mentions légales */
.carte-texte h3 { margin-top: 28px; }
.carte-texte .contenu { line-height: 1.7; }
.carte-texte p { margin: 0 0 1em; }
.carte-texte address { font-size: 1rem; font-weight: 400; line-height: 1.7; margin-bottom: 1em; }

/* Pied de page */
.pied { padding: 20px; text-align: center; font-size: .875rem; }
.pied span { margin: 0 8px; }
.pied a, .carte-texte a { color: var(--encre); }

a:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

@media (max-width: 700px) {
  .grille { grid-template-columns: 1fr; gap: 28px; }
  .coordonnees { padding-right: 0; }
  .horaires-bloc { padding-left: 0; border-left: 0; border-top: 1px solid var(--filet); padding-top: 24px; }
}
