/* Reset CSS */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Design tokens */
:root {
  /* Colors */
  --primary-main: #FF8B2C;
  --primary-dark: #D96D15;
  --primary-light: #FFF2E5;
  --primary-shadow: rgba(255, 139, 44, 0.4);
  --secondary-main: #129476;
  --secondary-dark: #0B5C49;
  --secondary-light: #E2F4F0;
  --bg-app: #FFFDF7;
  --bg-card: #FFFFFF;
  --bg-input: #F0EEE9;
  --border-light: #F7F5F0;
  --text-main: #0D0805;
  --text-body: #5A5652;
  --text-placeholder: #A39F9B;
  --white: #FFFFFF;
  --footer-bg: #1A140E;

  /* Spacing */
  --space-xs: 4px;
  --space-s: 8px;
  --space-m: 16px;
  --space-l: 24px;
  --space-xl: 32px;

  /* Border radius */
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --radius-full: 999px;

  /* Typography */
  --font-family: 'Nunito', system-ui, -apple-system, sans-serif;
}

/* Base styles */
body {
  font-family: var(--font-family);
  background: var(--bg-app);
  color: var(--text-main);
  line-height: 1.5;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

/* =========================
   NavBar Styles
   ========================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-app);
  height: 88px;
}

.navbar--scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.navbar__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding-left: 80px;
  padding-right: 80px;
}

.navbar__logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: var(--space-l);
}

.navbar__logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.navbar__logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar__logo-text {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
}

.navbar__nav {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: center;
}

.navbar__nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar__nav a:hover {
  color: var(--text-main);
}

.navbar__cta {
  display: flex;
  align-items: center;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
}

.navbar--menu-open .navbar__nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 88px;
  left: 0;
  right: 0;
  background: var(--bg-app);
  padding: 24px;
  gap: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* =========================
   Button Styles
   ========================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 14px;
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary-main);
  color: white;
  box-shadow: 0 4px 12px var(--primary-shadow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--primary-shadow);
}

.btn--secondary {
  background: var(--secondary-light);
  color: var(--secondary-dark);
  border: 1px solid var(--secondary-main);
}

.btn--secondary:hover {
  background: var(--secondary-main);
  color: white;
}

.btn--lg {
  padding: 14px 24px;
  font-size: 16px;
}

.btn--store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-main);
  color: white;
  border-radius: var(--radius-full);
  padding: 14px 22px;
  text-decoration: none;
  white-space: nowrap;
}

.btn--store span {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.btn--store small {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.8;
}

.btn--store strong {
  font-size: 15px;
  font-weight: 800;
}

.btn .material-symbols-rounded {
  font-size: 20px;
  font-variation-settings: 'FILL' 1;
}

.btn--store i {
  font-size: 24px;
}

/* =========================
   Badge Styles
   ========================= */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.badge--primary {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.badge--white {
  background: var(--white);
  color: var(--text-main);
}

.badge--white-glass {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.badge--secondary-light {
  background: var(--secondary-light);
  color: var(--secondary-dark);
}

.badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-main);
  display: inline-block;
}

.badge .material-symbols-rounded {
  font-size: 16px;
}

/* =========================
   Hero Section
   ========================= */

#hero {
  padding: 40px 80px 80px 80px;
}

.hero__container {
  display: flex;
  flex-direction: row;
  gap: 64px;
  align-items: flex-start;
  max-width: 100%;
  padding: 0 80px;
}

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero__content .badge {
  align-self: flex-start;
  animation: hero-enter 0.6s ease both;
}

#hero h1 {
  font-size: 64px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.05;
  margin: 0;
  animation: hero-enter 0.6s 0.15s ease both;
}

.hero__subtitle {
  font-size: 19px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
  animation: hero-enter 0.6s 0.3s ease both;
}

.hero__cta-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-top: 8px;
  animation: hero-enter 0.6s 0.45s ease both;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.hero__avatars {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: white;
  margin-left: -12px;
  border: 2px solid var(--bg-app);
}

.avatar:first-child {
  margin-left: 0;
}

.avatar--primary {
  background: var(--primary-main);
}

.avatar--secondary {
  background: var(--secondary-main);
}

.hero__stars {
  display: flex;
  gap: 4px;
  color: var(--primary-main);
}

.hero__stars .material-symbols-rounded {
  font-size: 16px;
  font-variation-settings: 'FILL' 1;
}

.hero__rating {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.hero__proof-text {
  font-size: 14px;
  color: var(--text-body);
}

.hero__illustration {
  flex: 1;
  position: relative;
  width: 520px;
  height: 560px;
  animation: hero-enter 0.7s 0.2s ease both;
}

.hero__circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.hero__circle img {
  width: 380px;
  height: 380px;
  border-radius: 50%;
  object-fit: contain;
}

.hero__ellipse-pulse {
  animation: pulse 3s ease-in-out infinite alternate;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 60px rgba(255, 139, 44, 0.2);
  z-index: 5;
}

.hero__ellipse-float-1 {
  animation: float-1 4s ease-in-out infinite alternate;
  will-change: transform;
  position: absolute;
  top: -10px;
  left: -10px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--secondary-light);
  box-shadow: 0 8px 32px rgba(18, 148, 118, 0.18);
  z-index: 8;
}

.hero__ellipse-float-2 {
  animation: float-2 5s ease-in-out infinite alternate;
  will-change: transform;
  position: absolute;
  top: 430px;
  left: 440px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  z-index: 8;
}

.hero__float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border-radius: var(--radius-m);
  padding: 12px 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  z-index: 15;
  font-size: 13px;
}

.hero__float-card--task {
  top: 380px;
  left: 0;
  animation: card-float-a 5s 0.8s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__float-card--payment {
  top: 80px;
  left: 340px;
  animation: card-float-b 6s 0.3s ease-in-out infinite alternate;
  will-change: transform;
}

.hero__float-card .material-symbols-rounded {
  font-size: 20px;
  color: var(--secondary-main);
  font-variation-settings: 'FILL' 1;
}

.hero__float-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.hero__float-card-subtitle {
  font-size: 12px;
  color: var(--text-body);
}

.hero__float-card--payment .hero__float-card-subtitle {
  color: var(--secondary-dark);
  font-weight: 700;
}

/* =========================
   Section Common Styles
   ========================= */

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.section-header h2 {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-body);
  margin: 0;
  max-width: 620px;
  line-height: 1.6;
}

/* =========================
   Fonctionnalites Section
   ========================= */

#fonctionnalites {
  background: var(--primary-light);
  padding: 96px 80px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-l);
  padding: var(--space-l);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card__icon .material-symbols-rounded {
  font-size: 28px;
  font-variation-settings: 'FILL' 1;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.feature-card p {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

/* =========================
   Comment Ca Marche Section
   ========================= */

#comment-ca-marche {
  background: var(--bg-app);
  padding: 96px 80px;
}

.steps-row {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-top: 56px;
  align-items: flex-start;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.step__circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.step__circle img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.step h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  line-height: 1.3;
}

.step p {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

/* =========================
   App Screens Section
   ========================= */

#app-screens {
  background: var(--secondary-light);
  padding: 96px 80px;
}

.phones-row {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-end;
  justify-content: center;
  margin-top: 64px;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: var(--footer-bg);
  border-radius: 40px;
  padding: 8px;
  flex-shrink: 0;
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

/* =========================
   Temoignages Section
   ========================= */

#temoignages {
  background: var(--bg-app);
  padding: 96px 80px;
}

.testimonials-row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 0 40px;
  margin-top: 56px;
}

.testimonial-card {
  flex: 1;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonial__stars {
  display: flex;
  gap: 4px;
  color: var(--primary-main);
}

.testimonial__stars .material-symbols-rounded {
  font-size: 14px;
  font-variation-settings: 'FILL' 1;
}

.testimonial-card blockquote {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
  line-height: 1.6;
}

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

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.testimonial__avatar--primary {
  background: var(--primary-main);
}

.testimonial__avatar--secondary {
  background: var(--secondary-main);
}

.testimonial__avatar--dark {
  background: var(--primary-dark);
}

.testimonial__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.testimonial__role {
  font-size: 13px;
  color: var(--text-body);
}

/* =========================
   Final CTA Section
   ========================= */

#final-cta {
  background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
  padding: 80px;
  display: flex;
  gap: 64px;
  justify-content: center;
  align-items: center;
}

.final-cta__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.final-cta__content .badge {
  align-self: flex-start;
}

#final-cta h2 {
  color: white;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

#final-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
  line-height: 1.6;
}

.final-cta__buttons {
  display: flex;
  gap: 16px;
}

.final-cta__trust {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
}

.final-cta__trust .material-symbols-rounded {
  font-size: 18px;
}

.final-cta__visual {
  position: relative;
  width: 420px;
  height: 420px;
  flex-shrink: 0;
}

.final-cta__deco-1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  top: 10px;
  left: 10px;
  z-index: 1;
}

.final-cta__deco-2 {
  position: absolute;
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  bottom: 20px;
  right: 20px;
  z-index: 1;
}

.final-cta__img-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  background: white;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.final-cta__img-circle img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  border-radius: 50%;
}

/* =========================
   Footer Styles
   ========================= */

.footer {
  background: var(--footer-bg);
  color: white;
  padding: 64px 0 32px;
}

.footer .container {
  padding: 0 80px;
}

.footer__main {
  display: flex;
  gap: 80px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer__brand {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: white;
}

.footer__logo-icon {
  font-size: 28px;
}

.footer__brand p {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.67);
  margin: 0;
  line-height: 1.6;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.15);
}

.footer__social i {
  font-size: 18px;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__col h4 {
  color: white;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.67);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__col a:hover {
  color: white;
}

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 40px 0;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom small {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.53);
  margin: 0;
}

.footer__lang {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.footer__lang .material-symbols-rounded {
  font-size: 16px;
}

/* =========================
   Animations
   ========================= */

@keyframes pulse {
  from {
    transform: translate(-50%, -50%) scale(0.96);
    box-shadow: 0 0 40px rgba(255, 139, 44, 0.15);
  }
  to {
    transform: translate(-50%, -50%) scale(1.04);
    box-shadow: 0 0 100px rgba(255, 139, 44, 0.45);
  }
}

@keyframes float-1 {
  from { transform: translateY(-12px); }
  to   { transform: translateY(12px); }
}

@keyframes float-2 {
  from { transform: translateY(-8px); }
  to   { transform: translateY(8px); }
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-float-a {
  from { transform: translateY(-10px) rotate(-1.5deg); }
  to   { transform: translateY(10px)  rotate(1.5deg); }
}

@keyframes card-float-b {
  from { transform: translateY(-7px) rotate(1deg); }
  to   { transform: translateY(7px)  rotate(-1deg); }
}

/* =========================
   Legal Pages — common styles
   ========================= */

.legal-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 80px 80px 64px 80px;
}

.legal-header--primary {
  background: var(--primary-light);
}

.legal-header--secondary {
  background: var(--secondary-light);
}

.legal-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.legal-breadcrumb__home {
  color: var(--primary-dark);
  text-decoration: none;
}

.legal-breadcrumb__sep {
  color: var(--text-placeholder);
  width: 14px;
  height: 14px;
}

.legal-breadcrumb__current {
  color: var(--text-body);
  font-weight: 800;
}

.legal-header__icon {
  width: 72px;
  height: 72px;
  background: var(--white);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-header h1 {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.legal-header__subtitle {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-body);
  max-width: 620px;
  margin: 0;
}

.legal-header__date {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-placeholder);
  margin: 0;
}

.legal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 80px 96px 80px;
}

.legal-content--mentions {
  gap: 40px;
  --legal-card-width: 800px;
}

.legal-content--confidentialite {
  gap: 32px;
  --legal-card-width: 840px;
}

.legal-card {
  width: var(--legal-card-width, 800px);
  max-width: 100%;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.legal-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.legal-card__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-card__badge--number {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-dark);
}

.legal-card__badge--icon-primary {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 14px;
}

.legal-card__badge--icon-secondary {
  width: 44px;
  height: 44px;
  background: var(--secondary-light);
  border-radius: 14px;
}

.legal-card__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
}

.legal-card__text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
  line-height: 1.6;
  margin: 0;
}

.legal-table {
  background: var(--bg-input);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-table__row {
  display: flex;
  gap: 8px;
  align-items: baseline;
}

.legal-table__label {
  width: 180px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

.legal-table__value {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
}

.legal-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.legal-list__item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}

.legal-list__bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  flex-shrink: 0;
}

.legal-list__bullet--primary {
  background: var(--primary-main);
}

.legal-list__bullet--secondary {
  background: var(--secondary-main);
}

.legal-contact-card {
  border-radius: 24px;
  color: var(--white);
  width: var(--legal-card-width, 800px);
  max-width: 100%;
  align-self: center;
}

.legal-contact-card--primary {
  background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-contact-card--secondary {
  background: linear-gradient(135deg, var(--secondary-main), var(--secondary-dark));
  padding: 28px 36px;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.legal-contact-card__icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.legal-contact-card__title {
  font-weight: 800;
  color: var(--white);
  margin: 0;
}

.legal-contact-card__text {
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  margin: 0;
}

.legal-contact-card__action {
  background: var(--white);
  color: var(--secondary-dark);
  border: none;
  cursor: pointer;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 800;
  text-decoration: none;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  display: inline-flex;
}

.legal-contact-card__action i {
  color: inherit;
}

.legal-summary {
  background: var(--secondary-light);
  border-radius: 24px;
  padding: 28px 36px;
  width: var(--legal-card-width, 840px);
  max-width: 100%;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.legal-summary__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--secondary-dark);
}

.legal-summary__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

/* =========================
   Post-review correctifs (C3, C5)
   ========================= */

.legal-contact-card__title--lg {
  font-size: 24px;
}

.legal-contact-card__title--sm {
  font-size: 18px;
}

.legal-header__subtitle--wide {
  max-width: 640px;
}

.legal-contact-card__body {
  flex: 1;
}

.legal-icon--sm {
  width: 18px;
  height: 18px;
  color: var(--secondary-main);
}

.legal-icon--md {
  width: 22px;
  height: 22px;
}

.legal-icon--lg {
  width: 28px;
  height: 28px;
  color: white;
}

.legal-icon--xl {
  width: 32px;
  height: 32px;
  color: white;
}

.legal-icon--primary {
  color: var(--primary-main);
}

.legal-icon--secondary {
  color: var(--secondary-main);
}

.legal-icon--header {
  width: 36px;
  height: 36px;
  color: var(--secondary-main);
}

/* =========================
   Responsive Mobile (≤768px)
   ========================= */

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Navbar */
  .navbar__container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .navbar__nav {
    display: none;
  }

  .navbar__cta {
    display: none;
  }

  .navbar__hamburger {
    display: flex;
  }

  .navbar--menu-open .navbar__nav {
    display: flex;
  }

  /* Hero */
  #hero {
    padding: 40px 0 60px;
  }

  #hero .container {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  #hero h1 {
    font-size: 36px;
  }

  .hero__cta-row {
    flex-direction: column;
  }

  .hero__illustration {
    flex: none;
    width: 280px;
    height: 280px;
    align-self: center;
    overflow: hidden;
  }

  .hero__circle {
    width: 200px;
    height: 200px;
  }

  .hero__circle img {
    width: 170px;
    height: 170px;
  }

  .hero__ellipse-pulse {
    width: 240px;
    height: 240px;
  }

  .hero__ellipse-float-1 {
    width: 60px;
    height: 60px;
    top: 5px;
    left: 5px;
  }

  .hero__ellipse-float-2 {
    width: 50px;
    height: 50px;
    top: 210px;
    left: 210px;
  }

  .hero__float-card {
    display: none;
  }

  /* Sections — remove the desktop 80px horizontal padding */
  #fonctionnalites {
    padding: 64px 0;
  }

  #comment-ca-marche {
    padding: 64px 0;
  }

  #app-screens {
    padding: 64px 0;
  }

  #temoignages {
    padding: 64px 0;
  }

  #final-cta {
    padding: 60px 20px;
    flex-direction: column;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps-row {
    flex-direction: column;
    align-items: center;
  }

  /* App screens — scrollable strip, phones scaled down */
  /* Bleed-out pattern: break out of container padding, add own padding */
  .phones-row {
    justify-content: flex-start;
    margin-left: -20px;
    margin-right: -20px;
    width: calc(100% + 40px);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 16px;
    gap: 20px;
  }

  .phone-frame {
    width: 200px;
    height: 420px;
    border-radius: 28px;
    scroll-snap-align: start;
  }

  .phone-frame img {
    border-radius: 22px;
  }

  /* Testimonials */
  .testimonials-row {
    flex-direction: column;
  }

  /* Final CTA */
  #final-cta h2 {
    font-size: 36px;
  }

  .final-cta__buttons {
    flex-direction: column;
  }

  .final-cta__visual {
    display: none;
  }

  /* Footer */
  .footer .container {
    padding: 0 20px;
  }

  .footer__brand {
    width: 100%;
  }

  .footer__main {
    flex-direction: column;
    gap: 32px;
  }

  #fonctionnalites h2,
  #comment-ca-marche h2,
  #app-screens h2,
  #temoignages h2 {
    font-size: 32px;
  }

  /* Legal Pages — Responsive */
  .legal-header {
    padding: 40px 24px 32px 24px;
    gap: 16px;
  }

  .legal-header h1 {
    font-size: 32px;
  }

  .legal-header__subtitle {
    font-size: 15px;
    max-width: 100%;
  }

  .legal-header__icon {
    width: 60px;
    height: 60px;
  }

  .legal-content {
    padding: 24px 16px 48px 16px;
  }

  .legal-content--mentions {
    gap: 16px;
  }

  .legal-content--confidentialite {
    gap: 16px;
  }

  .legal-card {
    width: 100%;
    padding: 20px 16px;
  }

  .legal-summary {
    width: 100%;
    padding: 20px 16px;
  }

  .legal-contact-card {
    width: 100%;
    padding: 24px 20px;
  }

  .legal-contact-card--secondary {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-contact-card__action {
    width: 100%;
    justify-content: center;
  }

  .legal-table__row {
    flex-direction: column;
    gap: 2px;
  }

  .legal-table__label {
    width: 100%;
  }

  .legal-table__value {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1279px) {
  .legal-header {
    padding: 60px 32px 48px 32px;
  }

  .legal-content {
    padding: 60px 32px 72px 32px;
  }

  .legal-card {
    width: 100%;
  }

  .legal-summary {
    width: 100%;
  }

  .legal-contact-card {
    width: 100%;
  }
}

/* =========================
   Contact Form
   ========================= */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-radius: 24px;
  padding: 36px 40px;
  width: var(--legal-card-width, 800px);
  max-width: 100%;
  align-self: center;
  color: white;
}

.contact-form--primary {
  background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
}

.contact-form--secondary {
  background: linear-gradient(135deg, var(--secondary-main), var(--secondary-dark));
}

.contact-form__header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
}

.contact-form__icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: white;
}

.contact-form__icon-wrap [data-lucide] {
  width: 24px;
  height: 24px;
}

.contact-form__header-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-form__title {
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin: 0;
}

.contact-form__subtitle {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form__label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form__input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 14px 18px;
}

.contact-form__field-icon {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.67);
  flex-shrink: 0;
}

.contact-form__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.contact-form__input::placeholder {
  color: rgba(255, 255, 255, 0.67);
}

.contact-form__textarea {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  outline: none;
  border-radius: 14px;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: white;
  min-height: 110px;
  resize: vertical;
  width: 100%;
  box-sizing: border-box;
}

.contact-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.67);
}

.contact-form__footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  padding-top: 6px;
}

.contact-form__legal {
  flex: 1;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.67);
  margin: 0;
}

.contact-form__legal-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: none;
  border-radius: 999px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.contact-form__submit [data-lucide] {
  width: 16px;
  height: 16px;
}

.contact-form__submit--primary {
  color: var(--primary-dark);
}

.contact-form__submit--secondary {
  color: var(--secondary-dark);
}

.contact-form__status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
}

.contact-form__status [data-lucide] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-form__status--success {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.contact-form__status--error {
  background: rgba(255, 100, 100, 0.22);
  color: white;
}

@media (max-width: 768px) {
  .contact-form {
    width: 100%;
    padding: 24px 20px;
  }

  .contact-form__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form__submit {
    width: 100%;
    justify-content: center;
  }
}
