/* Teranga — page d'atterrissage publique (atterrissage.js). Charte inchangée : variables de style.css, clair + nuit.
   Mobile d'abord (390 px) ; 2 colonnes dans le haut de page et grilles à partir de 820 px. Front e, 04/12/2026. */
body:has(.att) { padding-bottom: 0; }
.att { min-height: 100vh; }

/* ---------- haut de page ---------- */
.att-hero { padding: calc(12px + env(safe-area-inset-top)) 20px 52px; }
.att-hero .motif { width: 260px; right: -100px; top: 70px; opacity: .12; }
.att-barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: relative; z-index: 5;
             max-width: 1040px; margin: 0 auto 14px; }
.att-barre .logo-accueil { margin: 0; font-size: 18px; justify-content: flex-start; }
.att-barre .logo-accueil img { width: 40px; height: 40px; }
.att-connexion { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.5); color: #fff; border-radius: 999px;
                 font-weight: 700; font-size: 15px; min-height: 44px; padding: 6px 16px; white-space: nowrap; }
.att-connexion:active { background: rgba(255,255,255,.26); }
.att-barre-droite { display: flex; align-items: center; gap: 8px; }
.att-langue { position: relative; }
.att-langue summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 5px; min-height: 44px; padding: 6px 12px;
                      border-radius: 999px; color: #fff; font-weight: 700; font-size: 14px; background: rgba(255,255,255,.08); white-space: nowrap; }
.att-langue summary::-webkit-details-marker { display: none; }
.att-langue summary::after { content: ''; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); opacity: .8; }
.att-langue[open] summary, .att-langue summary:active { background: rgba(255,255,255,.2); }
.att-langue-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 168px; padding: 6px; border-radius: 16px;
                   background: #fff; box-shadow: 0 14px 36px rgba(0,0,0,.28); display: grid; gap: 2px; }
.att-langue-menu button { border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: #0b1f45; }
.att-langue-menu button:hover { background: #eef2fa; }
.att-langue-menu button.actif { background: #e6edfa; color: #003893; font-weight: 800; }
.att-langue-menu button.actif::after { content: ' ✓'; }
.att-barre .logo-accueil span { white-space: nowrap; }
@media (max-width: 440px) {
  .att-barre { gap: 8px; }
  .att-barre .logo-accueil { font-size: 16px; gap: 8px; }
  .att-barre .logo-accueil img { width: 34px; height: 34px; }
  .att-barre-droite { gap: 6px; }
  .att-langue summary { padding: 6px 9px; gap: 4px; font-size: 13.5px; }
  .att-langue summary::after { display: none; }
  .att-connexion { padding: 6px 12px; font-size: 14px; }
}
@media (max-width: 370px) { .att-barre .logo-accueil small { display: none; } }
.att-hero-grille { position: relative; z-index: 1; max-width: 1040px; margin: 0 auto; display: grid; gap: 26px; }
.att-hero-texte { text-align: center; }
.att-sur { display: inline-block; margin: 22px 0 0; padding: 5px 12px; border-radius: 999px; background: rgba(253,239,66,.16);
           color: var(--jaune); font-weight: 700; font-size: 14px; }
.hero .att-sur { color: var(--sn-jaune); }
.att-hero h1 { font-size: 34px; line-height: 1.1; margin: 14px auto 0; max-width: 520px; }
.att-chapeau { font-size: 17.5px; max-width: 480px; margin: 14px auto 0 !important; }
.att-cta { max-width: 420px; margin: 24px auto 0; font-size: 17.5px; min-height: 56px; box-shadow: 0 8px 22px rgba(253,239,66,.25); }
.att-rassure { font-size: 14.5px !important; margin: 10px auto 0 !important; color: rgba(255,255,255,.85) !important; }

/* visuel : vraie capture dans un cadre de téléphone + deux phrases qui flottent */
.att-hero-visuel { position: relative; display: flex; justify-content: center; padding: 8px 0 6px; }
.att-tel { width: 236px; border-radius: 34px; padding: 8px; background: #0b1530; box-shadow: 0 18px 50px rgba(0,0,0,.35), inset 0 0 0 1.5px rgba(255,255,255,.18); }
.att-tel img { display: block; width: 100%; height: auto; aspect-ratio: 390 / 600; object-fit: cover; object-position: top; border-radius: 27px; background: var(--sable); }
.att-tel.petit { width: 200px; border-radius: 30px; padding: 7px; box-shadow: 0 6px 14px rgba(6,26,64,.16), inset 0 0 0 1.5px rgba(255,255,255,.18); }
.att-tel.petit img { border-radius: 24px; }
.att-bulle { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; color: #0b1f45; border-radius: 16px;
             padding: 9px 13px; font-size: 15px; box-shadow: 0 10px 26px rgba(0,0,0,.22); animation: att-flotte 5s ease-in-out infinite; }
.att-bulle b { color: #003893; font-weight: 800; white-space: nowrap; }
.att-b1 { left: 0; top: 18%; }
.att-b2 { right: 0; bottom: 14%; animation-delay: -2.5s; }
@keyframes att-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .att-bulle { animation: none; } }

/* ---------- corps ---------- */
.att-main { max-width: 620px; padding-bottom: 96px; }
.att-bloc { margin-top: 44px; }
.att-bloc h2 { font-size: 26px; line-height: 1.2; margin: 0; text-align: center; }
.att-intro { text-align: center; color: var(--doux); font-size: 16.5px; margin: 10px auto 0; max-width: 520px; }
.att-bloc h3 { font-size: 18px; margin: 0; }

.att-essai { margin-top: 28px; }
.att-phrases { margin-top: 8px; }
.att-phrase { display: flex; align-items: center; gap: 14px; }
.att-phrase .kriolu { font-size: 21px; }
.att-trad { margin: 2px 0 0 !important; font-size: 15.5px !important; }
.att-astuce { text-align: center; color: var(--doux); font-size: 15px; margin: 14px 8px 0; }

.att-grille3 { display: grid; gap: 0; }
.att-public { display: grid; grid-template-columns: 52px 1fr; column-gap: 14px; align-items: start; }
.att-public .att-ico { width: 52px; height: 52px; font-size: 24px; margin: 0; grid-row: span 2; }
.att-public p { font-size: 15.5px; }
.att-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; margin: 0 auto 10px; background: var(--ciel); }
.att-ico.petit { width: 44px; height: 44px; font-size: 21px; margin: 0; flex: none; }

.att-etapes { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: none; }
.att-etapes li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--bord); }
.att-etapes li:first-child { border-top: 0; }
.att-etapes p { margin: 4px 0 0; color: var(--doux); font-size: 15.5px; }
.att-num { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px;
           background: var(--jaune); color: var(--encre-jaune); }
.att-cta-milieu { max-width: 420px; margin: 18px auto 0; }

.att-captures { overflow: visible; }
.att-defile { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px 16px 22px; margin: 0 -16px;
              scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.att-defile::-webkit-scrollbar { display: none; }
.att-defile:focus-visible { outline: 3px solid var(--lien); outline-offset: -3px; border-radius: 12px; }
.att-defile figure { margin: 0; flex: none; scroll-snap-align: center; text-align: center; }
.att-defile figcaption { margin-top: 10px; font-weight: 700; font-size: 15px; color: var(--texte); }

.att-atouts { margin-top: 10px; }
.att-atout { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--bord); }
.att-atout:first-child { border-top: 0; }
.att-atout p { margin: 4px 0 0; color: var(--doux); font-size: 15.5px; }

.att-offres { display: grid; gap: 0; }
.att-offre { position: relative; display: flex; flex-direction: column; }
.att-offre.meilleure { border: 2px solid var(--jaune); }
.att-offre-tete { padding-right: 70px; }
.att-offre .prix { font-family: var(--titre); font-size: 34px; font-weight: 800; color: var(--kriolu); margin-top: 4px; line-height: 1.1; }
.att-offre .prix small { font-size: 16px; color: var(--doux); font-weight: 600; }
.att-offre-tete > small { display: block; color: var(--doux); font-size: 14.5px; margin-top: 4px; }
.att-offre .btn { margin-top: auto; }
.att-offre .liste-complet { margin-bottom: 14px; }
.att-cadeau { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--jaune); border-radius: 14px; }
.att-cadeau b { display: block; line-height: 1.3; }
.att-cadeau p { font-size: 15px; }

.att-q { padding: 0; }
.att-q summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 18px; position: relative; min-height: 52px; }
.att-q summary::-webkit-details-marker { display: none; }
.att-q summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 700; color: var(--lien); }
.att-q[open] summary::after { content: "−"; }
.att-q summary h3 { font-size: 17px; margin: 0; }
.att-q summary:focus-visible { outline: 3px solid var(--lien); outline-offset: -3px; border-radius: var(--rond); }
.att-q > p { margin: 0; padding: 0 18px 18px; font-size: 15.5px; }

.att-final { margin: 48px -16px 0; padding: 40px 22px 44px; text-align: center; color: #fff; position: relative; overflow: hidden;
             background: linear-gradient(165deg, var(--hero-a) 0%, var(--hero-b) 100%); }
.att-final .motif { position: absolute; width: 200px; left: -60px; bottom: -50px; opacity: .14; }
.att-final h2 { font-size: 26px; line-height: 1.2; margin: 0 auto; max-width: 460px; position: relative; }
.att-final p { color: rgba(255,255,255,.9); margin: 10px auto 0; position: relative; }
.att-final .btn { position: relative; }
.att-main .carte-marque { margin-top: 28px; }
.att-pied { margin-top: 18px; }
.att-pied a.lien { margin: 0 6px; font-size: 14.5px; color: var(--doux); font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }

/* bouton collé en bas quand le bouton du haut est sorti de l'écran */
.att-colle { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
             background: color-mix(in srgb, var(--sable) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
             border-top: 1px solid var(--bord); animation: entree .2s ease; }
.att-colle[hidden] { display: none; }
.att-colle .btn { max-width: 420px; margin: 0 auto; }

/* ---------- grand écran ---------- */
@media (min-width: 820px) {
  .att-hero { padding-bottom: 64px; }
  .att-hero-grille { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; }
  .att-hero-texte { text-align: left; }
  .att-hero h1 { font-size: 46px; margin-left: 0; }
  .att-chapeau, .att-rassure { margin-left: 0 !important; }
  .att-hero .att-cta { margin-left: 0; }
  .att-tel { width: 270px; }
  .att-main { max-width: 1040px; }
  .att-essai .att-phrases { max-width: 620px; margin: 8px auto 0; }
  .att-grille3 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .att-public { display: block; text-align: center; }
  .att-public .att-ico { width: 56px; height: 56px; margin: 0 auto 10px; }
  .att-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .att-etapes li { border-top: 0; flex-direction: column; }
  .att-defile { justify-content: center; }
  .att-atouts { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; }
  .att-atout:nth-child(2) { border-top: 0; }
  .att-offres { grid-template-columns: 1fr 1fr; gap: 16px; max-width: 860px; margin: 0 auto; }
  .att-faq #att-faq-liste { max-width: 760px; margin: 0 auto; }
  .att-final { margin: 56px 0 0; border-radius: 28px; }
}
/* liseré vert-jaune-rouge en haut du bloc final (comme sous le haut de page) */
.att-final::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--sn-vert) 0 33.4%, var(--sn-jaune) 33.4% 66.7%, var(--sn-rouge) 66.7%); }
html.nuit .att-final { background: linear-gradient(165deg, #0b2a66 0%, #123a86 100%); }
