
:root {
  --night: #0A0927;
  --night-light: #111038;
  --night-card: #15143A;
  --purple: #8444B1;
  --purple-light: #B68BDE;
  --green: #8DBB52;
  --white: #FFFFFF;
  --muted: #B9B8D0;
  --border: rgba(255, 255, 255, 0.12);
  --max-width: 1180px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(ellipse at 12% 12%, rgba(132, 68, 177, 0.12), transparent 35%),
    var(--night);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  overflow-wrap: break-word;
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--night);
  background: var(--green);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* EN-TÊTE */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(10, 9, 39, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max-width), calc(100% - 44px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.brand > img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.brand-text small {
  margin-top: 5px;
  color: var(--green);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}

.main-nav a {
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.79rem;
  border-radius: 9px;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(132, 68, 177, 0.2);
}

.main-nav a.active {
  box-shadow: inset 0 -2px var(--green);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--night-card);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
}

/* BANDEAU PARTENAIRES */

.partner-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 15px 22px;
  overflow: hidden;
  background: #100F32;
  border-bottom: 1px solid var(--border);
}

/* Le libellé « ILS NOUS ACCOMPAGNENT » est retiré du HTML. */

.partner-strip-label {
  display: none !important;
}

.partner-track {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: max-content;
  max-width: 100%;
  animation: partner-scroll 28s linear infinite;
}

.partner-strip:hover .partner-track,
.partner-strip:focus-within .partner-track {
  animation-play-state: paused;
}

.partner-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 172px;
  height: 68px;
  padding: 10px 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  transition: transform 0.2s ease;
}

.partner-logo:hover {
  transform: translateY(-3px);
}

.partner-logo img {
  display: block;
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 10px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(132, 68, 177, 0.1);
}

.partner-cta > span:last-child {
  display: flex;
  flex-direction: column;
}

.partner-cta strong {
  font-size: 0.82rem;
}

.partner-cta small {
  color: var(--muted);
  font-size: 0.68rem;
}

.plus-icon {
  display: grid;
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  place-items: center;
  color: var(--night);
  background: var(--green);
  border-radius: 10px;
  font-size: 1.4rem;
}

@keyframes partner-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* HERO */

.hero {
  position: relative;
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
  padding: 86px 0 25px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
  min-height: 480px;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.status-dot,
.mini-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(141, 187, 82, 0.6);
}

.hero h1 {
  margin: 23px 0;
  font-size: clamp(3.3rem, 6.2vw, 6.3rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 span,
.section-heading h2 span,
.territory-copy h2 span,
.team-content h2 span,
.join-copy h2 span {
  color: var(--purple-light);
}

.hero-description {
  max-width: 590px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.85;
}

.hero-actions,
.team-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 49px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 0.87rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--white);
  background: var(--purple);
  box-shadow: 0 10px 30px rgba(132, 68, 177, 0.18);
}

.button-primary:hover {
  background: #9657C1;
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--border);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  color: var(--muted);
  font-size: 0.78rem;
}

.note-line {
  display: inline-block;
  width: 35px;
  height: 2px;
  background: var(--green);
}

/* VISUEL DU LOGO */

.hero-visual {
  position: relative;
  display: grid;
  min-height: 430px;
  place-items: center;
  isolation: isolate;
}

.visual-glow {
  position: absolute;
  z-index: -1;
  width: 65%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(132, 68, 177, 0.28), transparent 70%);
  filter: blur(10px);
}

.visual-orbit {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(182, 139, 222, 0.28);
  border-radius: 50%;
}

.orbit-one {
  transform: rotate(-20deg) scaleY(0.7);
}

.orbit-two {
  transform: rotate(55deg) scaleY(0.7);
  border-color: rgba(141, 187, 82, 0.28);
}

.logo-stage {
  position: relative;
  display: grid;
  width: min(280px, 65%);
  aspect-ratio: 1;
  place-items: center;
  padding: 25px;
  background: linear-gradient(145deg, rgba(132, 68, 177, 0.19), rgba(17, 16, 56, 0.85));
  border: 1px solid rgba(182, 139, 222, 0.4);
  border-radius: 40px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.25);
  transform: rotate(-4deg);
}

.logo-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(4deg);
}

.floating-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  background: rgba(21, 20, 58, 0.95);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.22);
}

.label-top {
  top: 12%;
  right: 1%;
}

.label-bottom {
  bottom: 13%;
  left: 0;
}

.mini-dot.green {
  background: var(--green);
}

.mini-dot.purple {
  background: var(--purple-light);
  box-shadow: 0 0 13px rgba(182, 139, 222, 0.6);
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  border-top: 1px solid var(--border);
}

.hero-bottom-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* SECTIONS */

.section {
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
  padding: 90px 0;
}

.section-heading {
  max-width: 740px;
  margin: 0 auto 43px;
  text-align: center;
}

.section-heading h2,
.territory-copy h2,
.team-content h2,
.join-copy h2 {
  margin: 15px 0;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.section-heading p,
.territory-copy p,
.team-content p,
.join-copy p {
  color: var(--muted);
  line-height: 1.85;
}

/* CARTES DE PRÉSENTATION */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(145deg, rgba(21, 20, 58, 0.94), rgba(15, 14, 45, 0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(182, 139, 222, 0.45);
}

.feature-card-highlight {
  border-color: rgba(132, 68, 177, 0.55);
  background: linear-gradient(145deg, rgba(132, 68, 177, 0.17), rgba(21, 20, 58, 0.92));
}

.feature-number {
  position: absolute;
  top: 24px;
  right: 25px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
  font-weight: 900;
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--green);
  background: rgba(141, 187, 82, 0.1);
  border: 1px solid rgba(141, 187, 82, 0.22);
  border-radius: 16px;
  font-size: 1.65rem;
}

.feature-card h3 {
  margin: 22px 0 10px;
  font-size: 1.2rem;
}

.feature-card p {
  min-height: 108px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

/* TERRITOIRE */

.territory-section {
  padding-top: 45px;
}

.territory-panel {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 5vw, 65px);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 40%, rgba(132, 68, 177, 0.2), transparent 40%),
    var(--night-light);
  border: 1px solid var(--border);
  border-radius: 30px;
}

.territory-copy {
  max-width: 620px;
}

.territory-copy p {
  margin-bottom: 27px;
}

.territory-art {
  position: relative;
  display: grid;
  min-height: 330px;
  place-items: center;
}

.territory-ring {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid rgba(182, 139, 222, 0.24);
  border-radius: 50%;
}

.ring-one {
  width: 90%;
}

.ring-two {
  width: 67%;
  border-color: rgba(141, 187, 82, 0.32);
}

.ring-three {
  width: 43%;
  border-style: dashed;
}

.territory-core {
  display: grid;
  width: 125px;
  height: 125px;
  place-items: center;
  padding: 15px;
  background: rgba(132, 68, 177, 0.18);
  border: 1px solid rgba(182, 139, 222, 0.5);
  border-radius: 30px;
  box-shadow: 0 0 70px rgba(132, 68, 177, 0.18);
  transform: rotate(-8deg);
}

.territory-core img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: rotate(8deg);
}

.territory-coordinate {
  position: absolute;
  padding: 7px 10px;
  color: var(--muted);
  background: var(--night);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.coordinate-one {
  top: 9%;
  right: 6%;
  color: var(--green);
}

.coordinate-two {
  bottom: 12%;
  left: 0;
}

.coordinate-three {
  right: 0;
  bottom: 20%;
  color: var(--purple-light);
}

/* ÉQUIPE */

.team-section {
  padding-top: 40px;
}

.team-card {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 35px;
  padding: clamp(25px, 4vw, 50px);
  background: rgba(21, 20, 58, 0.7);
  border: 1px solid var(--border);
  border-radius: 28px;
}

.team-emblem {
  display: grid;
  width: 165px;
  height: 165px;
  place-items: center;
  padding: 20px;
  background: rgba(132, 68, 177, 0.14);
  border: 1px solid rgba(182, 139, 222, 0.3);
  border-radius: 28px;
}

.team-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-content p {
  max-width: 760px;
}

.team-actions {
  margin-top: 22px;
}

/* PARTENAIRES */

.partners-section {
  padding-top: 60px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 130px;
  padding: 20px;
  background: var(--night-light);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(182, 139, 222, 0.5);
}

.partner-card-logo {
  display: grid;
  flex: 0 0 125px;
  width: 125px;
  height: 75px;
  place-items: center;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
}

.partner-card-logo img {
  display: block;
  max-width: 100%;
  max-height: 55px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-card-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 5px;
}

.partner-card-info strong {
  font-size: 1rem;
}

.partner-card-info small {
  color: var(--muted);
  font-size: 0.78rem;
}

.partner-arrow {
  color: var(--green);
  font-size: 1.3rem;
}

.partner-card-invite {
  border-style: dashed;
}

.partner-add {
  display: grid;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  place-items: center;
  color: var(--green);
  background: rgba(141, 187, 82, 0.1);
  border: 1px solid rgba(141, 187, 82, 0.25);
  border-radius: 15px;
  font-size: 2rem;
}

.partners-more {
  margin-top: 24px;
  text-align: center;
}

/* REJOINDRE ACJ */

.join-section {
  padding-top: 35px;
  padding-bottom: 110px;
}

.join-panel {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  align-items: center;
  gap: 30px;
  padding: clamp(28px, 5vw, 60px);
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, rgba(132, 68, 177, 0.2), transparent 36%),
    linear-gradient(135deg, #15143A, #100F32);
  border: 1px solid rgba(132, 68, 177, 0.3);
  border-radius: 30px;
}

.join-copy {
  max-width: 650px;
}

.join-copy p {
  margin-bottom: 27px;
}

.join-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.join-mark img {
  width: min(190px, 80%);
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 15px 40px rgba(132, 68, 177, 0.22));
}

.join-mark span {
  color: var(--green);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-align: center;
}

/* PIED DE PAGE */

.site-footer {
  padding: 55px 0 20px;
  background: #07061D;
  border-top: 1px solid var(--border);
}

.footer-main,
.footer-bottom {
  width: min(var(--max-width), calc(100% - 44px));
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 35px;
  padding-bottom: 45px;
}

.footer-brand p {
  max-width: 260px;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column h2 {
  margin: 0 0 6px;
  font-size: 0.88rem;
}

.footer-column a,
.footer-column button,
.footer-legal a,
.footer-legal button {
  padding: 0;
  color: var(--muted);
  background: none;
  border: 0;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-column a:hover,
.footer-column button:hover,
.footer-legal a:hover,
.footer-legal button:hover {
  color: var(--green);
}

/* Bouton « Gérer mes cookies » */

#open-cookie-settings {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
}

#open-cookie-settings:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.73rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

/* COOKIES */

.cookie-banner {
  position: fixed;
  z-index: 1000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px;
  background: #17163E;
  border: 1px solid rgba(182, 139, 222, 0.4);
  border-radius: 18px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.45);
}

.cookie-banner-copy {
  max-width: 580px;
}

.cookie-banner-copy strong {
  font-size: 0.98rem;
}

.cookie-banner-copy p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.6;
}

.cookie-banner-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-button {
  min-height: 40px;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.cookie-button:hover {
  background: rgba(255, 255, 255, 0.11);
}

.cookie-button.cookie-accept {
  background: var(--purple);
  border-color: var(--purple);
}

.cookie-button.cookie-accept:hover {
  background: #9657C1;
}

.cookie-button.cookie-customize {
  border-color: rgba(141, 187, 82, 0.5);
}

.cookie-modal {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 3, 19, 0.8);
  backdrop-filter: blur(6px);
}

.cookie-modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  padding: 30px;
  background: #17163E;
  border: 1px solid rgba(182, 139, 222, 0.4);
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.4);
}

.cookie-close {
  position: absolute;
  top: 12px;
  right: 15px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1.5rem;
  cursor: pointer;
}

.cookie-modal-panel h2 {
  margin: 12px 0;
  font-size: 1.65rem;
  line-height: 1.2;
}

.cookie-modal-panel > p {
  color: var(--muted);
  font-size: 0.86rem;
}

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 12px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cookie-option > span:first-child,
.cookie-option > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cookie-option strong {
  font-size: 0.88rem;
}

.cookie-option small {
  color: var(--muted);
  font-size: 0.76rem;
}

.cookie-option input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
  cursor: pointer;
}

.cookie-always-on {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
}

.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

/* RESPONSIVE TABLETTES */

@media (max-width: 1100px) {
  .header-inner {
    gap: 15px;
  }

  .main-nav a {
    padding: 8px;
    font-size: 0.73rem;
  }

  .hero-grid {
    gap: 25px;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .header-inner {
    min-height: 76px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 14px 22px 20px;
    background: rgba(10, 9, 39, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .partner-strip {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 12px;
    padding: 13px 16px;
  }

  .partner-track {
    flex: 0 1 auto;
    justify-content: flex-start;
    width: max-content;
    max-width: 100%;
  }

  .hero {
    padding-top: 55px;
  }

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

  .hero-content {
    max-width: 700px;
  }

  .hero-visual {
    min-height: 340px;
  }

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

  .feature-card p {
    min-height: 0;
  }

  .territory-panel,
  .join-panel {
    grid-template-columns: 1fr;
  }

  .territory-art {
    min-height: 280px;
  }

  .team-card {
    grid-template-columns: 1fr;
  }

  .team-emblem {
    width: 125px;
    height: 125px;
  }

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

  .join-mark {
    padding-top: 10px;
  }

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

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
  }
}

/* RESPONSIVE MOBILES */

@media (max-width: 520px) {
  .header-inner,
  .hero,
  .section,
  .footer-main,
  .footer-bottom {
    width: min(100% - 30px, var(--max-width));
  }

  .brand > img {
    width: 44px;
    height: 44px;
  }

  .brand-text strong {
    font-size: 1.05rem;
  }

  .brand-text small {
    font-size: 0.54rem;
  }

  .hero {
    padding-top: 42px;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .hero-description {
    font-size: 0.94rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 285px;
  }

  .floating-label {
    font-size: 0.57rem;
    padding: 9px;
  }

  .hero-bottom {
    gap: 9px;
    font-size: 0.52rem;
  }

  .section {
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .feature-card {
    padding: 23px;
  }

  .territory-panel,
  .team-card,
  .join-panel {
    padding: 24px;
    border-radius: 22px;
  }

  .territory-art {
    min-height: 235px;
  }

  .territory-coordinate {
    font-size: 0.5rem;
  }

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

  .partner-card {
    gap: 12px;
    padding: 13px;
  }

  .partner-card-logo {
    flex-basis: 90px;
    width: 90px;
    height: 65px;
    padding: 7px;
  }

  .partner-card-logo img {
    max-height: 48px;
  }

  .partner-card-info strong {
    font-size: 0.86rem;
  }

  .partner-card-info small {
    font-size: 0.7rem;
  }

  .partner-add {
    flex-basis: 55px;
    width: 55px;
    height: 55px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-legal {
    gap: 12px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 17px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-customize {
    grid-column: 1 / -1;
  }

  .cookie-modal-panel {
    padding: 25px 18px;
  }

  .cookie-option {
    padding: 12px;
    gap: 10px;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-modal-actions .cookie-button {
    width: 100%;
  }
}

/* ACCESSIBILITÉ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
