:root {
  --black: #1c1b19;
  --gold: #ffb85a;
  --gold-dark: #e2a347;
}

/* corner-shape : coins « squircle » (Chrome/Edge), Safari garde l'arrondi normal */
*, ::before, ::after { box-sizing: border-box; corner-shape: squircle; }

body {
  margin: 0;
  background: #fff;
  color: #333;
  font: 300 20px/20px futura-pt, Futura, "Trebuchet MS", sans-serif;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 700; margin: 20px 0 10px; }
h1 { font-size: 38px; line-height: 44px; }
h2 { font-size: 32px; line-height: 36px; }
h3 { font-size: 24px; line-height: 30px; }
p { margin: 0 0 10px; }
sup { font-size: 75%; line-height: 0; position: relative; top: -.5em; vertical-align: baseline; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.section { padding: 60px 0; }
.band { background: var(--gold); }

.paragraph {
  max-width: 588px;
  margin: 0;
  padding-bottom: 31px;
  font-size: 24px;
  line-height: 25px;
  text-align: justify;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 20px;
  border-radius: 24px;
  background: var(--black);
  color: #fff;
  font-weight: 500;
  text-align: center;
  transition: transform .2s, background-color .2s, box-shadow .2s;
}
.btn:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-6px);
  box-shadow: 0 7px 13px #e2a3475e;
}

/* En-tête */
.navbar { position: sticky; top: 0; z-index: 999; padding: 22px 0; background: #fff; }
.header { display: flex; justify-content: space-between; align-items: center; }
.brand { display: block; transition: transform .2s; }
.brand:hover { transform: translateY(-6px); }
.brand img { display: block; }
.right-header { display: flex; align-items: center; }
.nav-menu { display: flex; }
.nav-link { padding: 20px; color: #222; }
.nav-link:hover { color: var(--gold-dark); }
.nav-link[aria-current] { color: #333; }
.menu-button { display: none; }

/* Hero */
.hero-wrap { display: flex; justify-content: space-between; align-items: center; }
.hero-text { max-width: 55%; margin-right: 20px; }
.hero-kicker { margin: 20px 0 0; color: var(--gold-dark); font-size: 27px; font-weight: 700; line-height: 36px; }
.hero-title { max-width: 590px; margin: 4px 0 10px; font-size: 50px; }
.hero-text .paragraph { margin-bottom: 60px; }
.hero-text .btn { padding: 25px 20px; margin-right: 27px; }
.hero-img { width: 40%; margin-bottom: -61px; }

.quote { margin: 20px 0 10px; text-align: center; }

/* Pour toi si */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 20px; margin-top: 27px; }

/* Services */
.services-title { margin: 20px 0 61px; font-size: 41px; text-align: center; }
.plans { display: flex; justify-content: center; align-items: stretch; gap: 50px; margin: 0 20px 50px 0; }
.plan {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 1 385px;
  min-height: 650px;
  padding: 31px 20px;
  border: 1.5px solid #000;
  border-radius: 24px;
}
.plan { position: relative; --check: var(--black); }
.plan.featured { --check: var(--gold); border: 0; background: var(--black); color: #fff; }
.plan-body { margin-bottom: 31px; }
.plan-title { display: flex; align-items: center; justify-content: center; min-height: 108px; margin: 0 0 13px; font-size: 23px; font-weight: 500; text-align: center; }
.plan-price { margin: 48px 0 29px; font-size: 0; line-height: 0; text-align: center; }
.plan-price strong { font-size: 65px; }
.plan-price span { margin-left: 10px; font-size: 24px; font-weight: 500; }
.plan-text { margin: 0; font-size: 20px; line-height: 28px; }
.plan.featured .plan-text { color: #ffffffcc; }
.plan-list { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.plan-list li { position: relative; padding-left: 32px; font-size: 18px; font-weight: 500; line-height: 26px; }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: var(--check);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.plan-badge { position: absolute; top: -14px; left: 50%; translate: -50% 0; padding: 6px 16px; border-radius: 24px; background: var(--gold); color: var(--black); font-size: 14px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.plan .btn { display: block; }
/* Toute la carte est le lien. Au survol, c'est la carte qui bouge (translate : indépendant du transform du fondu d'apparition) ; le bouton, lui, reste fixe. */
.plan { color: inherit; }
.plan .btn, .plan .btn:hover { background: var(--black); color: #fff; transform: none; box-shadow: none; }
.plan.featured .btn, .plan.featured .btn:hover { background: var(--gold); color: var(--black); }
.js .plan.rv { transition: opacity .6s ease, transform .6s ease, translate .2s, box-shadow .2s; }
.plan:hover { translate: 0 -6px; box-shadow: 0 7px 13px #e2a3475e; }
.plan:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }

/* À propos */
.about, .about-pics { display: flex; justify-content: space-between; align-items: center; }
.about-pics { align-self: flex-start; width: 100%; max-width: 612px; margin-right: 20px; }
.pics-left { width: 100%; max-width: 282px; margin-right: 23px; }
.pics-right { width: 100%; max-width: 306px; }
.pics-left img, .pics-right img { width: 100%; }
.pics-left img:first-child { margin-bottom: 27px; }
.about-text { max-width: 494px; }
.about-text h2 { margin-top: 0; }

/* Cartes services */
.cta-row { display: flex; justify-content: flex-end; margin: 0 17px 41px 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { padding: 54px 30px 56px; }
.card img { display: block; margin-bottom: 49px; }
.card .paragraph { max-width: none; letter-spacing: -.5px; text-align: left; }

/* Pied de page */
.footer { padding: 87px 0; background: var(--black); }
.footer-row { display: flex; justify-content: space-between; align-items: center; }
.footer-logo { display: block; transition: transform .2s; }
.footer-logo:hover { transform: translateY(-6px); }
.footer-right { max-width: 55%; margin-right: 20px; }
.email { margin: 20px 0 19px; color: var(--gold); font-size: 26px; }
.socials { display: flex; justify-content: flex-end; align-items: center; }
.socials a { display: block; margin: 0 10px; }
.socials img { display: block; width: 27px; height: 27px; }
.socials a:hover img { filter: brightness(50%); }

/* Apparition au défilement */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.js .rv-img { transform: scale(.9); }
.js .rv.in { opacity: 1; transform: none; }
.js .hero-text > :nth-child(2) { transition-delay: .1s; }
.js .hero-text > :nth-child(3) { transition-delay: .2s; }
.js .hero-text > :nth-child(4) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .btn, .brand, .footer-logo, .plan { transition: none !important; }
}

@media (max-width: 991px) {
  .btn { font-size: 18px; }
  .hero-wrap { flex-direction: column; }
  .hero-text { max-width: 754px; margin: 0 0 30px; }
  .hero-title { max-width: 764px; margin-bottom: 30px; }
  .hero-img { max-width: 550px; margin-bottom: -60px; }
  .about { flex-direction: column-reverse; }
  .about-pics { max-width: 588px; margin: 0; justify-content: flex-start; align-items: stretch; }
  .about-text { max-width: 754px; margin-bottom: 30px; }
  .cta-row { margin-bottom: 30px; }
  .cards { gap: 15px; }
  .card { display: flex; flex-direction: column; align-items: flex-start; }
  .plan { min-height: 600px; padding: 20px; }
  .plan-price { margin: 59px 0 27px; }
  .plan-price strong { font-size: 55px; }
  .plan-title { font-size: 20px; line-height: 30px; }
  .plan-text { font-size: 17px; line-height: 24px; }
  .plan-list li { font-size: 16px; line-height: 24px; }
  .plan-title { min-height: 90px; }

  .header .btn { position: relative; z-index: 2; margin-left: 18px; }
  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 76px;
    height: 86px;
    padding: 30px 18px;
    border: 0;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-button:focus:not(:focus-visible) { outline: 0; }
  /* Fermé : on tourne d'abord, puis on écarte les barres. Ouvert : l'inverse. */
  .menu-button span {
    display: block;
    width: 40px;
    height: 2px;
    background: var(--black);
    transition: rotate .3s cubic-bezier(.77, 0, .175, 1), translate .3s cubic-bezier(.77, 0, .175, 1) .3s;
  }
  .open .menu-button span {
    transition: translate .3s cubic-bezier(.77, 0, .175, 1), rotate .3s cubic-bezier(.77, 0, .175, 1) .3s;
  }
  .open .menu-button span:first-child { translate: 0 12px; rotate: 45deg; }
  .open .menu-button span:last-child { translate: 0 -12px; rotate: -45deg; }
  .nav-menu {
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .65s ease, visibility 0s .65s;
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    width: 100vw;
    margin-top: 130px;
    padding: 100px 50px 50px;
    background: var(--gold);
  }
  .nav-link { font-weight: 500; }
  .nav-link:hover { color: #fff; }
  .open .nav-menu { visibility: visible; transform: none; transition: transform .65s ease; }
  .open .menu-button { position: relative; z-index: 2; border-radius: 24px; background: var(--gold); }
}

@media (max-width: 767px) {
  .hero-title { font-size: 43px; }
  .hero-kicker { text-align: center; }
  .hero-img { width: 65%; }
  .header .btn { display: none; }
  .reasons { grid-template-columns: 1fr; gap: 0; }
  .plans { flex-direction: column; align-items: center; }
  .plan { flex: none; width: 100%; max-width: 385px; min-height: 0; } /* en colonne, le flex-basis serait une hauteur */
  .plan-title { min-height: 0; font-size: 30px; }
  .plan-text { font-size: 20px; line-height: 28px; }
  .plan-list li { font-size: 18px; line-height: 26px; }
  .cta-row { justify-content: flex-start; }
  .card { padding-left: 10px; padding-right: 10px; }
  .footer-row { flex-direction: column; }
  .footer-right { display: flex; flex-direction: column; align-items: center; max-width: none; margin-right: 0; }
  .email { margin: 0 0 6px; font-size: 20px; }
  .socials img { width: 25px; height: 25px; }
  .footer-logo img { padding-right: 15px; }
}

@media (max-width: 479px) {
  .section { text-align: center; }
  .container { padding: 0 15px; }
  .hero-title { font-size: 30px; text-align: left; }
  .hero-kicker { text-align: left; }
  .paragraph { padding-left: 10px; padding-right: 10px; text-align: left; }
  .hero-img { width: 60%; max-width: 350px; }
  .hero-text .btn { margin: 0 0 20px; }
  .hero-text .btn-wrap { display: flex; flex-direction: column; }
  .brand img { max-width: 90%; }
  .nav-menu { padding-top: 50px; padding-left: 18px; }
  .cta-row { justify-content: center; }
  .cards { grid-template-columns: 1fr; }
  .card { align-items: center; }
  .about h2 { text-align: left; }
  .quote { font-size: 22px; }
  .plan { max-width: 325px; }
  .email { padding: 0 10px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .menu-button span, .nav-menu { transition: none !important; }
}

/* Témoignages : deux bandeaux en sens inverse (le JS duplique chaque rangée pour la boucle) */
.testimonials { padding-bottom: 0; overflow: hidden; }
.testimonials h2 { margin: 0 30px 20px; text-align: center; }
.wall { --u: 1; display: grid; }
/* padding vertical : laisse la place à l'ombre, sinon le overflow du conteneur la coupe */
.row { display: flex; align-items: center; width: max-content; padding: 20px 0; animation: slide 60s linear infinite; }
.row.rev { animation-direction: reverse; }
.row img { height: calc(260px * var(--u)); width: auto; margin-right: 16px; border-radius: 24px; box-shadow: 0 0 0 1px #0000000d, 0 4px 16px #00000026; }
.row img:nth-child(3n+2) { height: calc(300px * var(--u)); }
.row img:nth-child(3n) { height: calc(230px * var(--u)); }
@keyframes slide { to { transform: translateX(-50%); } }
@media (max-width: 767px) { .wall { --u: .7; } .row { animation-duration: 45s; } }
@media (prefers-reduced-motion: reduce) { .row { animation: none; } .wall { overflow-x: auto; } }

/* Avant / après : carrousel 3D. JS pose --o (écart à la carte active) et --d (sa valeur absolue). */
.ba-section { overflow: hidden; }
.ba-section h2 { margin: 0 30px 20px; text-align: center; }
.ba { outline: 0; touch-action: pan-y; }
.ba-stage { display: grid; place-items: center; perspective: 1400px; padding: 30px 0; }
.ba-card {
  --o: 0; --d: 0;
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(520px, 78vw);
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px #0000000d, 0 14px 34px #00000030;
  cursor: pointer;
  opacity: calc(1 - var(--d) * .3);
  z-index: calc(10 - var(--d));
  transform: translateX(calc(var(--o) * 62%)) rotateY(calc(var(--o) * -38deg)) scale(calc(1 - var(--d) * .13));
  transition: transform .7s cubic-bezier(.22, .8, .3, 1), opacity .7s;
}
.ba-card figure { position: relative; margin: 0; }
.ba-card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-card figcaption {
  position: absolute; left: 12px; bottom: 12px;
  padding: 8px 14px; border-radius: 24px;
  background: var(--black); color: #fff; font-size: 15px; font-weight: 500;
}
.ba-card figcaption.after { background: var(--gold); color: var(--black); }
.ba-nav { display: flex; justify-content: center; gap: 16px; }
.ba-nav button {
  display: grid; place-items: center; width: 56px; height: 56px; padding: 0;
  border: 0; border-radius: 50%; background: var(--black); color: #fff; cursor: pointer;
  transition: transform .2s, background-color .2s, color .2s, opacity .2s;
}
.ba-nav button { corner-shape: round; } /* les boutons ronds restent des cercles */
.ba-nav button:hover { background: var(--gold); color: var(--black); transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .ba-card, .ba-nav button { transition: none; } }

/* Page Contact : formulaire en 3 étapes */
.contact { font-size: 16px; }
[hidden] { display: none !important; }
.quiz { max-width: 760px; margin: 0 auto; }
.contact-title { margin: 0 0 31px; font-size: 41px; text-align: center; }
.quiz-meta { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 500; }
.quiz-meta span:last-child { color: #1c1b19a3; }
.quiz-track { height: 8px; margin-bottom: 36px; overflow: hidden; border-radius: 24px; background: #1c1b1914; }
.quiz-track i { display: block; width: 33.33%; height: 100%; border-radius: 24px; background: var(--gold); transition: width .5s cubic-bezier(.22, .8, .3, 1); }
.q { margin: 0 0 24px; font-size: 32px; text-align: center; outline: 0; }
.step { display: none; }
.step.on { display: block; animation: step .45s cubic-bezier(.22, .8, .3, 1); }
@keyframes step { from { opacity: 0; transform: translateX(24px); } }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.opt {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 150px;
  padding: 24px;
  border: 1.5px solid #000;
  border-radius: 24px;
  color: var(--black);
  font-size: 22px;
  font-weight: 500;
  line-height: 26px;
  text-align: left;
  cursor: pointer;
  transition: transform .2s, background-color .2s, border-color .2s, box-shadow .2s;
}
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt svg { flex: none; width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.opt:hover { transform: translateY(-4px); border-color: var(--gold-dark); box-shadow: 0 7px 13px #e2a3475e; }
.opt:has(:checked) { border-color: var(--gold); background: var(--gold); }
.opt:has(:focus-visible) { outline: 2px solid var(--black); outline-offset: 3px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.fields .wide { grid-column: span 2; }
.field {
  display: block;
  width: 100%;
  min-height: 100px;
  margin: 0 0 10px;
  padding: 31px 36px;
  border: 1px solid #00000082;
  border-radius: 24px;
  background: none;
  color: #1c1b19a8;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: .06px;
  text-align: left;
  text-transform: uppercase;
}
.field::placeholder { color: #1c1b19c7; font-weight: 500; }
.field.message {
  min-height: 184px;
  margin: 0;
  padding: 31px;
  resize: none;
  border-color: #1c1b1982;
  color: #1c1b19c7;
  font-weight: 500;
  line-height: 1.125em;
  letter-spacing: .06em;
}
.trap { position: absolute; left: -9999px; }

.quiz-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; }
.back, .submit {
  padding: 25px 40px;
  border-radius: 24px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  text-transform: uppercase;
  cursor: pointer;
}
.back { border: 1.5px solid #000; background: none; color: var(--black); }
.back:hover { border-color: var(--gold-dark); color: var(--gold-dark); }
.submit { margin-left: auto; padding: 25px 50px; border: 0; background: var(--black); color: #fff; }
.submit:hover { background: var(--gold); color: var(--black); box-shadow: 1px 6px 14px #00000063; }

.form-done, .form-fail { display: none; }
.form-done { padding: 20px; border-radius: 24px; background: var(--gold); color: var(--black); font-weight: 500; text-transform: uppercase; }
.form-fail { margin-top: 10px; padding: 10px; border-radius: 24px; background: #e7c7c7; text-transform: uppercase; }
.sent form, .sent .quiz-meta, .sent .quiz-track { display: none; }
.sent .form-done, .failed .form-fail { display: block; }

.contact-card { margin-top: 60px; padding: 40px 50px; border-radius: 24px; background: var(--gold); }
.card-title { margin: 0 0 24px; font-size: 20px; text-transform: uppercase; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 40px; }
.contact-label { margin-bottom: 12px; color: #1c1b19a3; font-size: 20px; font-weight: 500; }
.contact-link { color: var(--black); font-size: 20px; font-weight: 700; }
.contact-link:hover { color: #fff; }
.contact-social { display: grid; grid-template-columns: repeat(3, 33px); gap: 29px; }
.contact-social a:hover { filter: invert(); }
.contact-social img { display: block; }

/* Animations des icônes au survol, style Lottie : plusieurs pièces qui bougent, rebonds, tracé qui se dessine. CSS seulement. */
.ic * { transform-box: fill-box; transform-origin: center; }
.ic .rip { opacity: 0; stroke-width: 1.6; }
.opt:is(:hover, :has(:focus-visible)) .ic-dumbbell .g { animation: ic-lift 1.4s cubic-bezier(.34, 1.3, .64, 1) infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-bolt path { stroke-dasharray: 1 1; animation: ic-zap 1.3s ease-out infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-target .in { animation: ic-ping 1.5s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-target .dot { animation: ic-pop 1.5s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-target .rip { animation: ic-ripple 1.5s ease-out infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-bubble .bb { transform-origin: 20% 100%; animation: ic-breathe 1.2s ease-in-out infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-bubble circle { animation: ic-type 1.2s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-bubble circle:nth-of-type(2) { animation-delay: .14s; }
.opt:is(:hover, :has(:focus-visible)) .ic-bubble circle:nth-of-type(3) { animation-delay: .28s; }
.opt:is(:hover, :has(:focus-visible)) .ic-heart .hr { animation: ic-beat 1.4s ease-in-out infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-heart .rip { animation: ic-ring 1.4s ease-out infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-moon .mn { animation: ic-rock 2s ease-in-out infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-moon .st { animation: ic-twinkle 1.6s ease-in-out infinite .2s; }
.opt:is(:hover, :has(:focus-visible)) .ic-calendar { animation: ic-hop 1.5s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-calendar .tb { animation: ic-wig 1.5s ease-in-out infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-calendar .ck { stroke-dasharray: 1 1; animation: ic-draw 1.5s ease-out infinite; }
@keyframes ic-lift { 0%, 100% { transform: none; } 22% { transform: translateY(2px) scale(1.05, .93); } 48% { transform: translateY(-8px) rotate(-7deg) scale(.96, 1.05); } 72% { transform: translateY(0) scale(1.05, .94); } 84% { transform: scale(.99, 1.02); } }
@keyframes ic-zap { 0% { stroke-dashoffset: 1; transform: none; } 40% { stroke-dashoffset: 0; transform: none; } 52% { transform: scale(1.2) rotate(-6deg); } 66% { transform: scale(.95) rotate(3deg); } 80%, 100% { stroke-dashoffset: 0; transform: none; } }
@keyframes ic-ping { 0%, 100% { transform: none; } 20% { transform: scale(.5); } 45% { transform: scale(1.12); } 62% { transform: scale(.97); } 78% { transform: none; } }
@keyframes ic-pop { 0%, 100% { transform: none; } 25% { transform: scale(1.9); } 50% { transform: scale(.8); } 72% { transform: none; } }
@keyframes ic-ripple { 0%, 30% { opacity: 0; transform: none; } 32% { opacity: .55; } 85%, 100% { opacity: 0; transform: scale(2.2); } }
@keyframes ic-breathe { 0%, 100% { transform: none; } 40% { transform: scale(1.05, .96); } }
@keyframes ic-type { 0%, 60%, 100% { transform: none; opacity: .4; } 25% { transform: translateY(-5px); opacity: 1; } }
@keyframes ic-beat { 0%, 60%, 100% { transform: none; } 12% { transform: scale(1.18); } 24% { transform: scale(.96); } 36% { transform: scale(1.22); } 50% { transform: none; } }
@keyframes ic-ring { 0%, 30% { opacity: 0; transform: none; } 32% { opacity: .55; } 75%, 100% { opacity: 0; transform: scale(1.5); } }
@keyframes ic-rock { 0%, 100% { transform: none; } 25% { transform: rotate(-12deg); } 60% { transform: rotate(10deg); } 85% { transform: rotate(-3deg); } }
@keyframes ic-twinkle { 0%, 100% { transform: none; } 30% { transform: scale(1.5) rotate(45deg); } 60% { transform: scale(.8) rotate(90deg); } }
@keyframes ic-hop { 0%, 100% { transform: none; } 25% { transform: translateY(-6px) rotate(-4deg); } 50% { transform: scale(1.04, .96); } 65% { transform: none; } }
@keyframes ic-wig { 0%, 100% { transform: none; } 25% { transform: rotate(-8deg); } 45% { transform: rotate(6deg); } 65% { transform: none; } }
@keyframes ic-draw { 0%, 10% { stroke-dashoffset: 1; } 45%, 100% { stroke-dashoffset: 0; } }

.opts.three { grid-template-columns: repeat(3, 1fr); }
.opt:has(:checked) { color: var(--black); }
.detour { text-align: center; }
.detour p { max-width: 560px; margin: 0 auto 28px; font-size: 20px; line-height: 26px; text-transform: none; }
.contact-anyway { display: block; margin: 24px auto 0; padding: 0; border: 0; background: none; color: #1c1b19a3; font: inherit; font-size: 16px; text-decoration: underline; cursor: pointer; }
.contact-anyway:hover { color: var(--black); }
.call { display: none; }
.hot .call { display: table; margin-top: 20px; }
.form-done .btn:hover { background: #fff; }
.opt:is(:hover, :has(:focus-visible)) .ic-check circle { animation: ic-pulse 1.5s cubic-bezier(.34, 1.56, .64, 1) infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-check .ck { stroke-dasharray: 1 1; animation: ic-draw 1.5s ease-out infinite; }
.opt:is(:hover, :has(:focus-visible)) .ic-search .mg { animation: ic-scan 1.6s ease-in-out infinite; }
.ic-tag .tg { transform-origin: 25% 25%; }
.opt:is(:hover, :has(:focus-visible)) .ic-tag .tg { animation: ic-swing 1.6s ease-in-out infinite; }
@keyframes ic-pulse { 0%, 100% { transform: none; } 30% { transform: scale(1.1); } 55% { transform: scale(.97); } }
@keyframes ic-scan { 0%, 100% { transform: none; } 25% { transform: translate(4px, -3px) rotate(8deg); } 50% { transform: translate(-3px, -2px) rotate(-6deg); } 75% { transform: translate(2px, 2px); } }
@keyframes ic-swing { 0%, 100% { transform: none; } 20% { transform: rotate(-16deg); } 45% { transform: rotate(11deg); } 65% { transform: rotate(-6deg); } 82% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .step.on { animation: none; } .quiz-track i, .opt { transition: none; } .ic, .ic * { animation: none !important; } }
@media (max-width: 767px) {
  .contact-title { font-size: 35px; }
  .q { font-size: 26px; }
  .opts.three { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .fields .wide { grid-column: auto; }
  .contact-card { padding: 30px 20px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 479px) {
  .contact-title { font-size: 34px; }
  .opts { grid-template-columns: 1fr; }
  .opt { flex-direction: row; align-items: center; min-height: 0; padding: 18px 20px; font-size: 20px; }
  .field { padding-left: 20px; padding-right: 20px; }
  .contact-link { font-size: 17px; }
  .contact-social { gap: 11px; justify-content: start; }
}

/* Pages produit et guides gratuits */
.page-hero { background: var(--gold); }
.page-hero h1 { max-width: 627px; margin: 20px 0 10px; }
.lead { margin: 0 0 41px; font-size: 24px; line-height: 25px; }
.product-list { display: flex; justify-content: center; }
.plan.solo { min-height: 750px; padding: 31px; }
.plan.solo .plan-title { min-height: 0; }
.product-img { overflow: hidden; border-radius: 24px; aspect-ratio: 320 / 220; }
.product-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-desc { margin: 0; padding: 30px 0 0; font-size: 18px; font-weight: 500; line-height: 23px; }
.product-row { display: flex; justify-content: space-between; align-items: center; }
.product-pic { flex: 0 1 612px; align-self: flex-start; margin-right: 20px; overflow: hidden; border-radius: 24px; aspect-ratio: 612 / 346; }
.product-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-text { flex: 0 1 494px; }
.product-text .btn { display: block; }
.pdf-box { min-height: 487px; margin-bottom: 15px; padding: 30px; color: var(--black); font-size: 18px; text-transform: uppercase; }
.pdf-box .contact-title { text-align: left; text-transform: none; }
.pdf-box .submit { margin-left: 0; }
.form-done .btn { margin-top: 20px; }
.discover { margin: 20px 0 10px; font-size: 38px; line-height: 44px; }
.steps { margin: 0 0 41px; padding: 0; font-size: 24px; line-height: 25px; list-style: none; }
.steps li { margin-bottom: 25px; }

@media (max-width: 991px) {
  .lead { text-align: justify; }
  .product-row { flex-direction: column; }
  .product-pic { flex: none; align-self: center; width: 100%; max-width: 588px; margin: 0 0 30px; }
  .product-text { flex: none; max-width: 754px; }
}
@media (max-width: 767px) {
  .pdf-box { padding-left: 0; padding-right: 0; }
}
@media (max-width: 479px) {
  .pdf-box { min-height: 0; }
  .lead { font-size: 21px; text-align: left; }
}

/* Guides : téléchargement direct, puis invitation facultative à recevoir des courriels */
.btn.big { padding: 25px 50px; font-size: 18px; text-transform: uppercase; }
.optin { display: none; max-width: 760px; margin-top: 40px; text-transform: none; }
/* Invitation à s'abonner DÉSACTIVÉE : à réactiver (décommenter) quand l'adresse postale sera ajoutée au texte de consentement (loi anti-pourriel). */
/* .got .optin { display: block; animation: step .45s cubic-bezier(.22, .8, .3, 1); } */
.optin-title { margin: 0 0 10px; font-size: 32px; line-height: 36px; }
.optin-text { margin: 0 0 24px; font-size: 20px; line-height: 28px; }
.optin .field { min-height: 70px; padding-top: 24px; padding-bottom: 24px; margin-bottom: 20px; }
.consent { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; font-size: 16px; font-weight: 500; line-height: 22px; cursor: pointer; }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--black); }
.optin .submit { margin-left: 0; }
.fine { margin: 20px 0 0; color: #1c1b19a3; font-size: 14px; line-height: 20px; }
@media (prefers-reduced-motion: reduce) { .got .optin { animation: none; } }
@media (max-width: 767px) { .optin-title { font-size: 26px; line-height: 30px; } }

/* Page 404 (liens en chemins absolus : Cloudflare la sert sur n'importe quelle URL introuvable) */
.notfound { padding: 100px 0; text-align: center; }
.nf-code { margin: 0; color: var(--gold); font-size: 140px; font-weight: 700; line-height: 1; }
.notfound h1 { margin: 10px 0; font-size: 38px; line-height: 44px; }
.nf-text { margin: 0 0 40px; font-size: 24px; line-height: 28px; }
.nf-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.btn.alt { padding: 18.5px; border: 1.5px solid #000; background: none; color: var(--black); }
.btn.alt:hover { border-color: var(--gold); }
@media (max-width: 479px) { .notfound { padding: 60px 0; } .nf-code { font-size: 100px; } .notfound h1 { font-size: 30px; line-height: 36px; } .nf-text { font-size: 20px; } }

/* Politique de confidentialité, pied de page légal et bandeau de consentement */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { margin: 40px 0 10px; font-size: 28px; line-height: 34px; }
.legal h3 { margin: 24px 0 6px; font-size: 20px; line-height: 26px; }
.legal p { margin: 0 0 14px; font-size: 18px; line-height: 28px; }
.legal a { text-decoration: underline; }
.legal .updated { color: #1c1b19a3; font-size: 16px; }
.legal-link { margin-top: 40px; text-align: center; }
.legal-link a { color: #ffffffb3; font-size: 16px; text-decoration: underline; }
.legal-link a:hover { color: var(--gold); }
.consent-bar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 760px; margin: 0 auto; padding: 18px 20px;
  border-radius: 24px; background: var(--black); color: #fff;
  box-shadow: 0 10px 30px #0000004d;
}
.consent-bar p { flex: 1 1 280px; margin: 0; font-size: 16px; line-height: 22px; }
.consent-bar a { text-decoration: underline; }
.consent-bar div { display: flex; gap: 10px; }
.consent-bar button { padding: 12px 22px; border: 1.5px solid #fff; border-radius: 24px; background: none; color: #fff; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.consent-bar button[data-v="oui"] { border-color: var(--gold); background: var(--gold); color: var(--black); }
.consent-bar button:hover { opacity: .85; }
