/* ================== Variables & reset ================== */
:root {
  --violet: #5c3d84;
  --coral: #ea5a4b;
  --bg-lilac: #f4f1f9;
  --bg-peach: #fff4f2;
  --bg-beige: #fafaf8;
  --txt: #2c2c34;
  --rule: #e8e8ed;
  --radius: 16px;
  --shadow: 0 6px 20px rgba(28, 8, 77, 0.08);
  --container: 1040px;
  --btn-h: 40px;
}

* {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  padding: 0;
}
*, *::before, *::after {
  max-width: 100%;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul {
  padding-left: 1.15rem;
  margin: 0 0 1rem;
}
h1,
h2,
h3,
h4,
h5,
p {
  margin: 0 0 16px;
}

/* ================== Typography ================== */
body {
  font-family: "Inter Tight", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--txt);
  line-height: 1.45;
}
h1 {
  font-weight: 500;
  font-size: 60px;
  line-height: 1.06;
  color: var(--violet);
}
h2 {
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  color: var(--violet);
  text-align: center;
}
h3 {
  font-weight: 500;
  font-size: 24px;
  line-height: 1.25;
  color: var(--violet);
}
h4 {
  font-weight: 400;
  font-size: 18px;
  color: var(--violet);
}
h5 {
  font-weight: 700;
  font-size: 18px;
  color: var(--txt);
}
.c-coral {
  color: var(--coral);
}
.about-quote {
  font-family: "Instrument Serif", serif;
  font-size: 24px;
  color: var(--violet);
}

/* ================== Layout ================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 88px 0 48px;
}
.rule {
  border: 0;
  border-top: 1px solid var(--rule);
  max-width: 1044px;
  margin: 60px auto 0;
}

/* ================== Header ================== */
.header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: #fff;
  border-bottom: 1px solid var(--rule);
  width: 100%;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo img {
  height: 40px;
}

/* Navigation inline (desktop) */
.nav-inline {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-inline a {
  text-decoration: none;
  color: var(--txt);
  font-weight: 400;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-inline a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--coral);
  transition: width 0.2s ease;
}
.nav-inline a:hover {
  transform: translateY(-1px);
}
.nav-inline a:hover::after {
  width: 100%;
}
.nav-inline a.is-active {
  font-weight: 600;
}
.nav-inline a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-drawer {
  display: none;
}
.nav-backdrop {
  display: none;
}

/* ================== Buttons ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 0.05s ease, box-shadow 0.15s ease;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
.btn-secondary {
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}
.btn-hug {
  width: auto;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn:active {
  transform: translateY(0);
}

/* ================== HERO ================== */
.section-hero {
  padding-top: 96px;
  background: radial-gradient(70% 80% at 60% 0%, #ffe2de 0%, rgba(255, 226, 222, 0) 60%),
    radial-gradient(65% 70% at 20% 0%, #eee8f7 0%, rgba(238, 232, 247, 0) 60%),
    #fff url("assets/hero_background.png") center/cover no-repeat;
}
.hero-inner {
  text-align: center;
}
.hero-title {
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 18px;
  margin-bottom: 24px;
}
.values {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 80px;
}
.tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f4f1f9;
  color: var(--txt);
  padding: 10px 14px;
  border-radius: 999px;
}
.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ================== OFFERS ================== */
.section-title {
  text-align: center;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.125rem;
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}
.offers {
  background: var(--bg-lilac);
  padding: 32px;
  border-radius: var(--radius);
  max-width: 100%;
  overflow: hidden;
}
.title {
  text-align: center;
}
.highlight {
  color: var(--coral);
  font-weight: 700;
}
.offer-name {
  font-weight: 700;
}
.promotion-price {
  text-decoration: line-through;
  font-weight: 300;
}

/* Offers details - Mobile first */
.offers-details {
  display: flex;
  flex-direction: column;
  margin-top: 24px;
}
.bullets-list {
  list-style: disc;
  margin: 16px 0 0;
  padding-left: 20px;
  text-align: left;
}
.bullets-list li {
  margin-bottom: 1rem;
}
.bullets-list li:last-child {
  margin-bottom: 0;
}
.guarantee:has(.bullets-list) li {
  list-style: none;
}
.bold {
  font-weight: 700;
}
.line {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--bg-beige);
  margin: 40px 0;
}
.client-side {
  font-weight: 400;
}
.guarantee {
  margin-top: 46px;
  border: 2px solid var(--violet);
  border-radius: 8px;
  padding: 16px;
}
.more-offers {
  text-align: center;
  margin: 38px auto;
}
.more-offers p:first-child {
  font-size: 18px;
  margin-bottom: 8px;
}

/* Desktop: 2 colonnes avec ligne séparatrice CENTRÉE */
@media (min-width: 64rem) {
  .offers-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
    margin-top: 44px;
    position: relative;
  }
  /* Ligne verticale centrée entre les deux colonnes */
  .offers-details::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ffffff;
    transform: translateX(-50%);
    border-radius: 2px;
  }
  .included {
    grid-column: 1;
  }
  .not-included {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .guarantee {
    margin-top: auto;
  }
  .line {
    display: none;
  }
}

/* ================== MÉTHODE ================== */
.section-methode {
  background: linear-gradient(180deg, #f4f1f9 0%, #f4f1f9 63.46%, #ffffff 100%);
}
.section-methode h2 {
  margin-bottom: 24px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.step {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--coral);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  color: var(--coral);
  margin-bottom: 16px;
}
.method-note {
  margin-top: 32px;
  text-align: center;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--txt);
}

/* ================== PREUVES ================== */
.kz-proofs {
  padding: 88px 0;
}
.kz-proofs__title {
  margin: 0 0 32px;
  text-align: center;
  font-size: clamp(28px, 2.6vw, 44px);
  line-height: 1.15;
  color: var(--violet);
}
.kz-proofs__accent {
  color: var(--coral);
}
.kz-proofs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.kz-proof {
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.kz-proof:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(17, 17, 26, 0.14);
}
.kz-proof--service {
  background: var(--bg-peach);
}
.kz-proof--obtiens {
  background: var(--bg-lilac);
}
.kz-proof--outils {
  background: #fff;
  border: 1px solid #ccc;
}
.kz-proof__header {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 12px;
}
.kz-proof__header img {
  width: 28px;
  height: 28px;
}
.kz-proof__list {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 16px;
  font-size: clamp(14px, 1.25vw, 16px);
  color: var(--txt);
}
.kz-proof__list li {
  line-height: 1.5;
}
.kz-proof__list strong {
  font-weight: 700;
}

@media (min-width: 1024px) {
  .kz-proofs__grid {
    grid-template-columns: 1.15fr 1fr;
    grid-template-rows: auto auto;
    align-items: stretch;
  }
  .kz-proof--service {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  .kz-proof--obtiens {
    grid-column: 2;
    grid-row: 1;
  }
  .kz-proof--outils {
    grid-column: 2;
    grid-row: 2;
  }
}

/* ================== À PROPOS ================== */
.section-about {
  background: linear-gradient(180deg, #f4f1f9 0%, #f4f1f9 63.46%, #ffffff 100%);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-photo {
  max-width: 400px;
  margin: 0 auto;
}
.about-photo img {
  border-radius: 48px;
}
.about-copy h2 {
  text-align: left;
}
.about-copy p {
  max-width: 740px;
}
.about-copy .about-quote {
  margin-top: 16px;
}

/* ================== FAQ ================== */
.faq {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.faq-item {
  background: var(--bg-beige);
  border-radius: 16px;
  padding: 24px;
}

/* ================== CONTACT ================== */
.section-contact {
  padding-bottom: 10px;
}
.section-contact h2 {
  margin-bottom: 8px;
}
.contact-sub {
  text-align: center;
  margin-bottom: 24px;
}
.contact-card {
  margin: 24px auto 0;
  max-width: 1044px;
  border: 1px solid #ccc;
  border-radius: 16px;
  background: #fff url("assets/contact_desktop.png") center/cover no-repeat;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 120px;
  align-items: center;
  padding: 48px 64px;
}
.contact-logo {
  height: 80px;
  flex-shrink: 0;
}
.contact-infos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.contact-infos .who {
  grid-column: 1 / -1;
  margin: 0 0 8px;
  text-align: center;
}
.contact-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-row .icon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.contact-row a {
  color: var(--txt);
  text-decoration: none;
  font-size: 18px;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.contact-row a:hover {
  color: var(--coral);
}

/* RGPD et mentions légales */
.legal-notice {
  margin-top: 3rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.rgpd-text {
  font-size: 10px;
  line-height: 1.5;
  color: #1a1a1a;
  margin-bottom: 1rem;
}
.mentions-legales {
  font-size: 10px;
  line-height: 1.5;
  color: #7c7c81;
  margin-bottom: 0;
}
.mentions-legales a {
  color: #7c7c81;
  text-decoration: underline;
}
.mentions-legales a:hover {
  color: #5a5a5e;
}

/* ================== Footer ================== */
.footer p {
  text-align: center;
}

/* ================== Responsive ================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-copy h2 {
    text-align: center;
  }
}

@media (max-width: 820px) {
  /* Header mobile */
  .nav-inline,
  .header-primary {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
    height: 40px;
  }
  .nav-toggle img {
    width: 30px;
  }
  
  /* Drawer mobile */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 80px 0 0 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
    z-index: 30;
  }
  .nav-backdrop.is-active {
    opacity: 1;
    visibility: visible;
  }
  .nav-drawer {
    display: flex;
    position: fixed;
    inset: 80px 0 0 auto;
    width: min(80vw, 340px);
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 100;
    padding: 20px 24px 24px;
    flex-direction: column;
    overflow-y: auto;
  }
  .nav-drawer.is-open {
    transform: translateX(0);
  }
  .drawer-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 16px;
    gap: 24px;
  }
  .drawer-nav a {
    color: var(--txt);
    text-decoration: none;
    font-size: 18px;
  }
  .drawer-nav .nav-title {
    color: var(--violet);
    font-weight: 700;
  }
  .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
    flex-shrink: 0;
  }
  /* body.menu-open - pas de blocage du scroll pour garder le header sticky */

  /* Typography mobile */
  h1 {
    font-size: 36px;
    line-height: 1.1;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 20px;
  }
  .hero-sub {
    font-size: 16px;
  }

  /* Layout mobile */
  .container {
    padding: 0 24px;
  }
  .section {
    padding: 60px 0 32px;
  }
  
  /* Hero mobile */
  .section-hero {
    padding-top: 60px;
    padding-bottom: 40px;
  }
  .hero-title {
    margin-bottom: 20px;
  }
  .hero-sub {
    margin-bottom: 32px;
  }
  .values {
    margin-bottom: 80px;
    gap: 8px;
  }
  .tag {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  /* CTA mobile */
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-hug {
    width: 100%;
    max-width: 100%;
  }
  
  /* Offers mobile - CORRECTION MARGES */
  .offers {
    padding: 24px;
  }
  .offers-details {
    margin-top: 24px;
  }
  .included,
  .not-included {
    padding: 0; /* Pas de padding supplémentaire */
  }

  /* Grids mobile */
  .steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step {
    padding: 24px;
  }

  /* Contact mobile - CENTRAGE DU CONTENU */
  .contact-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    background-image: url("assets/contact_mobile.png");
  }
  .contact-logo {
    height: 60px;
    margin: 0 auto 16px;
  }
  .contact-infos {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 320px;
    margin: 0 auto;
  }
  .contact-infos .who {
    margin-bottom: 20px;
    text-align: center;
  }
  .contact-group {
    gap: 16px;
  }
  .contact-row {
    justify-content: flex-start;
    text-align: left;
  }
  .contact-row a {
    font-size: 16px;
  }
  
  /* FAQ mobile */
  .faq-item {
    padding: 20px;
  }
  
  /* About mobile */
  .about-photo {
    max-width: 100%;
  }
  
  /* Footer mobile */
  .footer p {
    margin-bottom: 60px;
  }
}