/* C4App — De la capture à la conversion. Couleurs relevées sur le logo. */
:root {
  --bleu: #0131CA;
  --bleu-fonce: #01228F;
  --creme: #FDF7E7;
  --corail: #FE6F59;
  --corail-fonce: #E9563F;
  --ink: #0D1230;
  --ink-2: #5A6488;
  --bleu-pale: #E3E8F8;
  --vert: #1D6B3A;
  --vert-pale: #E3F4E8;
  --rouge: #C62828;
  --blanc: #FFFFFF;
  --ligne: #E6DFCB;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(11, 27, 92, .06), 0 8px 24px rgba(11, 27, 92, .06);
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;   /* police système (optique, interlettrage) */
  --spring: cubic-bezier(.32, .72, 0, 1);   /* ressort amorti sans rebond */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--creme);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { max-width: 100%; display: block; }
a { color: var(--bleu); }
h1, h2, h3 { margin: 0 0 .5em; font-optical-sizing: auto; }
/* Interlettrage et interligne selon la taille : serrés en grand, plus aérés en petit. */
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--ink-2); }
.center { text-align: center; }
.hidden { display: none !important; }

/* Barre de navigation */
/* En-tête translucide : le contenu défile dessous, fondu au bord plutôt qu'un trait. */
.nav { background: rgba(1, 49, 202, .92); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); color: var(--creme); position: sticky; top: 0; z-index: 10; }
.nav::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; pointer-events: none; background: linear-gradient(rgba(1, 49, 202, .28), rgba(1, 49, 202, 0)); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--creme); text-decoration: none; font-weight: 800; font-size: 1.25rem; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--creme); text-decoration: none; opacity: .88; font-weight: 600; font-size: .95rem; transition: opacity 120ms ease-out; }
.nav-links a:hover { opacity: 1; }
.nav-links a.btn-light { color: var(--bleu); opacity: 1; }
@media (max-width: 720px) { .nav-links .optional { display: none; } }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 14px; padding: 13px 22px; font: inherit; font-weight: 700;
  cursor: pointer; text-decoration: none; touch-action: manipulation;
  transition: transform 220ms var(--spring), opacity 160ms ease-out;   /* retour : ressort sans rebond */
}
/* Appui : réponse immédiate dès le contact. */
.btn:active { transform: scale(.97); transition-duration: 80ms; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--corail); color: var(--blanc); }
.btn-primary:hover:not(:disabled) { background: var(--corail-fonce); }
.btn-light { background: var(--creme); color: var(--bleu); }
.btn-outline { background: transparent; color: var(--bleu); box-shadow: inset 0 0 0 2px var(--bleu); }
.btn-ghost { background: var(--bleu-pale); color: var(--bleu); padding: 8px 14px; font-size: .9rem; border-radius: 999px; }
.btn-danger { background: #FDECEC; color: var(--rouge); padding: 8px 14px; font-size: .9rem; border-radius: 999px; }
.btn-small { padding: 8px 14px; font-size: .9rem; }
.nav .btn { padding: 9px 16px; font-size: .92rem; }

/* Sections */
section { padding: 84px 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--corail); margin-bottom: 10px; }

/* Héros */
.hero { background: var(--bleu); color: var(--creme); padding: 72px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero p.lead { font-size: 1.15rem; opacity: .9; max-width: 34em; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero .note { margin-top: 16px; font-size: .9rem; opacity: .8; }
.tagline { color: var(--corail); font-weight: 800; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Maquette de slides dans le héros */
.slides { display: flex; gap: 14px; justify-content: center; transform: rotate(-4deg); }
.slide {
  width: 150px; aspect-ratio: 3 / 4; border-radius: 16px; padding: 12px;
  background: #1B1B22; color: #FFC400; box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  display: flex; flex-direction: column; justify-content: space-between; font-weight: 800; font-size: .8rem;
}
.slide:nth-child(2) { transform: translateY(26px); background: #26262F; }
.slide:nth-child(3) { transform: translateY(-8px); background: #1F2230; }
.slide small { color: var(--blanc); background: rgba(0, 0, 0, .5); border-radius: 6px; padding: 1px 6px; font-size: .65rem; align-self: flex-start; }
.slide .cta { background: #FF7A00; color: #111; border-radius: 6px; padding: 4px; text-align: center; font-size: .6rem; }
.slide .product { flex: 1; margin: 10px 18px; border-radius: 10px; background: linear-gradient(160deg, #3A3F55, #22242E); }
@media (max-width: 520px) { .slide { width: 100px; font-size: .6rem; } }

/* Cartes */
.card { background: var(--blanc); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.grid { display: grid; gap: 18px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step-number {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--bleu); color: var(--creme); font-weight: 800; margin-bottom: 14px;
}
.c4-letter { font-size: 2.2rem; font-weight: 800; color: var(--corail); line-height: 1; margin-bottom: 8px; }

/* Tarifs */
.pricing { background: var(--bleu); color: var(--creme); }
.toggle { display: inline-flex; background: rgba(253, 247, 231, .14); border-radius: 999px; padding: 4px; margin: 10px 0 34px; }
.toggle button { border: none; background: transparent; color: var(--creme); font: inherit; font-weight: 700; padding: 9px 20px; border-radius: 999px; cursor: pointer; }
.toggle button.active { background: var(--corail); color: var(--blanc); }
.toggle .save { font-size: .75rem; background: rgba(254, 111, 89, .3); border-radius: 6px; padding: 1px 6px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 780px; margin: 0 auto; text-align: left; }
.plan { background: var(--creme); color: var(--ink); border-radius: 22px; padding: 28px; position: relative; }
.plan.featured { outline: 3px solid var(--corail); }
.plan .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--corail); color: var(--blanc); font-size: .8rem; font-weight: 700; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.plan .price { font-size: 2.6rem; font-weight: 800; color: var(--corail); }
.plan .per { color: var(--ink-2); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; border-top: 1px solid var(--ligne); padding-top: 18px; }
.plan li { padding: 5px 0 5px 28px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--corail); font-weight: 800; }
.pill { display: inline-block; font-size: .78rem; font-weight: 700; background: var(--bleu-pale); color: var(--bleu); border-radius: 999px; padding: 2px 10px; }
.plan .btn { width: 100%; }
.pricing .footnote { opacity: .8; font-size: .9rem; margin-top: 26px; }

/* FAQ */
details { background: var(--blanc); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; box-shadow: var(--shadow); }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 12px 0 0; color: var(--ink-2); }

/* Pied de page */
footer { background: var(--ink); color: var(--creme); padding: 40px 0; font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--creme); opacity: .85; }

/* Formulaires et espace compte */
.panel { max-width: 460px; margin: 56px auto; }
.field { width: 100%; font: inherit; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--ligne); background: var(--creme); color: var(--ink); }
.field:focus { outline: none; border-color: var(--bleu); }
.code-field { text-align: center; letter-spacing: .5em; font-size: 1.6rem; font-weight: 800; }
.stack > * + * { margin-top: 12px; }
.error { color: var(--rouge); font-size: .92rem; }
.success { color: var(--vert); font-size: .92rem; font-weight: 600; }
.notice { background: var(--creme); border: 2px solid var(--corail); border-radius: 14px; padding: 12px 16px; font-weight: 600; margin: 0 0 16px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.big-number { font-size: 2.4rem; font-weight: 800; color: var(--corail); line-height: 1.1; }
.role-badge { font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; background: var(--bleu-pale); color: var(--bleu); }
.role-badge.admin { background: #FFE6E1; color: var(--corail-fonce); }
.role-badge.beta { background: var(--vert-pale); color: var(--vert); }
.role-badge.blocked { background: #FDECEC; color: var(--rouge); }

/* Admin */
.admin-page { padding: 32px 0 64px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat .label { font-size: .85rem; color: var(--ink-2); }
.stat .value { font-size: 1.9rem; font-weight: 800; }
.stat .detail { font-size: .8rem; color: var(--ink-2); }
.admin-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
@media (max-width: 960px) { .admin-layout { grid-template-columns: 1fr; } }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); padding: 8px 10px; border-bottom: 1px solid var(--ligne); }
td { padding: 11px 10px; border-bottom: 1px solid var(--ligne); vertical-align: middle; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--creme); }
tbody tr.selected { background: var(--bleu-pale); }
.table-scroll { overflow-x: auto; }
.segmented { display: inline-flex; background: var(--creme); border-radius: 12px; padding: 4px; gap: 4px; }
.segmented button { border: none; background: transparent; font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 9px; cursor: pointer; color: var(--ink-2); }
.segmented button.active { background: var(--blanc); color: var(--bleu); box-shadow: var(--shadow); }
.ledger { max-height: 320px; overflow-y: auto; font-size: .88rem; }
.ledger .line { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--ligne); }
.plus { color: var(--vert); font-weight: 700; }
.minus { color: var(--corail-fonce); font-weight: 700; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }

/* Pages légales */
.legal { max-width: 780px; margin: 48px auto; }
.legal h2 { font-size: 1.35rem; margin-top: 1.6em; }

/* Bouton App Store (en attendant le badge officiel quand l'app sera publiée) */
.btn-store { background: #000; color: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 18px; line-height: 1.1; border-radius: 12px; }
.btn-store .store-small { font-size: .7rem; font-weight: 600; opacity: .85; }
.btn-store .store-big { font-size: 1.15rem; font-weight: 800; }

/* Bandeau d'essai gratuit */
.promo-banner { background: var(--corail); color: var(--blanc); text-align: center; font-size: .9rem; padding: 8px 16px; }
.promo-banner a { color: var(--blanc); font-weight: 700; margin-left: 6px; }

/* Vraies slides dans le héros */
img.slide { padding: 0; object-fit: cover; background: #1B1B22; }

/* Galerie d'exemples */
.gallery { display: grid; gap: 36px; }
.gallery figure { margin: 0; }
.gallery-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); }
.gallery figcaption { margin-top: 12px; color: var(--ink-2); font-size: .95rem; }
@media (max-width: 640px) {
  .gallery-row { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .gallery-row img { scroll-snap-align: start; }
}

/* FAQ par thème */
.faq-group { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); margin: 28px 0 12px; }

/* Espace compte : formule, historique, suppression */
.account-page { padding: 40px 0 72px; }
.account-grid { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .account-grid { grid-template-columns: 1fr; } }
.plan-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.gauge { height: 8px; border-radius: 999px; background: var(--bleu-pale); overflow: hidden; }
.gauge span { display: block; height: 100%; width: 100%; background: var(--corail); border-radius: 999px; transform: scaleX(0); transform-origin: left center; transition: transform 500ms var(--spring); }
.history { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.history-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; background: var(--bleu-pale); }
.post-text p { margin: 2px 0 0; font-size: .9rem; white-space: pre-line; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-text .muted { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.danger-zone { box-shadow: none; border: 1.5px solid #F5C9C9; background: transparent; }
.danger-zone summary { color: var(--rouge); }

/* Formulaire de contact */
.field-label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: -4px; }
textarea.field { resize: vertical; min-height: 140px; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Messages (admin) */
.message { border-top: 1px solid var(--ligne); padding: 14px 0; }
.message.handled { opacity: .55; }
.message-body { white-space: pre-line; margin: 8px 0 10px; }
.card.highlight { outline: 3px solid var(--corail); }

/* Pages légales : champs à compléter et tableaux */
mark.todo { background: #FFE3DD; color: var(--corail-fonce); padding: 1px 6px; border-radius: 6px; font-weight: 700; font-size: .92em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.2em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; background: var(--blanc); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ligne); vertical-align: top; }
.legal th { background: var(--bleu-pale); font-weight: 700; }
@media (max-width: 640px) {
  .legal thead { display: none; }
  .legal tr { display: block; border-bottom: 1px solid var(--ligne); padding: 8px 0; }
  .legal td { display: block; border: 0; padding: 4px 12px; }
  .legal td::before { content: attr(data-label) " : "; font-weight: 700; color: var(--ink-2); }
  .legal td:first-child::before { content: none; }
  .legal td:first-child { font-weight: 700; }
}

/* Fonctionnalités */
.feature { display: flex; flex-direction: column; gap: 6px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bleu-pale); color: var(--bleu); display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 6px; }
.feature p { margin: 0; }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
@media (max-width: 720px) { .modes { grid-template-columns: 1fr; } }
.mode-card ul { margin: 8px 0 0; padding-left: 1.1em; }
.mode-card.pro { background: var(--bleu); color: var(--creme); }
.mode-card.pro .muted { color: rgba(253, 247, 231, .8); }
.compliance { background: var(--ink); color: var(--creme); }
.compliance .muted { color: rgba(253, 247, 231, .75); }
.compliance a { color: var(--creme); font-weight: 700; }
.features-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* Suite APP C4 : cartes des applis, détail révélé au survol (visible d'office sur écran tactile) */
.suite { background: var(--bleu); color: var(--creme); padding: 56px 0 24px; }
.suite-head { max-width: 640px; margin-bottom: 28px; }
.suite-head h2 { color: var(--creme); }
.suite-head p { opacity: .85; margin: 0; }
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.app-card { position: relative; overflow: hidden; min-height: 250px; border-radius: 20px; background: var(--creme); color: var(--bleu);
  box-shadow: 0 10px 30px rgba(13, 18, 48, .25); transition: transform .35s var(--spring); outline: none; }
.app-card:focus-visible { box-shadow: 0 0 0 3px var(--corail), 0 10px 30px rgba(13, 18, 48, .25); }
.app-face { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 24px; height: 100%; align-content: space-between; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s; }
.app-face img { width: 56px; height: 56px; border-radius: 14px; }
.app-face h3 { margin: 0; font-size: 1.5rem; color: var(--bleu); }
.app-face p { margin: 0; color: var(--ink-2); font-weight: 600; }
.app-badge { margin-left: auto; align-self: flex-start; background: var(--bleu); color: var(--creme); font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.app-badge-soon { background: var(--bleu-pale); color: var(--bleu); }
.app-reveal { position: absolute; inset: 0; padding: 24px; background: #0D1230; color: var(--creme); display: flex; flex-direction: column; gap: 10px;
  transform: translateY(101%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.app-reveal p { margin: 0; font-weight: 600; }
.app-reveal ul { margin: 0; padding-left: 1.1em; opacity: .85; font-size: .95rem; }
.app-link { margin-top: auto; color: var(--corail); font-weight: 800; text-decoration: none; }
.app-link-off { color: rgba(253, 247, 231, .6); }
@media (hover: hover) {
  .app-card:hover, .app-card:focus-within { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(13, 18, 48, .35); }
  .app-card:hover .app-reveal, .app-card:focus-within .app-reveal { transform: translateY(0); }
  .app-card:hover .app-face, .app-card:focus-within .app-face { transform: translateY(-24px); opacity: 0; }
}
@media (hover: none) {
  .app-card { min-height: 0; }
  .app-reveal { position: static; transform: none; border-radius: 0 0 20px 20px; }
  .suite-head p { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .app-card, .app-face, .app-reveal { transition: none; }
}
.hero#c4slide { padding-top: 40px; }
@media (hover: none) { .hover-hint { display: none; } }
.app-pitch { flex-basis: 100%; margin: 18px 0 0; font-size: 1.35rem; font-weight: 800; line-height: 1.25; color: var(--bleu); letter-spacing: -.01em; }
.app-reveal h4 { margin: 0; font-size: 1.1rem; color: var(--corail); }
.app-card { min-height: 230px; }
@media (hover: none) { .app-card { min-height: 0; } .app-reveal h4 { display: none; } }
@media (hover: none) { .app-face { height: auto; align-content: normal; } .app-pitch { margin-top: 8px; font-size: 1.1rem; } }
/* Cartes des applis en verre dépoli + démo vidéo sous chaque carte (demande de Gerald, 4 oct.) */
.app-col { display: flex; flex-direction: column; gap: 14px; }
.app-card { background: rgba(253, 247, 231, .14); color: var(--creme); border: 1px solid rgba(253, 247, 231, .35);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(13, 18, 48, .18); }
.app-face h3, .app-pitch { color: var(--creme); }
.app-face p { color: rgba(253, 247, 231, .78); }
.app-badge { background: var(--creme); color: var(--bleu); }
.app-badge-soon { background: rgba(253, 247, 231, .2); color: var(--creme); }
.app-reveal { background: rgba(13, 18, 48, .92); }
.app-demo { display: block; width: 100%; max-width: 300px; aspect-ratio: 3 / 4; object-fit: cover; margin: 0 auto;
  border-radius: 18px; border: 1px solid rgba(253, 247, 231, .35); background: #0D1230; box-shadow: 0 10px 30px rgba(13, 18, 48, .3); }
.teaser { background: var(--blanc); padding: 56px 0; }
.teaser p { max-width: 560px; margin: 0 auto; }
.hero#c4slide { padding-top: 72px; }

/* Vitrine : derniers carrousels publiés (défilement continu, pause au survol) */
.showcase { background: var(--creme); padding: 64px 0; overflow: hidden; }
.showcase-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.showcase-track { display: flex; gap: 16px; width: max-content; animation: showcase-defile 60s linear infinite; }
.showcase-viewport:hover .showcase-track, .showcase-track:focus-within { animation-play-state: paused; }
.showcase-card { display: flex; flex-direction: column; gap: 8px; width: 200px; text-decoration: none; color: var(--bleu); font-weight: 700; font-size: .9rem; }
.showcase-card img { width: 200px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; box-shadow: var(--shadow); background: var(--bleu-pale); }
@keyframes showcase-defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .showcase-track { animation: none; }
  .showcase-viewport { overflow-x: auto; }
}

/* Admin : validation de la vitrine */
.review-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.review-item { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: start; padding: 12px; border: 1px solid var(--ligne); border-radius: 14px; }
.review-item img, .review-noimg { width: 120px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; background: var(--bleu-pale); }
.review-noimg { display: grid; place-items: center; font-size: .75rem; color: var(--ink-2); text-align: center; }
.review-approved { border-color: var(--vert); }
.review-rejected { opacity: .55; }
/* Sélecteur de langue (FR · EN · ES) */
.lang-switch { display: flex; gap: 6px; align-items: center; font-size: .85rem; }
.nav-links .lang-switch a { opacity: .7; font-weight: 700; padding: 2px 4px; }
.nav-links .lang-switch a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
footer .lang-switch { margin-top: 10px; }
footer .lang-switch a[aria-current] { font-weight: 700; opacity: 1; }
@media (max-width: 420px) {
  .nav .wrap { gap: 10px; }
  .nav-links { gap: 10px; }
  .brand { font-size: 1.05rem; }
  .nav .btn { padding: 8px 12px; font-size: .85rem; }
}

/* Appui sur les cartes cliquables et les questions de la FAQ : même réponse immédiate que les boutons. */
.showcase-card, details > summary { transition: transform 220ms var(--spring); touch-action: manipulation; }
.showcase-card:active, details > summary:active { transform: scale(.98); transition-duration: 80ms; }

/* Accessibilité : mouvement réduit, transparence réduite, contraste renforcé. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .btn:active, .showcase-card:active, details > summary:active { transform: none; }
  .gauge span { transition: opacity 200ms ease-out !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bleu); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav::after { display: none; }
}
@media (prefers-contrast: more) {
  .nav { background: var(--bleu); -webkit-backdrop-filter: none; backdrop-filter: none; border-bottom: 2px solid var(--creme); }
  .nav::after { display: none; }
  .muted { color: var(--ink); }
  .card, details { box-shadow: none; border: 1.5px solid var(--ink); }
  .btn-outline { box-shadow: inset 0 0 0 3px var(--bleu); }
}
