/* ============================================================
   CALÉTHO — Porte d'entrée (home)
   Un écran, deux portes. Chaque porte annonce sa couleur.
   ============================================================ */

.home-body {
  background:
    radial-gradient(140% 100% at 50% 0%, var(--socle) 0%, var(--socle-deep) 60%);
  color: var(--albatre);
  min-height: 100vh;
}

.portal {
  max-width: 1200px;
  margin-inline: auto;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 3rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- En-tête --- */
.portal-head { display: flex; justify-content: center; padding: 1rem 0 2.5rem; }
.portal-logo { color: #fff; font-size: 1.5rem; }

/* --- Intro marque mère --- */
.portal-intro { text-align: center; max-width: 720px; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.portal-intro .eyebrow {
  color: var(--sauge);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.2rem;
}
.portal-title {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.portal-lede {
  color: rgba(248,249,250,.78);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  max-width: 52ch; margin: 0 auto 2rem;
}
.portal-scroll {
  display: inline-flex; flex-direction: column; align-items: center; gap: .4rem;
  text-decoration: none; color: rgba(248,249,250,.7);
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  transition: color .2s var(--ease);
}
.portal-scroll:hover { color: #fff; }
.portal-scroll svg { animation: bob 2.2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* --- Les deux portes --- */
.choix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  flex: 1;
  align-content: center;
}
.gate {
  position: relative;
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex;
}
.gate:hover { transform: translateY(-6px); box-shadow: 0 28px 60px rgba(0,0,0,.35); }
.gate:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 4px; }

.gate-inner {
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  display: flex; flex-direction: column;
  width: 100%;
}

/* Porte Pro : bleu profond, autorité */
.gate-pro { background: linear-gradient(165deg, var(--socle-soft) 0%, var(--socle) 100%); }
.gate-pro:hover { border-color: var(--sauge); }
.gate-pro .gate-tag { background: rgba(123,158,135,.22); color: var(--sauge); }
.gate-pro .gate-name span { color: var(--sauge); }
.gate-pro .gate-points li::before { background: var(--sauge); }
.gate-pro .gate-cta { color: #fff; }
.gate-pro .gate-cta:hover { gap: .9rem; }

/* Porte Care : sauge chaleureux, accueil */
.gate-care { background: linear-gradient(165deg, #8fae99 0%, #6d8f79 100%); }
.gate-care:hover { border-color: var(--terracotta); }
.gate-care .gate-tag { background: rgba(20,38,60,.18); color: var(--socle-deep); }
.gate-care .gate-name { color: #fff; }
.gate-care .gate-name span { color: var(--terracotta); }
.gate-care .gate-desc { color: rgba(255,255,255,.9); }
.gate-care .gate-points { color: rgba(255,255,255,.92); }
.gate-care .gate-points li::before { background: var(--terracotta); }
.gate-care .gate-cta { color: #fff; }
.gate-care .gate-cta:hover { gap: .9rem; }

.gate-tag {
  align-self: flex-start;
  font-family: var(--font-display); font-weight: 600; font-size: .76rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.gate-name {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 1rem;
}
.gate-desc {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem; margin-bottom: 1.6rem;
}
.gate-points {
  list-style: none; padding: 0; margin: 0 0 2rem;
  display: grid; gap: .7rem; flex: 1;
  color: rgba(255,255,255,.9);
}
.gate-points li { position: relative; padding-left: 1.6rem; font-size: 1rem; }
.gate-points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 50%;
}
.gate-cta {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  transition: gap .2s var(--ease);
}

/* --- Pied de page --- */
.portal-foot {
  text-align: center;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.portal-foot p { color: rgba(248,249,250,.65); margin: 0 0 .5rem; font-size: .98rem; }
.portal-foot strong { color: #fff; }
.portal-legal { font-size: .88rem; }

/* --- Responsive --- */
@media (max-width: 820px) {
  .choix { grid-template-columns: 1fr; }
  .portal-head { padding-bottom: 1.5rem; }
}
