/* =========================================================
   TRIP'SWIPE – Feuille de style commune
   ========================================================= */

/* Police Inter hébergée avec le site (aucun appel à Google) */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Police des titres : Bricolage Grotesque (moderne, avec du caractère) */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Charte Trip'Swipe (dossier, page « Branding ») */
  --brand-green: #398478;
  --brand-ink: #0e0b0c;
  --brand-beige: #f1ddb4;
  --brand-grey: #a09e9d;

  --green-900: #245a50;
  --green-800: #2f6f63;   /* vert de la charte assombri : petits textes lisibles */
  --green-700: #398478;   /* vert de la charte */
  --green-500: #55a091;
  --green-100: #e4f1ed;
  --beige: #f1ddb4;
  --beige-100: #fbf3e2;
  --bg: #fbf8f3;
  --card: #ffffff;
  --text: #0e0b0c;
  --muted: #55504e;
  --radius: 22px;
  --shadow-soft: 0 10px 30px rgba(14, 11, 12, .06);
  --shadow-pop: 0 24px 60px rgba(14, 11, 12, .14);
  --container: 1200px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip; /* rien ne dépasse sur les côtés (bulles animées…) */
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.text-green { color: var(--green-700); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--green-700);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--outline { background: #fff; color: var(--green-700); }
.btn--outline:hover { background: var(--green-700); color: #fff; }
.btn--solid { background: var(--green-700); color: #fff; }
.btn--solid:hover { background: var(--green-900); border-color: var(--green-900); }
.btn--white { background: #fff; color: var(--green-700); border-color: #fff; padding: 8px 40px; border-radius: 3px; }
.btn--white:hover { background: var(--green-100); }

.icon-btn {
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 6px;
  background: var(--green-700);
  color: #fff;
  border: 0;
  text-decoration: none;
  transition: background .2s;
}
.icon-btn:hover { background: var(--green-900); }
.icon-btn svg { width: 30px; height: 30px; }

/* ---------- En-tête ---------- */
.site-header { padding: 26px 0 0; }
.site-header .container {
  display: flex; align-items: center; gap: 12px;
}
.logo-pin { flex-shrink: 0; }

.main-nav {
  flex: 1;
  background: #fff;
  border-radius: 6px;
  height: 56px;
  display: flex; align-items: center;
}
.main-nav ul {
  list-style: none; margin: 0; padding: 0 20px;
  display: flex; justify-content: space-around; width: 100%;
}
.main-nav a {
  display: block;
  padding: 8px 10px;
  font-size: 15px; font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px;
  height: 2px; background: var(--green-700);
  transform: scaleX(0); transition: transform .25s;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-actions { display: flex; gap: 12px; align-items: center; }
.header-actions .btn { height: 56px; font-size: 20px; padding: 0 22px; }

.burger { display: none; }

/* ---------- Cartes génériques ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
}

main { padding-top: 30px; }
section { margin-bottom: 32px; }

/* ---------- Bloc image + onglet logo ---------- */
.photo-tab {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
}
.photo-tab > img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.photo-tab .logo-tab {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  background: var(--card);
  padding: 8px 8px 0 0;
  border-top-right-radius: 14px;
}
.logo-wordmark {
  display: block;
  background: var(--green-700);
  color: #fff;
  padding: 10px 30px;
  border-radius: 8px;
}
.logo-wordmark img { height: 38px; width: auto; }

/* ---------- Titres ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -.035em;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.02em; }

/* =========================================================
   ACCUEIL
   ========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px;
}
.hero__text { padding: 40px 34px; }
.hero__text .display { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 26px; }
.hero__text p { font-size: 14px; margin: 0; color: var(--muted); }
.hero .photo-tab { min-height: 420px; }

/* Prêt à partir */
.ready { padding: 44px 40px 30px; overflow: hidden; }
.ready .display { font-size: clamp(30px, 3.4vw, 40px); }

.tags {
  position: relative;
  height: 230px;
  margin-top: 20px;
}
.tag {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: rotate(var(--r));
  background: var(--green-800);
  color: #fff;
  font-weight: 600;
  font-size: 24px;
  padding: 8px 32px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .3s ease, background .3s;
  cursor: default;
  user-select: none;
}
.tag--light { background: var(--green-500); }
.tag:hover { transform: rotate(var(--r)) scale(1.08); background: var(--green-900); }

.tag-pin {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--green-500);
  display: grid; place-items: center;
}
.tag-pin svg { width: 32px; height: 32px; }

/* Bandeau défilant */
.marquee {
  background: var(--green-800);
  color: #fff;
  overflow: hidden;
  padding: 36px 0;
  margin: 48px 0 40px;
  position: relative;
}
.marquee::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%;
  height: 22px; transform: translateY(-50%);
  background: var(--green-700);
}
.marquee__track {
  position: relative;
  display: flex; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__track span {
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  padding: 0 60px;
  white-space: nowrap;
}
.marquee__track span::after { content: "•"; margin-left: 120px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Comment ça marche */
.how {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
}
.how .photo-tab { min-height: 400px; }
.how__text { padding: 40px 30px; }
.how__text .display { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 30px; }
.how__text ol { list-style: none; padding: 0; margin: 0 0 18px; counter-reset: step; }
.how__text li {
  counter-increment: step;
  font-size: 14px; font-weight: 500;
  margin-bottom: 14px;
  display: flex; gap: 10px;
}
.how__text li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-100); color: var(--green-800);
  font-weight: 800; font-size: 13px;
  display: grid; place-items: center;
}
.how__text .tagline { font-size: 14px; font-weight: 700; margin: 0; }

/* Utilisateurs */
.users {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 14px;
}
.users__count {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.users__count .display { font-size: clamp(28px, 3vw, 40px); }
.big-number {
  font-size: clamp(56px, 6vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  /* Chiffres « contour » : le remplissage (couleur de la carte) est peint
     PAR-DESSUS le contour, ce qui masque les traits internes du « 4 ».
     Le contour fait 6px : 3px restent visibles à l'extérieur. */
  color: var(--card);
  -webkit-text-stroke: 6px var(--green-700);
  paint-order: stroke fill;
  font-variant-numeric: tabular-nums;
  margin: 6px 0;
  letter-spacing: 2px;
}
.users__phones {
  position: relative;
  display: grid; place-items: center;
  min-height: 440px;
}

/* =========================================================
   CTA + PIED DE PAGE
   ========================================================= */
.cta {
  background: var(--green-800);
  color: #fff;
  text-align: center;
  padding: 50px 16px;
  margin-top: 50px;
}
.cta h2 { font-weight: 600; font-size: 28px; margin: 0 0 30px; }

.site-footer {
  background: #fff;
  padding: 60px 0 30px;
  margin-top: 70px;
  font-size: 12px;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e3e3e3;
}
.footer-cols h3 { font-size: 13px; margin: 0 0 10px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 4px; }
.footer-cols a { text-decoration: none; color: var(--muted); }
.footer-cols a:hover { color: var(--green-700); text-decoration: underline; }

.socials { display: flex; gap: 12px; }
.socials a { color: var(--text); display: inline-flex; }
.socials a:hover { color: var(--green-700); }
.socials svg { width: 18px; height: 18px; }

.footer-apps {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 22px 0;
}
.footer-apps strong { font-size: 13px; }
.store-btn {
  display: inline-flex; flex-direction: column;
  background: #000; color: #fff;
  border-radius: 6px; padding: 5px 14px;
  text-decoration: none; line-height: 1.1;
}
.store-btn small { font-size: 9px; opacity: .8; }
.store-btn span { font-size: 14px; font-weight: 600; }
.store-btn:hover { background: var(--green-900); }

.footer-about { color: var(--muted); font-size: 11px; margin: 0 0 22px; max-width: 900px; }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #e3e3e3; padding-top: 18px;
  color: var(--muted); font-size: 11px;
}
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.footer-bottom li:not(:last-child)::after { content: "/"; margin-left: 6px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--green-700); }

/* =========================================================
   SÉCURITÉ
   ========================================================= */
.article {
  background: var(--bg);
  padding: 10px 0 20px;
}
.article h1 { font-size: 26px; margin: 0 0 10px; }
.article h2 { font-size: 22px; margin: 40px 0 16px; }
.article .intro { font-size: 15px; color: var(--muted); max-width: 900px; }

.tips { display: grid; gap: 14px; }
.tip {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  border-left: 4px solid var(--green-700);
}
.tip h3 {
  font-size: 16px; margin: 0 0 8px;
  display: flex; align-items: center; gap: 10px;
}
.tip h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-700); flex-shrink: 0;
}
.tip p { margin: 0 0 8px; font-size: 14px; color: #333; }
.tip p:last-child { margin-bottom: 0; }
.tip ul { margin: 0 0 8px; padding-left: 22px; font-size: 14px; color: #333; }
.tip a { color: var(--green-700); font-weight: 600; }

/* =========================================================
   ASSISTANCE
   ========================================================= */
.support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.support__photo { border-radius: var(--radius); overflow: hidden; min-height: 420px; position: relative; }
.support__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.support__text {
  padding: 50px 40px 30px;
  display: flex; flex-direction: column;
}
.support__text h1 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; line-height: 1.1; margin: 0 0 18px; }
.support__text p { font-size: 15px; margin: 0 0 20px; color: #333; }

.search-box { margin-top: auto; display: flex; justify-content: flex-end; gap: 10px; }
.search-box input {
  flex: 1; max-width: 0; opacity: 0; padding: 0;
  border: 0 solid var(--green-700); border-radius: 6px;
  font: inherit; font-size: 15px;
  transition: max-width .35s, opacity .35s, padding .35s;
}
.search-box.is-open input { max-width: 400px; opacity: 1; padding: 0 14px; border-width: 2px; }
.search-box .btn { padding: 12px 34px; }
.search-box svg { width: 20px; height: 20px; }

.support-links {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.support-links a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff;
  border: 2px solid #cfe1dc;
  border-radius: 8px;
  padding: 22px 18px;
  color: var(--green-700); font-weight: 700; font-size: 15px;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.support-links a:hover { border-color: var(--green-700); transform: translateY(-3px); }
.support-links .arrow {
  width: 26px; height: 26px; border-radius: 5px;
  background: var(--green-700); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}
.support-links .arrow svg { width: 16px; height: 16px; }

/* =========================================================
   Animations d'apparition
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1000px) {
  .header-actions .btn { font-size: 16px; padding: 0 16px; }
  .main-nav a { font-size: 13px; padding: 8px 6px; }
  .support-links { grid-template-columns: repeat(2, 1fr); }
  .tag { font-size: 18px; padding: 6px 22px; }
}

@media (max-width: 820px) {
  .site-header .container { flex-wrap: wrap; }
  .site-header { position: relative; }
  .burger { display: grid; margin-left: auto; }
  .header-actions .btn { display: none; }
  .main-nav {
    order: 10; flex-basis: 100%;
    height: auto;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; padding: 10px; }
  .main-nav a { font-size: 16px; padding: 12px; }
  .main-nav a::after { display: none; }
  .main-nav .nav-download { display: block; }

  .hero, .how, .users, .support { grid-template-columns: 1fr; }
  .hero .photo-tab, .how .photo-tab { min-height: 280px; }
  .how .photo-tab { order: -1; }
  .hero__text, .how__text { padding: 30px 22px; }
  .support__photo { min-height: 300px; }
  .support__text { padding: 30px 22px; }

  .ready { padding: 30px 22px; }
  .tags {
    position: static; height: auto;
    display: flex; flex-wrap: wrap; gap: 14px 10px; justify-content: center;
    padding: 10px 0;
  }
  .tag, .tag-pin { position: static; }
  .tag { transform: rotate(calc(var(--r) / 4)); font-size: 16px; padding: 6px 18px; }
  .tag:hover { transform: rotate(calc(var(--r) / 4)) scale(1.05); }
  .tag-pin { width: 38px; height: 38px; }
  .tag-pin svg { width: 22px; height: 22px; }

  .users__phones { min-height: 0; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .logo-wordmark { padding: 8px 20px; }
  .logo-wordmark img { height: 30px; }
}

@media (min-width: 821px) {
  .main-nav .nav-download { display: none; }
}

@media (max-width: 480px) {
  .icon-btn { width: 48px; height: 48px; }
  .icon-btn svg { width: 26px; height: 26px; }
  .support-links { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; }
  .search-box.is-open input { max-width: none; padding: 12px 14px; }
  .cta h2 { font-size: 22px; }
}

/* =========================================================
   SÉLECTEUR DE LANGUE
   ========================================================= */
.lang-switch { position: relative; }
.lang-toggle { position: relative; }
.lang-code {
  position: absolute; right: 3px; bottom: 3px;
  font-size: 9px; font-weight: 800; line-height: 1;
  background: #fff; color: var(--green-800);
  padding: 2px 3px; border-radius: 3px;
}
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 50;
  list-style: none; margin: 0; padding: 6px;
  min-width: 150px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}
.lang-menu[hidden] { display: none; }
.lang-menu button {
  width: 100%; text-align: left;
  background: none; border: 0; border-radius: 5px;
  padding: 10px 12px;
  font-size: 15px; font-weight: 600; color: var(--text);
  display: flex; justify-content: space-between; align-items: center;
}
.lang-menu button:hover { background: var(--green-100); }
.lang-menu button[aria-current="true"] { color: var(--green-700); }
.lang-menu button[aria-current="true"]::after { content: "✓"; }

/* =========================================================
   FAQ (page Assistance)
   ========================================================= */
.faq { margin-top: 70px; scroll-margin-top: 90px; }
.faq__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.faq__head .display { font-size: clamp(30px, 3.4vw, 42px); }
.faq__lead { margin: 0; color: var(--muted); font-size: 15px; max-width: 380px; }
.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
.faq__group {
  background: #fff; border-radius: var(--radius);
  padding: 22px 22px 10px;
  scroll-margin-top: 100px;
}
.faq__group h3 {
  margin: 0 0 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  color: var(--green-700);
}
.faq__group:target { box-shadow: 0 0 0 3px var(--green-500); }
.faq__item { border-bottom: 1px solid #ececf2; }
.faq__item:last-child { border-bottom: 0; }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 14px 0;
  font-weight: 700; font-size: 15px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f7464' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .3s, background-color .3s;
}
.faq__item[open] summary::after { transform: rotate(45deg); background-color: #cfe1dc; }
.faq__item summary:hover { color: var(--green-700); }
.faq__answer { padding: 0 40px 16px 0; font-size: 14px; color: #333; }
.faq__answer p { margin: 0 0 8px; }
.faq__answer a { color: var(--green-700); font-weight: 600; }
.faq__item.is-match summary { color: var(--green-700); }
.faq__empty {
  background: #fff; border-radius: var(--radius);
  padding: 20px 24px; margin: 0 0 18px;
  font-weight: 600;
}
.faq__empty a { color: var(--green-700); }

/* Texte « à compléter » bien visible */
mark.todo {
  background: #fff3c4;
  color: #6b5200;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 14px;
  margin-top: 40px; scroll-margin-top: 90px;
}
.contact__intro { padding: 40px 34px; }
.contact__intro .display { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 20px; }
.contact__intro p { color: var(--muted); font-size: 15px; }
.contact__tips { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.contact__tips li {
  background: var(--green-100); border-radius: 8px;
  padding: 12px 14px; font-size: 14px; color: #234;
}
.contact__form {
  padding: 34px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px;
  align-content: start;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px;
  padding: 12px 14px;
  border: 2px solid #e1e1ea; border-radius: 8px;
  background: #fbfbfd;
  color: var(--text);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-700); background: #fff;
  box-shadow: 0 0 0 4px rgba(61, 143, 123, .15);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #c2412d; }
.field .error { color: #c2412d; font-size: 12px; font-weight: 600; }
.field--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 6px 10px; }
.field--check label { flex: 1; }
.field--check .error { flex-basis: 100%; padding-left: 30px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-700); flex-shrink: 0; }
.field--check label { font-weight: 500; font-size: 13px; color: var(--muted); }
.field--check label a { color: var(--green-700); font-weight: 600; }
.field--check.is-invalid label { color: #c2412d; }
.contact__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: 14px; font-weight: 600; }
.form-status.is-success { color: var(--green-700); }
.form-status.is-error { color: #c2412d; }
.contact__form.is-sent .field, .contact__form.is-sent .contact__actions .btn { opacity: .5; pointer-events: none; }

/* =========================================================
   NUMÉROS D'AIDE (page Sécurité)
   ========================================================= */
.helplines {
  list-style: none; padding: 0; margin: 10px 0 14px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.helplines li {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg); border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px; color: #333;
}
.helplines .num {
  flex-shrink: 0;
  min-width: 64px; text-align: center;
  background: var(--green-700); color: #fff;
  font-weight: 800; font-size: 14px;
  padding: 6px 8px; border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
}
.helplines .num--wide { font-size: 12px; }
.helplines strong { display: block; color: var(--text); font-size: 14px; }
.tip h4 { margin: 14px 0 4px; font-size: 14px; }

/* =========================================================
   PAGES LÉGALES
   ========================================================= */
.legal { max-width: 860px; }
.legal h1 { font-size: clamp(28px, 3vw, 36px); margin: 10px 0 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.legal .notice {
  background: #fff3c4; color: #5a4500;
  border-radius: 8px; padding: 14px 18px;
  font-size: 14px; margin: 0 0 24px;
}
.legal section {
  background: #fff; border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 14px;
  scroll-margin-top: 100px;
}
.legal h2 { font-size: 18px; margin: 0 0 10px; }
.legal p, .legal li { font-size: 14px; color: #333; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--green-700); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; font-size: 13px; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #ececf2; vertical-align: top; }
.legal th { background: var(--green-100); color: var(--green-800); }
.en-only { display: none; }
html[lang="en"] .en-only { display: block; }

/* =========================================================
   PAGE 404
   ========================================================= */
.error-page {
  text-align: center;
  padding: 60px 20px 40px;
}
.error-page .big-number { font-size: clamp(110px, 18vw, 200px); margin: 0; }
.error-page h1 { font-size: clamp(24px, 3vw, 34px); margin: 10px 0 12px; }
.error-page p { color: var(--muted); max-width: 480px; margin: 0 auto 28px; }
.error-page .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 820px) {
  .faq__grid, .contact, .helplines { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; padding: 24px 20px; }
  .contact__intro { padding: 30px 22px; }
  .legal section { padding: 20px; }
}
.error-page .big-number { color: var(--bg); max-width: none; margin: 0 auto; }

/* Onglet du logo placé en bas à droite (photo « Comment ça marche ? ») */
.photo-tab .logo-tab--right {
  left: auto; right: 0;
  padding: 8px 0 0 8px;
  border-top-right-radius: 0;
  border-top-left-radius: 14px;
}
/* Onglet un peu plus grand sur ordinateur, comme sur la maquette */
@media (min-width: 821px) {
  .photo-tab .logo-wordmark { padding: 14px 44px; }
  .photo-tab .logo-wordmark img { height: 46px; }
}

/* =========================================================
   REFONTE « CHARTE + MODERNE » (toutes les pages)
   ========================================================= */
body { color: var(--text); }
.card { border-radius: var(--radius); box-shadow: var(--shadow-soft); }

/* Boutons en pilule */
.btn { border-radius: 999px; padding: 13px 26px; }
.btn--solid { background: var(--green-800); border-color: var(--green-800); }
.btn--solid:hover { background: var(--brand-ink); border-color: var(--brand-ink); }
.btn--outline { color: var(--green-800); border-color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: #fff; }
.btn--white { border-radius: 999px; padding: 14px 34px; background: var(--beige); border-color: var(--beige); color: var(--brand-ink); }
.btn--white:hover { background: #fff; border-color: #fff; }
.icon-btn { border-radius: 16px; background: var(--green-700); }
.icon-btn:hover { background: var(--brand-ink); }

/* En-tête */
.main-nav { border-radius: 999px; box-shadow: var(--shadow-soft); }
.main-nav a { color: var(--brand-ink); font-weight: 600; }
.nav-indicator { border-radius: 999px; background: var(--brand-ink) !important; }
.header-actions .btn {
  background: var(--brand-ink); color: #fff; border-color: var(--brand-ink);
  border-radius: 999px;
}
.header-actions .btn:hover { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.site-header.is-scrolled { background: rgba(251, 248, 243, .82); }

/* Bulles « Prêt à partir ? » aux couleurs de la charte */
.ready { border-radius: 32px; }
.tag { background: var(--green-700); font-family: var(--font-display); }
.tag--light { background: var(--beige); color: var(--brand-ink); }
.tag:hover { background: var(--brand-ink); color: #fff; }
.tag-pin { background: var(--beige); }

/* Compteur */
.big-number { -webkit-text-stroke-color: var(--green-700); font-family: var(--font-display); }
.users__count::after { border-color: var(--beige); }

/* Bloc « Rejoignez notre communauté » : grande carte arrondie */
.cta {
  width: min(100% - 32px, var(--container));
  margin: 110px auto 0;
  border-radius: 36px;
  background: var(--green-700);
  padding: 80px 24px;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  max-width: 760px; margin: 0 auto 32px;
}
.cta-pin { opacity: .16; }

/* Pied de page noir (charte : #0e0b0c / #a09e9d / #f1ddb4) */
.site-footer { background: var(--brand-ink); color: #e9e5e3; margin-top: 90px; padding-top: 70px; }
.footer-cols { border-bottom-color: rgba(255, 255, 255, .1); }
.footer-cols h3 { color: var(--beige); }
.footer-cols a, .footer-about, .footer-bottom { color: var(--brand-grey); }
.footer-cols a:hover, .footer-bottom a:hover { color: #fff; }
.socials a { color: var(--beige); }
.socials a:hover { color: #fff; }
.footer-apps strong { color: #fff; }
.store-btn { background: #fff; color: var(--brand-ink); }
.store-btn:hover { background: var(--beige); }
.footer-bottom { border-top-color: rgba(255, 255, 255, .1); }
