#studio-companion-notice {
  display:none !important;
}

/* ============================================
   BREAKFAKE - Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-bottom: 70px;
}

@media (min-width: 1024px) {
  html {
    scroll-padding-bottom: 0;
    scroll-padding-top: 80px;
  }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text-dark);
  background-color: #F2F5FF;
  background-image: url('../img/bg-dots.svg');
  background-repeat: repeat;
  background-size: 8px 8px;
  background-attachment: fixed;
  overflow-x: hidden;
  padding-bottom: 70px;
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

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

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

ul {
  list-style: none;
}

/* --- Variables --- */
:root {
  --color-primary: #24346a;
  --color-primary-light: #4766d0;
  --color-primary-mid: #354d9d;
  --color-primary-xlight: #8da2e6;
  --color-accent: #e1f4b3;
  --color-text-light: #f2f5ff;
  --color-text-dark: #252e37;
  --color-white: #ffffff;

  --font-heading: 'Cairo', sans-serif;
  --font-body: 'Inter', sans-serif;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 35px;
  --space-xl: 48px;
  --space-xxl: 80px;

  --container-max: 1280px;
  --container-padding: 20px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

@media (min-width: 768px) {
  :root {
    --container-padding: 40px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 89px;
  }
}

/* --- Typographie --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  line-height: 1.1;
  text-wrap: balance;
}

h1, h2 {
  font-size: 32px;
  font-weight: 400;
}

h1 strong, h2 strong {
  font-weight: 700;
}

@media (min-width: 1024px) {
  h1, h2 {
    font-size: 48px;
  }
}

/* --- Header & Navigation --- */
.header {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: var(--space-sm) 0;
  background-color: rgba(36, 52, 106, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 -2px 16px rgba(36, 52, 106, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

@media (min-width: 1024px) {
  .header {
    bottom: auto;
    top: 0;
    padding: var(--space-md) 0;
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
}

/* Mobile : logo + burger toujours en blanc */
.header .header__logo-mark-left,
.header .header__logo-mark-right,
.header .header__logo-name,
.header .header__logo-tagline {
  filter: brightness(0) invert(1);
}

@media (min-width: 1024px) {
  .header .header__logo-mark-left,
  .header .header__logo-mark-right,
  .header .header__logo-name,
  .header .header__logo-tagline {
    filter: none;
    transition: filter 0.3s ease;
  }

  .header.is-scrolled {
    background-color: rgba(36, 52, 106, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(36, 52, 106, 0.2);
    padding: var(--space-sm) 0;
  }

  .header.is-scrolled .header__nav-list a {
    color: var(--color-text-light);
  }

  .header.is-scrolled .header__logo-mark-left,
  .header.is-scrolled .header__logo-mark-right,
  .header.is-scrolled .header__logo-name,
  .header.is-scrolled .header__logo-tagline {
    filter: brightness(0) invert(1);
  }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header__logo-mark {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header__logo-mark-left {
  width: 3px;
  height: 53px;
  transition: filter 0.3s ease;
}

.header__logo-mark-right {
  width: 57px;
  height: 53px;
  transition: filter 0.3s ease;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
  max-width: 200px;
  opacity: 1;
  transition: max-width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.3s ease;
}

.header.is-compact .header__logo-text {
  max-width: 0;
  opacity: 0;
}

.header__logo-name {
  width: 176px;
  height: auto;
  transition: filter 0.3s ease;
}

.header__logo-tagline {
  width: 176px;
  height: auto;
  transition: filter 0.3s ease;
}

.header__nav {
  display: none;
}

.header__nav-list {
  display: flex;
  gap: var(--space-md);
}

.header__nav-list a {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--color-text-dark);
  transition: opacity 0.2s ease, color 0.3s ease;
}

.header__nav-list a:hover {
  opacity: 0.7;
}

.header__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-light);
}

@media (min-width: 1024px) {
  .header__nav { display: block; }
  .header__burger { display: none; }
}

/* Mobile : header compact en bas */
@media (max-width: 1023px) {
  .header__inner {
    justify-content: space-between;
  }
  .header__logo-mark-left { width: 2px; height: 36px; }
  .header__logo-mark-right { width: 38px; height: 36px; }
  .header__logo-name { width: 120px; }
  .header__logo-tagline { width: 120px; }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  border: none;
  cursor: pointer;
  padding: 16px 32px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(36, 52, 106, 0.2);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn--primary {
  background-color: var(--color-accent);
  color: var(--color-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Shiny sweep effect on hover (inspired by simeydotme) */
.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: left 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 2;
  pointer-events: none;
}

.btn--primary:hover::before {
  left: 125%;
}

/* Subtle darken on hover */
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(36, 52, 106, 0.06);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.btn--primary:hover::after {
  opacity: 1;
}

/* --- Bouton primary animé (bordure dégradé animée) --- */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.btn-glow {
  position: relative;
  display: inline-block;
}

.btn-glow--w245 { max-width: 279px; width: 100%; }
.btn-glow--w170 { max-width: 170px; width: 100%; }

.btn-glow__link {
  display: block;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 16px 32px;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  cursor: pointer;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.btn-glow__link:hover {
  color: var(--color-text-light);
}

/* Variante secondary — fond accent, texte bleu */
.btn-glow--secondary .btn-glow__link {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.btn-glow--secondary .btn-glow__link:hover {
  color: var(--color-primary);
}

.btn-glow__link--icon {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-glow__border {
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  background: conic-gradient(
    from var(--angle),
    var(--color-white),
    #69b9e8,
    var(--color-primary-xlight),
    #69b9e8,
    var(--color-white)
  );
  background-size: 100% 100%;
  filter: blur(12px);
  animation: rotateBorder 3s linear infinite;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.5s ease;
}

.btn-glow:hover .btn-glow__border {
  opacity: 1;
}

@keyframes btnGlowBorder {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes rotateBorder {
  to { --angle: 360deg; }
}


/* --- Dot glow overlay (curseur) --- */
.dot-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    150px circle at var(--glow-x, -200px) var(--glow-y, -200px),
    #24346A 0%,
    rgba(36, 52, 106, 0.4) 40%,
    transparent 100%
  );
  -webkit-mask-image: url('../img/bg-dots.svg');
  mask-image: url('../img/bg-dots.svg');
  -webkit-mask-size: 8px 8px;
  mask-size: 8px 8px;
  -webkit-mask-repeat: repeat;
  mask-repeat: repeat;
}

/* --- Blockquote (élément partagé) --- */
.blockquote {
  position: relative;
  padding-top: var(--space-md);
}

.blockquote p {
  position: relative;
  font-family: var(--font-body);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.4;
  z-index: 1;
}

.blockquote p::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 0rem;
  width: 62.71px;
  height: 24px;
  background: url('../img/icon-quote.svg') no-repeat center / contain;
    z-index: -1;

}

.blockquote p strong {
  font-weight: 700;
}

/* Variante claire (sur fond sombre) */
.blockquote--light p {
  color: var(--color-text-light);
}

.blockquote--light p::before {
  background: url('../img/quote-bleu.svg') no-repeat center / contain;
}

@media (min-width: 1024px) {
  .blockquote p {
    font-size: 32px;
  }
}

/* --- Hero --- */
.hero {
  --hero-stop1: 30%;
  --hero-stop2: 70%;
  --hero-stop3: 130%;
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  background: radial-gradient(
    ellipse at 2.3% 104.8%,
    #24346a var(--hero-stop1),
    #69b9e8 var(--hero-stop2),
    #e1f4b3 var(--hero-stop3)
  );
  overflow: hidden;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: url('../img/bg-bottom-right-hero.png') no-repeat bottom right;
  background-size: contain;
  pointer-events: none;
  transform: scale(var(--bg-scale, 1));
  opacity: var(--bg-opacity, 1);
  transform-origin: bottom right;
  will-change: transform, opacity;
}

@media (min-width: 1024px) {
  .hero {
    --hero-stop1: 20.39%;
    --hero-stop2: 53.61%;
    --hero-stop3: 89.9%;
    padding-top: 240px;
    padding-bottom: 96px;
  }
}

/* Decorative diamonds */
.hero__diamonds {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 365px;
  height: 365px;
  pointer-events: none;
}

.hero__diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  transform: translate(-50%, -50%) rotate(45deg);
  mix-blend-mode: overlay;
  opacity: 0.15;
}

.hero__diamond--lg {
  width: 365px;
  height: 365px;
}

.hero__diamond--md {
  width: 226px;
  height: 226px;
}

.hero__diamond--sm {
  width: 140px;
  height: 140px;
}

/* Hero layout */
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Logo statique mobile dans le hero */
.hero__mobile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-bottom: var(--space-lg);
}

.hero__mobile-logo .header__logo-mark-left {
  width: 5px;
  height: 72px;
  filter: brightness(0) invert(1);
}

.hero__mobile-logo .header__logo-mark-right {
  width: 78px;
  height: 72px;
  filter: brightness(0) invert(1);
}

.hero__mobile-logo .header__logo-name {
  width: 240px;
  filter: brightness(0) invert(1);
}

.hero__mobile-logo .header__logo-tagline {
  width: 240px;
  filter: brightness(0) invert(1);
}

@media (min-width: 1024px) {
  .hero__mobile-logo {
    display: none;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero__content .btn-glow {
  margin-top: var(--space-sm);
}

.hero__title {
  letter-spacing: -0.32px;
  color: var(--color-text-light);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-light);
}

.hero__subtitle strong {
  font-weight: 700;
}


/* Hero video */
.hero__video {
  width: 100%;
}

.hero__video-trigger {
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero__video-trigger:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.hero__video-trigger img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero desktop */
@media (min-width: 1024px) {
  .hero__inner {
    position: relative;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .hero__content {
    max-width: 550px;
    flex-shrink: 0;
  }

  .hero__title {
    letter-spacing: -0.48px;
  }

  .hero__video {
    position: absolute;
    top: 0;
    right: 0;
    max-width: 500px;
    width: 45%;
  }

  .hero__diamonds {
    right: -2%;
  }
}

/* --- Section Problems (3 cards) --- */
.problems {
  padding: var(--space-xxl) 0 120px;
}

.problems__header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.problems__title {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.problems__subtitle {
  font-size: 16px;
  color: var(--color-primary);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.4;
}

.problems__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.problems__card {
  position: relative;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  padding: 32px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 46px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Cards 2 & 3 : radial gradient fidèle à Figma */
.problems__card:nth-child(2) {
  background: radial-gradient(
    ellipse at 108% -21%,
    #24346a 0%,
    #354d9d 50%,
    #4766d0 100%
  );
}

.problems__card:nth-child(3) {
  background: radial-gradient(
    ellipse at 108% -19%,
    #24346a 0%,
    #354d9d 50%,
    #4766d0 100%
  );
}

.problems__card:hover {
  transform: translateY(-4px);
}

.problems__card-icon {
  height: 80px;
  display: flex;
  align-items: center;
}

.problems__card-icon img {
  display: block;
  transition: transform 0.35s ease;
}

.problems__card:hover .problems__card-icon img {
  transform: scale(1.08);
}

.problems__card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.problems__card-title {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: none;
  line-height: 1.4;
}

.problems__card-text {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.4;
  font-weight: 400;
}

.problems__card-shape {
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 91.714px;
  height: 32.805px;
  pointer-events: none;
}

.problems .blockquote {
  margin-top: var(--space-xl);
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .problems__grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .problems__card {
    flex: 1 1 calc(50% - var(--space-lg));
    max-width: calc(50% - var(--space-lg) / 2);
  }
}

@media (min-width: 1024px) {
  .problems__grid {
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .problems__card {
    flex: 1 1 0;
    max-width: 373px;
    min-height: 441px;
  }

}

/* --- Section Stats Intro (fond vert) --- */
.stats-intro {
  position: relative;
  background-color: var(--color-accent);
  padding: var(--space-xxl) 0;
  overflow: hidden;
}

.stats-intro::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: url('../img/bg-top-right-footer.png') no-repeat top right;
  background-size: contain;
  pointer-events: none;
  transform: scale(var(--bg-scale, 1));
  opacity: var(--bg-opacity, 1);
  transform-origin: top right;
  will-change: transform, opacity;
}

.stats-intro__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stats-intro__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.stats-intro__title {
  font-size: 24px;
  color: var(--color-primary);
}

.stats-intro__text {
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.4;
  max-width: 620px;
}

.stats-intro__text p {
  margin-bottom: var(--space-xs);
}

.stats-intro__text p:last-child {
  margin-bottom: 0;
}

.stats-intro__diamonds {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  pointer-events: none;
}

.stats-intro__diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(36, 52, 106, 0.15);
  background: transparent;
  transform: translate(-50%, -50%) rotate(45deg);
  mix-blend-mode: overlay;
}

.stats-intro__diamond--lg {
  width: 575px;
  height: 575px;
}

.stats-intro__diamond--md {
  width: 356px;
  height: 356px;
}

.stats-intro__diamond--sm {
  width: 220px;
  height: 220px;
}

@media (min-width: 1024px) {
  .stats-intro__inner {
    flex-direction: row;
    gap: var(--space-lg);
  }

  .stats-intro__col {
    flex: 1 1 0;
  }

  .stats-intro__title {
    font-size: 32px;
  }
}

/* --- Section Stats (fond bleu dégradé) --- */
.stats {
  position: relative;
  background: linear-gradient(67deg, var(--color-primary) 0%, var(--color-primary-light) 62%);
  padding: var(--space-xxl) 0;
  overflow: hidden;
}

.stats::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: url('../img/bg-bottom-left-section.png') no-repeat bottom left;
  background-size: contain;
  pointer-events: none;
  transform: scale(var(--bg-scale, 1));
  opacity: var(--bg-opacity, 1);
  transform-origin: bottom left;
  will-change: transform, opacity;
}

.stats__diamonds {
  position: absolute;
  bottom: -5%;
  left: -5%;
  pointer-events: none;
}

.stats__diamond {
  position: absolute;
  bottom: 0;
  left: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  transform: rotate(45deg);
  mix-blend-mode: overlay;
}

.stats__diamond--lg {
  width: 533px;
  height: 533px;
}

.stats__diamond--md {
  width: 330px;
  height: 330px;
  bottom: 0;
  left: 0;
}

.stats__diamond--sm {
  width: 204px;
  height: 204px;
  bottom: 0;
  left: 0;
}

.stats__header {
  text-align: left;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.stats__title {
  font-size: 24px;
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.stats__subtitle {
  font-size: 16px;
  color: var(--color-white);
  line-height: 1.4;
}

.stats__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats__item {
  text-align: center;
  width: 100%;
  max-width: 370px;
}

.stats__value {
  display: inline-block;
  font-style: italic;
}

.stats__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  color: var(--color-white);
  line-height: 1.1;
}

.stats__suffix {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-white);
  line-height: 1.1;
}

.stats__label {
  font-size: 16px;
  color: var(--color-white);
  margin-top: var(--space-xs);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .stats__item {
    width: calc(50% - var(--space-lg));
  }
}

@media (min-width: 1024px) {
  .stats__title {
    font-size: 32px;
  }

  .stats__number {
    font-size: 96px;
  }

  .stats__suffix {
    font-size: 48px;
  }

  .stats__label {
    font-size: 21px;
  }

  .stats__item {
    width: auto;
  }
}

/* --- Section Séparateur --- */
.separator {
  padding: var(--space-xl) 0;
}

.separator__content {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: center;
}

.separator__icon {
  flex-shrink: 0;
  margin-top: 4px;
}

.separator__text {
  font-family: var(--font-body);
  font-size: 24px;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.4;
}

.separator__text strong {
  font-weight: 700;
}

.separator__img {
  width: 100%;
  height: auto;
  display: block;
  max-width:800px;
  margin:0 auto;
}

.separator--spaced {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (min-width: 1024px) {
  .separator--spaced {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media (min-width: 1024px) {
  .separator__text {
    font-size: 32px;
  }
}

/* --- Section Infrastructure de confiance --- */
.infrastructure {
  padding: var(--space-xxl) 0;
}

.infrastructure__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.infrastructure__title {
  color: var(--color-primary);
  margin-bottom: var(--space-xs);
}

.infrastructure__subtitle {
  font-size: 16px;
  color: var(--color-primary);
  max-width: 740px;
  margin: 0 auto;
  line-height: 1.4;
}

.infrastructure__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.infrastructure__card {
  position: relative;
  padding: 32px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: 46px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              box-shadow 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Radial gradients fidèles à Figma (origin: bottom-left) */
.infrastructure__card:nth-child(1) {
  background: radial-gradient(ellipse at 0% 100%, #24346a 18.75%, #354d9d 59.38%, #4766d0 100%);
}

.infrastructure__card:nth-child(2) {
  background: radial-gradient(ellipse at 0% 100%, #24346a 18.75%, #354d9d 59.38%, #4766d0 100%);
}

.infrastructure__card:nth-child(3) {
  background: radial-gradient(ellipse at 0% 100%, #24346a 18.75%, #354d9d 59.38%, #4766d0 100%);
}

.infrastructure__card:hover {
  transform: translateY(-4px);
}

.infrastructure__card-icon {
  height: 80px;
  display: flex;
  align-items: center;
}

.infrastructure__card-icon img {
  display: block;
  transition: transform 0.35s ease;
}

.infrastructure__card:hover .infrastructure__card-icon img {
  transform: scale(1.08);
}

.infrastructure__card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.infrastructure__card-title {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-text-light);
  text-transform: none;
  line-height: 1.4;
}

.infrastructure__card-text {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.4;
}

.infrastructure__card-shape {
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 92px;
  height: 32px;
  pointer-events: none;
}

.infrastructure__cta {
  text-align: center;
  margin-top: var(--space-xl);
}

@media (min-width: 768px) {
  .infrastructure__grid {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .infrastructure__card {
    flex: 1 1 calc(50% - var(--space-lg));
    max-width: calc(50% - var(--space-lg) / 2);
  }
}

@media (min-width: 1024px) {
  .infrastructure__grid {
    flex-wrap: nowrap;
  }

  .infrastructure__card {
    flex: 1 1 0;
    max-width: 373px;
    min-height: 403px;
  }
}

/* --- Section Preuves concrètes --- */
.proofs {
  padding: var(--space-xxl) 0;
}

.proofs__header {
  margin-bottom: var(--space-xl);
}

.proofs__title {
  color: var(--color-primary);
}

.proofs__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.proofs__item {
  position: relative;
  background-color: var(--color-white);
  padding: 32px 32px 48px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proofs__item:hover {
  transform: translateY(-2px);
}

.proofs__item-icon {
  flex-shrink: 0;
}

.proofs__item-icon img {
  display: block;
  transition: transform 0.35s ease;
}

.proofs__item:hover .proofs__item-icon img {
  transform: scale(1.06);
}

.proofs__item-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.proofs__item-title {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: none;
  line-height: 1.4;
}

.proofs__item-text {
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.4;
}

.proofs__item-shape {
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 92px;
  height: 32px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .proofs__item {
    flex-direction: row;
    align-items: flex-start;
    gap: 46px;
    padding: 32px 32px 48px;
  }
}

/* --- Section Déploiement --- */
.deployment__bg {
  --dep-s1: 0%;  --dep-s2: 20%;  --dep-s3: 40%;  --dep-s4: 55%;  --dep-s5: 70%;
  --dep-s6: 85%; --dep-s7: 100%; --dep-s8: 120%; --dep-s9: 140%;
  position: relative;
  padding: 64px 0;
  overflow: hidden;
  background: radial-gradient(
    ellipse at -3% 105%,
    #24346a var(--dep-s1),
    #29518a var(--dep-s2),
    #2d6da9 var(--dep-s3),
    #328ac9 var(--dep-s4),
    #36a7e9 var(--dep-s5),
    #61badb var(--dep-s6),
    #8ccdce var(--dep-s7),
    #b6e1c0 var(--dep-s8),
    #e1f4b3 var(--dep-s9)
  );
}

.deployment__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: url('../img/bg-top-left-section.png') no-repeat top left;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
  transform: scale(var(--bg-scale, 1));
  opacity: var(--bg-opacity, 1);
  transform-origin: top left;
  will-change: transform, opacity;
}

.deployment__diamonds {
  position: absolute;
  top: -5%;
  left: -5%;
  pointer-events: none;
}

.deployment__diamond {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  transform: rotate(45deg);
  mix-blend-mode: overlay;
}

.deployment__diamond--lg { width: 295px; height: 295px; }
.deployment__diamond--md { width: 182px; height: 182px; }
.deployment__diamond--sm { width: 113px; height: 113px; }

.deployment__inner {
  position: relative;
  z-index: 1;
}

.deployment__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-width: 620px;
  
}

.deployment__title {
  color: var(--color-text-light);
}

.deployment__text {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.4;
}

.deployment__text p {
  margin-bottom: var(--space-xs);
}

.deployment__text p:last-child {
  margin-bottom: 0;
}

/* --- Deployment cards --- */
.deployment__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.deployment__card {
  position: relative;
  background-color: #bfde73;
  padding: 88px 24px 56px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.deployment__card-number {
  position: absolute;
  top: 8px;
  right: 16px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 96px;
  font-style: italic;
  line-height: 1.4;
  color: #e1f4b3;
  text-align: right;
  transition: color 0.3s ease;
}

.deployment__card-title {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: none;
  line-height: 1.4;
}

.deployment__card-text {
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.4;
  margin-top: var(--space-xs);
}

.deployment__card-shape {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 201px;
  height: 32px;
  pointer-events: none;
}

/* --- Active card state --- */
.deployment__card.is-active {
  background-color: var(--color-accent);
}

.deployment__card.is-active .deployment__card-number {
  color: #bfde73;
}

@media (min-width: 1024px) {
  .deployment__bg {
    --dep-s2: 12.5%; --dep-s3: 25%;   --dep-s4: 37.5%; --dep-s5: 50%;
    --dep-s6: 62.5%; --dep-s7: 75%;   --dep-s8: 87.5%; --dep-s9: 100%;
    overflow: visible;
  }

  .deployment__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-xl);
  }

  .deployment__content {
    position: sticky;
    top: 30vh;
  }

  .deployment__steps {
    width: 383px;
    flex-shrink: 0;
    gap: 80px;
    margin-top: 0;
  }

  /* --- Stacking cards --- */
  .deployment__card {
    position: sticky;
    transform-origin: center top;
    transition: transform 0.15s linear, background-color 0.3s ease;
    min-height: 280px;
  }


  .deployment__card:nth-child(1) { top: 30vh; z-index: 1; }
  .deployment__card:nth-child(2) { top: 30vh; z-index: 2; }
  .deployment__card:nth-child(3) { top: 30vh; z-index: 3; }
  .deployment__card:nth-child(4) { top: 30vh; z-index: 4; }

  /* Desktop : texte invisible mais garde sa place dans le flux */
  .deployment__card-text {
    visibility: hidden;
  }

  .deployment__card.is-active .deployment__card-text {
    visibility: visible;
  }
}

/* --- Section Extra (fond vert) --- */
.extra__accent {
  position: relative;
  background: linear-gradient(90deg, #E1F4B3 0%, #BFDE73 100%);
  padding: var(--space-xxl) 0;
  overflow: hidden;
}

.extra__accent::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: 280px;
  background: url('../img/bg-top-right-footer.png') no-repeat top right;
  background-size: contain;
  pointer-events: none;
  transform: scale(var(--bg-scale, 1));
  opacity: var(--bg-opacity, 1);
  transform-origin: top right;
  will-change: transform, opacity;
}

.extra__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.extra__col--title {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.extra__col--title .extra__title {
  color: var(--color-primary);
  margin-bottom: 0;
}

.extra__text {
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.4;
  margin: 0;
}

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

.extra__feature {
  position: relative;
  background-color: var(--color-white);
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.extra__feature:hover {
  transform: translateY(-2px);
}

.extra__feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BFDE73;
}

.extra__feature-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}

.extra__feature:hover .extra__feature-icon svg {
  transform: scale(1.06);
}

.extra__feature-label {
  flex: 1 1 auto;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-primary);
  margin: 0;
}

.extra__feature-shape {
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 92px;
  height: 32px;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .extra__inner {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: var(--space-xxl);
    align-items: start;
  }
}

.extra__diamonds {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  pointer-events: none;
}

.extra__diamond {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(36, 52, 106, 0.1);
  background: transparent;
  transform: translate(-50%, -50%) rotate(45deg);
  mix-blend-mode: overlay;
}

.extra__diamond--lg {
  width: 325px;
  height: 325px;
}

.extra__diamond--md {
  width: 201px;
  height: 201px;
}

.extra__diamond--sm {
  width: 125px;
  height: 125px;
}

/* --- Section À propos --- */
.about {
  position: relative;
  background: linear-gradient(58.36deg, var(--color-primary) 0%, var(--color-primary-light) 62.08%);
  padding: var(--space-xxl) 0;
  overflow: hidden;
}

.about::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: url('../img/bg-bottom-left-section.png') no-repeat bottom left;
  background-size: contain;
  pointer-events: none;
  transform: scale(var(--bg-scale, 1));
  opacity: var(--bg-opacity, 1);
  transform-origin: bottom left;
  will-change: transform, opacity;
}

.about__diamonds {
  position: absolute;
  bottom: -5%;
  right: -5%;
  pointer-events: none;
}

.about__diamond {
  position: absolute;
  bottom: 0;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  transform: rotate(45deg);
  mix-blend-mode: overlay;
}

.about__diamond--lg {
  width: 411px;
  height: 411px;
}

.about__diamond--md {
  width: 254px;
  height: 254px;
}

.about__diamond--sm {
  width: 157px;
  height: 157px;
}

.about__inner {
  position: relative;
  z-index: 1;
}

.about__title {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.about__columns {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.about__col {
  font-size: 16px;
  color: var(--color-white);
  line-height: 1.4;
}

.about__col p {
  margin-bottom: var(--space-xs);
}

.about .blockquote {
  margin-top: var(--space-sm);
}

@media (min-width: 1024px) {
  .about__columns {
    flex-direction: row;
  }

  .about__col {
    flex: 1 1 0;
  }

}

/* --- Section Contact --- */
.contact {
  padding: var(--space-xxl) 0;
}

.contact__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact__title {
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.contact__text {
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.4;
}

.contact__person {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact__person-header {
  display: flex;
  align-items: flex-end;
  gap: var(--space-sm);
}

.contact__person-photo {
  width: 76px;
  height: 82px;
  object-fit: cover;
}

.contact__person-name {
  font-size: 21px;
  color: var(--color-primary);
  display: block;
  margin-bottom: 4px;
}

.contact__person-role {
  font-size: 16px;
  color: var(--color-primary);
  line-height: 1.4;
}

.contact__buttons {
  display: flex;
  gap: var(--space-sm);
}

.btn--icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn--icon img {
  width: 32px;
  height: auto;
}

@media (min-width: 1024px) {
  .contact__inner {
    flex-direction: row;
  }

  .contact__info {
    flex: 1 1 0;
  }

  .contact__person {
    flex: 1 1 0;
    padding-top: 55px;
  }
}

/* --- Page contenu (mentions légales, politique...) --- */
.page-content {
  padding: 160px 0 80px;
  min-height: 60vh;
}

.page-content__title {
  color: var(--color-primary);
  letter-spacing: 1px;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-accent);
}

.page-content__body {
  max-width: 800px;
  color: var(--color-text-dark);
  line-height: 1.8;
}

.page-content__body h2 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.page-content__body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: var(--space-md);
  margin-bottom: var(--space-xs);
}

.page-content__body p,
.page-content__body li {
  font-size: 15px;
  margin-bottom: var(--space-sm);
}

.page-content__body ul {
  padding-left: var(--space-md);
  list-style: disc;
}

.page-content__body a {
  color: var(--color-primary);
  text-decoration: underline;
}

@media (min-width: 1024px) {
  .page-content {
    padding: 180px 0 120px;
  }
}

/* --- Footer --- */
.footer {
  position: relative;
  background: radial-gradient(
    ellipse at -14% 116%,
    #24346a 41.35%,
    #35558a 56.01%,
    #4777a9 70.67%,
    #5898c9 85.34%,
    #69b9e8 100%
  );
  padding: 64px 0;
  overflow: hidden;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 450px;
  height: 450px;
  background: url('../img/bg-top-right-footer.png') no-repeat top right;
  background-size: contain;
  pointer-events: none;
  overflow: hidden;
}

.footer__diamonds {
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
}

.footer__diamond {
  position: absolute;
  right: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  transform: rotate(-45deg);
  mix-blend-mode: lighten;
}

.footer__diamond--lg {
  width: 479px;
  height: 479px;
  bottom: 18px;
}

.footer__diamond--md {
  width: 296px;
  height: 296px;
  bottom: 201px;
}

.footer__diamond--sm {
  width: 184px;
  height: 184px;
  bottom: 314px;
}

.footer__inner {
  position: relative;
  z-index: 1;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.footer__brand-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__desc {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 1.4;
  max-width: 706px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding: var(--space-sm) 0;
  border-top: none;
  margin-bottom: var(--space-lg);
}

.footer__links a {
  font-size: 12px;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s ease;
}

.footer__links a:hover {
  opacity: 0.7;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 12px;
  color: var(--color-text-light);
}

.footer__bottom a {
  color: var(--color-text-light);
}

@media (min-width: 1024px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* --- Menu Offcanvas Mobile --- */
.offcanvas {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.offcanvas.is-open {
  pointer-events: auto;
  visibility: visible;
}

.offcanvas__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.offcanvas.is-open .offcanvas__overlay {
  opacity: 0.6;
}

.offcanvas__panel {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-left:30px solid transparent;
  border-image: linear-gradient(to bottom, #24346a 0%, #3a5a9a 25%, #6a9a6a 50%, #bfde73 75%, #e1f4b3 100%) 1;
  padding: var(--space-xl) var(--space-md);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  max-height: 100vh;
  transform-origin: bottom right;
}

.offcanvas.is-open .offcanvas__panel {
  transform: translateY(0);
}

.offcanvas__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.offcanvas__cta-buttons {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.offcanvas__logo {
  display: flex;
  justify-content: center;
}

.offcanvas__logo-img {
  width: 240px;
  height: auto;
}

.offcanvas__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 14px 25px;
  text-align: center;
  transition: background-color 0.2s ease;
  border: 2px solid var(--color-primary);
}

.offcanvas__cta:hover {
  background-color: #d4e9a0;
}

.offcanvas__cta strong {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
}

.offcanvas__cta span {
  font-size: 11px;
  color: var(--color-primary);
}

.offcanvas__nav {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: auto;
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.offcanvas__nav a {
  font-family: var(--font-heading);
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.offcanvas__nav a:hover {
  color: var(--color-primary-light);
  padding-left: 8px;
}

.offcanvas__actions {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.offcanvas__actions .btn-glow {
  flex: 1;
  width: 0;
}

.offcanvas__actions .btn-glow__link {
  width: 100%;
}

.offcanvas__actions .btn-glow__link--icon {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1px;
}

.offcanvas__header .btn-glow__link {
  text-align: center;
}

.offcanvas__action-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background-color: var(--color-accent);
  color: var(--color-primary);
  padding: 16px 11px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.offcanvas__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: var(--space-md);
}

.offcanvas__social {
  position: fixed;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-primary);
  padding: 8px;
  z-index: 210;
}

.offcanvas__close {
  position: fixed;
  bottom: var(--space-sm);
  right: var(--container-padding);
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: 8px;
  z-index: 210;
}

@media (min-width: 1024px) {
  .offcanvas {
    display: none;
  }
}

/* --- Scroll to top --- */
.scroll-top {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  margin: var(--space-xl) auto;
  padding: 0;
  background: none;
  width: 48px;
  height: 48px;
}

.scroll-top img {
  width: 48px;
  height: 48px;
  filter: brightness(0) saturate(100%) invert(16%) sepia(50%) saturate(1500%) hue-rotate(205deg) brightness(90%) contrast(95%);
}

@media (min-width: 1024px) {
  .scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    margin: 0;
    background-color: var(--color-primary);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
  }

  .scroll-top:hover {
    background-color: var(--color-primary-light);
  }

  .scroll-top img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
  }
}

/* --- Video Modal --- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.is-active {
  display: flex;
  opacity: 1;
}

.video-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  cursor: pointer;
}

.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  z-index: 1;
  padding: 20px;
}

.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.video-modal__close:hover {
  opacity: 0.7;
}

.video-modal__close svg {
  width: 32px;
  height: 32px;
}

.video-modal__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
}

.video-modal__wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .video-modal__content {
    width: 95%;
    padding: 10px;
  }

  .video-modal__close {
    top: -50px;
  }
}
