/* =====================================================
   PRIX RÉEL - CSS nettoyé
   Version Internet v1
===================================================== */

/* =====================================================
   Variables
===================================================== */


:root {
  --navy: #06245c;
  --navy-2: #0b347d;
  --blue: #1257d8;
  --green: #22a843;
  --green-2: #16a34a;
  --bg: #eef3f8;
  --text: #071632;
  --muted: #5f6b7a;
  --line: #e4e9f0;
  --danger: #e11d48;
}

/* =====================================================
   Base générale
===================================================== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  background: linear-gradient(135deg, #dce6f2, #f8fafc);
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 28px;
}

.app {
  position: relative;
  width: 100%;
  max-width: 1600px;
  min-height: 900px;
  background: #fff;
  border-radius: 34px;
  box-shadow: 0 28px 80px rgba(6, 36, 92, 0.18);
  overflow: hidden;
  border: 1px solid rgba(6, 36, 92, 0.08);
}

.screen {
  display: none;
  min-height: 760px;
  padding: 56px 64px 100px;
  overflow-y: auto;
  animation: show 0.22s ease;
  max-width: none;
  margin: 0 auto;
}

.screen.active {
  display: block;
}

@keyframes show {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   Textes
===================================================== */

h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.16;
  color: var(--navy);
}

.subtitle {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 640px;
  margin: 12px auto 0;
}

/* =====================================================
   Branding / logo
===================================================== */

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 48px auto 32px;
  text-align: left;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-shield {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.brand h1 {
  margin: 0;
  color: var(--navy);
  font-size: 36px;
  line-height: 1;
  white-space: nowrap;
}

.brand h1 span,
.hero span {
  color: var(--green);
}

.brand p {
  margin: 7px 0 0;
  font-size: 13px;
  color: var(--navy);
  white-space: nowrap;
}

/* =====================================================
   Boutons
===================================================== */

.primary {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  display: block;
  border: none;
  border-radius: 15px;
  padding: 16px;
  background: linear-gradient(135deg, var(--green-2), var(--green));
  color: white;
  font-weight: 800;
  font-size: 15.5px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(34, 168, 67, 0.18);
}

.blue-btn {
  background: linear-gradient(135deg, var(--blue), #003fb8);
  box-shadow: 0 10px 20px rgba(18, 87, 216, 0.18);
}

.link {
  display: block;
  background: transparent;
  border: none;
  color: var(--blue);
  width: 100%;
  max-width: 620px;
  padding: 16px;
  font-weight: 700;
  cursor: pointer;
  margin: 0 auto;
  text-align: center;
}

.share-btn {
  width: 100%;
  margin-top: 12px;
  padding: 16px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 87, 216, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(18, 87, 216, 0.35);
}

/* =====================================================
   Accueil
===================================================== */

#home {
  position: relative;
  overflow-y: auto;
}

#home > *:not(.landscape) {
  position: relative;
  z-index: 5;
}

.hero {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}

.hero h2 {
  font-size: 46px;
  max-width: 700px;
  margin: 0 auto 18px;
}

.hero p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 640px;
  margin: 12px auto 0;
}

.hero-counter,
.trust-counter {
  margin-top: 14px;
  margin-bottom: 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--green);
  text-align: center;
}

.features {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  margin: 28px auto 22px;
  box-shadow: 0 12px 28px rgba(6, 36, 92, 0.06);
  max-width: 620px;
}

.feature {
  display: flex;
  gap: 13px;
  align-items: center;
  margin: 16px 0;
}

.feature strong {
  font-size: 14.5px;
  color: var(--navy);
}

.feature p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.icon,
.service-icon {
  width: 46px;
  height: 46px;
  min-width: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.green {
  background: var(--green);
}

.blue {
  background: var(--blue);
}

/* =====================================================
   Carte communauté accueil
===================================================== */

.community-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 22px;
  margin: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.community-shield {
  width: 56px;
  height: auto;
  flex-shrink: 0;
}

.community-content {
  flex: 1;
}

.community-content h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  color: var(--navy);
}

.community-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.community-icon {
  color: var(--green);
  font-size: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* =====================================================
   Décor accueil et footer
===================================================== */

.landscape {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 72px;
  height: 120px;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.hill {
  position: absolute;
  border-radius: 50% 50% 0 0;
}

.hill-one {
  background: #9bd99f;
  width: 500px;
  height: 120px;
  bottom: -55px;
  left: -80px;
}

.hill-two {
  background: var(--navy-2);
  width: 440px;
  height: 85px;
  bottom: -35px;
  right: -90px;
  opacity: 0.92;
}

.tower {
  position: absolute;
  right: 58px;
  bottom: 22px;
  width: 11px;
  height: 88px;
  background: var(--navy);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.footer-separator {
  height: 40px;
}

.city-footer {
  width: 100%;
  margin-top: 10px;
  overflow: hidden;
}

.city-footer img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
}

.footer-prixreel {
  margin-top: -20px;
  padding: 55px 20px 40px;
  text-align: center;
  color: white;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 100% 100% 0 0 / 40px;
  box-shadow: 0 -6px 20px rgba(18, 87, 216, 0.15);
}

.footer-prixreel p {
  color: #f8fafc;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.95;
}

/* =====================================================
   Topbar
===================================================== */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
  color: var(--navy);
}

.back {
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

.progress {
  width: 190px;
  height: 6px;
  background: #e5eaf2;
  border-radius: 99px;
  overflow: hidden;
}

.progress span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 99px;
}

/* =====================================================
   Choix des services
===================================================== */

.service {
  width: 100%;
  max-width: 680px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 14px 0;
  text-align: left;
  cursor: pointer;
}

.active-service {
  border: 2px solid var(--blue);
}

.service strong {
  color: var(--navy);
  font-size: 16px;
}

.service p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.service span {
  margin-left: auto;
  font-size: 30px;
  color: var(--blue);
}

.locked {
  opacity: 0.72;
  cursor: not-allowed;
}

.locked .service-icon {
  background: #e9eef6;
  color: var(--navy);
}

/* =====================================================
   Formulaire Internet
===================================================== */

.info-box,
.privacy-box,
.tip-card {
  background: #eff6ff;
  border-radius: 18px;
  padding: 18px;
  margin-top: 22px;
  color: var(--navy);
  max-width: 680px;
}

.info-box p,
.privacy-box p,
.tip-card p {
  color: var(--muted);
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

label {
  display: block;
  margin: 18px 0 8px;
  color: var(--navy);
  font-size: 13.5px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  max-width: 520px;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  padding: 15px;
  font-size: 15.5px;
  color: var(--text);
  background: white;
}

.money-input {
  display: flex;
  align-items: center;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  overflow: hidden;
  max-width: 520px;
}

.money-input input {
  border: 0;
  max-width: none;
}

.money-input span {
  padding-right: 15px;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
}

.extra-services-row {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 14px;
  align-items: start;
  margin: 18px 0 28px;
}

.extra-services-row input[type="checkbox"],
#hasExtraServices {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 5px 0 0;
  padding: 0;
  transform: none;
  appearance: auto;
}

.extra-services-row label {
  margin: 0;
  padding: 0;
  cursor: pointer;
  color: var(--navy);
}

.extra-services-row label strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 700;
}

.extra-services-row label small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7280;
}

.privacy-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #eef7f1;
  border-radius: 20px;
  padding: 20px;
  margin-top: 24px;
  margin-bottom: 32px;
}

.privacy-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  height: 40px;
  font-size: 32px;
  color: #22c55e;
  flex-shrink: 0;
}

.privacy-text h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #0f2b66;
}

.privacy-text p {
  margin: 0;
  color: #64748b;
}

/* =====================================================
   Autocomplete ville
===================================================== */

.city-autocomplete {
  position: relative;
  max-width: 520px;
}

#citySuggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #dbe2ea;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(6, 36, 92, 0.12);
  z-index: 50;
}

.city-suggestion {
  padding: 13px 15px;
  cursor: pointer;
  color: var(--navy);
  font-size: 14px;
}

.city-suggestion:hover {
  background: #eff6ff;
}

/* =====================================================
   Résultat
===================================================== */

#result {
  max-width: 760px;
  margin: 0 auto;
}

.result-card,
.best-deals-card,
.tip-card,
#result .primary {
  width: 100%;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.result-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 12px 28px rgba(6, 36, 92, 0.06);
  text-align: center;
  margin-bottom: 24px;
}

.result-card-simple {
  animation: resultFadeUp 0.6s ease-out;
}

@keyframes resultFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.price-summary {
  text-align: center;
  margin-bottom: 18px;
}

.price-summary span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.3;
}

#price-summary-text strong {
  display: block;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

#price-summary-text span {
  display: block;
  font-size: 19px;
  font-weight: 600;
  color: #64748b;
}

#price-summary-text {
  margin-top: 18px;
  margin-bottom: 24px;
}

#price-summary-text strong {
  display: block;
  margin-top: 8px;
  margin-bottom: 10px;
  line-height: 1.15;
}

.result-card {
  padding-top: 44px;
}

/* Barre de score */

.score-bar-card {
  margin: 30px 0 24px;
  text-align: center;
}

.score-badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-size: 30px;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 18px;
  margin-bottom: 14px;
  box-shadow: 0 12px 26px rgba(18, 87, 216, 0.28);
  transition: left 1.4s ease-out;
}

.score-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  margin: 0 34px;
}

.score-dot {
  position: absolute;
  top: 50%;
  left: 85%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: var(--blue);
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(6, 36, 92, 0.25);
  transition: left 1.4s ease-out;
}

.score-labels {
  display: flex;
  justify-content: space-between;
  margin: 12px 34px 0;
  font-size: 14px;
  font-weight: 700;
}

.score-labels span:first-child {
  color: var(--blue);
}

.score-labels span:last-child {
  color: var(--green);
}

#ranking-message {
  margin-top: 18px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

#result-summary,
.result-summary {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  line-height: 1.5;
}

.data-quality-small {
  color: #94a3b8;
  font-size: 13px;
  margin-top: 8px;
  margin-bottom: 20px;
}

/* Qualité des données */

.quality-clean-card {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #dbe5f0;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 6px 18px rgba(6, 36, 92, 0.06);
}

.quality-icon {
  font-size: 26px;
  color: var(--blue);
  flex-shrink: 0;
}

.quality-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quality-content strong {
  font-size: 14px;
  color: var(--navy);
}

.quality-badge {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf8ef;
  color: #0f8f3a;
  font-size: 12px;
  font-weight: 700;
}

/* Recommandation */

.recommendation-card {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f5fff7, #ebfff0);
  border: 1px solid #b8ecc5;
  text-align: center;
  color: var(--navy);
  box-shadow: 0 16px 32px rgba(34, 168, 67, 0.12);
  transform: translateY(0);
  transition: all 0.25s ease;
}

.recommendation-card strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--green-2);
  margin: 6px 0;
}

.recommendation-card p {
  margin: 0 0 8px;
  color: var(--navy);
  font-weight: 700;
}

.recommendation-card small {
  display: block;
  color: #64748b;
  margin-top: 4px;
}

.current-price {
  margin: 12px 0 6px;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 500;
}

.trust-badge,
.best-price-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #eefbf3;
  color: var(--green-2);
  font-weight: 600;
  font-size: 14px;
}

/* Classement fournisseurs résultat */

.best-deals-card {
  padding: 28px;
  border-radius: 22px;
  background: #f8fbff;
  border: 1px solid #dbeafe;
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(6, 36, 92, 0.08);
}

.best-deals-card h3 {
  margin: 0 0 22px;
  color: var(--navy);
}

.deal-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 10px;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.25s ease;
}

.deal-item:last-child {
  border-bottom: none;
}

.deal-item:hover {
  background: #f8fbff;
  transform: translateX(4px);
}

.deal-provider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.deal-provider img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border: none;
  background: transparent;
  border-radius: 0;
}

.deal-item:nth-child(-n + 3) .deal-provider img {
  width: 32px;
  height: 32px;
}

.deal-provider span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.deal-price {
  font-weight: 700;
  color: var(--green-2);
}

.tip-card {
  background: #eff6ff;
  margin-bottom: 18px;
}

.tip-card strong {
  color: var(--navy);
  font-weight: 600;
}

/* Animations résultat */

.confetti-burst {
  position: fixed;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  z-index: 9999;
  animation: confettiPop 2s ease forwards;
  pointer-events: none;
}

@keyframes confettiPop {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0.6) translateY(20px);
  }

  20% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2) translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateX(-50%) scale(1) translateY(-80px);
  }
}

/* =====================================================
   Statistiques et profil
===================================================== */

.stats-hero {
  text-align: center;
  margin-bottom: 30px;
}

.stats-hero h2 {
  font-size: 38px;
  color: var(--navy);
}

.stats-hero p {
  color: var(--muted);
  margin-top: 10px;
}

.stats-community {
  margin-top: 12px;
  color: var(--green);
  font-weight: 700;
}

.stats-highlight {
  color: var(--green);
  font-weight: 800;
}

.stats-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  width: 220px;
  background: white;
  border: 1px solid #dbe7ff;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  box-shadow: 0 16px 40px rgba(6, 36, 92, 0.08);
  transition: all 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(6, 36, 92, 0.12);
}

.stat-card:nth-child(1) {
  border-top: 5px solid var(--blue);
}

.stat-card:nth-child(2) {
  border-top: 5px solid var(--green);
}

.stat-card:nth-child(3) {
  border-top: 5px solid var(--green-2);
}

.stat-card:nth-child(4) {
  border-top: 5px solid var(--danger);
}

.stat-icon {
  font-size: 30px;
  margin-bottom: 10px;
}

.stat-card h3 {
  font-size: 42px;
  margin: 0;
  color: var(--navy);
}

.stat-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.stats-note {
  max-width: 700px;
  margin: 30px auto 0;
  padding: 22px;
  border-radius: 22px;
  background: white;
  border: 1px solid #dbe7ff;
  color: var(--navy);
  text-align: center;
  box-shadow: 0 10px 25px rgba(6, 36, 92, 0.05);
}

.stats-note p {
  margin: 8px 0 0;
  color: var(--muted);
}

/* =====================================================
   Classement fournisseurs
===================================================== */

.provider-chart-card {
  width: 100%;
  max-width: 1200px;
  margin: 34px auto 0;
  padding: 32px;
  background: white;
  border: 1px solid #dbe7ff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(6, 36, 92, 0.08);
}

.provider-chart-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
}

.provider-chart-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.provider-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.speed-filter {
  margin-top: 10px;
  margin-bottom: 20px;
}

.provider-filter-btn,
.speed-filter-btn {
  border: 1px solid #dbeafe;
  background: white;
  color: var(--navy);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.provider-filter-btn.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.speed-filter-btn.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.filter-summary {
  width: 100%;
  margin: 14px 0 24px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  color: #475569;
  font-size: 13px;
}

#provider-chart {
  width: 100%;
}

.provider-chart-row {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) 145px;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
}

.provider-chart-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--navy);
}

.provider-chart-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.provider-chart-bar-wrap {
  width: 100%;
  height: 12px;
  background: #edf2f7;
  border-radius: 999px;
  overflow: hidden;
}

.provider-chart-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--blue),
    var(--green)
  );
}

.provider-chart-price {
  text-align: right;
  min-width: 145px;
  font-size: 24px;
  font-weight: 800;
  color: var(--green);
}

.provider-chart-price small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
}

/* =====================================================
   Page informations
===================================================== */

.trust-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 15px 0 25px;
}

.trust-row div {
  background: #f4f8ff;
  border: 1px solid #dbe7ff;
  border-radius: 30px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.info-card {
  display: flex;
  gap: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  margin: 20px 0;
  box-shadow: 0 10px 24px rgba(6, 36, 92, 0.07);
}

.info-card:nth-child(5),
.info-card:nth-child(6),
.info-card:nth-child(7) {
  border: 1px solid #dbeafe;
  background: #f8fbff;
}

.info-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #eff6ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  overflow: hidden;
}

.info-shield {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.info-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
}

.info-card p {
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.5;
}

/* =====================================================
   Navigation basse
===================================================== */

nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 72px;
  background: #fff;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  z-index: 20;
}

nav button {
  border: 0;
  background: transparent;
  color: var(--navy);
  font-size: 25px;
  cursor: pointer;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

nav span,
nav button span {
  display: block;
  font-size: 10px;
  margin-top: 3px;
  color: var(--navy);
}

/* =====================================================
   Desktop large
===================================================== */

@media (min-width: 901px) {
  body {
    background:
      radial-gradient(circle at top left, rgba(18, 87, 216, 0.16), transparent 32%),
      radial-gradient(circle at top right, rgba(34, 168, 67, 0.14), transparent 28%),
      linear-gradient(135deg, #dce6f2, #f8fafc);
  }

  .app {
    max-width: 1700px;
    min-height: 940px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #f8fbff 100%);
  }

  .screen {
    max-width: none;
    padding: 40px 120px 110px;
  }

  .logo-shield {
    width: 115px;
    height: 115px;
  }

  .brand h1 {
    font-size: 52px;
  }

  .brand p {
    font-size: 15px;
  }

  .hero h2 {
    font-size: 54px;
    max-width: 850px;
    letter-spacing: -1.5px;
  }

  .hero p {
    font-size: 18px;
  }

  #home .features,
  #home .primary,
  #home .link {
    max-width: 760px;
  }

  .features {
    border: 1px solid #dbe7ff;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 45px rgba(6, 36, 92, 0.10);
    padding: 26px 28px;
    backdrop-filter: blur(10px);
  }

  .feature {
    margin: 18px 0;
  }

  .primary {
    transform: translateY(0);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(34, 168, 67, 0.28);
  }

  .community-card {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dbe7ff;
    box-shadow: 0 18px 45px rgba(6, 36, 92, 0.08);
    backdrop-filter: blur(10px);
  }

  .footer-separator {
    height: 0;
  }

  .city-footer {
    margin-top: -200px;
  }

  .city-footer img {
    max-width: 900px;
    filter: drop-shadow(0 -8px 24px rgba(6, 36, 92, 0.08));
  }

  #result {
    max-width: 1180px;
  }

  #result .result-card,
  #result .best-deals-card,
  #result .tip-card {
    max-width: 900px;
    border: 1px solid #dbe7ff;
    box-shadow: 0 18px 45px rgba(6, 36, 92, 0.09);
  }

  #result .result-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border-radius: 28px;
  }

  #result .best-deals-card {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border-radius: 28px;
  }

  #result .deal-item {
    padding: 16px 10px;
  }

  #result .score-bar {
    height: 12px;
  }

  #result .score-dot {
    width: 32px;
    height: 32px;
  }

  #stats .stats-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 34px;
  }

  #stats .stat-icon {
    font-size: 34px;
    margin-bottom: 14px;
  }

  #stats .stats-note {
    max-width: 850px;
    margin: 30px auto 0;
  }

  #about .info-card {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
  }

  #about .stats-note {
    max-width: 720px;
  }
}

/* =====================================================
   Tablette
===================================================== */

@media (max-width: 900px) {
  body {
    padding: 18px;
    align-items: flex-start;
  }

  .app {
    max-width: 430px;
    min-height: 820px;
    border-radius: 34px;
    box-shadow: 0 28px 80px rgba(6, 36, 92, 0.22);
  }

  .screen {
    min-height: 820px;
    padding: 34px 28px 92px;
  }

  h2 {
    font-size: 27px;
  }

  .hero h2 {
    font-size: 30px;
  }

  .features,
  .service,
  .info-box,
  .privacy-box,
  .tip-card,
  .result-card,
  .best-deals-card,
  input,
  select,
  .money-input,
  .city-autocomplete,
  .primary,
  .link {
    max-width: none;
  }

  .progress {
    width: 160px;
  }

  .recommendation-card strong {
    font-size: 24px;
  }
}

/* =====================================================
   Mobile
===================================================== */

@media (max-width: 768px) {
  .community-card {
    gap: 12px;
    padding: 18px;
  }

  .community-shield {
    width: 50px;
  }

  .community-icon {
    font-size: 36px;
  }

  .community-content h3 {
    font-size: 1.25rem;
  }

  .community-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 700px) {
  .stats-hero h2 {
    font-size: 28px;
  }

  .info-card {
    padding: 18px;
    gap: 14px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .landscape {
    bottom: 72px;
    height: 95px;
  }

  .hill-one {
    width: 420px;
    height: 95px;
    bottom: -45px;
  }

  .hill-two {
    width: 380px;
    height: 70px;
    bottom: -30px;
  }

  .tower {
    height: 72px;
    bottom: 18px;
  }

  .provider-chart-row {
    grid-template-columns: 42px minmax(0, 1fr) 70px;
    gap: 10px;
    align-items: center;
  }

  .provider-chart-bar-wrap {
    width: 100%;
    display: block;
  }
}

@media (max-width: 520px) {
  .stats-grid {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 460px) {
  body {
    padding: 0;
    background: #fff;
  }

  .app {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
    border: 0;
  }

  .screen {
    min-height: 100vh;
    padding: 32px 24px 92px;
  }

  .brand {
    gap: 12px;
    margin: 12px auto 28px;
    width: 100%;
  }

  .logo-shield {
    width: 100px;
    height: 100px;
  }

  .brand h1 {
    font-size: 30px;
  }

  .brand p {
    font-size: 12px;
  }

  .hero h2 {
    font-size: 29px;
  }

  .privacy-box {
    align-items: flex-start;
    padding: 18px;
  }

  .privacy-text h3 {
    font-size: 17px;
  }

  .result-card,
  .best-deals-card {
    padding: 22px;
  }

  .score-bar {
    margin: 0 12px;
  }

  .score-labels {
    margin: 12px 12px 0;
  }

  #ranking-message {
    font-size: 15px;
  }

  #price-summary-text strong {
    font-size: 22px;
  }

  #price-summary-text span {
    font-size: 15px;
  }

  .recommendation-card strong {
    font-size: 22px;
  }

  .info-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
  }
}

.provider-ranking-subtitle {
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

/* Excellent prix */
.excellent-price {
  color: #16a34a !important;
}

/* Prix correct */
.correct-price {
  color: #f59e0b !important;
}

/* Prix élevé */
.expensive-price {
  color: #dc2626 !important;
}

#price-summary-text strong.excellent-price {
  color: #16a34a !important;
}

#price-summary-text strong.correct-price {
  color: #f59e0b !important;
}

#price-summary-text strong.expensive-price {
  color: #dc2626 !important;
}

.provider-price {
  color: #16a34a;
  font-weight: 700;
  min-width: 80px;
  text-align: right;
  padding-right: 8px;
}

.provider-count {
  color: #2563eb;
  font-size: 12px;
  font-weight: 500;
}

.saving-highlight {
  display: inline-block;
  margin-top: 4px;
  color: #16a34a;
  font-size: 24px;
  font-weight: 800;
}

.saving-month {
  color: #16a34a;
  font-size: 15px;
  font-weight: 600;
}

.extra-cost-highlight {
  display: inline-block;
  margin-top: 4px;
  color: #dc2626;
  font-size: 24px;
  font-weight: 800;
}

.extra-cost-month {
  color: #dc2626;
  font-size: 15px;
  font-weight: 600;
}

.extra-cost-month,
.saving-month {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  font-weight: 700;
}

#price-summary-text {
  margin-top: 10px;
  margin-bottom: 26px;
}

#price-summary-text strong {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1.15;
}

#price-summary-text span {
  color: #334155;
  font-size: 16px;
  font-weight: 600;
}

.saving-highlight,
.extra-cost-highlight {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 18px;
  border-radius: 16px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.4px;
}

.saving-highlight {
  background: #ecfdf5;
  color: #15803d;
}

.extra-cost-highlight {
  background: #fef2f2;
  color: #dc2626;
}

.saving-month,
.extra-cost-month {
  display: block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 700;
}

.saving-month {
  color: #15803d;
}

.extra-cost-month {
  color: #dc2626;
}

.score-badge {
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.info-card,
.stats-card,
.result-card,
.tip-card,
.provider-ranking {
  transition: all 0.25s ease;
}

.info-card:hover,
.stats-card:hover,
.tip-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.08);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.result-card,
.recommendation-card,
.provider-ranking,
.tip-card {
  animation: fadeUp 0.5s ease;
}

.score-badge {
  transition: transform 0.3s ease;
}

.score-badge:hover {
  transform: scale(1.08);
}

.score-track {
  overflow: hidden;
}

.score-fill {
  animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
  from {
    width: 0;
  }
}

/* =====================================================
   Classement fournisseurs - filtres et graphique
===================================================== */

.provider-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 12px;
}

.provider-item {
  padding: 12px 0;
}

.speed-filter {
  margin-top: 10px;
  margin-bottom: 22px;
}

.provider-filter-btn,
.speed-filter-btn {
  border: 1px solid #dbeafe;
  background: #ffffff;
  color: var(--navy);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.provider-filter-btn.active {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}

.speed-filter-btn.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}

.filter-summary {
  display: block;
  width: 100%;
  margin: 14px 0 24px;
  padding: 10px 14px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  font-size: 13px;
  color: #475569;
}

.provider-chart-card {
  width: 100%;
  max-width: 1050px;
  margin: 34px auto 0;
  padding: 32px;
  background: white;
  border: 1px solid #dbe7ff;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(6, 36, 92, 0.08);
}

#provider-chart {
  width: 100%;
  margin-top: 24px;
}

.provider-chart-row {
  display: grid;
  grid-template-columns: 165px minmax(0, 1fr) 125px;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
}

.provider-chart-name {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 700;
  color: var(--navy);
}

.provider-chart-name span {
  font-size: 13px;
  font-weight: 700;
}

.provider-chart-logo {
  width: 24px;
  height: 24px;
  min-width: 24px;
  object-fit: contain;
}

.provider-chart-bar-wrap {
  width: 100%;
  height: 12px;
  background: #edf2f7;
  border-radius: 999px;
  overflow: hidden;
}

.provider-chart-bar {
  height: 100%;
  max-width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--green));
}

.provider-chart-price {
  min-width: 125px;
  text-align: right;
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
}

.provider-chart-price small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  white-space: nowrap;
}

#provider-chart {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

#provider-chart.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.provider-chart-row {
  animation: providerRowFade 0.35s ease both;
}

@keyframes providerRowFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.filter-summary {
  background: linear-gradient(
    135deg,
    #f8fafc,
    #eef6ff
  );
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14px;
}

.provider-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.provider-row,
.provider-item {
  display: grid;
  grid-template-columns: 44px 1fr 72px;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.provider-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.provider-name {
  min-width: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
}

.provider-price-box,
.provider-price {
  width: 72px;
  min-width: 72px;
  text-align: right;
  padding-right: 0;
}

.provider-price {
  display: block;
  color: var(--green);
  font-size: 20px;
  font-weight: 900;
}

.provider-count {
  display: block;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 480px) {
  .provider-ranking-card,
  .stats-card {
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
  }

  .provider-row,
  .provider-item {
    grid-template-columns: 40px minmax(0, 1fr) 68px;
    gap: 8px;
  }

  .provider-price-box,
  .provider-price {
    width: 68px;
    min-width: 68px;
  }

  .provider-name {
    font-size: 15px;
  }

  .provider-price {
    font-size: 19px;
  }

  .provider-count {
    font-size: 12px;
  }
}


  .provider-chart-price {
    min-width: 70px;
    text-align: right;
    padding-right: 4px;
  }

@media (max-width: 600px) {
  .provider-chart-row {
    display: grid !important;
    grid-template-columns: 90px minmax(90px, 1fr) 70px !important;
    gap: 8px !important;
    align-items: center !important;
  }

  .provider-chart-bar-wrap {
    display: block !important;
    width: 100% !important;
    height: 12px !important;
    min-width: 90px !important;
    background: #edf2f7 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
  }

  .provider-chart-bar {
    display: block !important;
    height: 100% !important;
    min-width: 12px !important;
    border-radius: 999px !important;
    background: linear-gradient(90deg, var(--blue), var(--green)) !important;
  }

  .provider-chart-price {
    min-width: 70px !important;
    text-align: right !important;
    padding-right: 0 !important;
  }
}

.provider-logo-wrap {
  position: relative;
  width: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.provider-medal {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 16px;
  z-index: 2;
}

.provider-logo {
  max-width: 34px;
  max-height: 34px;
  object-fit: contain;
  z-index: 1;
}

@media (max-width: 600px) {
  .provider-logo-wrap {
    width: 46px;
    min-width: 46px;
  }

  .provider-medal {
    top: -12px;
    right: -6px;
    font-size: 15px;
  }
}

.provider-chart-name span {
  white-space: nowrap;
}

.provider-chart-logo {
  width: 28px;
  height: 28px;
}

.provider-chart-name {
  position: relative;
}

.filter-summary strong {
  display: inline;
}

.provider-chart-bar {
  transition: width 0.8s ease;
}

.provider-chart-row {
  transition: transform 0.25s ease;
}

.provider-chart-row:hover {
  transform: translateY(-2px);
}


@media (max-width: 600px) {

  .provider-chart-row {
    grid-template-columns: 32px minmax(0, 1fr) 80px;
    gap: 8px;
    align-items: center;
  }

  .provider-chart-logo {
    width: 24px;
    height: 24px;
  }

  .provider-chart-name {
    font-size: 15px;
    gap: 6px;
  }

  .provider-chart-price {
    min-width: 80px;
    text-align: right;
    font-size: 16px;
  }

  .provider-chart-price small {
    display: block;
    font-size: 11px;
  }

  .provider-medal {
    font-size: 14px;
  }
}

@media (max-width: 600px) {

  #provider-chart .provider-chart-row {
    display: grid !important;
    grid-template-columns: 88px 1fr 78px !important;
    gap: 8px !important;
    align-items: center !important;
    padding: 10px 0 !important;
  }

  #provider-chart .provider-chart-name {
    min-width: 0 !important;
    gap: 6px !important;
  }

  #provider-chart .provider-chart-name span {
    font-size: 14px !important;
    white-space: nowrap !important;
  }

  #provider-chart .provider-chart-bar-wrap {
    width: 100% !important;
    height: 11px !important;
    margin: 0 !important;
  }

  #provider-chart .provider-chart-price {
    width: 78px !important;
    min-width: 78px !important;
    text-align: right !important;
    font-size: 18px !important;
    margin: 0 !important;
  }

  #provider-chart .provider-chart-price small {
    font-size: 10px !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }

  #provider-chart .provider-chart-logo {
    width: 24px !important;
    height: 24px !important;
  }
}

@media (max-width: 600px) {

  #provider-chart .provider-chart-row {
    grid-template-columns: 115px 1fr 65px !important;
    gap: 8px !important;
  }

  #provider-chart .provider-chart-price {
    width: 65px !important;
    min-width: 65px !important;
    font-size: 16px !important;
  }

  #provider-chart .provider-chart-name span {
    font-size: 14px !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 600px) {

  #provider-chart .provider-chart-row {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "name price"
      "bar price" !important;
    gap: 6px 12px !important;
    align-items: center !important;
    padding: 12px 0 !important;
  }

  #provider-chart .provider-chart-name {
    grid-area: name !important;
  }

  #provider-chart .provider-chart-bar-wrap {
    grid-area: bar !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  #provider-chart .provider-chart-price {
    grid-area: price !important;
    width: 72px !important;
    min-width: 72px !important;
    text-align: right !important;
    font-size: 17px !important;
  }

  #provider-chart .provider-chart-price small {
    font-size: 10px !important;
    white-space: normal !important;
    line-height: 1.15 !important;
  }
}

background: rgba(255,255,255,0.85);
backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.4);

box-shadow:
0 0 25px rgba(37,99,235,0.15);

background: linear-gradient(
90deg,
#2563eb,
#0891b2,
#22c55e
);

background-size: 200% 100%;
animation: shimmer 4s linear infinite;

background-image:
radial-gradient(
circle at 20% 20%,
rgba(37,99,235,0.05),
transparent 30%
);

height: 3px;

background: linear-gradient(
90deg,
#2563eb,
#22c55e
);


.filter-separator {
  width: 100%;
  height: 1px;
  background: #e2e8f0;
  margin: 22px 0 16px;
}

.filter-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--navy);
}

.filter-section-title span {
  font-size: 18px;
}

.filter-section-title strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

/* =====================================================
   Page Mentions légales & Confidentialité
===================================================== */

.legal-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 20px 70px;
}

.legal-hero {
  text-align: center;
  margin-bottom: 34px;
}

.legal-hero h1 {
  color: var(--navy);
  font-size: 34px;
  margin-bottom: 12px;
}

.legal-hero p {
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  margin-bottom: 22px;
  box-shadow: 0 12px 28px rgba(6, 36, 92, 0.08);
}

.legal-card h2 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 18px;
}

.legal-card h3 {
  color: var(--blue);
  font-size: 17px;
  margin-top: 22px;
  margin-bottom: 8px;
}

.legal-card p,
.legal-card li {
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.legal-card ul {
  padding-left: 20px;
  margin: 10px 0 0;
}

.legal-card a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.legal-card a:hover {
  text-decoration: underline;
}

.footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 700;
}

.footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .legal-page {
    padding: 28px 14px 60px;
  }

  .legal-hero h1 {
    font-size: 28px;
  }

  .legal-card {
    padding: 22px;
    border-radius: 18px;
  }
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--blue);
}

.footer-links span {
  color: #cbd5e1;
}

.footer-prixreel .footer-links {
  margin-top: 10px;
}

.footer-prixreel .footer-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 13px;
}

.footer-prixreel .footer-links span {
  color: rgba(255,255,255,0.6);
}

/* =====================================================
   Page mentions légales mobile
===================================================== */

.legal-app {
  min-height: 100vh;
}

.legal-brand {
  margin-bottom: 28px;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-bottom: 40px;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(6, 36, 92, 0.07);
}

.legal-card h2 {
  color: var(--navy);
  font-size: 22px;
  margin-bottom: 14px;
}

.legal-card h3 {
  color: var(--blue);
  font-size: 16px;
  margin-top: 18px;
  margin-bottom: 8px;
}

.legal-card p,
.legal-card li {
  color: #475569;
  font-size: 14px;
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 20px;
}

.legal-card a {
  color: var(--blue);
  font-weight: 700;
}

.legal-content {
  padding-bottom: 90px;
}
.topbar .back {
  text-decoration: none;
}

.legal-update {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
  display: block;
}



