/* =========================================================================
   Quizz "Trouve votre thé" — Thés & Traditions
   Charte T&T : marine #203781, bleu nuit #091230, or #a8861d, creme #fdf9ee
   Polices : Cosmetic (titres) + Roboto Condensed (corps)
   Mobile-first, vouvoiement, persona femme ~40 ans
   ========================================================================= */

/* === Nettoyage Prestashop sur la page quizz : pas de breadcrumb ni H1 === */
body.cms-id-353 .breadcrumb,
body.cms-id-353 .breadcrumb-bg,
body.cms-id-353 nav.breadcrumb,
body.cms-id-353 #wrapper > nav.breadcrumb,
body.cms-id-353 .page-header,
body.cms-id-353 #wrapper .page-header,
body.cms-id-353 header.page-header {
  display: none !important;
}
body.cms-id-353 #content.page-cms,
body.cms-id-353 #content.page-cms-353 {
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  margin: 0 !important;
}
body.cms-id-353 #wrapper {
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}
/* Pas de vide entre la fin du quizz et le bloc avis */
body.cms-id-353 #content-wrapper {
  margin-bottom: 0 !important;
}
body.cms-id-353 #content.page-cms,
body.cms-id-353 #content.page-cms-353 {
  margin-bottom: 0 !important;
}
body.cms-id-353 #wrapper > .container,
body.cms-id-353 .l-wrapper > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
body.cms-id-353 #main {
  padding: 0 !important;
}
/* Le bandeau photo colle au header : pas de gouttiere sur cette page */
body.cms-id-353 .body-content {
  padding-top: 0 !important;
}

.tt-quizz-wrap {
  margin: 0;
  max-width: none;
  /* Couleur d'infusion par defaut (the ambre). Mise a jour en JS au fil des reponses. */
  --tt-infusion: #d4a55c;
  --tt-infusion-light: #e6c485;
  /* Charte T&T : marine #203781, bleu nuit #091230, or #a8861d, creme #fdf9ee */
  --tt-green:        #203781;
  --tt-green-light:  #46537d;
  --tt-green-pale:   #d7ddf0;
  --tt-green-soft:   #f2f4fa;
  --tt-green-dark:   #1a2c66;
  --tt-green-deep:   #091230;
  --tt-cream:        #fdf9ee;
  --tt-cream-warm:   #fcf3df;
  --tt-gold:         #a8861d;
  --tt-gold-soft:    #f7e9cc;
  --tt-text:         #091230;
  --tt-text-soft:    #5b6480;
  --tt-card:         #ffffff;
  --tt-border:       #efe9da;
  --tt-shadow:       0 2px 14px rgba(9,18,48,.08);
  --tt-shadow-hover: 0 16px 32px -18px rgba(9,18,48,.28);
  --tt-shadow-soft:  0 1px 3px rgba(9,18,48,.06);

  font-family: 'Roboto Condensed', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--tt-text);
  position: relative;
}

/* ===== HERO ACTIF : le quizz demarre dans le hero ======================
   Le hero n'annonce pas le quizz, il le contient. La question 1 est visible
   sans scroll ni clic. Bandeau photo + voile navy en haut, carte quizz posee
   dessus, fond creme en dessous pour que l'ecran de resultats reste lisible.
   ====================================================================== */
.tt-quizz-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 56px 20px 64px;
  background: var(--tt-cream);
  border-bottom: 1px solid #d1d1d1;
}
/* Bandeau photo : hauteur fixe, la carte le chevauche */
.tt-quizz-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 460px;
  z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(9,18,48,.78) 0%, rgba(9,18,48,.62) 55%, rgba(9,18,48,.72) 100%),
    url("/themes/sp_furnicom17/assets/img/home/histoire.webp");
  background-size: cover, cover;
  background-position: center, center 35%;
  background-repeat: no-repeat;
}
.tt-quizz-hero__head {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 36px;
  text-align: center;
}
.tt-quizz-hero__eyebrow {
  display: inline-block;
  background: rgba(253,249,238,.14);
  border: 1px solid rgba(253,249,238,.35);
  color: var(--tt-cream);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 100px;
  margin: 0 0 18px;
}
.tt-quizz-hero__title {
  font-family: 'Cosmetic', Georgia, serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 44px;
  color: var(--tt-cream);
  margin: 0 0 14px;
  text-shadow: 0 2px 18px rgba(9,18,48,.45);
}
.tt-quizz-hero__title em {
  font-style: italic;
  color: var(--tt-gold-soft);
}
.tt-quizz-hero__lead {
  margin: 0;
  font-size: 17px;
  line-height: 24px;
  color: rgba(253,249,238,.88);
}
/* La carte du quizz est posee sur la photo : ombre portee plus marquee */
.tt-quizz-hero > .tt-quizz {
  position: relative;
  z-index: 1;
  box-shadow: 0 30px 60px -30px rgba(9,18,48,.55);
}

@media (min-width: 1100px) {
  .tt-quizz-hero { padding-top: 72px; }
  .tt-quizz-hero__title { font-size: 48px; line-height: 52px; }
}
@media (max-width: 767px) {
  .tt-quizz-hero { padding: 36px 0 48px; }
  .tt-quizz-hero::before { height: 340px; }
  .tt-quizz-hero__head { padding: 0 16px 28px; }
  .tt-quizz-hero__title { font-size: 30px; line-height: 34px; }
  .tt-quizz-hero__lead { font-size: 15px; line-height: 21px; }
  .tt-quizz-hero > .tt-quizz { box-shadow: 0 18px 40px -24px rgba(9,18,48,.5); }
}

/* ===== Ornement separateur ============================================== */
.tt-quizz-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 18px;
  max-width: 380px;
  padding: 0 24px;
}
.tt-quizz-ornament::before,
.tt-quizz-ornament::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--tt-gold-soft), transparent);
}
.tt-quizz-ornament svg {
  width: 22px; height: 22px;
  color: var(--tt-gold);
  flex-shrink: 0;
}

/* ===== Conteneur principal du quizz ===================================== */
.tt-quizz {
  background: var(--tt-card);
  border-radius: 10px;
  border: 1px solid var(--tt-border);
  padding: 32px 22px 40px;
  box-shadow: var(--tt-shadow);
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .tt-quizz { padding: 20px 60px 55px; }
}
@media (max-width: 600px) {
  .tt-quizz {
    margin: 0 12px;
    padding: 24px 18px 32px;
  }
}

/* Texture papier subtile en arriere-plan du quizz */
.tt-quizz::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 0% 0%, rgba(32, 55, 129,.05) 0%, transparent 30%),
    radial-gradient(circle at 100% 100%, rgba(168,134,29,.05) 0%, transparent 30%);
  pointer-events: none;
}

/* --- Header : progression + retour --------------------------------------- */
.tt-quizz__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.tt-quizz__back {
  background: none;
  border: 1px solid var(--tt-border);
  color: var(--tt-text-soft);
  width: 38px; height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all .25s ease;
}
.tt-quizz__back:hover { border-color: var(--tt-green); color: var(--tt-green); transform: translateX(-2px); }
.tt-quizz__back[disabled] { opacity: .3; cursor: not-allowed; }

.tt-quizz__progress {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.tt-quizz__progress-bar {
  flex: 1;
  height: 5px;
  background: var(--tt-green-soft);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04);
}
.tt-quizz__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--tt-green-light), var(--tt-green));
  border-radius: 4px;
  width: 0;
  transition: width .55s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 8px rgba(32, 55, 129,.4);
}
.tt-quizz__progress-text {
  font-size: 12px;
  color: var(--tt-text-soft);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: .04em;
}

/* --- Etape (question) ---------------------------------------------------- */
.tt-quizz__step { display: none; position: relative; z-index: 1; }
.tt-quizz__step.is-active { display: block; animation: ttFadeIn .5s cubic-bezier(.4,0,.2,1) both; }

@keyframes ttFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tt-quizz__step-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--tt-gold);
  font-weight: 600;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tt-quizz__step-eyebrow::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--tt-gold);
}

.tt-quizz__question {
  font-family: 'Cosmetic', Georgia, serif;
  letter-spacing: .2px;
  font-size: 26px;
  line-height: 1.3;
  color: var(--tt-green-deep);
  margin: 0 0 10px;
  font-weight: 700;
}
@media (min-width: 768px) { .tt-quizz__question { font-size: 34px; } }

.tt-quizz__hint {
  font-size: 14px;
  color: var(--tt-text-soft);
  margin: 0 0 32px;
  font-style: italic;
}

/* --- Grille d'options ---------------------------------------------------- */
.tt-quizz__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 540px) {
  .tt-quizz__options { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (min-width: 768px) {
  .tt-quizz__options { gap: 18px; }
}

.tt-quizz__option {
  background: var(--tt-card);
  border: 1.5px solid var(--tt-border);
  border-radius: 10px;
  padding: 24px 14px 20px;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  font-size: 15px;
  color: var(--tt-text);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--tt-shadow-soft);
  min-height: 140px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Apparition en cascade */
.tt-quizz__step.is-active .tt-quizz__option {
  animation: ttRise .5s cubic-bezier(.4,0,.2,1) both;
}
.tt-quizz__step.is-active .tt-quizz__option:nth-child(1) { animation-delay: .05s; }
.tt-quizz__step.is-active .tt-quizz__option:nth-child(2) { animation-delay: .1s; }
.tt-quizz__step.is-active .tt-quizz__option:nth-child(3) { animation-delay: .15s; }
.tt-quizz__step.is-active .tt-quizz__option:nth-child(4) { animation-delay: .2s; }
.tt-quizz__step.is-active .tt-quizz__option:nth-child(5) { animation-delay: .25s; }
@keyframes ttRise {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tt-quizz__option::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--tt-green-light), var(--tt-green));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s ease;
}
.tt-quizz__option:hover {
  border-color: var(--tt-green);
  transform: translateY(-4px);
  box-shadow: var(--tt-shadow-hover);
  background: linear-gradient(180deg, #fff 0%, var(--tt-green-soft) 100%);
}
.tt-quizz__option:hover::before { transform: scaleX(1); }
.tt-quizz__option.is-selected {
  border-color: var(--tt-green);
  background: linear-gradient(180deg, var(--tt-green-soft) 0%, var(--tt-green-pale) 100%);
  box-shadow: var(--tt-shadow-hover);
}
.tt-quizz__option.is-selected::before { transform: scaleX(1); }

.tt-quizz__option-icon {
  font-size: 32px;
  line-height: 1;
  transition: transform .3s ease;
}
.tt-quizz__option:hover .tt-quizz__option-icon { transform: scale(1.1) rotate(-5deg); }

/* === Pictogrammes SVG line-art premium ============================== */
.tt-quizz__option-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  color: var(--tt-green-dark);
  transition: color .3s ease, transform .35s cubic-bezier(.4,0,.2,1);
  margin-bottom: 2px;
}
.tt-quizz__option-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tt-quizz__option:hover .tt-quizz__option-svg {
  color: var(--tt-gold);
  transform: scale(1.08) rotate(-2deg);
}
.tt-quizz__option.is-selected .tt-quizz__option-svg {
  color: var(--tt-green);
}
.tt-quizz__option-label {
  font-size: 14.5px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--tt-text);
}
.tt-quizz__option-sub {
  font-size: 12.5px;
  color: var(--tt-text-soft);
  font-weight: 400;
  line-height: 1.35;
  font-style: italic;
}

/* --- Loader -------------------------------------------------------------- */
.tt-quizz__loader {
  text-align: center;
  padding: 80px 20px 60px;
}
.tt-quizz__loader-cup {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
}
.tt-quizz__loader-cup svg {
  width: 100%;
  height: 100%;
  color: var(--tt-green);
  animation: ttSteam 2.4s ease-in-out infinite;
}
@keyframes ttSteam {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(-3px); opacity: .85; }
}
.tt-quizz__spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--tt-green-pale);
  border-top-color: var(--tt-green);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: ttSpin .9s linear infinite;
}
@keyframes ttSpin { to { transform: rotate(360deg); } }
.tt-quizz__loader-text {
  font-family: 'Cosmetic', Georgia, serif;
  letter-spacing: .2px;
  font-size: 19px;
  color: var(--tt-green-dark);
  font-style: italic;
}
.tt-quizz__loader-sub {
  font-size: 13px;
  color: var(--tt-text-soft);
  margin-top: 8px;
}

/* --- Resultats ----------------------------------------------------------- */
.tt-quizz__result-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--tt-gold);
  font-weight: 600;
  text-align: center;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.tt-quizz__result-eyebrow::before,
.tt-quizz__result-eyebrow::after {
  content: "";
  width: 36px; height: 1px;
  background: var(--tt-gold);
}

.tt-quizz__result-title {
  font-family: 'Cosmetic', Georgia, serif;
  letter-spacing: .2px;
  font-size: 28px;
  line-height: 1.3;
  text-align: center;
  margin: 0 auto 12px;
  font-weight: 700;
  max-width: 700px;
  color: var(--tt-green-deep);
}
.tt-quizz__result-title em { font-style: italic; color: var(--tt-green-dark); }
@media (min-width: 768px) { .tt-quizz__result-title { font-size: 36px; } }

.tt-quizz__result-sub {
  text-align: center;
  color: var(--tt-text-soft);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 auto 40px;
  max-width: 560px;
  font-style: italic;
}

.tt-quizz__products {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
@media (min-width: 540px) {
  .tt-quizz__products { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 900px) {
  .tt-quizz__products { grid-template-columns: repeat(3, 1fr); gap: 22px; }
}

.tt-quizz__product {
  background: var(--tt-cream);
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease;
  box-shadow: none;
  position: relative;
  animation: ttRise .6s cubic-bezier(.4,0,.2,1) both;
}
.tt-quizz__product:nth-child(1) { animation-delay: .08s; }
.tt-quizz__product:nth-child(2) { animation-delay: .14s; }
.tt-quizz__product:nth-child(3) { animation-delay: .2s; }
.tt-quizz__product:nth-child(4) { animation-delay: .26s; }
.tt-quizz__product:nth-child(5) { animation-delay: .32s; }
.tt-quizz__product:nth-child(6) { animation-delay: .38s; }

.tt-quizz__product:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px rgba(9,18,48,.28);
  text-decoration: none;
  color: inherit;
}
@media (prefers-reduced-motion: reduce) {
  .tt-quizz__product, .tt-quizz__product:hover { transform: none; transition: none; }
}
.tt-quizz__product--top {
  border: 1px solid var(--tt-green);
}
.tt-quizz__product--top::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tt-green-light), var(--tt-green), var(--tt-gold));
  z-index: 3;
}
.tt-quizz__product-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--tt-green);
  color: #fcf3df;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 10px;
  border-radius: 100px;
  font-weight: 500;
  z-index: 2;
}

/* Badge BIO : meme style que sur les pages categorie produit */
.tt-quizz__product-bio {
  position: absolute;
  top: 10px;
  right: 10px;
  max-width: 120px;
  background: #208144;
  z-index: 50;
  color: #fcf3df;
  padding: 6px 10px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 100px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tt-quizz__product-bio i.fa-leaf { font-size: 12px; }
.tt-quizz__product-img {
  aspect-ratio: 1 / 1;
  background: var(--tt-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.tt-quizz__product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.tt-quizz__product:hover .tt-quizz__product-img img { transform: scale(1.03); }

.tt-quizz__product-body {
  padding: 16px 16px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tt-quizz__product-name {
  font-family: 'Cosmetic', Georgia, serif;
  font-size: 24px;
  line-height: 28px;
  margin: 0;
  font-weight: 700;
  color: var(--tt-green-deep);
  text-transform: capitalize;
}
.tt-quizz__product-saveurs {
  margin: 0;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: .4px;
  color: var(--tt-green-deep);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Filet + prix : meme rendu que les cartes catalogue */
.tt-quizz__product-rule {
  height: 1px;
  background: #d1d1d1;
  border: 0;
  margin: 0;
  width: 100%;
}
.tt-quizz__product-price {
  font-family: 'Cosmetic', Georgia, serif;
  font-size: 20px;
  line-height: 18px;
  font-weight: 700;
  color: var(--tt-green-deep);
}
.tt-quizz__product-cta {
  margin-top: auto;
  padding-top: 10px;
  font-size: 12.5px;
  color: var(--tt-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s ease;
}
.tt-quizz__product:hover .tt-quizz__product-cta { gap: 12px; }

/* --- Email opt-in -------------------------------------------------------- */
.tt-quizz__email {
  background: linear-gradient(135deg, var(--tt-cream) 0%, var(--tt-cream-warm) 100%);
  border: 1px solid var(--tt-gold-soft);
  border-radius: 10px;
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.tt-quizz__email::before {
  content: "✿";
  position: absolute;
  top: 16px; right: 22px;
  color: var(--tt-gold);
  font-size: 22px;
  opacity: .35;
}
.tt-quizz__email-title {
  font-family: 'Cosmetic', Georgia, serif;
  letter-spacing: .2px;
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--tt-green-deep);
}
.tt-quizz__email-sub {
  font-size: 14px;
  color: var(--tt-text-soft);
  margin: 0 0 20px;
  font-style: italic;
}
.tt-quizz__email-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
}
.tt-quizz__email-input {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid var(--tt-border);
  border-radius: 100px;
  font: inherit;
  font-size: 14px;
  color: var(--tt-text);
  background: #fff;
  transition: all .25s;
}
.tt-quizz__email-input:focus {
  outline: none;
  border-color: var(--tt-green);
  box-shadow: 0 0 0 3px rgba(32, 55, 129,.15);
}
.tt-quizz__email-msg {
  margin: 14px 0 0;
  font-size: 13.5px;
  color: var(--tt-green-dark);
  font-weight: 500;
}

/* --- Actions ------------------------------------------------------------- */
.tt-quizz__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
@media (min-width: 540px) {
  .tt-quizz__actions { flex-direction: row; }
}

.tt-quizz__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  border: none;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all .25s ease;
  letter-spacing: .03em;
}
.tt-quizz__btn--primary {
  background: var(--tt-green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(32, 55, 129,.3);
}
.tt-quizz__btn--primary:hover {
  background: var(--tt-green-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(32, 55, 129,.4);
}
.tt-quizz__btn--ghost {
  background: transparent;
  color: var(--tt-text-soft);
  border: 1.5px solid var(--tt-border);
}
.tt-quizz__btn--ghost:hover {
  border-color: var(--tt-green);
  color: var(--tt-green);
  text-decoration: none;
  background: var(--tt-green-soft);
}

/* --- Empty state --------------------------------------------------------- */
.tt-quizz__empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--tt-text-soft);
  font-style: italic;
}

/* --- Reassurance bar (sous le quizz) ------------------------------------ */
.tt-quizz-reassure {
  margin: 40px auto 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 36px;
  font-size: 13px;
  color: var(--tt-text-soft);
  text-align: center;
  max-width: 1100px;
  padding: 0 24px;
}
.tt-quizz-reassure span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.tt-quizz-reassure svg {
  width: 18px; height: 18px;
  color: var(--tt-green);
  flex-shrink: 0;
}

/* On masque l'ancien intro stocke en BDD (le hero remplace) */
.tt-quizz-page-intro { display: none; }

/* === Multi-select : saveurs precises ==================================== */
.tt-quizz__pick-counter {
  font-size: 13px;
  color: var(--tt-green-dark);
  font-weight: 600;
  margin: -16px 0 22px;
  letter-spacing: .02em;
}
.tt-quizz__options--multi {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 540px) {
  .tt-quizz__options--multi { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (min-width: 768px) {
  .tt-quizz__options--multi { grid-template-columns: repeat(5, 1fr); gap: 14px; }
}
@media (min-width: 1100px) {
  .tt-quizz__options--multi { grid-template-columns: repeat(6, 1fr); }
}

.tt-quizz__option--multi {
  min-height: 130px;
  padding: 14px 10px 14px;
  position: relative;
  gap: 8px;
}
.tt-quizz__option--multi .tt-quizz__option-icon { font-size: 24px; }
.tt-quizz__option--multi .tt-quizz__option-label {
  font-size: 13px;
  font-weight: 600;
}
.tt-quizz__option--multi .tt-quizz__option-svg {
  width: 42px;
  height: 42px;
  margin-bottom: 0;
}
.tt-quizz__option--multi:hover .tt-quizz__option-icon {
  transform: scale(1.08) rotate(-3deg);
}

/* Picto Noto Emoji dans un médaillon premium tea house */
.tt-quizz__option-img {
  width: 56px;
  height: 56px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0%, var(--tt-cream) 60%, var(--tt-green-soft) 100%);
  box-shadow:
    0 1px 2px rgba(9,18,48,.08),
    0 4px 12px rgba(168,134,29,.10),
    inset 0 0 0 1px rgba(255,255,255,.7);
  transition: all .4s cubic-bezier(.4,0,.2,1);
}
.tt-quizz__option-img::before {
  /* Halo doré subtil derrière l'emoji */
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--tt-gold-soft);
  opacity: .5;
  transition: all .35s ease;
}
.tt-quizz__option-img img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
/* Variante "vraie photo d'ingredient" : medaillon circulaire qui remplit le cercle dore */
.tt-quizz__option-img--photo {
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0%, var(--tt-cream) 70%, var(--tt-green-soft) 100%);
  overflow: hidden;
}
.tt-quizz__option-img--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.tt-quizz__option--with-img:hover .tt-quizz__option-img {
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(9,18,48,.1),
    0 10px 24px rgba(168,134,29,.22),
    inset 0 0 0 1px rgba(255,255,255,.8);
}
.tt-quizz__option--with-img:hover .tt-quizz__option-img::before {
  inset: -4px;
  border-color: var(--tt-gold);
  opacity: .9;
}
.tt-quizz__option--with-img:hover .tt-quizz__option-img img {
  transform: scale(1.1) rotate(-3deg);
}
.tt-quizz__option--multi.is-selected .tt-quizz__option-img {
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0%, var(--tt-green-soft) 100%);
}
.tt-quizz__option--multi.is-selected .tt-quizz__option-img::before {
  border-color: var(--tt-green);
  border-width: 2px;
  opacity: 1;
  inset: -3px;
}

.tt-quizz__option-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px; height: 22px;
  border: 1.5px solid var(--tt-border);
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: transparent;
  font-weight: 700;
  transition: all .25s ease;
}
.tt-quizz__option--multi.is-selected .tt-quizz__option-check {
  background: var(--tt-green);
  border-color: var(--tt-green);
  color: #fff;
}

.tt-quizz__multi-actions {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.tt-quizz__multi-actions .tt-quizz__btn--primary {
  min-width: 240px;
}
.tt-quizz__multi-actions .tt-quizz__btn--primary:disabled {
  background: var(--tt-border);
  color: var(--tt-text-soft);
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
  font-weight: 500;
}

.tt-quizz__skip-link {
  background: none;
  border: none;
  color: var(--tt-text-soft);
  font: inherit;
  font-size: 13px;
  font-style: italic;
  cursor: pointer;
  padding: 6px 12px;
  text-decoration: underline;
  text-decoration-color: var(--tt-border);
  text-underline-offset: 4px;
  transition: color .2s ease;
}
.tt-quizz__skip-link:hover {
  color: var(--tt-green-dark);
  text-decoration-color: var(--tt-green);
}

/* =========================================================================
   GAME CHANGERS
   ========================================================================= */

/* --- Tasse signature qui change de couleur ------------------------------ */
.tt-quizz-cup {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  position: relative;
  display: block;
}
@media (min-width: 768px) {
  .tt-quizz-cup { width: 150px; height: 150px; margin-bottom: 26px; }
}
.tt-quizz-cup svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.tt-quizz-cup .ttc-liquid {
  fill: var(--tt-infusion);
  transition: fill 1.2s cubic-bezier(.4,0,.2,1);
}
.tt-quizz-cup .ttc-liquid-shine {
  fill: var(--tt-infusion-light);
  transition: fill 1.2s cubic-bezier(.4,0,.2,1);
  opacity: .6;
}
.tt-quizz-cup .ttc-porcelain {
  fill: #ffffff;
  stroke: #efe9da;
  stroke-width: 1.5;
}
.tt-quizz-cup .ttc-saucer {
  fill: var(--tt-cream-warm);
  stroke: var(--tt-gold-soft);
  stroke-width: 1;
}
.tt-quizz-cup .ttc-handle {
  fill: none;
  stroke: #efe9da;
  stroke-width: 4;
}
.tt-quizz-cup .ttc-steam {
  fill: none;
  stroke: var(--tt-infusion);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: 0;
  animation: ttSteamRise 3.4s ease-in-out infinite;
}
.tt-quizz-cup .ttc-steam:nth-of-type(1) { animation-delay: 0s; }
.tt-quizz-cup .ttc-steam:nth-of-type(2) { animation-delay: 1.1s; }
.tt-quizz-cup .ttc-steam:nth-of-type(3) { animation-delay: 2.2s; }
@keyframes ttSteamRise {
  0%   { opacity: 0; transform: translateY(0) scale(.95); }
  20%  { opacity: .55; }
  60%  { opacity: .35; }
  100% { opacity: 0; transform: translateY(-30px) scale(1.1); }
}

/* Petite anim "splash" quand la couleur change */
.tt-quizz-cup.is-pulsing .ttc-liquid {
  animation: ttSplash .8s cubic-bezier(.4,0,.2,1);
}
@keyframes ttSplash {
  0%   { transform: scaleY(1); transform-origin: bottom center; }
  35%  { transform: scaleY(.92); }
  70%  { transform: scaleY(1.04); }
  100% { transform: scaleY(1); }
}

.tt-quizz-cup__caption {
  display: block;
  text-align: center;
  font-size: 12px;
  font-style: italic;
  color: var(--tt-text-soft);
  margin-top: 4px;
  min-height: 18px;
  transition: opacity .4s ease;
}

/* --- Score de compatibilite sur les cartes ------------------------------ */
.tt-quizz__compat {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.tt-quizz__compat-bar {
  flex: 1;
  height: 6px;
  background: #d7ddf0;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.tt-quizz__compat-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, var(--tt-green-light), var(--tt-green));
  border-radius: 4px;
  transition: width 1.4s cubic-bezier(.4,0,.2,1);
}
.tt-quizz__compat-value {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tt-green);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.tt-quizz__compat-label {
  display: block;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--tt-text-soft);
  font-weight: 600;
  margin-bottom: 5px;
}

/* --- Footer carte produit : decouvrir + bouton + ----------------------- */
.tt-quizz__product-foot {
  padding: 0 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tt-quizz__product-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tt-quizz__product-discover {
  font-size: 12.5px;
  color: var(--tt-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .25s ease;
}
.tt-quizz__product:hover .tt-quizz__product-discover { gap: 12px; }

.tt-quizz__add-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 100px;
  padding: 11px 16px;
  background: var(--tt-green);
  color: var(--tt-cream);
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background .2s ease;
}
.tt-quizz__add-btn:hover,
.tt-quizz__add-btn:focus-visible {
  background: var(--tt-green-deep);
  color: #fff;
}
.tt-quizz__add-btn svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  flex: 0 0 auto;
}
.tt-quizz__add-btn.is-loading {
  background: var(--tt-green-light);
  pointer-events: none;
}
.tt-quizz__add-btn.is-loading::after {
  content: "";
  width: 14px; height: 14px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: ttSpin .7s linear infinite;
}
.tt-quizz__add-btn.is-loading > * { display: none; }
.tt-quizz__add-btn.is-added {
  background: #208144;
  pointer-events: none;
}
.tt-quizz__add-btn.is-added::after {
  content: "\2713 Ajout\00e9";
  font-size: 13px;
  color: #fcf3df;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.tt-quizz__add-btn.is-added > * { display: none; }

/* --- Gros bouton "Ajouter ma selection" --------------------------------- */
.tt-quizz__bulk {
  background: linear-gradient(135deg, var(--tt-cream) 0%, var(--tt-cream-warm) 100%);
  border: 1px solid var(--tt-gold-soft);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
  color: var(--tt-green-deep);
}
.tt-quizz__bulk::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(168,134,29,.18) 0%, transparent 70%);
}
.tt-quizz__bulk-title {
  font-family: 'Cosmetic', Georgia, serif;
  letter-spacing: .2px;
  font-size: 22px;
  margin: 0 0 8px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.tt-quizz__bulk-sub {
  font-size: 14px;
  margin: 0 0 18px;
  opacity: .85;
  position: relative;
  z-index: 1;
}
.tt-quizz__bulk-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 100px;
  background: var(--tt-green);
  color: var(--tt-cream);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(32,55,129,.28);
  transition: all .25s ease;
  position: relative;
  z-index: 1;
  font-family: inherit;
}
.tt-quizz__bulk-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(32,55,129,.35);
  background: var(--tt-green-deep);
}
.tt-quizz__bulk-cta.is-busy {
  pointer-events: none;
  opacity: .8;
}
.tt-quizz__bulk-progress {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  opacity: .9;
  position: relative;
  z-index: 1;
  min-height: 18px;
}

/* --- Toast confirmation ------------------------------------------------- */
.tt-quizz-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: var(--tt-green-deep);
  color: #fff;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(9,18,48,.35);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.tt-quizz-toast.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
.tt-quizz-toast::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--tt-gold);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

/* ===== v2 : garanties, raisons et note clients ==========================
   Ajouts du moteur de recommandation v2. Meme vocabulaire visuel que le
   catalogue : pastilles 100px, Roboto Condensed, marine et vert bio.
   ====================================================================== */

/* Garanties tenues (sans theine, sans fruits a coque...) sous le titre */
.tt-quizz__garanties {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 32px;
  max-width: 720px;
}
.tt-quizz__garantie {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6f2ea;
  color: #176635;
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .2px;
}
.tt-quizz__garantie svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* Note clients (avis verifies) */
.tt-quizz__product-rate {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tt-quizz__product-stars {
  position: relative;
  display: inline-block;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 1px;
  flex: 0 0 auto;
}
.tt-quizz__stars-bg { color: #d7ddf0; }
.tt-quizz__stars-fg {
  position: absolute;
  top: 0; left: 0;
  width: var(--fill, 0%);
  overflow: hidden;
  white-space: nowrap;
  color: var(--tt-green);
}
.tt-quizz__product-rate-txt {
  font-size: 12px;
  color: #878ea9;
  white-space: nowrap;
}

/* Pourquoi ce the : criteres reellement satisfaits */
.tt-quizz__why {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tt-quizz__why-item {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 13px;
  line-height: 17px;
  color: #46537d;
}
.tt-quizz__why-item svg {
  width: 13px; height: 13px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: #208144;
}

/* ===== INFUSION VIVANTE (sous le quizz) ================================
   Une tasse qui se remplit et se teinte au fil des reponses. La couleur
   correspond a la vraie liqueur de la famille choisie (voir COLORS dans le JS).
   Construction : soucoupe -> corps -> liquide clippe -> surface en ellipse
   (c'est l'ellipse qui donne la perspective, un bord plat fait plat).
   N'anime que transform/opacity + une hauteur : pas de repaint lourd.
   ====================================================================== */
.tt-infusion {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  --tt-infusion: #d4a55c;
  --tt-infusion-light: #e6c485;
}
.tt-infusion__scene {
  position: relative;
  width: 210px;
  height: 226px;
  margin: 0 auto;
}

/* --- Vapeur : trois filets au-dessus du bord -------------------------- */
.tt-infusion__steam {
  position: absolute;
  bottom: 168px;                    /* juste au-dessus du bord de la tasse */
  width: 10px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(9,18,48,0) 0%, rgba(9,18,48,.20) 45%, rgba(9,18,48,0) 100%);
  filter: blur(8px);
  opacity: 0;
  transform-origin: bottom center;
  will-change: transform, opacity;
}
.tt-infusion__steam--1 { left: 76px;  animation: ttSteamRise 4.6s ease-in-out infinite; }
.tt-infusion__steam--2 { left: 100px; animation: ttSteamRise 5.6s ease-in-out -1.9s infinite; }
.tt-infusion__steam--3 { left: 124px; animation: ttSteamRise 5.0s ease-in-out -3.4s infinite; }
@keyframes ttSteamRise {
  0%   { opacity: 0;   transform: translate(0, 12px)   scale(.65, .7)  skewX(0deg); }
  20%  { opacity: .9; }
  55%  { opacity: .55; transform: translate(5px, -26px) scale(1.15, 1.1) skewX(9deg); }
  100% { opacity: 0;   transform: translate(-4px, -62px) scale(1.7, 1.4) skewX(-7deg); }
}

/* --- L'anse : HORS du corps, sinon overflow:hidden la mange ----------- */
.tt-infusion__handle {
  position: absolute;
  bottom: 66px;
  left: 50%;
  margin-left: 56px;
  width: 40px;
  height: 50px;
  border: 4px solid rgba(9,18,48,.20);
  border-left-color: transparent;
  border-radius: 0 30px 30px 0;
  background: transparent;
}

/* --- Le corps de la tasse -------------------------------------------- */
.tt-infusion__glass {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 132px;
  height: 116px;
  /* legerement evase vers le haut, fond arrondi */
  border-radius: 10px 10px 58px 58px / 6px 6px 46px 46px;
  background: linear-gradient(100deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.62) 42%, rgba(233,228,216,.85) 100%);
  border: 1px solid rgba(9,18,48,.16);
  box-shadow:
    inset -10px 0 18px -12px rgba(9,18,48,.28),
    inset 10px 0 14px -12px rgba(255,255,255,.95),
    0 18px 26px -14px rgba(9,18,48,.42);
  overflow: hidden;
}

/* --- Le liquide, clippe par le corps ---------------------------------- */
.tt-infusion__liquid {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 20%;
  /* Repli pour les navigateurs sans color-mix : degrade clair -> fonce */
  background: linear-gradient(180deg, var(--tt-infusion-light) 0%, var(--tt-infusion) 100%);
  background: linear-gradient(180deg, var(--tt-infusion) 0%, color-mix(in srgb, var(--tt-infusion) 78%, #000) 100%);
  transition: height 1.15s cubic-bezier(.34,1.12,.64,1), background 1.4s ease;
}
/* Surface : une ellipse, pas un trait. C'est elle qui donne la perspective. */
.tt-infusion__surface {
  position: absolute;
  left: -2px; right: -2px;
  top: -9px;
  height: 20px;
  border-radius: 50%;
  background: var(--tt-infusion-light);
  box-shadow: inset 0 -3px 6px rgba(0,0,0,.14);
  animation: ttSurfaceBreathe 5.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes ttSurfaceBreathe {
  0%, 100% { transform: scale(1, 1)      rotate(0deg); }
  33%      { transform: scale(1.02, .88) rotate(.6deg); }
  66%      { transform: scale(.985, 1.1) rotate(-.5deg); }
}
/* Reflet mobile sur la surface : le liquide accroche la lumiere */
.tt-infusion__glint {
  position: absolute;
  top: -6px;
  left: 22%;
  width: 34px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  filter: blur(2px);
  animation: ttGlint 6.5s ease-in-out infinite;
}
@keyframes ttGlint {
  0%, 100% { transform: translateX(0)    scaleX(1);   opacity: .5; }
  50%      { transform: translateX(28px) scaleX(1.3); opacity: .8; }
}

/* --- Bulles qui remontent -------------------------------------------- */
.tt-infusion__bubble {
  position: absolute;
  bottom: 6px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  opacity: 0;
}
.tt-infusion__bubble--1 { left: 34%; animation: ttBubble 4.4s ease-in  infinite; }
.tt-infusion__bubble--2 { left: 55%; animation: ttBubble 5.8s ease-in -2.2s infinite; }
.tt-infusion__bubble--3 { left: 68%; animation: ttBubble 5.1s ease-in -3.7s infinite; }
@keyframes ttBubble {
  0%   { opacity: 0;   transform: translateY(0)     scale(.5); }
  15%  { opacity: .75; }
  100% { opacity: 0;   transform: translateY(-46px) scale(1.15); }
}

/* --- Reflet vertical sur le verre ------------------------------------ */
.tt-infusion__shine {
  position: absolute;
  top: 10px; left: 15px;
  width: 14px; height: 58px;
  border-radius: 100px;
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,0));
  transform: rotate(7deg);
  pointer-events: none;
}

/* --- Versement : declenche a chaque reponse (classe posee en JS) ------ */
.tt-infusion__drop {
  position: absolute;
  top: 42px;
  left: 50%;
  margin-left: -4px;
  width: 8px; height: 12px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--tt-infusion);
  opacity: 0;
}
.tt-infusion.is-pouring .tt-infusion__drop { animation: ttDropFall .55s cubic-bezier(.5,0,.9,.6) both; }
@keyframes ttDropFall {
  0%   { opacity: 0;   transform: translateY(-14px) scaleY(.7); }
  15%  { opacity: 1; }
  85%  { opacity: 1;   transform: translateY(76px)  scaleY(1.5); }
  100% { opacity: 0;   transform: translateY(84px)  scaleY(.4); }
}
/* Onde circulaire a l'impact */
.tt-infusion__ripple {
  position: absolute;
  left: 50%; top: -8px;
  width: 18px; height: 8px;
  margin-left: -9px;
  border: 1.5px solid rgba(255,255,255,.8);
  border-radius: 50%;
  opacity: 0;
}
.tt-infusion.is-pouring .tt-infusion__ripple { animation: ttRipple .9s .48s ease-out both; }
@keyframes ttRipple {
  0%   { opacity: .9; transform: scale(.3); }
  100% { opacity: 0;  transform: scale(4.6); }
}

/* --- Legende ---------------------------------------------------------- */
.tt-infusion__caption {
  margin: 24px auto 0;
  max-width: 460px;
  font-size: 15px;
  line-height: 22px;
  font-style: italic;
  color: #5f6372;
  min-height: 22px;
  transition: opacity .35s ease;
}
.tt-infusion__caption.is-swapping { opacity: 0; }

@media (max-width: 767px) {
  .tt-infusion { margin-top: 0; }
  .tt-infusion__scene { transform: scale(.88); transform-origin: top center; }
  .tt-infusion__caption { font-size: 14px; line-height: 20px; margin-top: 12px; }
}

/* Mouvement reduit : la tasse garde sa couleur et son niveau, sans agitation */
@media (prefers-reduced-motion: reduce) {
  .tt-infusion__steam,
  .tt-infusion__bubble,
  .tt-infusion__glint,
  .tt-infusion__drop,
  .tt-infusion__ripple { display: none; }
  .tt-infusion__surface { animation: none; }
  .tt-infusion__liquid { transition: none; }
  .tt-infusion__caption { transition: none; }
}
