/* =============================================================
   arbusteo — ouverture de l'application (novembre 2026)
   « Se connecter », « Créer un compte » et l'offre de Noël
   (gratuit jusqu'au 31 décembre). Chargé par toutes les pages.
   ⚠ Ce fichier appartient au DÉPÔT (pas au prototype Claude Design) :
   il doit survivre à chaque ré-import, comme les liens d'accès posés
   dans js/layout.js et index.html.
   Les mentions [data-offre-noel] sont retirées par js/layout.js à
   partir du 1er janvier 2027 (heure de Paris).
   ============================================================= */

/* ---------- En-tête : « Se connecter » à côté de « Créer un compte » ----------
   La largeur utile de l'en-tête est de 1 072 px au plus (et 1 045 px à 1 161 px de
   large, juste avant le menu mobile) : les espacements sont resserrés pour que le
   lien de connexion y tienne, jusqu'à « Retour à l'accueil » de la page démo.
   Entre 1 161 et 1 279 px, le globe du choix de langue s'efface (FR / EN restent). */
@media (min-width: 1161px) {
  .site-header .nav { gap: 16px; }
  .site-header .nav-links a { padding: 8px 12px; }
  .site-header .nav-links a.active::after { left: 12px; right: 12px; }
  .site-header .nav-actions { gap: 12px; }
  .site-header .nav-actions .btn-sm { padding: 0 18px; }
}
@media (min-width: 1161px) and (max-width: 1279px) {
  .site-header .nav-actions .lang .material-symbols-outlined { display: none; }
}

/* ---------- Icône cadeau (« redeem » de Material Symbols, en SVG) ---------- */
.gift-icon { width: 20px; height: 20px; flex: none; color: var(--ocre); }

/* ---------- Pastille de l'offre (héros et appel final) ---------- */
.hero-gift,
.cta-gift {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--ocre-bg); color: #3a2400;
  border: 1px solid rgba(133, 81, 0, .18);
  box-shadow: var(--shadow-2);
  font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: .1px;
  white-space: normal; text-wrap: balance;
}
.hero-gift { margin-bottom: 22px; }
.cta-gift { margin: 0 auto 26px; }

/* ---------- Héros : ligne sous les boutons ---------- */
.hero-note {
  margin-top: 18px; font-size: 15px; line-height: 1.5;
  color: rgba(255, 255, 255, .86);
}
.hero-note a {
  color: #fff; font-weight: 600;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px;
}
.hero-note a:hover { color: var(--ocre-light); }
.hero-morph .hero-note { color: var(--ink-soft); }
.hero-morph .hero-note a { color: var(--green-deep); }
.hero-morph .hero-note a:hover { color: var(--green-title); }

/* ---------- Appel final : deux boutons ---------- */
.cta-final .cta-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-top: 36px;
}
.cta-final .cta-actions .btn { margin-top: 0; }
.cta-final .cta-actions .btn-tonal { color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta-final .cta-actions .btn-tonal:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Menu mobile : mention sous « Créer un compte » ---------- */
.mobile-menu .mm-noel {
  margin: -2px 0 6px; text-align: center;
  font-size: 14px; font-weight: 600; color: var(--ocre);
}
.mobile-menu a.mm-demo { color: var(--green-dark); }
/* Boutons à contour du menu mobile : la règle des liens du menu (site.css) leur retirait
   le bas du contour. */
.mobile-menu a.btn-tonal.mm-demo,
.mobile-menu a.btn-tonal.mm-login { border: 1.5px solid var(--olive); }

@media (max-width: 560px) {
  .hero-gift, .cta-gift { font-size: 14px; padding: 7px 14px 7px 10px; gap: 8px; }
  .hero-gift { margin-bottom: 18px; border-radius: 20px; }
  .cta-gift { border-radius: 20px; }
  .hero-note-noel { display: block; margin-bottom: 2px; }
  .cta-final .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-final .cta-actions .btn { width: 100%; }
}
