/**
 * Thermomix® Contest Header - Styles
 * Desktop-first, Flexbox layout, BEM naming, REM units
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
  /* Spacing (1rem = 16px base) */
  --nav-height: 5rem;
  --status-height: 3.4375rem;
  /* 80px */
  --header-height: 90vh;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* Colors */
  --color-black: #000000;
  --color-white: #ffffff;
  --color-red: #840a24;
  --color-red-dark: #6b0f2a;
  --color-red-logout: #c41e3a;
  --color-gold: #d4a84b;
  --color-gold-light: #e9d78b;
  --color-gold-dark: #c19c3d;
  --color-green: #54B060;
  --color-green-hover: #48a054;
  --color-green-dark: #008f47;
  --color-violet: #7A508F;
  --color-violet-dark: #5a3a6a;
  --color-violet-bg: #2e1b3e;
  --color-error: #c0392b;
  --color-modal-beige: #f0e8d8;
  --bg_lightsand: url(/images/lightsand_bg_pattern.jpg?v=2.1);

  /* Prize amount (5000€) text gradient */
  --gradient-prize-amount: linear-gradient(to top right, var(--color-gold-light), var(--color-gold-dark));

  /* Inscription button - red gradient (text + border), repeat for hover reverse */
  --gradient-inscription: linear-gradient(to right, #B92E42, #670421, #B92E42, #670421);

  /* Typography */
  --font-family: 'Vorwerk', sans-serif;

  /* Border radius */
  --radius-sidebar: 12rem;
  --sidebar-width: 31.25rem;
  /* 500px */
  --sidebar-width-tablet: 22rem;
  /* 352px - narrower until desktop */

  /* Page title sizes (uniform across sidebar pages) */
  --title-size: 3rem;
  --title-size-tablet: 2.5rem;
  --title-size-mobile: 2rem;

  /* Breakpoints (for reference; media queries use literal values) */
  --bp-mobile: 768px;
  --bp-tablet: 1024px;
  --bp-desktop: 1280px;

  /* Intro animation timing */
  --intro-sidebar-duration: 0.5s;
  --intro-bg-duration: 0.6s;
  --intro-fade-duration: 0.4s;
  --intro-sidebar-delay: 0.2s;
  --intro-bg-delay: 0.4s;
  --intro-sidebar-fade-delay: 0.9s;
  --intro-main-fade-delay: 1.1s;
}

/* ==========================================================================
   Font Face - Vorwerk
   ========================================================================== */

@font-face {
  font-family: 'Vorwerk';
  src: url('/libs/fonts/Vorwerk-Regular.woff2') format('woff2'),
    url('/libs/fonts/Vorwerk-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vorwerk';
  src: url('/libs/fonts/Vorwerk-Bold.woff2') format('woff2'),
    url('/libs/fonts/Vorwerk-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vorwerk';
  src: url('/libs/fonts/Vorwerk-Light.woff2') format('woff2'),
    url('/libs/fonts/Vorwerk-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vorwerk';
  src: url('/libs/fonts/Vorwerk-Medium.woff2') format('woff2'),
    url('/libs/fonts/Vorwerk-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Typography utilities - Vorwerk font weights
   ========================================================================== */

.text-light {
  font-family: var(--font-family);
  font-weight: 300;
}

.text-medium {
  font-family: var(--font-family);
  font-weight: 500;
}

.text-bold {
  font-family: var(--font-family);
  font-weight: 700;
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-black);
  background-color: var(--color-red);
  padding-top: var(--nav-height);
}

body:has(.compte-dossier-status) {
  padding-top: calc(var(--status-height) + var(--nav-height));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Header - Main container (height auto, no limit)
   ========================================================================== */

.header {
  height: auto;
  min-height: auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


/* ==========================================================================
   Tools
   ========================================================================== */

.mb-0 {
  margin-bottom: 0 !important;
}

.m-1 {
  margin-bottom: var(--spacing-sm)
}

.m-2 {
  margin-bottom: var(--spacing-md)
}

.m-3 {
  margin-bottom: var(--spacing-lg)
}

.mr-1 {
  margin-right: var(--spacing-sm)
}

.mr-2 {
  margin-right: var(--spacing-md)
}

.mr-3 {
  margin-right: var(--spacing-lg)
}

.text-underline {
  text-decoration: underline;
  text-underline-offset: 0.1em;
}


.bg_lightsand {
  background-image: url(/images/lightsand_bg_pattern.jpg);
  background-size: 60.1%;
  /* box-shadow: inset 0 0 1.2rem 0.5rem rgb(0 0 0 / 26%); */
}

/* ==========================================================================
   Navigation - Black bar (80px / 5rem)
   ========================================================================== */

.header__nav {
  flex-shrink: 0;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  height: var(--nav-height);
  background-color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--spacing-md);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 3rem;
  width: auto;
}

/* Burger panel - slides down from behind nav, black background */
.nav__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  padding: var(--spacing-md);
  background-color: var(--color-black);
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 0.3s;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
}

.nav--open .nav__panel {
  transform: translateY(0);
  visibility: visible;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* .nav__panel-link {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease;
} */
.nav__panel-link {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--color-white);
  font-size: 1.075rem;
  font-weight: 500;
  transition: color 0.2s ease;
}



.nav__panel-link:hover {
  color: var(--color-gold);
}

.nav__link--active {
  color: var(--color-gold);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav__link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
}

.nav__icon {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

.nav__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs);
  color: var(--color-white);
}

.nav__menu-icon {
  display: block;
  width: 1.5rem;
  height: 1.25rem;
  object-fit: contain;
}

.nav__menu-label {
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
}


/* ==========================================================================
   Header Content - Main + Sidebar (Flexbox)
   ========================================================================== */

.header__content {
  flex: 1;
  display: flex;
  flex-direction: row;
  min-height: 0;
  position: relative;
  overflow: hidden;
}

/* ==========================================================================
   Header Background - Slides from right (drawer effect, under sidebar)
   ========================================================================== */

.header__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-red);
  background-image: url('/images/accueil/bg-accueil.webp');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  transform-origin: center center;
  transform: scale(1.1);
  opacity: 0;
  transition: none;
}

.header__bg_full {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--color-red);
  background-image: url('/images/accueil/bg-accueil.webp');
  background-size: 100%;
  background-position: center bottom;
  background-repeat: no-repeat;
  transform-origin: center center;
  transform: scale(1);
  opacity: .3;
  transition: none;
}

body.intro-complete .header__bg {
  animation: introBgSlide var(--intro-bg-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--intro-bg-delay) forwards;
}

body.intro-complete .header__bg {
  animation: introBgSlideSmooth var(--intro-bg-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--intro-bg-delay) forwards;
}

@keyframes introBgSlide {
  from {
    transform: scale(1.1);
    opacity: 0;
  }

  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes introBgSlideSmooth {
  from {
    transform: scale(1.1);
    opacity: 0;
  }

  to {
    transform: translateX(0) scale(1);
    opacity: .3;
  }
}



/* ==========================================================================
   Main Section - Red background
   ========================================================================== */

.main-section {
  flex: 1;
  min-height: 0;
  min-width: 0;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.main-section.pt-0 {
  padding-top: 0;
}

.main-section.text-start {
  text-align: left;
}

.main-section__branding {
  margin-bottom: var(--spacing-md);
  opacity: 0;
}

body.intro-complete .main-section__branding {
  animation: introFadeIn var(--intro-fade-duration) ease-out var(--intro-main-fade-delay) forwards;
}

@keyframes introFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/** Compte pages mobile: background ends at 40% opacity */
@keyframes introFadeInCompteMobileBg {
  from {
    opacity: 0;
  }

  to {
    opacity: 0.4;
  }
}

.main-section__logo {
  max-width: 26rem;
  height: auto;
  margin: 0 auto var(--spacing-lg);
  filter: brightness(0) invert(1);
}

.main-section__cta {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  opacity: 0;
}

.cta-date {
  font-size: 2.5rem;
  line-height: 1.15;
}

body.intro-complete .main-section__cta {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.1s) forwards;
}

.main-section__slogan {
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0;
}

.slogan-hero {
  font-size: var(--title-size);
  line-height: 1.15;
  padding: 0 var(--spacing-md) 6rem;
}

.main-section:has(.jury-portraits) .slogan-hero {
  padding-bottom: var(--spacing-lg);
}

.main-section:has(.jury-portraits) .jury-text {
  padding-bottom: var(--spacing-lg);
}

body.intro-complete .main-section__slogan {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.2s) forwards;
}



/* ==========================================================================
   Sidebar - White, rounded top-left
   ========================================================================== */

.sidebar {
  flex: 0 0 var(--sidebar-width);
  background-color: var(--color-white);
  border-radius: var(--radius-sidebar) 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  transform: translateX(100%);
}

.sidebar--accueil {
  padding: 8rem 3rem 3rem 3rem;
}

body.intro-complete .sidebar {
  animation: introSidebarSlide var(--intro-sidebar-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--intro-sidebar-delay) forwards;
}

@keyframes introSidebarSlide {
  from {
    transform: translateX(100%);
  }

  to {
    transform: translateX(0);
  }
}

.sidebar__prize {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  opacity: 0;
}

body.intro-complete .sidebar__prize {
  animation: introFadeIn var(--intro-fade-duration) ease-out var(--intro-sidebar-fade-delay) forwards;
}

.sidebar__product {
  opacity: 0;
}

body.intro-complete .sidebar__product {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.08s) forwards;
}

.sidebar__btn {
  opacity: 0;
}

body.intro-complete .sidebar__btn {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.16s) forwards;
}

.sidebar__brands {
  opacity: 0;
}

body.intro-complete .sidebar__brands {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.24s) forwards;
}

.sidebar__prize-text {
  color: var(--color-red);
  letter-spacing: 0.02em;
  line-height: 90%;
}

.prize-gagnez,
.prize-jusqua {
  font-size: 3.5rem;
}

.prize-cadeaux {
  font-size: 2.25rem;
}

.prize-amount {
  font-size: 4.25rem;
  background: var(--gradient-prize-amount);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 95%;
}

.sidebar__product {
  width: 100%;
  height: auto;
  margin-bottom: var(--spacing-md);
}

.sidebar__btn {
  display: inline-block;
  padding: 0.5rem 1rem 0rem 1rem;
  text-decoration: none;
  color: inherit;
  border: 0.125rem solid transparent;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  background: var(--gradient-prize-amount);
  background-origin: padding-box;
  background-clip: padding-box;
  transition: transform 0.3s ease;
}

/* Inscription button (index) - white bg, gradient text + border */
.sidebar--accueil .sidebar__btn {
  background: linear-gradient(var(--color-white), var(--color-white)) padding-box,
    var(--gradient-inscription) border-box;
  background-size: 100% 100%, 200% 100%;
  background-position: 0 0, 0 0;
  border: 0.125rem solid transparent;
  transition: transform 0.3s ease, background-position 0.35s ease;
}

.sidebar--accueil .sidebar__btn:hover {
  background-position: 0 0, 100% 0;
}

.sidebar--accueil .sidebar__btn-text {
  background: var(--gradient-inscription);
  background-size: 200% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: background-position 0.35s ease;
}

.sidebar--accueil .sidebar__btn:hover .sidebar__btn-text {
  background-position: 100% 0;
}

.sidebar__btn:hover {
  transform: scale(1.05);
}

.sidebar__btn-text {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: -0.05rem;
  font-weight: 400;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--color-black);
}

.btn-inscription {
  font-size: 4.25rem;
}

.sidebar__brands {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.sidebar__brand-img {
  height: auto;
  max-width: 8rem;
}

.sidebar__brand-img--logo {
  max-width: 10rem;
}

/* ==========================================================================
   Content below header
   ========================================================================== */

.content {
  min-height: 20vh;
  background-color: var(--color-white);
}

/* ==========================================================================
   Process Section (embedded below index)
   ========================================================================== */

.process-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-white);
}

.process-section__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  grid-template-rows: 1fr auto;
  min-height: 0;
}

.process-section__main {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  text-align: left;
  overflow: hidden;
}

.process-section__main::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('/images/process/bg-process.webp');
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
}

body.intro-complete .process-section__main::before {
  animation: processMainBgFadeIn 1.2s ease-out var(--intro-bg-delay) forwards;
}

@keyframes processMainBgFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.process-section__main .process__layout {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: 12rem var(--spacing-md) var(--spacing-xl);
}

.process-section__main+.process-section__sidebar {
  grid-column: 2;
  grid-row: 1 / -1;
}

.process-section__inner>.footer--process {
  grid-column: 1;
  grid-row: 2;
}

.process-section__sidebar {
  flex: 0 0 var(--sidebar-width);
}

.process-section__legal {
  background: #000;
  padding: .5rem;
  color: var(--color-white);
  font-size: 0.75rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  justify-content: center;
  position: relative;
}

/* ==========================================================================
   Tablet (≤1024px)
   ========================================================================== */



/* ==========================================================================
   Mobile (≤768px)
   ========================================================================== */



@keyframes accueilMobileVisualFade {
  from {
    box-shadow: inset 0 0 0 100vmax rgba(132, 10, 36, 0.95);
  }

  to {
    box-shadow: inset 0 0 0 100vmax rgba(132, 10, 36, 0.2);
  }
}

/* ==========================================================================
   Modal - Inscription / Se connecter
   ========================================================================== */
body:has(.modal.is-open) {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.modal__container {
  position: relative;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--color-red);
  border-radius: 1rem;
  padding: var(--spacing-xl) 2.5rem;
  box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.4);
}

.modal__close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border-radius: 50%;
  color: var(--color-black);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.modal__close:hover {
  transform: scale(1.05);
}

.modal__close-icon {
  display: block;
  margin-top: -0.125rem;
}

.modal__title {
  color: var(--color-white);
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--spacing-xl);
  line-height: 1;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.modal__field,
.modal__alert {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.modal__alert {
  color: var(--color-white);
  text-align: center;
}

.modal__alert a {
  color: var(--color-white);
  text-decoration: underline;
  font-weight: 700;
}

.modal__label {
  color: var(--color-white);
  font-size: 0.9375rem;
}

.modal__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-black);
  background-color: var(--color-white);
  border: 0.0625rem solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  transition: border-color 0.2s ease;
}

.modal__input:disabled,
.modal__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modal__input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

.modal__input:focus {
  outline: none;
  border-color: var(--color-gold);
}

.modal__submit {
  /* margin-top: var(--spacing-sm); */
  padding: 0.875rem 2rem;
  background-color: var(--color-green);
  color: var(--color-white);
  font-size: 1rem;
  border-radius: 2rem;
  align-self: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.modal__submit:hover {
  transform: scale(1.02);
  background-color: var(--color-green-dark);
}

.modal__input:-webkit-autofill,
.modal__input:-webkit-autofill:hover,
.modal__input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: #000 !important;
  caret-color: #000 !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* Modal - Mobile (≤768px) */


/* ==========================================================================
   Modal - Vidéo (affichée après l'animation d'intro)
   ========================================================================== */



.modal__container.modal__container--video {
  max-width: 56rem;
  padding: var(--spacing-md);
}

.modal-video__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  background-color: var(--color-black);
  border-radius: 0.5rem;
  overflow: hidden;
}

.modal-video__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal--video {
  z-index: 1001;
}

/* Modal vidéo : ouverture via :target (sans JS) */
/* SEB
body.modal-video-open #modal-video {
  opacity: 1;
  visibility: visible;
}

body:has(#modal-video:target) {
  overflow: hidden;
}
*/

.modal-video__close {
  z-index: 1;
  text-decoration: none;
}


/* Modal vidéo : centrée sur mobile */


/* ==========================================================================
   Cookie consent banner
   ========================================================================== */
.cookie-consent {
  left: var(--spacing-sm);
  right: var(--spacing-sm);
  bottom: var(--spacing-sm);
}

.cookie-dashboard-button {
  position: fixed;
  cursor: pointer;
  bottom: var(--spacing-md);
  left: var(--spacing-md);
  z-index: 999;
  width: 3rem;
  height: 3rem;
  padding: 0.6rem;
  fill: var(--color-white);
  background-color: var(--color-red-logout);
  border-radius: 100%;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
  display: none;
  flex-direction: column;
  gap: var(--spacing-sm);
  justify-content: center;
  align-items: center;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.cookie-dashboard-button svg {
  width: 100%;
  display: inline-block;
}

.cookie-dashboard-button:hover {
  background-color: var(--color-red-dark);
}

.cookie-consent {
  position: fixed;
  bottom: var(--spacing-md);
  left: var(--spacing-md);
  z-index: 999;
  max-width: 28rem;
  padding: var(--spacing-md) var(--spacing-lg);
  background-color: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
  /* display: flex; */
  display: none;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.cookie-consent__text {
  font-size: 0.875rem;
  color: var(--color-black);
  line-height: 1.5;
}

.cookie-consent__link {
  color: var(--color-red);
  text-decoration: underline;
}

.cookie-consent__link:hover {
  text-decoration: none;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.cookie-consent__btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.25rem;
  font-family: var(--font-family);
  font-size: 0.875rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cookie-consent__btn--primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border: none;
}

.cookie-consent__btn--secondary {
  background-color: transparent;
  color: var(--color-black);
  border: 0.125rem solid var(--color-black);
}

.cookie-consent__btn:hover {
  transform: scale(1.02);
}



/* ==========================================================================
   Jury Page - Specific styles
   ========================================================================== */

.page-jury .header__bg--jury {
  background-image: url('/images/jury/bg-jury.webp');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-jury .main-section--jury {
  padding-top: 4rem;
}

.jury-portraits {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
}

.jury-portraits--accueil {
  margin: 0;
}

.jury-portraits--accueil .jury-portraits__img {
  width: calc((100% - var(--spacing-md)) / 2);
  max-width: 8rem;
  border: 0.25rem solid white;
}

.jury-portraits__img {
  width: calc((100% - 2 * var(--spacing-md)) / 3);
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0;
}

body.intro-complete .jury-portraits__img:nth-child(1) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.1s) forwards;
}

body.intro-complete .jury-portraits__img:nth-child(2) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.2s) forwards;
}

body.intro-complete .jury-portraits__img:nth-child(3) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.3s) forwards;
}

.jury-title {
  color: var(--color-white);
  font-size: var(--title-size);
  margin-bottom: 0.25rem;
  opacity: 0;
}

body.intro-complete .jury-title {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.4s) forwards;
}

.jury-subtitle {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0;
}

body.intro-complete .jury-subtitle {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.5s) forwards;
}

.jury-details {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.375rem;
  line-height: 1.6;
  opacity: 0;
  padding: 0 var(--spacing-md) 6rem;
}

body.intro-complete .jury-details {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.6s) forwards;
}


.jury-text {
  color: white;
  font-size: 1.375rem;
  line-height: 1.6;
  max-width: 36rem;
  opacity: 0;
  padding: 0 var(--spacing-md) 6rem;
}

body.intro-complete .jury-text {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.4s) forwards;
}

/* Sidebar jury variant - portrait inside same white sidebar */
.sidebar--jury {
  padding: 0;
  justify-content: center;
  overflow: hidden;
}

.sidebar__portrait {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 15rem;
  overflow: hidden;
  border-radius: 0.5rem;
  opacity: 0;
}

.sidebar--jury .sidebar__portrait {
  min-height: 25rem;
}

body.intro-complete .sidebar__portrait {
  animation: introFadeIn var(--intro-fade-duration) ease-out var(--intro-sidebar-fade-delay) forwards;
}

.sidebar__portrait-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
}

.sidebar__portrait-overlay {
  position: absolute;
  bottom: var(--spacing-md);
  left: 0;
  right: 0;
  color: var(--color-white);
  text-align: center;
}

.sidebar__portrait-name {
  font-size: 1.75rem;
  margin-bottom: var(--spacing-xs);
}

.sidebar__portrait-role {
  font-size: 1rem;
}

/* Jury - Tablet (≤1024px) */


/* Jury - Mobile (≤768px) */


/* ==========================================================================
   Process Page - Layout & Content
   ========================================================================== */

.page-process {
  background-color: var(--color-white);
}

.page-process .header__bg--process {
  background: transparent;
}

.page-process .main-section--process {
  position: relative;
  background-color: var(--color-white);
  padding-top: 12rem;
  align-items: stretch;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.page-process .main-section--process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/process/bg-process.webp');
  background-position: center top;
  background-size: 100% auto;
  background-repeat: no-repeat;
  pointer-events: none;
  display: block;
  animation: processBgFadeIn 2s ease-out var(--intro-bg-delay) forwards;
  opacity: 0;
}

@keyframes processBgFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.page-process .main-section--process>* {
  position: relative;
  z-index: 1;
}

.page-process .main-section--process .process__layout {
  flex: 1;
  padding: 0 var(--spacing-md) var(--spacing-xl);
}

.page-process .main-section--process .footer--process {
  margin-top: auto;
}

.process__layout {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-xl);
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

.process__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  flex: 0 0 30%;
  width: 30%;
  max-width: 20rem;
  align-self: center;
}

body.intro-complete .process__hero {
  animation: processFadeSlideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--intro-main-fade-delay) forwards;
}

@keyframes processFadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.process__hero-name {
  background: var(--gradient-prize-amount);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.process__hero-role {
  color: var(--color-gold-dark);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
}

.process__hero-portrait {
  position: relative;
  display: block;
  width: 16rem;
  height: 28rem;
  border-radius: 0 0 1rem 1rem;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.process__hero-wrapper {
  margin-bottom: var(--spacing-md);
  text-align: left;
  position: relative;
}

.process__hero-copyright {
  font-size: 0.7rem;
  margin-left: 0.5rem;
  position: absolute;
  bottom: 0.2rem;
  color: rgb(255 255 255 / 70%);
}

.process__hero-portrait-inner {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.process__hero-portrait .process__hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1);
  transition: transform 0.4s ease;
}

.process__hero-portrait:hover .process__hero-img {
  transform: scale(1.08);
}

.process__hero-portrait-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4rem;
  height: 4rem;
  pointer-events: none;
}

.process__hero-quote {
  background-color: transparent;
  padding: 0;
  margin: 0;
  font-family: var(--font-family);
  font-style: normal;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  background: var(--gradient-prize-amount);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.process__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-md);
  opacity: 0;
  flex: 1 1 70%;
  width: 70%;
  min-width: 0;
}

body.intro-complete .process__content {
  animation: processFadeSlideUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) calc(var(--intro-main-fade-delay) + 0.15s) forwards;
}

.process__branding {
  margin-bottom: var(--spacing-xs);
}

.process__logo {
  max-width: 18rem;
  height: auto;
  margin: 0 auto;
}

.process__title {
  font-size: 2.375rem;
  font-weight: 600;
  color: var(--color-red);
  line-height: 1.3;
  margin-bottom: var(--spacing-xs);
}

.process__desc {
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--color-red);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
}

.process__steps {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-md);
  opacity: 0;
  max-width: 20rem;
}

body.intro-complete .process__step:nth-child(2) {
  animation: processFadeSlideUp 0.5s ease-out calc(var(--intro-main-fade-delay) + 0.4s) forwards;
}

body.intro-complete .process__step:nth-child(3) {
  animation: processFadeSlideUp 0.5s ease-out calc(var(--intro-main-fade-delay) + 0.55s) forwards;
}

body.intro-complete .process__step:nth-child(4) {
  animation: processFadeSlideUp 0.5s ease-out calc(var(--intro-main-fade-delay) + 0.7s) forwards;
}

.process__step-num {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: var(--color-red);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  font-weight: 700;
}

.process__step-num--red {
  background-color: var(--color-red);
}

.process__step-num--gold {
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
  color: var(--color-white);
}

.process__step-num {
  transition: transform 0.3s ease;
}

/**
 * Horizontal dotted line below the step numbers, positioned absolutely across full width.
 * Animates from 0 to 60% width on intro complete.
 */
.process__step-line {
  position: absolute;
  left: 20%;
  width: 0;
  height: 0.125rem;
  top: 2rem;
  background: repeating-linear-gradient(to right,
      var(--color-red) 0,
      var(--color-red) 0.25rem,
      transparent 0.25rem,
      transparent 0.5rem);
  opacity: 0.5;
  pointer-events: none;
}

body.intro-complete .process__step-line {
  animation: processStepLineGrow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) calc(var(--intro-main-fade-delay) + 0.35s) forwards;
}

@keyframes processStepLineGrow {
  from {
    width: 0;
  }

  to {
    width: 60%;
  }
}

.process__step-body {
  flex: 1;
}

.process__step-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-red);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.process__step-title-bebas {
  font-family: 'Bebas Neue', sans-serif;
}

.process__step-desc {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-red);
  line-height: 1.4;
}

/* Last step (03): content with gold gradient typography, larger text */
.process__step:last-of-type .process__step-title,
.process__step:last-of-type .process__step-desc {
  background: var(--gradient-prize-amount);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.process__step:last-of-type .process__step-title {
  font-size: 1.9rem;
}

.process__step:last-of-type .process__step-desc {
  font-size: 1.2rem;
}

.process__step:last-of-type .process__step-title-bebas {
  font-size: 2.75rem;
  display: inline-block;
  background: var(--gradient-prize-amount);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-gold {
  color: var(--color-gold-dark);
}



/* Sidebar Process - Dark red with form */
.sidebar--process {
  background-color: var(--color-red);
  background-image: url('/images/process/visuel-sidebar.webp');
  background-position: bottom left;
  background-repeat: no-repeat;
  padding: 4rem var(--spacing-lg) var(--spacing-xl);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sidebar__form-title {
  color: var(--color-white);
  font-size: var(--title-size-tablet);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-lg);
  opacity: 0;
  width: 100%;
  max-width: 20rem;
}

.sidebar__title {
  color: var(--color-white);
  font-size: var(--title-size-tablet);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-lg);
  width: 100%;
  max-width: 20rem;
}

body.intro-complete .sidebar__form-title {
  animation: introFadeIn var(--intro-fade-duration) ease-out var(--intro-sidebar-fade-delay) forwards;
}

.page-creation-compte .sidebar__form-title {
  margin-top: 5rem;
  max-width: 24rem;
}

.page-creation-compte .sidebar__form {
  max-width: 24rem;
}

.sidebar__form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  width: 100%;
  max-width: 20rem;
  text-align: left;
}

.sidebar__field {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  opacity: 0;
}

.sidebar__field>small {
  color: rgb(255 255 255 / 50%);
}

.sidebar__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-sm);
  opacity: 0;
}

.sidebar__row .sidebar__field {
  opacity: 1;
}

body.intro-complete .sidebar__field:nth-child(1) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.08s) forwards;
}

body.intro-complete .sidebar__field:nth-child(2) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.16s) forwards;
}

body.intro-complete .sidebar__row {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.16s) forwards;
}

body.intro-complete .sidebar__field:nth-child(3) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.24s) forwards;
}

body.intro-complete .sidebar__field:nth-child(4) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.32s) forwards;
}

body.intro-complete .sidebar__field:nth-child(5) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.4s) forwards;
}

body.intro-complete .sidebar__field:nth-child(6) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.48s) forwards;
}

body.intro-complete .sidebar__field:nth-child(7) {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.56s) forwards;
}

.sidebar__field--checkbox {
  flex-direction: row;
  align-items: flex-start;
}

.sidebar__checkbox {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  margin-right: var(--spacing-sm);
  accent-color: var(--color-gold);
  cursor: pointer;
}

.sidebar__checkbox:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.sidebar__checkbox:disabled+.sidebar__checkbox-label {
  cursor: not-allowed;
}

.sidebar__checkbox-label {
  color: var(--color-white);
  font-size: 0.8125rem;
  line-height: 1.4;
  cursor: pointer;
}

.sidebar__link {
  color: var(--color-white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

.sidebar__link:hover {
  color: var(--color-gold-light);
}

.sidebar__label {
  color: var(--color-white);
  font-size: 0.875rem;
}

.sidebar__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-black);
  background-color: var(--color-white);
  border: 0.0625rem solid rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  /* transition: border-color 0.2s ease, transform 0.2s ease; */
}

.sidebar__input:not(.has_error):focus {
  outline: none;
  border-color: var(--color-gold);
}

.sidebar__input:hover {
  transform: scale(1.01);
}

.sidebar__input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


.sidebar__message {
  color: var(--color-white);
  font-size: 1.275rem;
}

/* CSS */
.spinner {
  width: 16px;
  /* taille fixe */
  height: 16px;
  /* hauteur fixe pour flex */
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-top-color: #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  flex-shrink: 0;
  /* empêche le spinner de se réduire */
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.sidebar__submit {
  margin-top: var(--spacing-md);
  padding: 0.4rem 1.5rem 0 1.5rem;
  background: var(--gradient-prize-amount);
  color: var(--color-white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  align-self: center;
  transition: transform 0.2s ease, filter 0.2s ease;
  opacity: 0;
}

.sidebar__submit:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed;
}

body.intro-complete .sidebar__submit {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-sidebar-fade-delay) + 0.64s) forwards;
}

.sidebar__submit:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Footer Process */
.footer--process {
  background-color: var(--color-green);
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  opacity: 0;
}

body.intro-complete .footer--process {
  animation: introFadeIn var(--intro-fade-duration) ease-out calc(var(--intro-main-fade-delay) + 0.85s) forwards;
}

.footer__text {
  color: var(--color-white);
  font-size: 1rem;
  margin: 0;
}

footer.bg_lightsand .footer__text {
  color: var(--color-black);
}



.footer__social {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer__social-link:hover {
  transform: scale(1.15);
}

.footer__social-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

footer.bg_lightsand .footer__social-link:hover .footer__social-icon {
  opacity: 1;
}

footer.bg_lightsand {
  box-shadow: 0 0 2rem rgb(0 0 0 / 50%);
}

footer.bg_lightsand .footer__social-icon {
  filter: brightness(0) invert(0);
  opacity: 0.6;
}

/* Process - Stacked layout (≤1280px) */


/* Process - Steps in row + hero photo/quote side by side (1280px–764px) */


/* Process - Steps stacked below 764px */


/* Process - Tablet (≤1024px) */


/* Process - Steps in row between 1024px and 768px */


/* Process - Mobile (≤768px) */


/* Process - Subtle floating animation for background (after intro) */
@keyframes processBgFloat {

  0%,
  100% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.02) translateY(-0.5%);
  }
}

/* ==========================================================================
   Violet Form Submission Page
   ========================================================================== */

.page-violet-form {
  --color-violet: #7A508F;
  background-color: var(--color-violet);
}

.page-violet-form .header__content {
  flex-direction: column;
}

.violet-form {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-height));
  background-color: var(--color-violet);
  overflow: hidden;
}

.violet-form__bg-left,
.violet-form__bg-right {
  position: absolute;
  bottom: 0;
  width: 90%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: auto 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

body.intro-complete .violet-form__bg-left,
body.intro-complete .violet-form__bg-right {
  animation: introFadeIn 0.8s ease-out var(--intro-bg-delay) forwards;
}

.violet-form__bg-left {
  display: block;
  left: 0;
  background-image: url('/images/violet/violet-form-left.webp');
  background-position: left bottom;
}

.violet-form__bg-right {
  right: 0;
  background-image: url('/images/violet/violet-form-right.webp');
  background-position: right bottom;
}

.violet-form {
  width: 100%;
}

.violet-form__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: var(--spacing-xl) 4rem 0;
}

.violet-form__heading {
  text-align: left;
  width: 100%;
  margin-bottom: var(--spacing-lg);
  padding: 0;
  opacity: 0;
}

body.intro-complete .violet-form__heading {
  animation: processFadeSlideUp 0.6s ease-out var(--intro-main-fade-delay) forwards;
}

.violet-form__title {
  color: var(--color-white);
  font-size: 4rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

.violet-form__username {
  color: var(--color-white);
  font-size: 2.25rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin: 0;
}

.violet-form__desc {
  color: var(--color-white);
  font-size: 1.25rem;
  line-height: 1.6;
  text-align: center;
  max-width: 48rem;
  margin-bottom: var(--spacing-xl);
  padding: 0;
  opacity: 0;
}

body.intro-complete .violet-form__desc {
  animation: processFadeSlideUp 0.6s ease-out calc(var(--intro-main-fade-delay) + 0.15s) forwards;
}

.violet-form .footer--process {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

/* Violet Form - Tablet (≤1024px) */


/* Violet Form - Mobile (≤768px) */

/* ==========================================================================
   Form Errors 
   ========================================================================== */

input,
textarea {
  border: 0.0625rem solid rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 0 0 0 rgb(255 255 255 / 0%);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease, opacity .2s ease !important;
}

input.has_error,
textarea.has_error {
  border-color: var(--color-error);
  box-shadow: inset 0 0 1rem 0.4rem var(--color-error);
}


/* ==========================================================================
   Recipe Submission Form - Card & Layout
   ========================================================================== */

.recipe-form {
  width: 100%;
  margin: 0;
  opacity: 0;
}

body.intro-complete .recipe-form {
  animation: processFadeSlideUp 0.6s ease-out calc(var(--intro-main-fade-delay) + 0.3s) forwards;
}

.recipe-form__card {
  background-color: rgba(255, 245, 230, 0.92);
  backdrop-filter: blur(0.5rem);
  border-radius: var(--radius-sidebar) 0 0 0;
  padding: 6rem 6rem 3rem;
  max-width: 80rem;
  margin: 0 auto;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.recipe-form__grid {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-xl);
}

.recipe-form__col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.recipe-form__col--left {
  flex: 1.2;
}

.recipe-form__col--right {
  flex: 1;
}

/* ---------- Fields ---------- */

.recipe-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.recipe-form__fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.recipe-form__label {
  color: var(--color-violet);
  font-size: 1.0625rem;
}

.recipe-form__required {
  color: var(--color-error);
  margin-left: 0.125rem;
}

.recipe-form__hint {
  font-weight: 400;
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.45);
}

.welcome-confirm__tooltip,
.recipe-form__tooltip,
.process-confirm__tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.25rem;
  padding: 0;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  vertical-align: middle;
}

.process-confirm__tooltip {
  background-color: rgb(255 255 255 / 30%);
  color: var(--color-white);
}

.process-confirm__tooltip:hover {
  color: rgba(0, 0, 0, 8);
  background-color: rgb(255 255 255 / 50%);
  transform: scale(1.1);
}

.recipe-form__tooltip {
  background-color: var(--color-violet);
  color: var(--color-white);
}

.recipe-form__tooltip:disabled {
  opacity: 0.2;
  cursor: not-allowed
}

.recipe-form__tooltip:hover {
  transform: scale(1.1);
  background-color: var(--color-violet-dark);
}

.recipe-form__tooltip-icon {
  line-height: 1;
}

.recipe-form__input,
.recipe-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-family);
  font-size: 1.0625rem;
  color: var(--color-black);
  background-color: var(--color-white);
  border: 0.0625rem solid rgba(122, 80, 143, 0.2);
  border-radius: 0.625rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.recipe-form__input::placeholder,
.recipe-form__textarea::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.recipe-form__input:focus,
.recipe-form__textarea:focus {
  outline: none;
  border-color: var(--color-violet);
  box-shadow: 0 0 0 0.1875rem rgba(122, 80, 143, 0.15);
}

.recipe-form__textarea {
  resize: vertical;
  min-height: 5rem;
}

.recipe-form__textarea--tall {
  min-height: 8rem;
}

/* ---------- Thermomix® Model Selector ---------- */

.recipe-form__models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
  margin-top: 0.5rem;
}

.recipe-form__model {
  cursor: pointer;
}

.recipe-form__model-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.recipe-form__model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: var(--spacing-sm) 0.5rem;
  border-radius: 0.75rem;
  border: 0.125rem solid rgba(122, 80, 143, 0.15);
  background-color: var(--color-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.recipe-form__model-card:hover {
  border-color: rgba(122, 80, 143, 0.35);
  transform: translateY(-0.125rem);
}

.recipe-form__model-radio:checked+.recipe-form__model-card {
  border-color: var(--color-violet);
  box-shadow: 0 0 0 0.1875rem rgba(122, 80, 143, 0.2), 0 0.25rem 0.75rem rgba(122, 80, 143, 0.15);
}

.recipe-form__model-radio:focus-visible+.recipe-form__model-card {
  outline: 0.125rem solid var(--color-violet) !important;
  outline-offset: 0.125rem;
}

.recipe-form__model-img {
  width: 5rem;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.recipe-form__model-radio:checked+.recipe-form__model-card .recipe-form__model-img {
  transform: scale(1.08);
}

.recipe-form__model-name {
  font-size: 1rem;
  color: var(--color-black);
  text-align: center;
}

.recipe-form__model-radio:checked+.recipe-form__model-card .recipe-form__model-name {
  color: var(--color-violet);
}

/* ---------- Photo Upload ---------- */

.recipe-form__uploads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  width: 100%;
}



.recipe-form__upload-slot {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recipe-form__upload-slot.disabled {
  opacity: 0.2;
  cursor: not-allowed;
}

.recipe-form__upload-slot .recipe-form__upload {
  min-height: 8rem;
}

.recipe-form__preview-slot .recipe-form__preview {
  width: 100%;
  height: 8rem;
  margin-bottom: .5rem;
}

.recipe-form__upload {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  border: 0.125rem dashed rgba(122, 80, 143, 0.3);
  border-radius: 0.75rem;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.recipe-form__upload-slot .recipe-form__upload:hover,
.recipe-form__upload-slot .recipe-form__upload.is-dragover {
  border-color: var(--color-violet);
  background-color: rgba(122, 80, 143, 0.06);
}

.recipe-form__upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}

.recipe-form__upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  pointer-events: none;
  text-align: center;
  padding: var(--spacing-sm);
}

.recipe-form__upload-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-violet);
  opacity: 0.6;
  margin-bottom: 0.25rem;
}

.recipe-form__upload-text {
  font-size: 0.9375rem;
  color: var(--color-violet);
}

.recipe-form__upload-sub {
  font-size: 0.8125rem;
  color: rgba(0, 0, 0, 0.45);
}

.recipe-form__upload-link {
  color: var(--color-violet);
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

/* Photo preview thumbnails */
.recipe-form__previews {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.recipe-form__preview {
  position: relative;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 0.0625rem solid rgba(122, 80, 143, 0.2);
}

.recipe-form__preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-form__preview-remove {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 1.375rem;
  height: 1.375rem;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: var(--color-white);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  line-height: 1;
  transition: background-color 0.2s ease;
}

.recipe-form__preview-remove:hover {
  background-color: var(--color-error);
}

/* ---------- Consent + Submit Footer ---------- */

.recipe-form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 0.0625rem solid rgba(122, 80, 143, 0.12);
}

.recipe-form__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  cursor: pointer;
  max-width: 40rem;
}

.recipe-form__consent-checkbox {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  accent-color: var(--color-violet);
  cursor: pointer;
}

.recipe-form__consent-text {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.65);
}

.recipe-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 3rem;
  background-color: var(--color-green);
  color: var(--color-white);
  font-size: 1.125rem;
  border: none;
  border-radius: 3rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0.25rem 1rem rgba(84, 176, 96, 0.3);
}

.recipe-form__submit:hover {
  transform: scale(1.03);
  background-color: var(--color-green-hover);
  box-shadow: 0 0.375rem 1.25rem rgba(84, 176, 96, 0.4);
}

.recipe-form__submit:active {
  transform: scale(0.98);
}

.recipe-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.recipe-form__submit--outline {
  background-color: transparent;
  color: var(--color-green);
  border: 0.125rem solid var(--color-green);
  box-shadow: none;
}

.recipe-form__submit--outline:hover {
  background-color: rgba(84, 176, 96, 0.08);
  box-shadow: none;
}

/* ==========================================================================
   Recipe Form - Tablet (≤1024px)
   ========================================================================== */



/* ==========================================================================
   Recipe Form - Mobile (≤768px)
   ========================================================================== */



/* ==========================================================================
   Account pages theme variants
   Add one of these classes to body to switch background images and colors:
   - violet  → violet theme (default)
   - green   → green theme
   - yellow  → yellow theme
   ========================================================================== */

.page-violet-confirm,
body.violet {
  --color-violet: #7A508F;
  --violet-confirm-block-width: 32rem;
  background-color: var(--color-violet);
}

.page-yellow-confirm,
body.yellow {
  --color-violet: #cf8008;
  --violet-confirm-block-width: 32rem;
  background-color: var(--color-violet);
}

.page-yellow-confirm .violet-confirm__bg-left,
body.yellow .violet-confirm__bg-left {
  background-image: url('/images/yellow/yellow-form-left.webp');
}

.page-yellow-confirm .violet-confirm__bg-right,
body.yellow .violet-confirm__bg-right {
  background-image: url('/images/yellow/yellow-form-right.webp');
}

/* Centered form layout for creation compte pages
   Add yellow / green / violet on body to switch background theme */
.page-creation-compte .violet-confirm__split,
.page-yellow-creation-compte .violet-confirm__split,
.page-green-creation-compte .violet-confirm__split {
  justify-content: center;
}

.page-creation-compte .violet-confirm__col--left,
.page-yellow-creation-compte .violet-confirm__col--left,
.page-green-creation-compte .violet-confirm__col--left {
  flex: 0 0 auto;
  max-width: 48rem;
  align-items: center;
  text-align: center;
}

.page-creation-compte .violet-confirm__heading,
.page-yellow-creation-compte .violet-confirm__heading,
.page-green-creation-compte .violet-confirm__heading {
  text-align: center;
}

.page-creation-compte .violet-confirm__fields,
.page-yellow-creation-compte .violet-confirm__fields,
.page-green-creation-compte .violet-confirm__fields {
  width: 50%;
}

.page-green-confirm,
body.green {
  --color-violet: #38785b;
  --violet-confirm-block-width: 32rem;
  background-color: var(--color-violet);
}

.page-green-confirm .violet-confirm__bg-left,
body.green .violet-confirm__bg-left {
  background-image: url('/images/green/green-form-left.webp');
}

.page-green-confirm .violet-confirm__bg-right,
body.green .violet-confirm__bg-right {
  background-image: url('/images/green/green-form-right.webp');
}

.page-violet-confirm .header__content,
.page-yellow-confirm .header__content,
.page-green-confirm .header__content,
.page-creation-compte .header__content,
body.violet .header__content,
body.green .header__content,
body.yellow .header__content,
.page-compte .header__content,
.page-form-submit .header__content {
  flex-direction: column;
}

.page-form-submit .violet-confirm__content.compte__content {
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}

.page-form-submit .compte__form-main {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

.page-form-submit .compte__form-main .violet-confirm__form {
  width: 100%;
}

/* Reduced spacing between form elements on form submission pages */
.page-form-submit .violet-confirm__fields {
  gap: var(--spacing-sm);
}

.page-form-submit .violet-confirm__field {
  padding: 0.25rem 0;
}

.page-form-submit .violet-confirm__field-row {
  gap: var(--spacing-sm);
}

.page-form-submit .violet-confirm__field--steps {
  margin-bottom: var(--spacing-sm);
}

.page-form-submit .violet-confirm__col--left,
.page-form-submit .violet-confirm__col--right {
  gap: var(--spacing-md);
}

.page-form-submit .compte__form-main .violet-confirm__split {
  max-width: 100%;
  width: 100%;
  align-items: flex-start;
}

.page-form-submit .compte__split.violet-confirm__split {
  align-items: flex-start;
  justify-content: flex-start;
}



/* Form overlay - "Commencer l'aventure" on Dossier Candidature */
.page-form-submit .form-overlay-wrapper {
  position: relative;
  width: 100%;
}

.page-form-submit .form-overlay-wrapper .violet-confirm__split {
  max-width: none;
}

.page-form-submit .form-overlay-wrapper .violet-confirm__form {
  transition: transform 0.3s ease;
}

/* Scale down when overlay is visible */
.page-form-submit .form-overlay-wrapper:has(.form-overlay:not(.is-hidden)) .violet-confirm__form {
  transform: scale(0.95);
}

.form-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-lg);
  background-color: rgba(0, 0, 0, 0.6);
  padding: var(--spacing-xl);
  border-radius: 1rem;
  backdrop-filter: blur(0.25rem);
  -webkit-backdrop-filter: blur(0.25rem);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.form-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.form-overlay__text {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  color: var(--color-white);
  text-align: center;
}

.form-overlay__cta {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
  color: var(--color-white);
  background-color: var(--color-violet);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-form-submit .form-overlay__cta {
  background-color: var(--color-green);
}

.form-overlay__cta:hover {
  background-color: color-mix(in srgb, var(--color-violet) 90%, black);
}

.page-form-submit .form-overlay__cta:hover {
  background-color: color-mix(in srgb, var(--color-green) 90%, black);
}

.form-overlay__cta:focus-visible {
  outline: 0.2rem solid var(--color-white) !important;
  outline-offset: 0.25rem;
}



/* ==========================================================================
   Compte (Mon compte) - Left nav, right content
   ========================================================================== */

.page-compte .violet-confirm__content.compte__content {
  justify-content: flex-start;
  align-items: flex-start;
}

.compte__split.violet-confirm__split {
  align-items: flex-start;
  justify-content: flex-start;
}



.compte__split {
  width: 100%;
}

.compte__nav {
  flex: 0 0 auto;
  width: max-content;
}

.compte__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.compte__nav-link {
  display: block;
  color: var(--color-white);
  font-size: 1.125rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.compte__nav-link:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-0.125rem);
}

/* .compte__nav-link--selected,
.compte__nav-link[aria-current="page"] {
  border-color: var(--color-white);
  box-shadow: 0 0 0 0.1875rem rgba(255, 255, 255, 0.3);
  color: var(--color-gold);
} */

.compte__nav-link--selected,
.compte__nav-link[aria-current="page"] {
  /* border-color: var(--color-white); */
  box-shadow: 0 0 0 0.1875rem rgba(255, 255, 255, 0.3);
  color: var(--color-black);
  /* background-color: var(--color-gold); */
  background-image: var(--bg_lightsand);
  background-size: 370%;
}



/* Account pages: consistent title size across compte-epreuve, compte-reglement, violet-form-submition */
.page-compte .compte__heading .violet-confirm__title,
.violet-confirm.compte .compte__heading .violet-confirm__title {
  font-size: var(--title-size);
}

.compte__main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
  gap: var(--spacing-lg);
}

.page-compte .compte__main.violet-confirm__col--right {
  flex: 1 1 auto;
}

.compte__user-name {
  color: var(--color-gold-light);
}

.compte__action {
  margin-top: var(--spacing-md);
}

.page-compte .violet-confirm__welcome-body.compte__welcome-body.square_container {
  display: flex;
  gap: .5em;
  max-width: 1200px;
  flex-wrap: wrap;
  justify-content: center;
}

.welcome_square {
  white-space: pre-wrap;
  min-width: 0;
  width: 24%;
  position: relative;
  color: var(--color-black);
  padding: var(--spacing-md);
  font-size: 1.2rem;
  border-radius: 1rem;
  aspect-ratio: 1;
  display: flex;
  gap: var(--spacing-md) 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-size: 200%;
  box-shadow: 0px 0px 1rem 0px rgba(0, 0, 0, 0.2);
  justify-content: space-between;
  transition: transform .2s;
  line-height: 1.2;
  box-sizing: border-box;
  background-color: var(--color-modal-beige);
}

.epreuve .welcome_square {
  width: 19%;
}

.welcome_square button.welcome-confirm__tooltip {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
}

.welcome_square:hover {
  transform: translateY(-0.125rem);
}

.text-square-desc {
  font-size: 1rem;
  font-weight: 300;
}

.text-square-bottom {
  font-size: 1rem;
}


@media screen and (max-width: 1280px) {
  .welcome_square {
    font-size: 1rem;
  }

  .epreuve .welcome_square {
    width: 30%;
  }
}


@media screen and (max-width: 1024px) {
  .welcome_square {
    width: 30%;
  }


}

@media screen and (max-width: 768px) {
  .welcome_square {
    width: 50%;
  }

  .epreuve .welcome_square {
    width: 50%;
  }
}

@media screen and (max-width: 568px) {
  .welcome_square {
    width: 80%;
  }

  .epreuve .welcome_square {
    width: 80%;
  }
}

@media screen and (max-width: 490px) {
  .welcome_square {
    width: 100%;
  }
}

.ambassador_box {
  position: relative;
  color: var(--color-black);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: 1.2rem;
  border-radius: 1rem;
  display: flex;
  gap: var(--spacing-md) 0;
  box-shadow: 0px 0px 1rem 0px rgba(0, 0, 0, 0.2);
  transition: transform .2s;
  line-height: 1.2;
  box-sizing: border-box;
  background-color: var(--color-modal-beige);
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  max-width: 800px;
}

@media screen and (max-width: 1024px) {
  .ambassador_box {
    flex-direction: column;

  }
}

.welcome-confirm__tooltip {
  background-color: rgb(0 0 0 / 30%);
  color: var(--color-white);
}

.page-compte .violet-confirm__welcome-body.compte__welcome-body {
  max-width: none;
}

.page-compte .compte__welcome-muted,
.page-compte .compte__welcome-highlight {
  font-size: 1.50rem;
  color: var(--color-white);
}

.page-404 .violet-confirm__content.compte__content {
  justify-content: center;
  align-items: center;
}

.page-404 .page-404__main {
  width: 100%;
  max-width: 62.5rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--spacing-lg);
}

.page-404 .compte__heading.violet-confirm__heading {
  text-align: center;
}

.page-404 .page-404__action {
  margin-top: 0;
  justify-content: center;
}









/* Votre Agence page — subtitle */
.compte-dossier-status {
  position: fixed;
  top: var(--nav-height);
  width: 100%;
  padding: 0.875rem 2rem;
  z-index: 2;
  /* background-color: rgba(255, 255, 255, 0.18);
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.35); */
  display: flex;
  justify-content: flex-end;
  box-shadow: 0 0 2rem rgb(0 0 0 / 50%);
}

.compte-dossier-status__text {
  margin: 0;
  color: var(--color-black);
  font-size: 1.125rem;
  text-align: right;
}

.compte-agence__subtitle {
  margin-top: var(--spacing-sm);
  font-size: 1.75rem;
  color: var(--color-white);
}

.compte-agence__text {
  color: var(--color-white);
  font-size: 1.25rem;
  line-height: 1.7;
}

.compte-agence__location {
  color: var(--color-gold-light);
}





/* Contact page */
.compte-contact__text {
  margin-top: var(--spacing-sm);
  font-size: 1.75rem;
  color: var(--color-white);
  line-height: 1.5;
}

.compte-contact__text_medium {
  margin-top: var(--spacing-sm);
  font-size: 1.4rem;
  color: var(--color-white);
  line-height: 1.5;
}

.compte-contact__link {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.compte-contact__link:hover {
  color: var(--color-white);
}





/* Agency card (Votre Agence page) */
.agency-card {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-xl);
  padding: var(--spacing-xl);
  border-radius: 1rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.1);
  max-width: 72rem;
}

.agency-card__visual {
  aspect-ratio: 1;
  width: 18rem;
  min-width: 18rem;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  flex-shrink: 0;
  overflow: hidden;
}

.agency-card__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.agency-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.agency-card__name {
  font-size: 1.5rem;
  color: var(--color-white);
}

.agency-card__address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: var(--color-white);
}

.agency-card__street,
.agency-card__city {
  font-size: 1.125rem;
}

.red-confirm {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-height));
  background-color: var(--color-red);
  overflow: hidden;
  width: 100%;

}

.violet-confirm {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--nav-height) - var(--status-height));
  background-color: var(--color-violet);
  overflow: hidden;
  width: 100%;
}

/* Background images (same food/flower decorations) */
.violet-confirm__bg-left,
.violet-confirm__bg-right,
.violet-confirm__bg-left-na,
.violet-confirm__bg-right-na {
  position: absolute;
  bottom: 0;
  width: 90%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: auto 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
}

.violet-confirm__bg-left.fixed,
.violet-confirm__bg-right.fixed {
  position: fixed;
  animation: none !important;
  opacity: .3;
}


body.intro-complete .violet-confirm__bg-left,
body.intro-complete .violet-confirm__bg-right {
  animation: introFadeIn 0.8s ease-out var(--intro-bg-delay) forwards;
}

.violet-confirm__bg-left {
  left: 0;
  background-image: url('/images/violet/violet-form-left.webp');
  background-position: left bottom;
}

.violet-confirm__bg-right {
  right: 0;
  background-image: url('/images/violet/violet-form-right.webp');
  background-position: right bottom;
}

/* Main content wrapper */
.violet-confirm__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: var(--spacing-xl) 4rem var(--spacing-xl);
}

.violet-confirm__content.npc {
  padding: var(--spacing-md) var(--spacing-md);
}


/* Split layout */
.violet-confirm__split {
  --violet-confirm-split-gap: var(--spacing-xl);
  display: flex;
  flex-direction: row;
  gap: var(--violet-confirm-split-gap);
  max-width: 100rem;
  margin: 0 auto;
  flex: 1;
  align-items: center;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.violet-confirm__col {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.violet-confirm__col--left {
  flex: 0 0 calc(50% - var(--violet-confirm-split-gap) / 2);
  min-width: 0;
  gap: var(--spacing-lg);
  align-items: flex-start;
  text-align: left;
  opacity: 0;
}

body.intro-complete .violet-confirm__col--left {
  animation: violetConfirmLeftIntro 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--intro-main-fade-delay) forwards;
}

body.intro-complete .violet-confirm__col--center {
  animation: none;
  transform: none;
  opacity: 1;
  flex: 0 0 auto;
  max-width: 48rem;
  align-items: center;
  text-align: center;
  min-width: 0;
  gap: var(--spacing-lg);
}

@keyframes violetConfirmLeftIntro {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}



.violet-confirm__col--right {
  flex: 0 0 calc(50% - var(--violet-confirm-split-gap) / 2);
  min-width: 0;
  gap: var(--spacing-lg);
  opacity: 0;
  align-items: flex-start;
}

body.intro-complete .violet-confirm__col--right {
  animation: processFadeSlideUp 0.6s ease-out calc(var(--intro-main-fade-delay) + 0.15s) forwards;
}

/* ---------- Left Column ---------- */

.violet-confirm__heading {
  width: 100%;
  text-align: left;
}

.violet-confirm__title {
  color: var(--color-white);
  font-size: var(--title-size);
  line-height: 1;
  margin: 0;
}

.violet-confirm__subtitle {
  color: var(--color-white);
  font-size: 2.5rem;
  line-height: 1.3;
  margin: 2rem 0 0 0;
}

.violet-confirm__text {
  color: var(--color-white);
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 1.5rem 0 0 0;
}

.violet-confirm__intro {
  color: var(--color-white);
  font-size: 2.125rem;
  line-height: 1.4;
  margin: 0;
}

.violet-confirm__form {
  width: 100%;
}

.violet-confirm__fields {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: var(--violet-confirm-block-width);
  width: 100%;
}



.violet-confirm__field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0;
}

.violet-confirm__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  width: 100%;
}

.violet-confirm__ownership {
  border: none;
  padding: 0;
  margin: var(--spacing-sm) 0 0;
}

.violet-confirm__ownership legend {
  margin-bottom: var(--spacing-sm);
}

.violet-confirm__ownership-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--spacing-sm);
  margin-top: 0.5rem;
  width: 100%;
  max-width: 22rem;
}

.violet-confirm__ownership-option {
  display: block;
  cursor: pointer;
}

.violet-confirm__ownership-option:hover .violet-confirm__ownership-label {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-0.125rem);
}

.violet-confirm__ownership-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.violet-confirm__ownership-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  font-size: 1.125rem;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.violet-confirm__ownership-radio:checked+.violet-confirm__ownership-label {
  border-color: var(--color-white);
  box-shadow: 0 0 0 0.1875rem rgba(255, 255, 255, 0.3);
  color: var(--color-gold);
}

.violet-confirm__ownership-radio:focus-visible+.violet-confirm__ownership-label {
  outline: 0.125rem solid var(--color-white) !important;
  outline-offset: 0.125rem;
}

.violet-confirm__ownership-option:active .violet-confirm__ownership-label {
  transform: scale(0.99);
}

.violet-confirm__ownership-option:hover .violet-confirm__ownership-radio:checked+.violet-confirm__ownership-label {
  transform: translateY(-0.125rem);
}

.violet-confirm__ownership-option:active .violet-confirm__ownership-radio:checked+.violet-confirm__ownership-label {
  transform: scale(0.99);
}

.violet-confirm__label {
  color: var(--color-white);
  font-size: 1.25rem;
}

.violet-confirm__input:disabled {
  opacity: .5;
  box-shadow: inset 0 0 1rem #1d4634;
  cursor: not-allowed;
}

.violet-confirm__input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-black);
  background-color: var(--color-white);
  border: none;
  border-radius: 0.625rem;
  transition: box-shadow 0.2s ease;
}

.violet-confirm__input:not(.has_error):focus {
  outline: none;
  box-shadow: 0 0 0 0.1875rem rgba(255, 255, 255, 0.4);
}

.violet-confirm__textarea {
  resize: vertical;
  min-height: 5rem;
}

.violet-confirm__textarea--tall {
  min-height: 8rem;
}

.violet-confirm__fieldset {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.violet-confirm__fieldset legend {
  margin-bottom: var(--spacing-sm);
}

.violet-confirm__hint {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--color-white);
  margin-left: 0.25rem;
}

.violet-confirm__footer {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding-top: var(--spacing-lg);
}

.violet-confirm__consent {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  cursor: pointer;
}

.violet-confirm__consent:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.5;
}

.violet-confirm__consent-checkbox {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  accent-color: var(--color-violet);
  cursor: pointer;
}

.violet-confirm__consent-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-white);
  text-align: left;
}

.violet-confirm__link {
  color: var(--color-gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

.violet-confirm__link:hover {
  color: var(--color-gold-light);
}

.violet-confirm__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

/* Informations page: form 100% width at all breakpoints */
.page-compte-informations .compte__main {
  width: 100%;
}

.page-compte-informations .compte-informations__form,
.page-compte-informations .violet-confirm__form {
  width: 100%;
  max-width: none;
}

.page-compte-informations .violet-confirm__fields {
  max-width: none;
}

.compte-informations__actions {
  width: 100%;
  justify-content: space-between;
}

.compte-informations__logout {
  text-decoration: none;
}

.violet-confirm__field--steps {
  margin-bottom: var(--spacing-lg);
}

.violet-confirm__notice {
  color: var(--color-white);
  font-size: 1.875rem;
  line-height: 1.2;
  margin: 0;
  max-width: 42rem;
}

.violet-confirm__notice strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.25rem;
  letter-spacing: 0.05em;
}

/* ---------- Welcome Body (inscription-terminee) ---------- */

.violet-confirm__welcome-body {
  color: var(--color-white);
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 36rem;
}

.violet-confirm__welcome-body p {
  margin: 0 0 var(--spacing-md);
}

.violet-confirm__welcome-body p:last-child {
  margin-bottom: 0;
}

.violet-confirm__welcome-body strong {
  font-weight: 700;
}

/* ---------- CF Body  ---------- */

.violet-confirm__contentfactory-body {
  color: var(--color-white);
  font-size: 1.08rem;
  line-height: 1.7;
  text-align: justify;
}

.violet-confirm__contentfactory-body .clear_both::after {
  display: flex;
  align-items: stretch;
  /* important */
}

.violet-confirm__contentfactory-body div:not(.clear_both) img {
  width: 100%;
  max-width: 900px;
}

.violet-confirm__img-container {
  text-align: center;
}

.violet-confirm__contentfactory-body div:not(.clear_both) iframe {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  margin: auto;
}

.violet-confirm__contentfactory-body img.violet-confirm__img_left {
  max-width: 45%;
  max-height: 20em;
  float: left;
  margin: 0.5rem 1rem 0.4rem 0;
}

.violet-confirm__contentfactory-body img.violet-confirm__img_right {
  max-width: 45%;
  max-height: 20em;
  float: right;
  margin: 0.5rem 0 0.4rem 1rem;
}

.violet-confirm__contentfactory-body img {
  box-shadow: 0 0 1rem rgba(0 0 0 / 50%);
  margin: auto;
  max-width: 900px;
}


.violet-confirm__contentfactory-body div,
.violet-confirm__contentfactory-body p {
  margin: 0 0 var(--spacing-md);
}

.violet-confirm__contentfactory-body ul,
.violet-confirm__contentfactory-body ol {
  list-style-position: inside;
  margin-left: 1em;
}

.violet-confirm__contentfactory-body p:last-child {
  margin-bottom: 0;
}

.violet-confirm__contentfactory-body strong {
  font-weight: 700;
}

.icon_tmx {
  width: 1.2rem;
  height: 1.2rem;
  display: inline-block;
  text-shadow: none;
  box-shadow: none;
  margin: 0 0.2rem;
  background-color: #fff;
}

.icon_tmx.cuillere {
  -webkit-mask: url(/libs/images/icon_cuillere.svg) no-repeat center;
  mask: url(/libs/images/icon_cuillere.svg) no-repeat center;
}

.icon_tmx.ht {
  -webkit-mask: url(/libs/images/icon_vapeur.svg) no-repeat center;
  mask: url(/libs/images/icon_vapeur.svg) no-repeat center;
}

.content-factory__text {
  color: white;
}



.content-factory__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
  width: 100%;
}

/* cache checkbox */
.filter-radio {
  display: none;
}

/* label = bouton */
.filter-label {
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 0.35rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  color: rgb(255 255 255 / 50%);
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  font-weight: 500;
}

/* hover */
.filter-label:hover {
  color: var(--color-white);
  transform: translateY(-2px);
}

/* checked state */
.filter-radio:checked+.filter-label {
  border-color: transparent;
  color: var(--color-black);
  background-image: var(--bg_lightsand);
  background-size: 200%;
  box-shadow: inset 0 0 0.7rem 0.125rem rgb(0 0 0 / 30%);
}

.content-factory__content.grid {
  position: relative;
  width: 100%;
}




.content-factory__content.grid>.grid-item {
  display: inline-block;
  width: 33%;
  box-sizing: border-box;
  padding: .75em;
}

@media screen and (max-width: 1024px) {
  .content-factory__content.grid>.grid-item {
    width: 50%;
  }
}

@media screen and (max-width:768px) {
  .content-factory__content.grid>.grid-item {
    width: 100%;
  }
}

.content-factory__content.grid>.grid-item>a {
  display: flex;
  flex-direction: column;
  background: rgb(255 255 255 / 10%);
  padding: 1em;
  width: 100%;
  border-radius: 0.35rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  gap: .3em 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 2rem rgb(0 0 0 / 50%), inset 0 0px 10rem rgb(0 0 0 / 20%);
  transition: transform .1s ease-in-out;
}

.content-factory__content.grid>.grid-item>a:hover {
  transform: scale(1.03);
}

.content-factory__content.grid>.grid-item>a>div.img_container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 250px;
  overflow: hidden;
  border-radius: 0.35rem;
}

.content-factory__content.grid>.grid-item>a>div.img_container>img {
  object-fit: contain;
}

@media screen and (max-width: 512px) {
  .violet-confirm__contentfactory-body img.violet-confirm__img_left {
    max-width: none;
    width: 100%;
    max-height: none;
    float: none;
    margin: 0.5rem auto 0.4rem;
  }

  .violet-confirm__contentfactory-body img.violet-confirm__img_right {
    max-width: none;
    width: 100%;
    max-height: none;
    float: none;
    margin: 0.5rem auto 0.4rem;
  }
}

#modal-cf .modal__container--confirm {
  max-width: 70rem;
  background-color: var(--color-modal-beige);
  border-radius: clamp(0.5rem, 1%, 1rem);
  padding: clamp(0.5rem, 1%, 1rem);
  text-align: center;
}

#modal-cf .modal__container--confirm iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

#modal-cf .modal__close {
  top: 2%;
  right: 1%;
}






/* ---------- Conditional blocks (Right Column) ---------- */

.violet-confirm__conditional-wrapper {
  display: grid;
  grid-template-rows: 1fr;
  grid-template-columns: 1fr;
  min-height: 18rem;
  width: 100%;
}

.violet-confirm__conditional {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  width: 100%;
  max-width: var(--violet-confirm-block-width);
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateX(0.75rem);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.violet-confirm__conditional.is-visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.violet-confirm__split#confirm-split:has(input[name="thermomix_owned"][value="yes"]:checked) .violet-confirm__conditional--yes,
.violet-confirm__split#confirm-split:has(input[name="thermomix_owned"][value="no"]:checked) .violet-confirm__conditional--no {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.violet-confirm__split#confirm-split .violet-confirm__conditional--yes #continue-btn {
  opacity: 0.45;
  pointer-events: none;
}

.violet-confirm__split#confirm-split:has(input[name="thermomix_model"]:checked) .violet-confirm__conditional--yes #continue-btn {
  opacity: 1;
  pointer-events: auto;
}

.violet-confirm__conditional-title {
  color: var(--color-white);
  font-size: 1.75rem;
  line-height: 1.3;
  margin: 0;
  text-align: center;
}

.violet-confirm__models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-sm);
  margin-top: 0.5rem;
}

.violet-confirm__model {
  cursor: pointer;
}

.violet-confirm__model-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.violet-confirm__model-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: var(--spacing-sm) 0.5rem;
  border-radius: 0.75rem;
  border: 0.125rem solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.violet-confirm__model-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-0.125rem);
}

.violet-confirm__model-radio:disabled+.violet-confirm__model-card {
  opacity: 0.45;
  cursor: not-allowed;
}

.violet-confirm__model-radio:checked+.violet-confirm__model-card {
  border-color: var(--color-gold);
  box-shadow: inset 0 0 1.1rem 0.0875rem var(--color-gold);
  background-color: rgb(212 168 75 / 15%);
}

/* .violet-confirm__model-radio:checked+.violet-confirm__model-card {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 0.1875rem rgba(255, 255, 255, 0.3);
} */

.violet-confirm__model-radio:focus-visible+.violet-confirm__model-card {
  outline: 0.125rem solid var(--color-white) !important;
  outline-offset: 0.125rem;
}

.violet-confirm__model-img {
  width: 5rem;
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.violet-confirm__model-radio:checked+.violet-confirm__model-card .violet-confirm__model-img {
  transform: scale(1.08);
}

.violet-confirm__model-name {
  font-size: 1rem;
  color: var(--color-white);
  text-align: center;
}

.violet-confirm__model-radio:checked+.violet-confirm__model-card .violet-confirm__model-name {
  color: var(--color-gold);
}

/* ---------- Right Column (legacy) ---------- */

.violet-confirm__how-title {
  color: var(--color-white);
  font-size: 2.25rem;
  line-height: 1.2;
  margin: 0;
}

.violet-confirm__explainer {
  position: relative;
}

.violet-confirm__explainer-visual {
  position: relative;
}

.violet-confirm__explainer-img {
  width: 100%;
  max-width: 46rem;
  height: auto;
  border-radius: 0.75rem;
  display: block;
  margin: 0 auto;
}

/* Annotation callouts */
.violet-confirm__annotation {
  position: absolute;
  max-width: 14rem;
}

.violet-confirm__annotation-text {
  color: var(--color-white);
  font-size: 0.8125rem;
  line-height: 1.4;
  display: block;
}

.violet-confirm__annotation--top {
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 22rem;
}

.violet-confirm__annotation--left {
  bottom: 1rem;
  left: -2rem;
  text-align: right;
}

.violet-confirm__annotation--right {
  top: 50%;
  right: -2rem;
  transform: translateY(-50%);
  text-align: left;
}

/* Info banner */
.violet-confirm__info {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background-color: var(--color-violet-bg);
  border: 0.125rem solid var(--color-white);
  border-radius: 0;
  padding: 1rem 1.5rem;
  max-width: 42rem;
}

.violet-confirm__info-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.violet-confirm__info-text {
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* CTA button */
.violet-confirm__action {
  display: flex;
  justify-content: flex-end;
  /* padding-right: var(--spacing-md); */
}

.violet-confirm__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 3rem;
  background-color: var(--color-green);
  color: var(--color-white);
  font-size: 1.125rem;
  font-family: var(--font-family);
  text-decoration: none;
  border: none;
  border-radius: 3rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0.25rem 1rem rgba(84, 176, 96, 0.3);
}

button.violet-confirm__cta {
  appearance: none;
  -webkit-appearance: none;
}

.violet-confirm__cta:hover {
  transform: scale(1.03);
  background-color: var(--color-green-hover);
  box-shadow: 0 0.375rem 1.25rem rgba(84, 176, 96, 0.4);
}

.violet-confirm__cta:active {
  transform: scale(0.98);
}

.violet-confirm__cta:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.violet-confirm__cta:disabled:hover {
  transform: none;
  background-color: var(--color-green);
  box-shadow: 0 0.25rem 1rem rgba(84, 176, 96, 0.3);
}

/* Outline variant: white background, green border - all breakpoints */
.violet-confirm__cta.violet-confirm__cta--outline {
  background-color: var(--color-white);
  color: var(--color-green);
  border: 0.125rem solid var(--color-green);
  box-shadow: none;
}

.violet-confirm__cta.violet-confirm__cta--outline:hover {
  background-color: var(--color-white);
  box-shadow: none;
  transform: scale(1.03);
}

.compte-informations__logout.violet-confirm__cta.violet-confirm__cta--outline {
  color: var(--color-red-logout);
  border-color: var(--color-red-logout);
  background-color: var(--color-white);
}

.compte-informations__logout.violet-confirm__cta.violet-confirm__cta--outline:hover {
  color: var(--color-red-logout);
  border-color: var(--color-red-logout);
  background-color: var(--color-white);
}

.violet-confirm__cta--agency {
  border: none;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
}

/* Recipe form inside violet-confirm: upload zones + fields width */
.violet-confirm .recipe-form__uploads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
  margin-top: 0.5rem;
}

.violet-confirm .recipe-form__upload {
  border-color: rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.1);
}

.violet-confirm .recipe-form__upload:hover,
.violet-confirm .recipe-form__upload.is-dragover {
  border-color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.2);
}

.violet-confirm .recipe-form__upload-slot.disabled .recipe-form__upload:hover,
.violet-confirm .recipe-form__upload-slot.disabled .recipe-form__upload.is-dragover {
  cursor: not-allowed;
  background: rgba(255, 255, 255, 0.1);
}

.violet-confirm .recipe-form__upload-icon {
  color: var(--color-white);
}

.violet-confirm .recipe-form__upload-text {
  color: var(--color-white);
}

.violet-confirm .recipe-form__preview {
  border-color: rgba(255, 255, 255, 0.4);
}

.justify-content-start {
  justify-content: flex-start;
}

.js-copy-link {
  background-color: #54B060;
}

.js-copy-link.copied {
  background-color: var(--color-gold);
  transition: none;
  /* instantané */
}

.js-copy-link.fade-back {
  background-color: #54B060;
  transition: background-color 0.5s ease;
}

body .recipe-form__preview-progress {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  backdrop-filter: grayscale(1) blur(0.08rem);
  -webkit-backdrop-filter: grayscale(1) blur(0.08rem);
}

body.violet .recipe-form__preview-progress {
  background-color: rgb(122, 80, 143, 0.5);
}

body.green .recipe-form__preview-progress {
  background-color: rgb(0, 143, 71, 0.5);
}

.progress-ring,
.progress-ring__text {
  grid-area: 1 / 1;
}

.progress-ring {
  width: 90%;
  height: 90%;
  display: block;
  transform: rotate(-90deg);

}

.progress-ring__bg {
  fill: none;
  stroke: rgba(0, 0, 0, 0.4);
  stroke-width: 4;
}

.progress-ring__bar {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 4;
  stroke-dasharray: 125.6;
  /* 2πr ≈ 2*3.14*20 */
  stroke-dashoffset: 125.6;
  transition: stroke-dashoffset 0.2s linear;
}

.progress-ring__text {
  grid-area: 1 / 1;
  color: white;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  text-shadow: 0 0 0.3rem black;
}


.violet-confirm .recipe-form__preview-remove {
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
}

.violet-confirm .recipe-form__upload-slot:not(.disabled) .recipe-form__preview-remove:hover {
  background-color: var(--color-error);
}

.violet-confirm .recipe-form__upload-slot.disabled .recipe-form__preview-remove:hover {
  cursor: not-allowed;
}

/* Prevent recipe-form animation when inside violet-confirm: columns animate directly.
   Otherwise the parent form animates 0.3s after columns, causing a blink (content
   fades out then back in as parent goes from opacity 0 to 1). */
body.intro-complete .violet-confirm .recipe-form {
  animation: none;
  opacity: 1;
}

.violet-confirm .recipe-form {
  opacity: 1;
}


.violet-confirm .recipe-form__tooltip {
  background-color: rgba(255, 255, 255, 0.3);
}

.violet-confirm .recipe-form__tooltip:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Footer positioning */
.violet-confirm .footer--process {
  position: relative;
  z-index: 1;
  margin-top: auto;
}



/* ==========================================================================
   Violet Confirmation - Tablet (1279px–769px): two columns, reduced elements
   Avoids overlap with min-width: 1280px to prevent layout shift at breakpoint
   ========================================================================== */



/* ==========================================================================
   Violet Confirmation - Mobile (≤768px): single column
   ========================================================================== */



/* ==========================================================================
   Modal - Confirmation (violet form submission)
   ========================================================================== */

#modal-generic {
  z-index: 1001;
}

.modal__container--confirm {
  max-width: 40rem;
  /* background-color: var(--color-modal-beige); */
  background-size: 150%;
  border-radius: 1rem;
  padding: 4rem 5rem;
  text-align: center;
}

.modal__container--confirm:not(.modal__container--warning) {
  background-image: var(--bg_lightsand);
}




.modal__confirm-title {
  color: var(--color-black);
  font-size: 2rem;
  margin-bottom: var(--spacing-lg);
}

.modal__confirm-body {
  color: var(--color-black);
  font-size: 1.375rem;
  line-height: 1.5;
  margin-bottom: var(--spacing-lg);
}

.modal__confirm-sign {
  color: var(--color-black);
  font-size: 1.25rem;
  font-style: italic;
}

/* Warning modal (submit confirmation step) */
.modal__container--warning {
  background-color: var(--color-violet);
}

.modal__warning-body {
  color: var(--color-white);
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: var(--spacing-xl);
}

.modal__warning-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 3rem;
  background-color: var(--color-green);
  color: var(--color-white);
  font-size: 1.125rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}

.modal__warning-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 0.375rem 1rem rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Responsive - Consolidated media queries by breakpoint
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

  .nav__panel,
  .compte__nav {
    transition: none;
  }

  .header__bg,
  .sidebar,
  .sidebar__prize,
  .sidebar__product,
  .sidebar__btn,
  .sidebar__brands,
  .main-section__branding,
  .main-section__cta,
  .main-section__slogan,
  .jury-portraits,
  .jury-portraits__img,
  .jury-title,
  .jury-subtitle,
  .jury-details,
  .jury-text,
  .sidebar__portrait,
  .process__hero,
  .process__content,
  .process__step,
  .page-process .main-section--process::before,
  .page-jury .main-section--jury::before,
  .page-jury .main-section--jury::after,
  .sidebar__form-title,
  .sidebar__field,
  .sidebar__submit,
  .violet-confirm__col--left,
  .violet-confirm__col--right {
    animation: none !important;
    opacity: 1;
    transform: none;
  }

  .violet-confirm__col--left,
  .violet-confirm__split,
  .violet-confirm__conditional {
    transition: none;
  }

}

@media (max-width: 1280px) {

  .main-section__cta,
  .main-section__slogan {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }

  .slogan-hero {
    font-size: var(--title-size-tablet);
  }

  .sidebar {
    flex: 0 0 var(--sidebar-width-tablet);
  }

  .main-section__logo {
    max-width: 22rem;
  }

  .prize-gagnez,
  .prize-jusqua {
    font-size: 3rem;
  }

  .prize-amount {
    font-size: 3.5rem;
  }

  .prize-cadeaux {
    font-size: 1.75rem;
  }

  .btn-inscription {
    font-size: 3rem;
  }

  .jury-title {
    font-size: var(--title-size-tablet);
  }

  .jury-subtitle {
    font-size: 1.75rem;
  }

  .jury-details {
    font-size: 1.25rem;
  }

  .jury-text {
    font-size: 1.25rem;
  }

  .sidebar--jury .sidebar__portrait {
    min-height: 20rem;
  }

  .page-process .sidebar {
    border-radius: 0;
  }

  .process-section__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .process-section__main {
    grid-column: 1;
    grid-row: 1;
  }

  .process-section__main+.process-section__sidebar {
    grid-column: 1;
    grid-row: 2;
  }

  .process-section__inner>.footer--process {
    grid-column: 1;
    grid-row: 3;
  }

  .process-section__sidebar {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    border-top-left-radius: 0rem;
  }

  .process-section .process__layout {
    flex-direction: column;
  }

  .process-section .process__content {
    flex: none;
    width: 100%;
    order: 1;
  }

  .process-section .process__hero {
    flex: none;
    width: 100%;
    max-width: none;
    order: 2;
  }

  .page-process .header__content {
    flex-direction: column;
  }

  .page-process .main-section--process {
    min-height: 0;
  }

  .page-process .sidebar--process {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .page-process .process__layout {
    flex-direction: column;
  }

  .page-process .process__content {
    flex: none;
    width: 100%;
    order: 1;
  }

  .page-process .process__hero {
    flex: none;
    width: 100%;
    max-width: none;
    order: 2;
  }

  .page-process .process__steps {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
  }

  .page-process .process__step {
    flex: none;
  }

  .page-process .process__step-line {
    display: none;
  }

  .process__hero-portrait {
    width: 14rem;
    height: 26rem;
  }

  .process__title {
    font-size: 2.125rem;
  }

  .process__step-title {
    font-size: 1.625rem;
  }

  .process__step:last-of-type .process__step-title {
    font-size: 1.75rem;
  }

  .process__step:last-of-type .process__step-desc {
    font-size: 1.0625rem;
  }

  .process__step:last-of-type .process__step-title-bebas {
    font-size: 2.4rem;
  }

  .violet-form__bg-left {
    display: none;
  }

  .violet-form__content {
    padding: var(--spacing-xl) 0 0;
  }

  .violet-form__heading {
    padding: 0 var(--spacing-md);
  }

  .violet-form__desc {
    padding: 0 var(--spacing-md);
  }

  .violet-form__title {
    font-size: 3.5rem;
  }

  .violet-form__username {
    font-size: 2rem;
  }

  .violet-form__bg-left,
  .violet-form__bg-right {
    width: 100%;
  }

  .recipe-form__card {
    padding: 6rem 5rem 3rem;
  }

  .recipe-form__model-img {
    width: 4rem;
  }

}

@media (max-width: 1280px) and (min-width: 769px) {
  .process-section .process__hero {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    text-align: left;
    max-width: 40rem;
  }

  .process-section .process__hero-name,
  .process-section .process__hero-role {
    width: 100%;
    text-align: center;
  }

  .process-section .process__hero-portrait {
    flex-shrink: 0;
    margin-right: var(--spacing-md);
  }

  .process-section .process__hero-quote {
    flex: 1;
    min-width: 0;
    align-self: center;
    text-align: left;
  }

  .page-process .process__hero {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    text-align: left;
    max-width: 40rem;
  }

  .page-process .process__hero-name,
  .page-process .process__hero-role {
    width: 100%;
    text-align: center;
  }

  .page-process .process__hero-portrait {
    flex-shrink: 0;
    margin-right: var(--spacing-md);
  }

  .page-process .process__hero-quote {
    flex: 1;
    min-width: 0;
    align-self: center;
    text-align: left;
  }

  .process-section .process__steps {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .process-section .process__step {
    flex: 1;
    max-width: 16rem;
  }

  .process-section .process__step-line {
    display: block;
  }

  .page-process .process__steps {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .page-process .process__step {
    flex: 1;
    max-width: 16rem;
  }

  .page-process .process__step-line {
    display: block;
  }

}

@media (max-width: 1279px) and (min-width: 769px) {
  .violet-confirm__welcome-body {
    font-size: 1.0625rem;
    line-height: 1.6;
  }

  .violet-confirm__bg-left {
    display: none;
  }

  .violet-confirm__bg-left,
  .violet-confirm__bg-right {
    width: 100%;
  }

  .violet-confirm__content {
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-lg);
  }

  .violet-confirm__split {
    --violet-confirm-split-gap: var(--spacing-md);
    max-width: 100%;
  }

  .violet-confirm__col--left,
  .violet-confirm__col--right {
    flex: 0 0 calc(50% - var(--spacing-md) / 2);
    gap: var(--spacing-md);
  }

  .violet-confirm__title {
    font-size: var(--title-size-tablet);
  }

  .violet-confirm__subtitle {
    font-size: 2rem;
  }

  .violet-confirm__text {
    font-size: 1.125rem;
  }

  .violet-confirm__intro {
    font-size: 1.5rem;
  }

  .violet-confirm__label {
    font-size: 1.125rem;
  }

  .violet-confirm__input {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
  }

  .violet-confirm__textarea {
    min-height: 4rem;
  }

  .violet-confirm__textarea--tall {
    min-height: 6rem;
  }

  .violet-confirm__fields {
    gap: var(--spacing-sm);
  }

  .violet-confirm__ownership-options {
    max-width: 19rem;
    gap: var(--spacing-xs);
  }

  .violet-confirm__ownership-label {
    min-height: 2.875rem;
    font-size: 1rem;
    padding: 0.625rem 0.75rem;
  }

  .violet-confirm__field {
    padding: 0.25rem 0;
  }

  .violet-confirm__models {
    gap: var(--spacing-xs);
  }

  .violet-confirm__model-img {
    width: 4rem;
  }

  .violet-confirm__model-name {
    font-size: 0.9375rem;
  }

  .violet-confirm__conditional-title {
    font-size: 1.5rem;
  }

  .violet-confirm .recipe-form__uploads {
    gap: var(--spacing-xs);
  }

  .violet-confirm__footer {
    padding-top: var(--spacing-md);
  }

  .violet-confirm__cta {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

  .violet-confirm__annotation--left,
  .violet-confirm__annotation--right {
    position: static;
    transform: none;
    max-width: 100%;
    text-align: left;
  }

  .violet-confirm__annotation--top {
    position: static;
    transform: none;
    text-align: left;
  }

}

@media (max-width: 1024px) {
  .page-form-submit .compte__form-main {
    align-items: stretch;
    width: 100%;
  }

  .page-compte .compte__welcome-muted,
  .page-compte .compte__welcome-highlight {
    font-size: 1.5rem;
  }

  .compte__split {
    flex-direction: column;
    gap: var(--spacing-xl);
  }

  .compte__nav {
    flex: 0 0 auto;
    width: 100%;
  }

  .compte__nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: var(--spacing-md);
  }

  .compte__nav-link:hover {
    transform: translateY(-0.125rem);
  }

  .compte__nav-link--selected:hover,
  .compte__nav-link[aria-current="page"]:hover {
    transform: translateY(-0.125rem);
  }

  .compte__main {
    align-items: center;
    text-align: center;
  }

  .page-compte .compte__heading .violet-confirm__title,
  .violet-confirm.compte .compte__heading .violet-confirm__title {
    font-size: var(--title-size-tablet);
  }

  .compte__heading {
    text-align: center;
  }

  .compte__welcome-body {
    text-align: center;
  }

  .compte__action {
    justify-content: center;
  }

  /* Account sidebar becomes burger panel */
  .compte__nav {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 15;
    flex: none;
    width: 100%;
    padding: var(--spacing-md);
    background-color: var(--color-black);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0s linear 0.3s;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3);
  }

  body.compte-nav-open .compte__nav {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .compte__nav-list {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .compte__nav-link {
    color: var(--color-white);
    background-color: transparent;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    text-align: center;
  }

  .compte__nav-link:hover {
    color: var(--color-white);
    transform: none;
  }

  /* No selected state in burger menu: all links look the same */
  .compte__nav-link--selected,
  .compte__nav-link[aria-current="page"] {
    color: var(--color-white);
    border: none;
    box-shadow: none;
  }

  .compte__nav-link--selected:hover,
  .compte__nav-link[aria-current="page"]:hover {
    color: var(--color-white);
    transform: none;
  }

  .page-compte .compte__heading .violet-confirm__title,
  .violet-confirm.compte .compte__heading .violet-confirm__title {
    font-size: var(--title-size-mobile);
  }

  .page-creation-compte .violet-confirm__fields {
    width: 100%;
  }

  .compte__welcome-body {
    text-align: center;
  }

  /* Informations page: form stretches at 1024px */
  .page-compte-informations .compte__main {
    align-items: stretch;
  }

  /* Règlement & Accueil: text-align left */
  .page-reglement .compte__welcome-body,
  .page-accueil .compte__welcome-body {
    text-align: left;
  }

  /* Enlarged typography for compte pages (uniform across compte-epreuve, règlement, etc.) */
  .page-compte .compte__heading .violet-confirm__title,
  .violet-confirm.compte .compte__heading .violet-confirm__title {
    font-size: 2.75rem;
  }

  /* .page-compte .violet-confirm__welcome-body.compte__welcome-body {
    font-size: 1.375rem;
  } */
  .page-compte .violet-confirm__welcome-body.compte__welcome-body {
    font-size: 1.085rem;
  }

  .page-compte .compte__welcome-highlight {
    font-size: 1.625rem;
  }

  .compte-agence__subtitle {
    font-size: 1.5rem;
  }



  .compte-contact__text {
    font-size: 1.5rem;
  }

}

@media (max-width: 768px) {
  .header {
    overflow: visible;
  }

  .compte__nav {
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    padding: var(--spacing-sm);
  }

  .compte__nav-list {
    gap: var(--spacing-xs);
  }

  .compte__nav-link {
    padding: 0.5rem var(--spacing-sm);
    font-size: 1rem;
    line-height: 1.25;
  }

  .header__content {
    flex-direction: column;
    overflow: visible;
  }

  .main-section:not(.full) {
    min-height: 60vh;
    flex: 0 0 auto;
  }

  .sidebar {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .page-accueil .sidebar,
  .page-jury .sidebar {
    border-radius: 0;
  }

  .page-accueil .header__bg {
    display: none;
  }

  .page-accueil .header__main.main-section {
    background-color: var(--color-red);
    background-image: url('/images/accueil/bg-accueil-mobile.webp');
    background-position: center 66%;
    background-size: cover;
    background-repeat: no-repeat;
    box-shadow: inset 0 0 0 100vmax rgba(132, 10, 36, 0.2);
  }

  .page-accueil .main-section__cta {
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.45);
  }

  .page-accueil .main-section__slogan {
    text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.45);
  }

  .page-accueil .jury-title,
  .page-accueil .jury-subtitle,
  .page-accueil .jury-details,
  .page-accueil .jury-text {
    text-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.45);
  }

  .page-accueil .header__main.main-section::before,
  .page-accueil .header__main.main-section::after {
    content: none;
  }

  body.intro-complete.page-accueil .header__main.main-section {
    animation: accueilMobileVisualFade 0.8s ease-out var(--intro-bg-delay) both;
  }

  .main-section__logo {
    max-width: 18rem;
  }

  .prize-gagnez,
  .prize-jusqua {
    font-size: 4rem;
  }

  .prize-amount {
    font-size: 5rem;
  }

  .prize-cadeaux {
    font-size: 2.5rem;
  }

  .btn-inscription {
    font-size: 4rem;
  }

  .cta-date {
    font-size: 1.5rem;
    line-height: 1.5;
  }

  .slogan-hero {
    font-size: var(--title-size-mobile);
    line-height: 1.5;
  }

  /* Jury section - mobile adjustments */
  .page-accueil .jury-text {
    color: var(--color-white);
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
  }

  .page-accueil .jury-portraits--accueil {
    margin-bottom: var(--spacing-xl);
  }

  .modal {
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
  }

  .modal__container {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 2 * var(--spacing-md));
    border-radius: 1rem;
    padding: var(--spacing-xl) var(--spacing-md) calc(var(--spacing-xl) + env(safe-area-inset-bottom));
  }

  .modal__title {
    font-size: 1.75rem;
  }

  .modal--video {
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
  }

  .modal--video .modal__container--video {
    max-height: 90vh;
    border-radius: 1rem;
  }



  .page-jury .header__bg--jury {
    display: none;
  }

  .page-jury .main-section--jury {
    background-color: var(--color-red);
  }

  .page-jury .main-section--jury::before,
  .page-jury .main-section--jury::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    z-index: -1;
    transform: scale(1.1);
    opacity: 0;
    transform-origin: center center;
  }

  body.intro-complete.page-jury .main-section--jury::before {
    animation: introBgSlide var(--intro-bg-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--intro-bg-delay) forwards;
  }

  body.intro-complete.page-jury .main-section--jury::after {
    animation: introBgSlide var(--intro-bg-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) var(--intro-bg-delay) forwards;
  }

  .page-jury .main-section--jury::before {
    top: 0;
    height: 50%;
    background-image: url('/images/jury/bg-jury-top.webp');
    background-position: top center;
  }

  .page-jury .main-section--jury::after {
    bottom: 0;
    height: 50%;
    background-image: url('/images/jury/bg-jury-bottom.webp');
    background-position: bottom left;
  }

  .jury-title {
    font-size: var(--title-size-mobile);
  }

  .jury-subtitle {
    font-size: 1.5rem;
  }

  .jury-details {
    font-size: 1.125rem;
    margin-bottom: 6rem;
  }

  .jury-text {
    font-size: 1.125rem;
  }

  .sidebar--jury .sidebar__portrait {
    min-height: 15rem;
  }

  .page-jury .header__content {
    flex-direction: column;
  }

  .page-jury .main-section {
    min-height: 0;
  }

  .page-jury .sidebar {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .sidebar__row {
    grid-template-columns: 1fr;
  }

  .sidebar__message {
    font-size: 0.975rem;
  }

  .sidebar__form-title {
    font-size: var(--title-size-mobile);
  }

  /* Ensure form fits on screen - compact spacing so both checkboxes are visible */
  .process-section__sidebar .sidebar__form {
    gap: var(--spacing-sm);
  }

  .process-section__sidebar.sidebar--process {
    padding-bottom: 4rem;
  }

  .process-section__sidebar .sidebar__submit {
    margin-top: var(--spacing-sm);
  }

  .process-section .process__steps {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
  }

  .process-section .process__step {
    flex: none;
  }

  .process-section .process__step-line {
    display: none;
  }

  .footer__text {
    width: 100%;
    text-align: center;
  }

  .process__title {
    font-size: 1.875rem;
  }

  .process__desc {
    font-size: 1.125rem;
  }

  .process__hero-name {
    font-size: 1.75rem;
  }

  .process__hero-quote {
    font-size: 1.25rem;
  }

  .process__hero-portrait {
    width: 16rem;
    height: 28rem;
  }

  .process__step-title {
    font-size: 1.5rem;
  }

  .process__step:last-of-type .process__step-title {
    font-size: 1.625rem;
  }

  .process__step:last-of-type .process__step-title-bebas {
    font-size: 2.2rem;
  }

  .violet-form__title {
    font-size: 2.5rem;
  }

  .violet-form__username {
    font-size: 1.5rem;
  }

  .violet-form__desc {
    font-size: 1.125rem;
  }

  .recipe-form__uploads {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .recipe-form__grid {
    flex-direction: column;
  }

  .recipe-form__card {
    border-radius: 6rem 0 0 0;
  }

  .recipe-form__models {
    grid-template-columns: repeat(2, 1fr);
  }

  .recipe-form__model-img {
    width: 3.5rem;
  }

  .recipe-form__preview {
    width: 4.5rem;
    height: 4.5rem;
  }

  .form-overlay {
    justify-content: flex-start;
  }

  .page-compte .compte__welcome-muted,
  .page-compte .compte__welcome-highlight {
    font-size: 1.375rem;
  }

  .compte-agence__subtitle {
    font-size: 1.375rem;
  }

  .compte-contact__text {
    font-size: 1.375rem;
  }

  .violet-confirm__welcome-body {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
  }

  .violet-confirm__bg-left {
    display: none;
  }

  .violet-confirm__bg-left,
  .violet-confirm__bg-right {
    width: 100%;
  }

  /* Compte pages: background image at 40% opacity on mobile */
  body.page-compte.intro-complete .violet-confirm__bg-left,
  body.page-compte.intro-complete .violet-confirm__bg-right {
    animation: introFadeInCompteMobileBg 0.8s ease-out var(--intro-bg-delay) forwards;
  }

  .violet-confirm__content:not(.npc) {
    padding: var(--spacing-xl) var(--spacing-md) var(--spacing-xl);
  }

  .violet-confirm__split {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .violet-confirm__col--left,
  .violet-confirm__col--right {
    flex: 0 0 auto;
  }

  .violet-confirm__col {
    padding-top: var(--spacing-md);
    padding-bottom: var(--spacing-md);
  }

  .violet-confirm__col--right {
    padding-top: 0;
  }

  .violet-confirm__col--left {
    padding-bottom: 0;
    transform: none;
    transition: none;
    animation: none;
    opacity: 1;
  }

  body.intro-complete .violet-confirm__col--left {
    animation: none;
    transform: none;
    opacity: 1;
  }



  .violet-confirm__col--left,
  .violet-confirm__col--right {
    align-items: center;
    text-align: center;
  }

  .violet-confirm__heading {
    text-align: center;
  }

  .violet-confirm__fields {
    align-items: center;
    width: 100%;
  }

  .violet-confirm__form.recipe-form .violet-confirm__fields {
    gap: var(--spacing-sm);
  }

  .violet-confirm__form.recipe-form .violet-confirm__field {
    padding: 0.25rem 0;
  }

  .violet-confirm__ownership legend {
    text-align: center;
  }

  .violet-confirm__ownership-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 18rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-sm);
  }

  .violet-confirm__ownership-label {
    min-height: 2.75rem;
    background-color: var(--color-white);
    border-color: rgba(122, 80, 143, 0.25);
    color: var(--color-black);
  }

  .violet-confirm__ownership-radio:checked+.violet-confirm__ownership-label {
    border-color: var(--color-violet);
    box-shadow: 0 0 0 0.1875rem rgba(122, 80, 143, 0.25);
    color: var(--color-violet);
  }

  .violet-confirm__ownership-radio:focus-visible+.violet-confirm__ownership-label {
    outline-color: var(--color-violet);
  }

  .violet-confirm__field-row {
    grid-template-columns: 1fr;
  }

  .violet-confirm__models {
    grid-template-columns: repeat(2, 1fr);
  }

  .violet-confirm__model-img {
    width: 3.5rem;
  }

  .violet-confirm__conditional-wrapper {
    min-height: 14rem;
  }

  .violet-confirm__conditional-title {
    font-size: 1.375rem;
  }

  .violet-confirm__conditional {
    gap: var(--spacing-sm);
  }

  .violet-confirm__conditional .violet-confirm__field {
    padding: 0.25rem 0;
  }

  .violet-confirm__conditional .violet-confirm__action {
    margin-top: 0;
  }

  .violet-confirm__title {
    font-size: var(--title-size-mobile);
    width: 100%;
  }

  .violet-confirm__subtitle {
    font-size: 1.375rem;
    width: 100%;
  }

  .violet-confirm__text {
    font-size: 1rem;
  }

  .violet-confirm__intro {
    font-size: 1.125rem;
  }

  .violet-confirm__how-title {
    font-size: 1.75rem;
  }

  .violet-confirm__info {
    padding: 1.25rem;
  }

  .violet-confirm__action {
    justify-content: center;
    padding-right: 0;
  }

  /* Mobile: opaque fields for better contrast and visibility */
  /*.violet-confirm__model-card {
    background-color: var(--color-white);
    border-color: rgba(122, 80, 143, 0.25);
  } */

  .violet-confirm__model-radio:checked+.violet-confirm__model-card {
    border-color: var(--color-gold);
    box-shadow: inset 0 0 1.1rem 0.0875rem var(--color-gold);
  }

  .violet-confirm__model-name {
    color: var(--color-white);
  }

  .violet-confirm__model-radio:checked+.violet-confirm__model-card .violet-confirm__model-name {
    color: var(--color-gold);
  }

  .violet-confirm .recipe-form__upload {
    background-color: var(--color-white);
    border-color: rgba(122, 80, 143, 0.3);
    gap: var(--spacing-xs);
  }

  .violet-confirm .recipe-form__upload-slot:not(.disabled) .recipe-form__upload:hover,
  .violet-confirm .recipe-form__upload-slot:not(.disabled) .recipe-form__upload.is-dragover {
    background-color: rgba(255, 255, 255, 0.95);
    border-color: var(--color-violet);
  }

  .violet-confirm .recipe-form__upload-icon {
    color: var(--color-violet);
  }

  .violet-confirm .recipe-form__upload-text {
    color: var(--color-violet);
  }

  .violet-confirm .recipe-form__uploads {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .violet-confirm__footer {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0.75rem;
    padding: var(--spacing-lg);
    margin-top: 0;
    border-top: none;
  }

  .violet-confirm__actions {
    justify-content: center;
  }

  .compte-informations__actions {
    justify-content: space-between;
  }

  .page-compte-informations .violet-confirm__fields {
    gap: var(--spacing-xs);
  }

  .page-compte-informations .violet-confirm__footer,
  .page-compte-informations .compte-informations__actions {
    width: 100%;
  }

  .violet-confirm__consent-text {
    color: var(--color-black);
  }

  .violet-confirm__consent-checkbox {
    accent-color: var(--color-violet);
  }

  .modal__container--confirm {
    max-width: 28rem;
    padding: var(--spacing-xl) var(--spacing-lg);
  }

  .modal__confirm-title {
    font-size: 1.5rem;
  }

  .modal__confirm-body {
    font-size: 1.125rem;
  }

  .modal__warning-body {
    font-size: 1.25rem;
  }

  .modal__warning-cta {
    padding: 0.75rem 2rem;
    font-size: 1rem;
  }

}

@media (max-width: 480px) {
  .agency-card {
    flex-direction: column;
    align-self: stretch;
    width: 100%;
  }

  .agency-card__visual {
    width: 100%;
    min-width: unset;
  }

}

@media (min-width: 769px) {
  .violet-confirm__split#confirm-split {
    transform: translateX(calc(25% + (var(--violet-confirm-split-gap) / 4)));
  }

  .violet-confirm__split#confirm-split.violet-confirm__split--has-selection,
  .violet-confirm__split#confirm-split:has(input[name="thermomix_owned"]:checked) {
    transform: translateX(0);
  }

}

@media (min-width: 1025px) {
  .page-compte .compte__split {
    flex-direction: row-reverse;
  }

  /* Jury only in burger (nav__panel) on desktop, never in sidebar */
  .page-compte .compte__nav-item--jury {
    display: none;
  }

}

@media (min-width: 1280px) {
  .violet-confirm__fields {
    max-width: 100%;
  }

}

.page-legal .legal__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-lg);
}

.legal__content p {
  margin-bottom: var(--spacing-sm);
}

.legal-body {
  color: var(--color-white);
  font-size: 1.08rem;
  line-height: 1.7;
  text-align: justify;
}

.legal__main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  align-items: flex-start;
  text-align: left;
  gap: var(--spacing-lg);
}

.legal__main ul {
  margin: 0 0 var(--spacing-sm);
  list-style-position: inside;
}

.legal__col {
  display: flex;
  flex-direction: column;
  max-width: 100rem;
  align-items: center;
}

.legal-body>div {
  margin-bottom: var(--spacing-xl);
}

.legal-body>div:last-child {
  margin-bottom: 0;
}

.legal-body>div>p {
  margin-bottom: var(--spacing-sm);
}

.legal__link {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.legal__link:hover {
  color: var(--color-white);
}

.fs-1 {
  font-size: 1.25rem;
}

.fs-2 {
  font-size: 1.5rem;
}

.fs-3 {
  font-size: 1.75rem;
}

.fs-4 {
  font-size: 2rem;
}