/* ==========================================================================
   Vé! Card — V4 « Le geste » · pages intérieures
   Qui sommes-nous, Nos produits, Investir, Contact. Mêmes jetons que l'accueil
   (base.css), mêmes tuiles, formules et pied de page (scenes.css).
   ========================================================================== */

/* ---------- En-tête de page : photo voilée, titre en bas à gauche ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: min(80svh, 48rem);
  padding: 9rem var(--gutter) clamp(3rem, 8vh, 5.5rem);
  overflow: hidden;
}
.page-hero--short { min-height: min(62svh, 36rem); }
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media picture, .page-hero__media img { width: 100%; height: 100%; }
.page-hero__media img { object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgb(3 7 34 / 0.92) 0%, rgb(3 7 34 / 0.62) 50%, rgb(3 7 34 / 0.3) 100%),
    linear-gradient(180deg, rgb(3 7 34 / 0.6) 0%, transparent 35%, var(--abyss) 100%);
}
.page-hero__content { display: grid; justify-items: start; gap: 1.2rem; width: 100%; max-width: 82rem; margin: 0 auto; }
.page-hero__title { max-width: 18ch; font-size: clamp(2.5rem, 0.9rem + 4.4vw, 5.4rem); font-weight: 600; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.page-hero__lead { max-width: 40rem; font-size: var(--text-lead); color: rgb(239 239 255 / 0.86); }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.6rem; }
.page-hero__content > * { opacity: 0; transform: translateY(14px); animation: lift 1s var(--ease-out) forwards; }
.page-hero__content > :nth-child(2) { animation-delay: 0.1s; }
.page-hero__content > :nth-child(3) { animation-delay: 0.2s; }
.page-hero__content > :nth-child(4) { animation-delay: 0.3s; }

/* ---------- Blocs ---------- */
.block { padding: calc(var(--space-section) * 0.75) var(--gutter); }
.block + .block { padding-top: 0; }   /* un seul intervalle entre deux blocs */
.block__inner { max-width: 82rem; margin: 0 auto; }
.block__head { display: grid; gap: 1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.block__head--center { justify-items: center; margin-inline: auto; text-align: center; }
.lead { font-size: var(--text-lead); color: var(--muted); }
.prose { display: grid; gap: 1.1rem; max-width: 40rem; color: rgb(239 239 255 / 0.84); font-size: 1.05rem; }
.prose strong { font-weight: 500; color: var(--foam); }

/* Texte d'un côté, visuel de l'autre ; --reverse inverse l'ordre sur grand écran */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 2rem + 4vw, 6rem); }
.split--reverse > :first-child { order: 2; }

/* Affirmation pleine largeur, sur un halo */
.statement {
  position: relative; display: grid; justify-items: center; gap: 1.4rem;
  max-width: 62rem; margin: 0 auto; text-align: center;
}
.statement::before {
  content: ""; position: absolute; inset: -30% 0; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgb(15 24 153 / 0.45), transparent 72%);
}
.statement .section-title { font-size: clamp(2rem, 1rem + 3.4vw, 4.4rem); }
.statement p { max-width: 42rem; font-size: var(--text-lead); color: var(--muted); }

/* Le grand « Vé ! » plein, en blanc à 15 % comme sur l'accueil */
.big-ve { justify-self: center; font-size: clamp(8rem, 4rem + 14vw, 19rem); font-weight: 800; line-height: 0.8; letter-spacing: -0.06em; white-space: nowrap; color: rgb(239 239 255 / 0.15); user-select: none; }

/* Liste à coches (cartes, statuts) */
.checklist { display: grid; gap: 0.7rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; color: rgb(239 239 255 / 0.86); }
.checklist svg { flex: none; width: 1.15rem; height: 1.15rem; margin-top: 0.22rem; color: var(--cyan); }
.checklist--warm svg { color: var(--amber); }

/* Étiquettes */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tags li { padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; background: rgb(239 239 255 / 0.04); font-size: 0.85rem; color: var(--muted); }
.tags--icons { margin-bottom: 1.8rem; }
.tags--icons li { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--foam); }
.tags--icons svg { width: 1rem; height: 1rem; color: var(--cyan); }

/* ---------- Frise ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0.4rem; height: 1px; background: linear-gradient(90deg, var(--cyan), rgb(239 239 255 / 0.14)); }
.timeline li { position: relative; display: grid; gap: 0.5rem; padding-top: 2.4rem; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 0; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--abyss); box-shadow: inset 0 0 0 1.5px var(--cyan); }
.timeline li.is-now::before { background: var(--cyan); box-shadow: 0 0 0 6px rgb(33 188 236 / 0.18); }
.timeline__when { font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: var(--cyan); }
.timeline h3 { font-size: var(--text-h3); font-weight: 500; letter-spacing: -0.015em; }
.timeline p { max-width: 24rem; color: var(--muted); }
.timeline a { color: var(--cyan); text-underline-offset: 0.2em; }

/* ---------- Tuiles en bento (engagements, projet) ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.bento .tile--wide { grid-row: span 2; align-content: end; min-height: 20rem; background: radial-gradient(90% 70% at 20% 0%, rgb(33 188 236 / 0.2), transparent 70%), linear-gradient(180deg, rgb(239 239 255 / 0.06), rgb(239 239 255 / 0.015)); }
.bento .tile--wide h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.1; letter-spacing: -0.03em; }
.tile--warm .tile__icon { color: var(--amber); }

/* ---------- Fondateur ---------- */
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); max-width: 62rem; margin: 0 auto; padding: clamp(1.8rem, 1.2rem + 2vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(135deg, rgb(33 188 236 / 0.08), rgb(15 24 153 / 0.18)); }
.founder__photo { width: clamp(7.5rem, 5rem + 8vw, 11rem); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 6px rgb(33 188 236 / 0.18), 0 24px 50px -20px rgb(0 0 0 / 0.7); }
.founder__body { display: grid; gap: 0.8rem; }
.founder__name { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 500; line-height: 1.05; letter-spacing: -0.03em; }
.founder__role { color: var(--cyan); font-weight: 500; }
.founder__body p { color: var(--muted); }
.founder__link { justify-self: start; color: var(--foam); text-underline-offset: 0.25em; }

/* ---------- Bandeau d'appel à l'action ---------- */
.cta-band {
  position: relative; display: grid; justify-items: center; gap: 1.3rem;
  max-width: 62rem; margin: 0 auto; padding: clamp(2.5rem, 2rem + 4vw, 5rem) var(--gutter);
  border: 1px solid rgb(33 188 236 / 0.35); border-radius: var(--radius);
  background: radial-gradient(70% 90% at 50% 0%, rgb(33 188 236 / 0.18), transparent 70%), rgb(7 16 61 / 0.6);
  text-align: center;
}
.cta-band .section-title { font-size: clamp(2rem, 1rem + 3vw, 3.8rem); }
.cta-band p { max-width: 36rem; color: var(--muted); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; margin-top: 0.4rem; }

/* ---------- Produits : cartes qui se retournent ---------- */
.products-hero { background: radial-gradient(50% 60% at 75% 55%, rgb(33 188 236 / 0.16), transparent 70%), radial-gradient(40% 50% at 90% 90%, rgb(242 178 99 / 0.1), transparent 70%), var(--abyss); }
.products-hero .page-hero__content { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: var(--gutter); }
.products-hero .page-hero__content > :not(.duo-cards) { grid-column: 1; }
.duo-cards { grid-column: 2; grid-row: 1 / span 4; position: relative; width: min(100%, 30rem); aspect-ratio: 1.25; justify-self: center; }
.duo-cards .vcard { position: absolute; width: 72%; }
.duo-cards .vcard:first-child { left: 0; top: 8%; rotate: -9deg; }
.duo-cards .vcard:last-child { right: 0; bottom: 6%; rotate: 7deg; }
.duo-cards .vcard__face { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35), 0 40px 60px -28px rgb(0 0 0 / 0.85); }

.product__visual { display: grid; justify-items: center; gap: 1.2rem; }
.flipcard { width: min(100%, 26rem); }
.flipcard .vcard__body { transition: transform 700ms var(--ease-in-out); }
.flipcard.is-flipped .vcard__body { transform: rotateY(180deg); }
.flip-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.1rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgb(239 239 255 / 0.04); color: var(--muted); font-size: 0.9rem; cursor: pointer;
  transition: color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.flip-btn svg { width: 1rem; height: 1rem; }
.flip-btn:active { transform: scale(0.97); }
.product__text { display: grid; justify-items: start; gap: 1.1rem; }
.product .section-title { font-size: clamp(2rem, 1rem + 2.6vw, 3.6rem); }
.product + .product { margin-top: clamp(4rem, 3rem + 5vw, 8rem); }

/* Téléphone : capture de la fiche, recadrée en haut */
.phone {
  width: min(100%, 19rem); aspect-ratio: 9 / 19; justify-self: center;
  padding: 0.6rem; border-radius: 2.6rem;
  background: linear-gradient(160deg, #2A2D3A, #0B0D16);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 50px 80px -40px rgb(0 0 0 / 0.9), 0 0 0 1px rgb(0 0 0 / 0.6);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 2.1rem; }

/* ---------- Investir ---------- */
.status { display: grid; gap: 0.9rem; }
.status li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 1rem; padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-radius: 16px; background: rgb(239 239 255 / 0.03); }
.status__mark { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px dashed rgb(239 239 255 / 0.4); }
.status__mark svg { width: 1rem; height: 1rem; }
.status li.is-done .status__mark { border: 0; background: var(--cyan); color: var(--abyss); }
.status strong { display: block; font-weight: 500; }
.status span { color: var(--muted); }
.status a { color: var(--cyan); text-underline-offset: 0.2em; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.duo .tile { gap: 1rem; padding: clamp(2rem, 1.5rem + 2vw, 3rem); }
.duo .tile .btn { justify-self: start; margin-top: 0.6rem; }
.duo .tile h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); line-height: 1.1; letter-spacing: -0.03em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(2rem, 1.5rem + 4vw, 5rem); }
.coords { display: grid; gap: 0.8rem; }
.coords li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 16px; background: rgb(239 239 255 / 0.03); }
.coords svg { width: 1.4rem; height: 1.4rem; color: var(--cyan); }
.coords small { display: block; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.coords a, .coords address { font-style: normal; color: var(--foam); text-decoration: none; font-size: 1.05rem; }
@media (hover: hover) and (pointer: fine) {
  .coords a:hover { color: var(--cyan); }
  .flip-btn:hover { color: var(--foam); border-color: rgb(239 239 255 / 0.5); }
}

.form { display: grid; gap: 1.1rem; padding: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgb(239 239 255 / 0.05), rgb(239 239 255 / 0.015)); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
.field { display: grid; align-content: start; gap: 0.45rem; }
.contact-grid .section-title { font-size: clamp(2rem, 1rem + 2.4vw, 3.4rem); }
.field label { font-size: 0.9rem; font-weight: 500; }
.field label span { color: var(--muted); font-weight: 300; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1px solid rgb(239 239 255 / 0.22); border-radius: 10px;
  background: rgb(3 7 34 / 0.6); color: var(--foam); font: inherit; font-weight: 400;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.field input, .field select { height: 3.2rem; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(-45deg, transparent 50%, var(--muted) 50%); background-position: right 1.2rem center, right 0.9rem center; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; }
.field select option { background: var(--abyss-2); color: var(--foam); }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgb(33 188 236 / 0.25); }
.field[data-invalid] input, .field[data-invalid] select, .field[data-invalid] textarea { border-color: #FF8A8A; }
.field__error { min-height: 1.2em; font-size: 0.85rem; color: #FFB3B3; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.form__note { max-width: 26rem; font-size: 0.85rem; color: var(--muted); }
.form__status { font-size: 0.95rem; color: var(--cyan); }
/* Vide, la zone sort de la grille sans quitter l'arbre d'accessibilité (sinon le message n'est pas annoncé) */
.form__status:empty { position: absolute; }

/* ---------- Adaptation ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .tile--wide { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
}
@media (max-width: 900px) {
  .page-hero { min-height: 0; padding-top: 8rem; }
  .split, .contact-grid, .duo { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .timeline { grid-template-columns: 1fr; gap: 2.2rem; }
  .timeline::before { left: 0.4rem; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--cyan), rgb(239 239 255 / 0.14)); }
  .timeline li { padding: 0 0 0 2.4rem; }
  .products-hero .page-hero__content { grid-template-columns: 1fr; }
  .products-hero .page-hero__content > :not(.duo-cards) { grid-column: auto; }
  .duo-cards { grid-column: auto; grid-row: auto; width: min(100%, 22rem); margin-top: 1.5rem; }
}
@media (max-width: 600px) {
  .bento, .form__row { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; justify-items: start; }
  .form__foot .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero__content > * { transform: none; animation: fade 0.6s ease both; }
  .flipcard .vcard__body { transition: none; }
  .flip-btn:active { transform: none; }
}
