/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;

  background:
    radial-gradient(circle at top left, rgba(228, 106, 45, 0.24), transparent 32%),
    radial-gradient(circle at center right, rgba(128, 54, 118, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #fff7f2 52%, #f7eef8 100%);

  color: #2b2230;
  line-height: 1.6;
  min-height: 100vh;
}

/* =========================
   VARIABLES
========================= */

:root {
  --bg: #fff7f2;
  --card: rgba(255, 255, 255, 0.92);
  --card-border: rgba(228, 106, 45, 0.18);
  --text: #2b2230;
  --muted: #6f6475;
  --primary: #e46a2d;
  --primary-dark: #c96432;
  --purple: #803676;
  --purple-soft: #a77ac8;
  --orange-light: #f5b08a;
  --shadow: 0 22px 60px rgba(43, 34, 48, 0.12);
  --radius: 28px;
  --max: 1180px;
}

/* =========================
   GLOBAL
========================= */

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

section {
  padding: 80px 0;
}

/* =========================
   HEADER
========================= */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(228, 106, 45, 0.12);
}

.nav {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* =========================
   LOGO
========================= */

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  height: 180px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* =========================
   NAVIGATION
========================= */

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
  flex-wrap: wrap;
}

.nav-links a {
  transition: 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

/* =========================
   HERO
========================= */

.hero {
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(228, 106, 45, 0.12);
  border: 1px solid rgba(228, 106, 45, 0.3);
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #e46a2d, #c96432);
  color: white;
  box-shadow: 0 12px 30px rgba(228, 106, 45, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #c96432, #a94f25);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(228, 106, 45, 0.22);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: rgba(228, 106, 45, 0.42);
}

/* =========================
   HERO CARD
========================= */

.hero-card {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 247, 242, 0.86)
    );
  border: 1px solid var(--card-border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin-bottom: 20px;
}

.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(228, 106, 45, 0.16);
}

.metric:last-child {
  border-bottom: none;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(228, 106, 45, 0.12);
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
}

/* =========================
   TITLES
========================= */

.section-title {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  margin-bottom: 14px;
}

.section-title p {
  color: var(--muted);
  font-size: 1.05rem;
}

/* =========================
   FEATURES
========================= */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 40px rgba(43, 34, 48, 0.06);
}

.feature h3 {
  margin: 18px 0 10px;
}

.feature p {
  color: var(--muted);
}

/* =========================
   PRICING
========================= */

.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 40px rgba(43, 34, 48, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.price-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(228, 106, 45, 0.4);
}

/* Carte du milieu */
.price-card.highlight {
  border-color: rgba(128, 54, 118, 0.5);
  box-shadow:
    0 0 0 1px rgba(128, 54, 118, 0.18),
    var(--shadow);
}

.price-card.highlight h3,
.price-card.highlight .price-label,
.price-card.highlight .check {
  color: var(--purple);
}

.price-card.highlight .price {
  color: var(--text);
}

.price-card.highlight:hover {
  border-color: rgba(128, 54, 118, 0.7);
}

.price-label {
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.price-card h3 {
  margin-bottom: 8px;
}

.price {
  font-size: 2rem;
  font-weight: 900;
  line-height: 0.9;
  margin-top: 0;
  margin-bottom: 6px;
}

.price-from {
  display: block;
  font-size: 0.45em;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: -8px;
}

.monthly {
  color: var(--muted);
  margin-bottom: 22px;
}

/* =========================
   EXEMPLES APPLICATIONS
========================= */

.offer-example-title {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 18px;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.price-card li strong {
  color: var(--text);
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.price-card li span:last-child {
  color: var(--muted);
  line-height: 1.6;
}

.check {
  color: var(--primary);
  font-weight: 900;
  font-size: 1.2rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* =========================
   CTA
========================= */

.glide-cta {
  background:
    linear-gradient(
      135deg,
      rgba(228, 106, 45, 0.14),
      rgba(128, 54, 118, 0.10)
    );
  border: 1px solid rgba(228, 106, 45, 0.22);
  border-radius: 32px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow);
}

.glide-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.glide-cta p {
  color: var(--muted);
  max-width: 720px;
}

/* =========================
   FOOTER
========================= */

.footer {
  margin-top: 80px;
  border-top: 1px solid rgba(228, 106, 45, 0.14);
  background: rgba(255, 255, 255, 0.72);
  padding: 34px 0;
  color: var(--muted);
}

.footer-content {
  text-align: center;
}

.footer-content p {
  margin: 6px 0;
}

.footer-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* =========================
   PAGES LÉGALES
========================= */

.legal-page {
  max-width: 950px;
  margin: 80px auto;
  padding: 50px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(228, 106, 45, 0.14);
  border-radius: 32px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(43, 34, 48, 0.08);
  line-height: 1.8;
  color: var(--text);
}

.legal-page h1 {
  margin-bottom: 36px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--text);
}

.legal-page h2 {
  margin-top: 36px;
  margin-bottom: 14px;
  font-size: 1.6rem;
  color: var(--primary);
}

.legal-page p,
.legal-page li {
  margin-top: 10px;
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-page strong {
  color: var(--text);
}

.legal-page ul {
  padding-left: 22px;
  margin-top: 12px;
}

/* =========================
   QUI SOMMES-NOUS
========================= */

.about-card {
  padding: 50px;
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 260px;
  height: 260px;

  object-fit: cover;

  border-radius: 50%;

  border: 5px solid #fff;

  box-shadow:
    0 0 0 3px rgba(228, 106, 45, 0.2),
    0 15px 35px rgba(43, 34, 48, 0.15);

  transition: transform 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.03);
}

.about-text h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 980px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .nav {
    min-height: auto;
    padding: 16px 0;
    flex-direction: column;
    gap: 16px;
  }

  .logo img {
    height: 90px;
  }

  .nav-links {
    justify-content: center;
    gap: 14px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 60px;
  }

  .hero-grid,
  .features,
  .pricing,
  .glide-cta {
    grid-template-columns: 1fr;
  }

  /* SECTION QUI SOMMES-NOUS */
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-image img {
    width: 180px;
    height: 180px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-card,
  .price-card,
  .feature,
  .glide-cta {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 56px 0;
  }

  .logo img {
    height: 72px;
  }

  .nav-links {
    font-size: 0.85rem;
    gap: 10px;
  }

  h1 {
    font-size: 2.35rem;
    letter-spacing: -0.04em;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero p,
  .section-title p,
  .glide-cta p {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .glide-cta {
    text-align: left;
  }

  .price {
    font-size: 1.7rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .legal-page {
    margin: 40px 16px;
    padding: 28px;
    border-radius: 24px;
  }

  .legal-page h1 {
    font-size: 2.2rem;
  }

  .legal-page h2 {
    font-size: 1.3rem;
  }

  /* QUI SOMMES-NOUS */

  .about-card {
    padding: 24px;
  }

  .about-image img {
    width: 150px;
    height: 150px;
  }

  .about-text h2 {
    font-size: 1.8rem;
    line-height: 1.2;
    text-align: center;
  }

  .about-text p {
    text-align: left;
    font-size: 1rem;
  }
}