/* ============================================================
   DÉFI'PHOTO — Landing Page
   Design: Bold Minimalism (benjamin-visual-dna.md)
   Palette: Noir #1a1a1a · Jaune #FFD166 · Crème #FAF7F2 · Blanc #FFFFFF
   Typo: Space Grotesk (display) + Inter (body)
   ============================================================ */


/* ======================== RESET & BASE ======================== */

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

:root {
  --noir:   #1a1a1a;
  --jaune:  #FFD166;
  --creme:  #FAF7F2;
  --blanc:  #FFFFFF;
  --grey:   #888;

  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --container: 1400px;
  --pad-x:     clamp(24px, 5vw, 80px);
  --pad-s:     clamp(80px, 12vh, 160px);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: var(--noir);
  background: var(--blanc);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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


/* ======================== TYPOGRAPHY ======================== */

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: -0.02em;
  line-height: 0.93;
}

h2 {
  font-size: clamp(52px, 8.5vw, 118px);
  font-weight: 700;
}

h2 em {
  font-style: italic;
  font-weight: 300;
}

h3 {
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.75;
  color: #555;
}

.label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 28px;
}

.label--light {
  color: rgba(255, 255, 255, 0.45);
}


/* ======================== BUTTONS ======================== */

.btn {
  display: inline-flex;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 18px 38px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), letter-spacing var(--transition);
  position: relative;
}

.btn--yellow {
  background: var(--jaune);
  color: var(--noir);
}

.btn--yellow:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(255, 209, 102, 0.45);
  letter-spacing: 0.12em;
}

.btn--ghost {
  background: transparent;
  color: var(--blanc);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
}

.btn--ghost:hover {
  border-color: var(--blanc);
  transform: translateY(-4px);
}

.btn--block {
  width: 100%;
  justify-content: center;
}


/* ======================== SCROLL ANIMATIONS ======================== */

.anim {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.anim.visible {
  opacity: 1;
  transform: translateY(0);
}

.anim--d1 { transition-delay: 0.1s; }
.anim--d2 { transition-delay: 0.2s; }
.anim--d3 { transition-delay: 0.32s; }


/* ======================== NAV ======================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 28px var(--pad-x);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(26, 26, 26, 0.96);
  backdrop-filter: blur(14px);
  padding: 18px var(--pad-x);
}

.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.nav__logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blanc);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.85;
}

.nav__links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 44px;
  margin-left: auto;
}

.nav__links a {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--jaune);
  transition: width 0.35s var(--ease);
}

.nav__links a:hover {
  color: var(--blanc);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  background: var(--jaune) !important;
  color: var(--noir) !important;
  padding: 10px 26px;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav__cta::after { display: none !important; }

.nav__cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(255, 209, 102, 0.4) !important;
}

.nav__lang {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  margin-left: 20px;
}

.nav__lang:hover {
  border-color: var(--jaune);
  color: var(--jaune);
}

.nav--scrolled .nav__lang {
  color: rgba(0,0,0,0.5);
  border-color: rgba(0,0,0,0.2);
}

.nav--scrolled .nav__lang:hover {
  border-color: var(--noir);
  color: var(--noir);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--blanc);
  transition: var(--transition);
  transform-origin: center;
}


/* ======================== MOBILE MENU ======================== */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--noir);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}


.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu ul li {
  margin-bottom: 20px;
}

.mobile-menu ul a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 7.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blanc);
  transition: color 0.3s;
  white-space: nowrap;
}

.mobile-menu ul a:hover {
  color: var(--jaune);
}

.mobile-menu__logo {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mobile-menu__lang {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  padding: 7px 16px;
  border-radius: 3px;
  cursor: pointer;
  transition: var(--transition);
}

.mobile-menu__lang:hover {
  border-color: var(--jaune);
  color: var(--jaune);
}

.mobile-menu__logo img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: invert(1);
  opacity: 0.45;
}


/* ======================== HERO ======================== */

.hero {
  background: var(--noir);
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 130px var(--pad-x) clamp(80px, 10vh, 130px);
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: center;
}

.hero__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--jaune);
  margin-bottom: 32px;
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(60px, 9.5vw, 128px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.91;
  color: var(--blanc);
  margin-bottom: 36px;
}

.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--jaune);
}

.hero__sub {
  font-size: clamp(15px, 1.6vw, 19px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 440px;
  margin-bottom: 52px;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero photo grid */
.hero__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 460px;
}

.hero__photo {
  overflow: hidden;
  border-radius: 2px;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.hero__photo:hover img {
  transform: scale(1.06);
}

.hero__photo--a {
  grid-column: 1;
  grid-row: 1 / 3;
}

.hero__photo--b {
  grid-column: 2;
  grid-row: 1;
}

.hero__photo--c {
  grid-column: 2;
  grid-row: 2;
}

/* Scroll chevrons */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.scroll-chevrons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: scrollBounce 2.2s ease-in-out infinite;
}

.scroll-chevrons span {
  display: block;
  width: 14px;
  height: 14px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
  animation: scrollFade 2.2s ease-in-out infinite;
}

.scroll-chevrons span:nth-child(2) {
  animation-delay: 0.18s;
  opacity: 0.55;
}

.scroll-chevrons span:nth-child(3) {
  animation-delay: 0.36s;
  opacity: 0.25;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}

@keyframes scrollFade {
  0%, 100% { opacity: 0.8; }
  50%       { opacity: 0.3; }
}


/* ======================== STATS ======================== */

.stats {
  background: var(--jaune);
  padding: clamp(56px, 8vh, 100px) var(--pad-x);
}

.stats__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.stat {
  text-align: center;
}

.stat__num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--noir);
  line-height: 1;
  margin-bottom: 12px;
}

.stat__num small {
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: super;
}

.stat__label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(26, 26, 26, 0.55);
  line-height: 1.5;
}


/* ======================== STEPS ======================== */

.steps {
  background: var(--creme);
  padding: var(--pad-s) var(--pad-x);
}

.steps__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.steps__header {
  margin-bottom: clamp(60px, 10vh, 110px);
}

.steps__header h2 {
  max-width: 540px;
}

.steps__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 80px);
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.step__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(72px, 9vw, 110px);
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--noir);
  opacity: 0.07;
  line-height: 0.8;
  flex-shrink: 0;
  width: 96px;
  margin-top: -8px;
}

.step__body h3 {
  margin-bottom: 12px;
  color: var(--noir);
}

.step__body p {
  color: #666;
}


/* ======================== DÉFIS ======================== */

.defis {
  background: var(--blanc);
  padding: var(--pad-s) var(--pad-x);
}

.defis__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.defis__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(56px, 8vh, 96px);
  gap: 40px;
}

.defis__header h2 {
  max-width: 520px;
}

.defis__caption {
  max-width: 280px;
  text-align: right;
  flex-shrink: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #888;
}

.defis__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.defi {
  background: var(--creme);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.defi:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px rgba(26, 26, 26, 0.12);
}

.defi__img {
  position: relative;
  overflow: hidden;
  height: 270px;
}

.defi__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.defi:hover .defi__img img {
  transform: scale(1.07);
}

.defi__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
}

.defi__badge--easy   { background: var(--blanc); color: var(--noir); }
.defi__badge--medium { background: var(--jaune); color: var(--noir); }
.defi__badge--hard   { background: var(--noir);  color: var(--blanc); }

.defi__body {
  padding: 28px 24px 32px;
}

.defi__body h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--noir);
  margin-bottom: 10px;
  line-height: 1.25;
}

.defi__body p {
  font-size: 13px;
  line-height: 1.65;
  color: #777;
}


/* ======================== PIRATAGE ======================== */

.piratage {
  background: var(--noir);
  padding: var(--pad-s) var(--pad-x);
}

.piratage__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 10vw, 120px);
  align-items: center;
}

.piratage__content h2 {
  color: var(--blanc);
  margin-bottom: 32px;
}

.piratage__content p {
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 22px;
}

.piratage__content p strong {
  color: var(--jaune);
  font-weight: 500;
}

.piratage__content p:last-of-type {
  margin-bottom: 52px;
}

/* Score card */
.piratage__visual {
  position: relative;
}

.piratage__icon {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 100px;
  opacity: 0.15;
  pointer-events: none;
  filter: invert(1);
}

.piratage__card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 40px;
}

.piratage__card-title {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 28px;
}

.score-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.score-row:last-child {
  border-bottom: none;
}

.score-row__rank {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.2);
  width: 20px;
  flex-shrink: 0;
}

.score-row__team {
  flex: 1;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
}

.score-row__pts {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--blanc);
}

.score-row--first .score-row__team {
  font-weight: 500;
  color: var(--blanc);
}

.score-row--first .score-row__pts {
  color: var(--jaune);
}

.score-row--steal {
  background: rgba(255, 209, 102, 0.07);
  margin: 0 -40px;
  padding: 16px 40px;
  border-bottom: none;
  animation: steal-pulse 2.4s ease-in-out infinite;
}

.score-row--steal .score-row__icon {
  color: var(--jaune);
  font-size: 16px;
}

.score-row--steal .score-row__team {
  color: rgba(255, 209, 102, 0.8);
  font-size: 13px;
}

.score-row--steal .score-row__team strong {
  color: var(--jaune);
  font-weight: 600;
}

.score-row--steal .score-row__pts {
  color: var(--jaune);
}

@keyframes steal-pulse {
  0%, 100% { background: rgba(255, 209, 102, 0.07); }
  50%       { background: rgba(255, 209, 102, 0.14); }
}


/* ======================== TÉMOIGNAGE ======================== */

.temoignage {
  background: var(--creme);
  padding: var(--pad-s) var(--pad-x);
}

.temoignage__inner {
  max-width: 860px;
  margin: 0 auto;
}

blockquote {
  position: relative;
}

.temoignage__mark {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(100px, 18vw, 220px);
  font-weight: 800;
  line-height: 0.7;
  color: var(--jaune);
  opacity: 0.35;
  margin-bottom: -20px;
  user-select: none;
}

blockquote p {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--noir);
  margin-bottom: 44px;
}

blockquote cite {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--noir);
}

blockquote cite span {
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
}


/* ======================== TARIF ======================== */

.tarif {
  background: var(--blanc);
  padding: var(--pad-s) var(--pad-x);
}

.tarif__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 10vw, 140px);
  align-items: start;
}

.tarif__left {
  position: sticky;
  top: 120px;
}

.tarif__left h2 {
  max-width: 520px;
  margin-bottom: 28px;
}

.tarif__left > p {
  max-width: 360px;
  margin-bottom: 24px;
}

.tarif__aside {
  font-size: 13px !important;
  color: #999 !important;
  font-style: italic;
  max-width: 320px;
}

.tarif__card {
  background: var(--creme);
  padding: clamp(40px, 6vw, 72px);
}

.tarif__price {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.tarif__amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(60px, 9vw, 100px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--noir);
  line-height: 1;
}

.tarif__amount sup {
  font-size: 0.45em;
  font-weight: 700;
  vertical-align: super;
}

.tarif__recurrence {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

.tarif__list {
  list-style: none;
  margin-bottom: 48px;
}

.tarif__list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  font-weight: 400;
  color: var(--noir);
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 26, 26, 0.07);
  line-height: 1.4;
}

.tarif__list li::before {
  content: '✓';
  font-size: 13px;
  font-weight: 700;
  color: var(--jaune);
  background: var(--noir);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ======================== CONTACT ======================== */

.contact {
  background: var(--noir);
  padding: var(--pad-s) var(--pad-x);
}

.contact__inner {
  max-width: var(--container);
  margin: 0 auto;
}

.contact__header {
  margin-bottom: clamp(56px, 9vh, 96px);
}

.contact__header h2 {
  color: var(--blanc);
  max-width: 560px;
}

.contact__methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.contact__method {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(40px, 6vw, 72px);
  background: var(--creme);
  border: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact__method:hover {
  background: var(--blanc);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.contact__method-label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--grey);
}

.contact__method-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(22px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--noir);
  line-height: 1;
  transition: color 0.3s;
}

.contact__method:hover .contact__method-value {
  color: var(--noir);
}


/* ======================== FOOTER ======================== */

.footer {
  background: var(--noir);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px var(--pad-x);
}

.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__brand {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--blanc);
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.04em;
}

.footer__link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--jaune);
}


/* ======================== PROGRESS BAR ======================== */

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--jaune);
  z-index: 300;
  transition: width 0.1s linear;
  transform-origin: left;
}


/* ======================== MODALE CONTACT ======================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--creme);
  border: none;
  width: 100%;
  max-width: 720px;
  max-height: 90svh;
  overflow-y: auto;
  padding: clamp(36px, 5vw, 64px);
  position: relative;
  transform: translateY(24px);
  transition: transform 0.5s var(--ease);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 18px;
  color: rgba(26, 26, 26, 0.3);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  padding: 4px 8px;
}

.modal__close:hover {
  color: var(--noir);
}

.modal__header {
  margin-bottom: 40px;
}

.modal__header .label {
  color: var(--grey);
}

.modal__header h2 {
  color: var(--noir);
  font-size: clamp(36px, 5vw, 64px);
}

/* Form */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-field label {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--grey);
}

.form-field input,
.form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(26, 26, 26, 0.15);
  padding: 14px 0;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: var(--noir);
  outline: none;
  width: 100%;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--noir);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(26, 26, 26, 0.25);
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-radio-label {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--noir);
}

.form-radio input[type="radio"] {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid rgba(26,26,26,0.3);
  border-radius: 50%;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s;
}

.form-radio input[type="radio"]:checked {
  border-color: var(--noir);
}

.form-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--noir);
  border-radius: 50%;
}

.form-footer {
  margin-top: 8px;
}

.form-success {
  padding: 24px;
  background: rgba(26, 26, 26, 0.06);
  border-left: 3px solid var(--noir);
  text-align: center;
}

.form-success p {
  color: var(--noir);
  font-size: 15px;
  font-weight: 400;
}

.form-error {
  padding: 24px;
  background: rgba(200, 50, 50, 0.07);
  border-left: 3px solid #c83232;
  text-align: center;
}

.form-error p {
  color: #c83232;
  font-size: 15px;
  font-weight: 400;
}

.footer__mail {
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  transition: color 0.3s;
}

.footer__mail:hover {
  color: var(--jaune);
}


/* ======================== RESPONSIVE ======================== */

@media (max-width: 1100px) {
  .defis__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .defis__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .defis__caption {
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__photos {
    display: none;
  }

  .steps__list {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .piratage__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .tarif__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .tarif__left {
    position: static;
  }

  .stats__inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
  }

  .nav__lang {
    display: none;
  }

  .nav__burger {
    display: flex;
    margin-left: auto;
  }

  .stats__inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .stat {
    text-align: center;
  }

  .defis__grid {
    grid-template-columns: 1fr;
  }

  .contact__methods {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .piratage__icon {
    display: none;
  }
}

@media (max-width: 480px) {
  .stat__num {
    font-size: clamp(32px, 10vw, 52px);
  }

  .stat__label {
    font-size: 11px;
  }

  .hero__cta {
    flex-direction: column;
  }

  .hero__cta .btn {
    text-align: center;
    justify-content: center;
  }

  .score-row--steal {
    flex-wrap: wrap;
    gap: 8px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .modal {
    padding: 32px 24px;
  }
}
