/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --coral: #E8646A;
  --coral-light: #f28a8f;
  --coral-dark: #d14a50;
  --dark: #1A1A1A;
  --gray-900: #2d2d2d;
  --gray-700: #555;
  --gray-400: #999;
  --gray-200: #e8e8e8;
  --gray-100: #f5f5f5;
  --white: #ffffff;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1140px;
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > section:last-of-type {
  flex: 1;
}

a {
  color: var(--coral);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--coral-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}

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

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
}

.navbar-brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar-links a {
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--coral);
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  position: relative;
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--font);
}

.lang-switcher-btn:hover {
  border-color: var(--coral);
  color: var(--coral);
}

.lang-switcher-btn .chevron {
  transition: transform 0.2s;
}

.lang-switcher.open .lang-switcher-btn .chevron {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  padding: 6px;
  display: none;
  z-index: 1000;
  min-width: 100px;
}

.lang-switcher.open .lang-dropdown {
  display: block;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 8px 14px;
  background: none;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  text-align: left;
  font-family: var(--font);
  transition: background 0.15s, color 0.15s;
}

.lang-option:hover {
  background: var(--gray-50);
  color: var(--coral);
}

.lang-option.active {
  color: var(--coral);
  font-weight: 700;
}

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(160deg, var(--white) 50%, var(--gray-100) 100%);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 500px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 100, 106, 0.1);
  color: var(--coral);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 span {
  color: var(--coral);
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 32px;
  line-height: 1.7;
}

.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.store-badge {
  height: 48px;
  transition: transform 0.2s, opacity 0.2s;
  border-radius: 8px;
}

.store-badge:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-phone {
  position: relative;
  z-index: 2;
}

.hero-phone img {
  width: 300px;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 10px 20px rgba(0, 0, 0, 0.06);
}

.hero-blob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 100, 106, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

/* ===== SECTION COMMON ===== */
section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-header p {
  color: var(--gray-700);
  font-size: 1.05rem;
}

/* ===== FEATURES ===== */
.features {
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: rgba(232, 100, 106, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== SCREENSHOTS ===== */
.screenshots {
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}

.screenshots .section-header p {
  color: var(--gray-400);
}

.screenshots-carousel {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 0 20px;
}

.screenshot-item {
  flex: 0 0 auto;
  width: 240px;
  transition: transform 0.3s;
}

.screenshot-item:hover {
  transform: scale(1.03);
}

.screenshot-item img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--gray-100);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  counter-reset: step;
}

.step {
  text-align: center;
  counter-increment: step;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--coral);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step p {
  color: var(--gray-700);
  font-size: 0.95rem;
}

/* ===== PREMIUM ===== */
.premium {
  padding: 100px 0;
  background: var(--gray-50);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.premium-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  border: 2px solid var(--gray-200);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-card--plus:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(232, 100, 106, 0.2);
}

.premium-card--plus {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(232, 100, 106, 0.15);
}

.premium-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  white-space: nowrap;
}

.premium-card-header {
  margin-bottom: 28px;
}

.premium-card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.premium-price {
  font-size: 1.1rem;
  color: var(--gray-500);
  font-weight: 500;
}

.premium-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.premium-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.premium-plans {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--gray-400);
}

@media (max-width: 600px) {
  .premium-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-banner .store-badges {
  justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.footer-brand span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer ul a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* ===== CGU PAGE ===== */
.page-header {
  padding: 120px 0 40px;
  background: var(--gray-100);
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 800;
}

.page-content {
  padding: 60px 0 100px;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 12px;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content p, .page-content ul {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.page-content ul {
  padding-left: 24px;
}

.page-content ul li {
  margin-bottom: 6px;
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 140px 0 100px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.contact-detail svg {
  flex-shrink: 0;
  color: var(--coral);
}

.contact-form {
  background: var(--gray-100);
  padding: 40px;
  border-radius: var(--radius);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: var(--font);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--coral);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--coral);
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  font-family: var(--font);
}

.btn:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  color: var(--coral);
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-700);
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.form-error p {
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .store-badges {
    justify-content: center;
  }

  .hero-phone img {
    width: 240px;
  }

  .hero-blob {
    width: 300px;
    height: 300px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 110px 0 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

  .screenshots-carousel {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }

  .screenshot-item {
    width: 200px;
    scroll-snap-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .navbar-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    gap: 16px;
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-toggle {
    display: block;
  }

  .contact-form {
    padding: 24px;
  }

  section {
    padding: 72px 0;
  }

  .lang-switcher {
    align-self: flex-start;
  }

  .lang-dropdown {
    left: 0;
    right: auto;
  }
}
