/* ezzawaj — Landing styles
 * Design system : paper #FFFFFF · ink #0A0A0F · accent #C41E52 · Inter font
 */

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

:root {
  --paper: #FFFFFF;
  --surface: #FAFAF8;
  --surface2: #F4F3F0;
  --cream: #F8F4F0;
  --cream-deep: #EFE9E2;
  --ink: #0A0A0F;
  --body: #52525B;
  --mute: #9A9AA3;
  --hair: rgba(10, 10, 15, 0.07);
  --hair-strong: rgba(10, 10, 15, 0.12);
  --accent: #C41E52;
  --accent-soft: #FCE7EE;
  --accent-deep: #9E1641;
  --ok: #1F8A5B;
  --radius-pill: 999px;
  --radius-card: 18px;
  --radius-block: 14px;
  --shadow-soft: 0 1px 3px rgba(10, 10, 15, 0.04), 0 8px 24px rgba(10, 10, 15, 0.06);
  --shadow-mockup: 0 20px 60px rgba(10, 10, 15, 0.08), 0 2px 8px rgba(10, 10, 15, 0.04);
  --shadow-btn: 0 4px 14px rgba(10, 10, 15, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* === Container === */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--hair);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
}
.brand__logo { width: 28px; height: 28px; }
.brand__name {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.4px;
  color: var(--accent);
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
  transition: color 0.15s;
}
.nav__link:hover { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 18px; }
.header__login {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--body);
}
.header__login:hover { color: var(--ink); }
.header__cta {
  background: var(--ink);
  color: var(--paper);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 600;
  transition: background 0.15s, transform 0.1s;
}
.header__cta:hover { background: #1a1a25; transform: translateY(-1px); }

/* === Hero (2 columns) === */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero__bg-hex {
  position: absolute;
  width: 220px;
  height: 220px;
  opacity: 0.06;
}
.hero__bg-hex--1 { top: 8%; right: -40px; transform: rotate(15deg); }
.hero__bg-hex--2 { top: 60%; left: 40%; transform: rotate(-22deg); }
.hero__bg-hex--3 { bottom: -80px; left: -60px; transform: rotate(8deg); }

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero__left {
  max-width: 540px;
}

.badge-news {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  padding: 6px 12px 6px 8px;
  border-radius: var(--radius-pill);
  margin-bottom: 28px;
}
.badge-news__tag {
  background: var(--accent);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}
.badge-news__text {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--accent-deep);
}

.hero h1 {
  font-size: clamp(40px, 5.5vw, 60px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.05;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero__pitch {
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--body);
  margin: 26px 0 32px;
  max-width: 480px;
}
.hero__ctas {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
}
.btn--dark {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 24px;
  box-shadow: var(--shadow-btn);
}
.btn--dark:hover { background: #1a1a25; transform: translateY(-1px); }
.btn--ghost {
  color: var(--ink);
  padding: 14px 6px;
}
.btn--ghost:hover { color: var(--accent); }
.btn__arrow { font-size: 17px; line-height: 1; }

.hero__trust {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--body);
  font-weight: 500;
}
.hero__trust-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__trust-dot::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* === Hero mockup (right) === */
.hero__right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.mockup {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--paper);
  border-radius: 22px;
  box-shadow: var(--shadow-mockup);
  padding: 22px 18px 70px;
  border: 1px solid var(--hair);
}
.mockup__title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mockup__title-dot {
  width: 18px;
  height: 18px;
  background: var(--ink);
  border-radius: 50%;
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mockup__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mockup__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
  transition: background 0.15s;
}
.mockup__row:hover { background: var(--surface); }
.mockup__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--cream));
  color: var(--accent-deep);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.3px;
}
.mockup__info { flex: 1; min-width: 0; }
.mockup__name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.2px;
}
.mockup__meta {
  font-size: 11.5px;
  color: var(--mute);
  margin-top: 1px;
}
.mockup__score {
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}
.mockup__footer {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.mockup__footer::before {
  content: '';
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

/* === Section générique === */
.section {
  padding: 100px 0;
}
.section--cream { background: var(--cream); }
.section--ink { background: var(--ink); color: var(--paper); }

.section__overline {
  display: block;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.section__title {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -1.4px;
  text-align: center;
  line-height: 1.1;
  margin-bottom: 18px;
  color: var(--ink);
}
.section--ink .section__title { color: var(--paper); }
.section__sub {
  text-align: center;
  font-size: 15.5px;
  color: var(--body);
  max-width: 560px;
  margin: 0 auto 56px;
  line-height: 1.6;
}

/* === Features (4 cards horizontales) === */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.feature:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.feature__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature__icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}
.feature h3 {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--ink);
}
.feature p {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.55;
}

/* === Steps === */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step {
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
  color: var(--ink);
}
.step p {
  font-size: 13.5px;
  color: var(--body);
  line-height: 1.55;
}

/* === Pricing === */
.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}
.pricing-toggle button {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  background: var(--surface);
  border: 1px solid transparent;
  transition: all 0.15s;
}
.pricing-toggle button.active {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--hair);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.gender-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  background: var(--surface);
  padding: 4px;
  border-radius: var(--radius-pill);
}
.gender-toggle button {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--body);
  transition: all 0.15s;
}
.gender-toggle button.active {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
}
.tier {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tier--popular {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: scale(1.02);
}
.tier__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}
.tier__name { font-size: 22px; font-weight: 700; letter-spacing: -0.6px; margin-bottom: 4px; }
.tier__tagline { font-size: 13px; color: var(--body); margin-bottom: 24px; }
.tier__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.tier__price-amount { font-size: 36px; font-weight: 700; letter-spacing: -1px; }
.tier__price-currency { font-size: 20px; font-weight: 700; }
.tier__price-unit { font-size: 13px; color: var(--mute); font-weight: 500; }
.tier__price-total { font-size: 12px; color: var(--body); margin-bottom: 24px; line-height: 1.5; }
.tier__price-saving { color: var(--ok); font-weight: 600; }
.tier__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.tier__features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}
.tier__features li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #EEFAF4 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8A5B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/12px no-repeat;
}
.tier__cta {
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
}
.tier__cta--primary { background: var(--accent); color: var(--paper); }
.tier__cta--outline { background: var(--paper); color: var(--ink); border: 1px solid var(--hair); }

/* === Témoignages === */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--radius-card);
  padding: 28px;
}
.testimonial__quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial__quote::before { content: '« '; color: var(--accent); }
.testimonial__quote::after { content: ' »'; color: var(--accent); }
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--cream));
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial__name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.testimonial__meta { font-size: 11.5px; color: var(--mute); margin-top: 1px; }

/* === FAQ === */
.faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  border: 1px solid var(--hair);
  border-radius: var(--radius-block);
  background: var(--paper);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  text-align: left;
  padding: 20px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--mute);
  transition: transform 0.2s;
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a {
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
}

/* === CTA final === */
.cta-final {
  position: relative;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
}
.cta-final__bg-hex {
  position: absolute;
  width: 280px;
  height: 280px;
  opacity: 0.06;
}
.cta-final__bg-hex--1 { top: -40px; left: -40px; transform: rotate(20deg); }
.cta-final__bg-hex--2 { bottom: -60px; right: -40px; transform: rotate(-15deg); }
.cta-final__title {
  position: relative;
  z-index: 1;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.cta-final__sub {
  position: relative;
  z-index: 1;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  margin: 0 auto 32px;
}
.cta-final .btn--dark {
  position: relative;
  z-index: 1;
  background: var(--paper);
  color: var(--ink);
}
.cta-final .btn--dark:hover { background: var(--surface); }

/* === Footer === */
.footer {
  padding: 60px 0 32px;
  background: var(--surface);
  border-top: 1px solid var(--hair);
}
.footer__cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand { max-width: 320px; }
.footer__brand p {
  font-size: 13px;
  color: var(--body);
  margin-top: 14px;
  line-height: 1.6;
}
.footer__col h5 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--body);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 13.5px;
  color: var(--ink);
  font-weight: 500;
}
.footer__col a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid var(--hair);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--mute);
}

/* === Responsive === */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero__left { margin: 0 auto; }
  .hero__pitch { margin-left: auto; margin-right: auto; }
  .hero__ctas { justify-content: center; }
  .hero__trust { justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .tier--popular { transform: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; }
  .header__login { display: none; }
  .hero { padding: 56px 0 72px; }
  .section { padding: 72px 0; }
  .features { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
}
