/* La vitrine : page d'accueil publique et pages légales. S'ajoute à app.css (mêmes couleurs, même police).
   Style : celui de l'appli, poussé un cran plus loin — contours noirs, ombres franches, pastilles inclinées. */

.vitrine { background: var(--cream); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px;
  border-radius: 999px; z-index: 50; }
.skip:focus { left: 12px; }
.btn.big { min-height: 54px; padding: 14px 22px; font-size: 15px; }
.v-actions .short { display: none; }
.btn.yellow { background: var(--yellow); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn.yellow:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn.ghost:hover { background: rgba(255,255,255,.14); }

/* ---------------------------------------------------------------- en-tête */
.v-nav { background: var(--teal); color: var(--white); position: sticky; top: 0; z-index: 30;
  border-bottom: 1.5px solid rgba(29,29,27,.12); }
.v-nav .wrap { display: flex; align-items: center; gap: 18px; min-height: 70px; }
.v-links { display: flex; gap: 4px; margin-left: 10px; }
.v-links a { text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; font-size: 15px; }
.v-links a:hover { background: rgba(255,255,255,.18); }
.v-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.v-login { font-weight: 700; text-decoration: none; }
.v-login:hover { text-decoration: underline; text-underline-offset: 3px; }
.v-nav .btn.sm { background: var(--ink); }
@media (max-width: 920px) { .v-links { display: none; } }
@media (max-width: 460px) {
  .v-actions .long { display: none; }
  .v-actions .short { display: inline; }
  .v-nav .logo small { display: none; }
  .v-nav .logo { font-size: 17px; }
  .v-nav .logo-mark { width: 38px; height: 38px; }
  .v-actions { gap: 8px; }
  .v-actions .btn.sm { padding: 8px 12px; font-size: 12px; min-height: 38px; }
  .v-login { font-size: 14px; }
}

/* ---------------------------------------------------------------- bandeau d'accueil */
.v-hero { background: var(--teal); color: var(--white); border-radius: 0 0 56px 56px; padding: 34px 0 70px;
  overflow: hidden; }
.v-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.v-hero h1 { font-size: clamp(38px, 6.4vw, 72px); line-height: .98; margin: 18px 0 18px; letter-spacing: -.5px; }
.v-lead { font-size: clamp(17px, 2vw, 20px); max-width: 560px; margin: 0 0 26px; }
.v-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.v-cta.center { justify-content: center; }
.v-promesses { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-weight: 700; font-size: 14.5px; }
.v-promesses .i { color: var(--yellow); }
.v-hero-visu { position: relative; min-height: 560px; }
.phone { width: 268px; aspect-ratio: 390 / 844; border: 9px solid var(--ink); border-radius: 40px; overflow: hidden;
  background: var(--cream); box-shadow: 10px 12px 0 rgba(29,29,27,.85); position: relative; flex: none; }
.phone::before { content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 34%; height: 20px;
  background: var(--ink); border-radius: 999px; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-vide { width: 100%; height: 100%; background: linear-gradient(var(--teal) 0 22%, var(--cream) 22%); }
.phone.hero { position: absolute; }
.phone.hero.front { right: 60px; top: 0; transform: rotate(3deg); z-index: 2; }
.phone.hero.back { right: -40px; top: 60px; transform: rotate(10deg) scale(.86); opacity: .95; }
.v-bulle { position: absolute; z-index: 3; background: var(--white); color: var(--ink); border: var(--bw) solid var(--ink);
  border-radius: 999px; padding: 8px 14px; font-weight: 800; font-size: 14px; box-shadow: 4px 4px 0 var(--ink);
  white-space: nowrap; }
.v-bulle .i { color: var(--green); }
.v-bulle.b1 { left: -10px; top: 120px; transform: rotate(-4deg); }
.v-bulle.b2 { left: 20px; bottom: 60px; transform: rotate(3deg); background: var(--yellow); }
.v-bulle.b2 .i { color: var(--ink); }
@media (max-width: 900px) {
  .v-hero-grid { grid-template-columns: 1fr; }
  .v-hero-visu { min-height: 470px; max-width: 420px; margin: 10px auto 0; width: 100%; }
  .phone.hero { width: 220px; }
  .phone.hero.front { right: auto; left: 50%; transform: translateX(-58%) rotate(3deg); }
  .phone.hero.back { right: 0; top: 50px; }
  .v-bulle.b1 { left: 0; top: 90px; }
  .v-bulle.b2 { left: 6px; bottom: 30px; }
}
@media (max-width: 420px) {
  .v-hero { padding-top: 22px; }
  .v-bulle { font-size: 12.5px; padding: 6px 11px; }
  .phone.hero { width: 200px; }
  .v-hero-visu { min-height: 440px; }
}

/* ---------------------------------------------------------------- chiffres */
.v-chiffres { margin-top: -30px; position: relative; z-index: 3; }
.v-chiffres .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.v-chiffres .wrap > div { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); padding: 16px 18px;
  box-shadow: 5px 5px 0 var(--ink); }
.v-chiffres b { display: block; font-size: 34px; font-weight: 900; color: var(--teal-dark); line-height: 1.05; }
.v-chiffres span { font-size: 14px; color: var(--text); }
@media (max-width: 760px) { .v-chiffres .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- sections */
.v-section { padding: 76px 0 0; }
.v-kicker { text-transform: uppercase; font-weight: 800; letter-spacing: 1.2px; font-size: 13px; color: var(--teal-dark);
  margin: 0 0 8px; }
.v-kicker.clair { color: var(--pink); }
.v-titre { font-size: clamp(28px, 4.4vw, 46px); line-height: 1.02; margin-bottom: 26px; max-width: 760px; }
.v-titre.clair { color: var(--cream); }
.v-sous { font-size: 17px; margin: -12px 0 24px; max-width: 640px; }

.v-cartes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v-carte { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); padding: 20px;
  box-shadow: 5px 5px 0 var(--c, var(--ink)); transition: transform .12s ease; }
.v-carte:hover { transform: translate(-2px, -2px); }
.v-carte h3 { font-size: 18px; margin: 12px 0 8px; }
.v-carte p { font-size: 15px; margin: 0; }
.v-pic { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
  border: var(--bw) solid var(--ink); background: var(--c, var(--teal)); color: var(--white); }
.v-carte[style*="--yellow"] .v-pic, .v-carte[style*="--pink"] .v-pic { color: var(--ink); }
.v-pic .i { width: 24px; height: 24px; }
@media (max-width: 1060px) { .v-cartes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .v-cartes { grid-template-columns: 1fr; } }

/* galerie de captures : défilement horizontal, aimanté */
.v-galerie { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 20px 30px;
  scrollbar-width: thin; }
@media (min-width: 1220px) { .v-galerie { padding-left: calc((100vw - var(--maxw)) / 2 + 20px); } }
.v-galerie figure { margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.v-galerie .phone { width: 240px; }
.v-galerie figcaption { font-weight: 800; text-align: center; max-width: 240px; }
.v-galerie:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.v-etapes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.v-etapes li { background: var(--peach); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); padding: 22px; }
.v-num { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--ink);
  color: var(--yellow); font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.v-etapes h3 { margin-bottom: 6px; }
.v-etapes p { margin: 0; }
@media (max-width: 760px) { .v-etapes { grid-template-columns: 1fr; } }

.v-cave { background: var(--wine); color: var(--cream); margin-top: 76px; padding-bottom: 76px; border-radius: 56px; }
.v-duo { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; }
.v-duo-visu { display: flex; justify-content: center; }
.v-duo-visu .phone { transform: rotate(-3deg); box-shadow: 10px 12px 0 rgba(0,0,0,.35); }
.v-bouteille { width: 140px; }
.v-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; font-size: 17px; }
.v-liste li { display: flex; gap: 12px; align-items: flex-start; }
.v-liste .i { color: var(--pink); margin-top: 3px; }
@media (max-width: 820px) { .v-duo { grid-template-columns: 1fr; } }

.v-ia { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-xl); padding: 30px;
  box-shadow: 7px 7px 0 var(--green); position: relative; }
.v-ia .sticker { position: absolute; top: -16px; right: 28px; }
.v-ia h2 { max-width: 720px; }
.v-ia p { font-size: 17px; max-width: 820px; }

.v-android { background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: var(--r-xl); padding: 34px;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; box-shadow: 7px 7px 0 var(--ink);
  position: relative; }
.v-android .sticker { position: absolute; top: -16px; left: 28px; }
.v-android h2 { margin-top: 6px; }
.v-android-texte p { font-size: 17px; }
.v-android-texte .small { font-size: 14.5px; }
.v-form { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); padding: 22px;
  display: grid; gap: 12px; }
.v-form label:first-child { font-weight: 800; }
.v-form .check { font-size: 14.5px; }
@media (max-width: 820px) { .v-android { grid-template-columns: 1fr; padding: 28px 20px 22px; } }

.v-promo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.v-promo > div { border-top: 3px solid var(--ink); padding-top: 16px; }
.v-promo .i { width: 30px; height: 30px; color: var(--teal-dark); }
.v-promo h3 { margin: 10px 0 6px; }
.v-promo p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .v-promo { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .v-promo { grid-template-columns: 1fr; } }

.v-faq-wrap { max-width: 860px; }
.v-faq details { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-md); padding: 0 18px;
  margin-bottom: 10px; }
.v-faq summary { cursor: pointer; font-weight: 800; font-size: 17px; padding: 16px 30px 16px 0; list-style: none;
  position: relative; }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { content: "+"; position: absolute; right: 0; top: 10px; font-size: 26px; font-weight: 700; }
.v-faq details[open] summary::after { content: "–"; }
.v-faq details p { margin: 0 0 16px; font-size: 16px; }

.v-final { background: var(--ink); color: var(--cream); margin-top: 90px; padding: 70px 0; text-align: center;
  border-radius: 56px 56px 0 0; }
.v-final h2 { color: var(--cream); font-size: clamp(28px, 4.6vw, 50px); margin: 10px auto 26px; max-width: 800px; }
.v-verre { width: 84px; height: 84px; margin: 0 auto; box-shadow: 5px 5px 0 var(--pink); }
.v-verre svg { width: 50px; height: 50px; }
.v-final .btn.ghost { color: var(--cream); }

/* ---------------------------------------------------------------- pied de page */
.v-footer { background: var(--ink); color: var(--cream); padding: 10px 0 34px; border-top: 1.5px solid rgba(255,244,224,.15); }
.v-final + .v-footer, .v-footer { margin-top: 0; }
.v-foot-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; padding: 26px 0; }
.v-footer .logo { color: var(--cream); }
.v-foot-links { display: flex; gap: 50px; flex-wrap: wrap; }
.v-foot-links div { display: grid; gap: 8px; align-content: start; }
.v-foot-links b { text-transform: uppercase; font-size: 13px; letter-spacing: 1px; color: var(--yellow); }
.v-foot-links a { text-decoration: none; opacity: .9; }
.v-foot-links a:hover { text-decoration: underline; opacity: 1; }
.v-sante { border-top: 1.5px solid rgba(255,244,224,.2); padding-top: 18px; font-size: 14px; }

/* ---------------------------------------------------------------- pages de texte (légal) */
.v-page { padding: 40px 0 60px; }
.v-page .wrap { max-width: 860px; }
.v-page h1 { font-size: clamp(30px, 5vw, 46px); }
.v-page section { background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); padding: 22px;
  margin-top: 16px; }
.v-page section h2 { font-size: 20px; }
.v-page section p:last-child, .v-page section ul:last-child { margin-bottom: 0; }
.v-page dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.v-page dt { font-weight: 800; }
.v-page dd { margin: 0; }
@media (max-width: 560px) { .v-page dl { grid-template-columns: 1fr; } .v-page dd { margin-bottom: 8px; } }

@media (prefers-reduced-motion: reduce) {
  .v-carte, .btn { transition: none; }
  .v-carte:hover, .btn.yellow:hover { transform: none; }
}

/* les ancres (#fonctionnalites, #appli…) ne passent pas sous l'en-tête collant */
[id] { scroll-margin-top: 84px; }

/* ---------------------------------------------------------------- sélecteur de langue FR / EN */
.v-footer .lang-switch { margin-top: 14px; color: var(--cream); }
.v-footer .lang-switch a.on { background: var(--cream); color: var(--ink); }
.v-nav .lang-switch a.on { background: var(--white); color: var(--ink); }
@media (max-width: 420px) { .v-lang-top { display: none; } }

/* Cartes papier */
.v-papier-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.v-papier-grille figure { margin: 0; background: var(--white); border: var(--bw) solid var(--ink); border-radius: var(--r-lg); overflow: hidden; }
.v-papier-grille img { display: block; width: 100%; height: auto; aspect-ratio: 360 / 256; object-fit: cover; }
.v-papier-grille figcaption { padding: 10px 14px; font-weight: 800; }
.v-papier-formats { margin-top: 18px; font-weight: 600; text-align: center; }
.v-android-play { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
@media (max-width: 760px) { .v-papier-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
