/* Mon-sapin-a-velos.fr — accueil aéré sans défilement sur PC.
   Page complète: en-tête / logo / choix / pied de page répartis dans le viewport.
   Mobile très petit : le scroll reste possible pour ne pas masquer de contenu. */
:root {
  color-scheme: light;
  --green: #153e32;
  --ink: #183c31;
  --gold: #cba56c;
  --cream: #f8f7f0;
  --sage: #e5eee1;
  --peach: #f7e8d8;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-width: 320px;
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--cream);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: '';
  position: fixed;
  top: -180px;
  left: -200px;
  z-index: -1;
  width: 440px;
  height: 440px;
  pointer-events: none;
  background: radial-gradient(circle, #e8efdd 0%, transparent 66%);
}
a { color: inherit; }
.layout {
  width: min(1120px, calc(100% - 64px));
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}
.header {
  min-height: 58px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.top-phone {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  padding: 11px 15px;
  border: 1px solid #e7e9de;
  border-radius: 100px;
  background: #fff;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.top-phone:hover { background: #eaf0e4; }
.phone-icon { width: 17px; height: 17px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.main {
  width: 100%;
  max-width: 1030px;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-inline: auto;
  padding: 0 0 12px;
}
.intro { flex: 0 0 auto; text-align: center; }
.hero-logo {
  display: block;
  width: min(640px, 100%);
  height: auto;
  margin: 0 auto;
  background: transparent;
  mix-blend-mode: normal;
}
.intro > p {
  margin: 20px 0 0;
  color: #61766b;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 550;
}
.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  flex: 0 0 auto;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  height: clamp(165px, 28vh, 205px);
  padding: 21px 22px;
  overflow: hidden;
  border: 1px solid rgba(24, 63, 47, .07);
  border-radius: 20px;
  color: var(--green);
  text-decoration: none;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.service-pickup { background: var(--sage); }
.service-delivery { background: var(--peach); }
.service:not(.is-closed):hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(25,62,46,.1);
  border-color: rgba(25,62,46,.22);
}
.service:focus-visible, .top-phone:focus-visible, .footer a:focus-visible {
  outline: 3px solid #c58d38; outline-offset: 4px;
}
.service-top, .service-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.service-tag {
  padding-top: 3px;
  color: #60806a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.7px;
  white-space: nowrap;
}
.service-delivery .service-tag { color: #9c725d; }
.service-art {
  display: block;
  width: 111px;
  height: 97px;
  flex: 0 0 auto;
  margin-top: -10px;
  margin-right: -5px;
  transition: transform .18s;
}
.service-art svg { display: block; width: 100%; height: 100%; }
.service:hover .service-art { transform: rotate(-3deg) scale(1.04); }
.service-bottom { align-items: flex-end; }
.service-bottom > div { min-width: 0; }
.service h2 {
  margin: 0;
  font-size: clamp(18px, 1.9vw, 24px);
  font-weight: 830;
  line-height: 1.12;
  letter-spacing: -1.15px;
  white-space: nowrap;
}
.service p {
  margin: 8px 0 0;
  color: #617d6e;
  font-size: 13px;
  font-weight: 520;
  white-space: nowrap;
}
.service-delivery p { color: #976e5a; }
.arrow {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  margin-bottom: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}
.arrow svg { width: 20px; height: 20px; transition: transform .18s; }
.service:hover .arrow svg { transform: translateX(3px); }
.is-closed { opacity: .55; cursor: not-allowed; filter: grayscale(.25); }
.availability {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #75887b;
  font-size: 12px;
  font-weight: 600;
}
.status-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #d2ae68; }
.status-dot.open { background: #328a63; }
.status-dot.closed { background: #c47462; }
.footer {
  min-height: 58px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 0;
  border-top: 1px solid #e6e6db;
  color: #7b8a7d;
  font-size: 12px;
}
.footer-spark { margin-left: 4px; color: #c59d5a; }
.footer nav { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.footer a { color: #516e5d; font-weight: 650; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
/* PC de largeur moyenne : les titres restent sur une ligne. */
@media (min-width: 801px) and (max-width: 1100px) {
  .layout { width: calc(100% - 42px); }
  .service { padding-inline: 17px; }
  .service h2 { font-size: clamp(17px, 2vw, 21px); letter-spacing: -.9px; }
  .arrow { width: 34px; height: 34px; }
  .arrow svg { width: 18px; height: 18px; }
}
/* Hauteur réduite sur ordinateur : compression proportionnelle. */
@media (min-width: 801px) and (max-height: 700px) {
  .header { min-height: 50px; }
  .footer { min-height: 48px; }
  .hero-logo { width: min(570px, 76vw); }
  .intro > p { margin-top: 12px; }
  .main { padding-bottom: 8px; }
  .service { height: clamp(150px, 27vh, 180px); padding-block: 16px; }
  .service-art { width: 98px; height: 86px; }
}
@media (min-width: 801px) and (max-height: 560px) {
  .header { min-height: 42px; }
  .footer { min-height: 42px; }
  .hero-logo { width: min(460px, 70vw); }
  .intro > p { margin-top: 7px; font-size: 13px; }
  .service { height: 143px; padding-block: 11px; }
  .service-art { width: 84px; height: 74px; }
  .service h2 { font-size: 19px; }
  .service p { margin-top: 5px; }
  .main { padding-bottom: 4px; }
}
/* Mobile : conserver les 2 cartes accessibles et une mise en page lisible. */
@media (max-width: 800px) {
  .layout { width: calc(100% - 32px); }
  .header { min-height: 54px; }
  .top-phone { width: 42px; height: 42px; padding: 0; border: 0; background: #ecf1e7; font-size: 0; }
  .phone-icon { width: 19px; height: 19px; }
  .main { max-width: 510px; padding: 0 0 9px; }
  .hero-logo { width: min(100%, 500px); }
  .intro > p { margin-top: 9px; font-size: 14px; }
  .choices { grid-template-columns: 1fr; gap: 13px; }
  .service { height: 151px; padding: 15px 19px; border-radius: 17px; }
  .service-art { width: 88px; height: 79px; }
  .service h2 { font-size: clamp(19px, 4.7vw, 24px); line-height: 1.12; white-space: normal; }
  .service p { margin-top: 5px; font-size: 12px; }
  .arrow { width: 36px; height: 36px; }
  .availability { font-size: 11px; }
  .footer { min-height: 67px; flex-direction: column; justify-content: center; gap: 8px; padding: 10px 0; font-size: 11px; }
  .footer nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
}
@media (max-width: 800px) and (max-height: 730px) {
  .header { min-height: 45px; }
  .service { height: 136px; padding-block: 12px; }
  .service-art { width: 80px; height: 71px; }
  .footer { min-height: 62px; padding-block: 8px; }
  .intro > p { margin-top: 6px; }
}
@media (max-width: 370px) {
  .service { padding-inline: 14px; }
  .service h2 { font-size: 19px; }
  .service p { font-size: 11px; }
  .footer nav { gap: 10px; }
}
@media (max-width: 800px) and (max-height: 600px) {
  .header { min-height: 39px; }
  .hero-logo { width: min(300px, 95%); }
  .service { height: 122px; padding-block: 9px; }
  .service-art { width: 71px; height: 62px; }
  .main { padding-bottom: 4px; }
  .footer { min-height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; }
}
