/* AADENA10 Site Manager — front v0.1.9 */
.aad10-shell,
.aad10-shell *,
.aad10-header,
.aad10-header *,
.aad10-sticky-bar,
.aad10-sticky-bar * {
  box-sizing: border-box;
}

.aad10-shell {
  position: relative;
  font-family: Inter, Arial, sans-serif;
  color: var(--aad10-navy);
}

.aad10-fullbleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.aad10-hero-wrap {
  position: relative;
  isolation: isolate;
}

/* Header initial : il appartient au hero et défile naturellement avec lui. */
.aad10-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--aad10-header-height);
  overflow: visible;
  background: transparent;
  color: var(--aad10-white);
  font-family: Inter, Arial, sans-serif;
  pointer-events: none;
}

.aad10-header__inner,
.aad10-sticky-bar__inner {
  position: relative;
  z-index: 2;
  width: min(var(--aad10-content), calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: clamp(18px, 2.2vw, 38px);
  pointer-events: auto;
}

.aad10-header__logo {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  align-self: start;
  justify-self: start;
  gap: var(--aad10-logo-tagline-gap);
  transform: translateY(var(--aad10-logo-offset));
  transform-origin: top center;
  text-decoration: none !important;
}

.aad10-header__logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: padding .24s ease, border-radius .24s ease, box-shadow .24s ease;
}

.aad10-header--support-circle-white .aad10-header__logo-badge,
.aad10-header--support-rounded-white .aad10-header__logo-badge {
  padding: var(--aad10-logo-support-padding);
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 7px 22px rgba(3, 23, 45, .14);
}

.aad10-header--support-circle-white .aad10-header__logo-badge {
  border-radius: 999px;
  aspect-ratio: 1;
}

.aad10-header--support-rounded-white .aad10-header__logo-badge {
  border-radius: 14px;
}

.aad10-header__logo-media,
.aad10-header__logo picture,
.aad10-header__logo img {
  display: block;
}

.aad10-header__logo-media {
  width: var(--aad10-logo-width);
}

.aad10-header__logo img {
  width: 100%;
  max-width: none;
  height: auto;
  object-fit: contain;
}

/* Le fichier historique contient déjà une petite signature. On la masque afin
   d'afficher la vraie signature HTML juste sous le support blanc. */
.aad10-header--crop-embedded-tagline .aad10-header__logo-media {
  height: calc(var(--aad10-logo-width) * .607);
  overflow: hidden;
}

.aad10-header--logo-white .aad10-header__logo img {
  filter: brightness(0) invert(1);
}

.aad10-header__logo-tagline {
  display: block;
  width: max-content;
  max-width: calc(var(--aad10-logo-width) + 62px);
  color: var(--aad10-logo-tagline-color);
  font-size: var(--aad10-logo-tagline-size);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: var(--aad10-logo-tagline-spacing);
  text-align: center;
  white-space: normal;
  text-wrap: balance;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .62);
}

.aad10-header__nav {
  grid-column: 2;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--aad10-menu-gap);
  transition: opacity .18s ease;
}

.aad10-header__nav a {
  position: relative;
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  font-size: var(--aad10-menu-size);
  line-height: 1;
  font-weight: var(--aad10-menu-weight);
  letter-spacing: var(--aad10-menu-spacing);
  white-space: nowrap;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .58);
  transition: color .2s ease, transform .2s ease, text-shadow .2s ease;
}

.aad10-header__nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--aad10-blue);
  transform: translateX(-50%);
  transition: width .2s ease;
}

.aad10-header__nav a:hover,
.aad10-header__nav a.is-active {
  color: #fff !important;
  transform: translateY(-1px);
}

.aad10-header__nav a:hover::after,
.aad10-header__nav a.is-active::after {
  width: var(--aad10-menu-line-width);
}

.aad10-header__phone {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 5px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  background: rgba(4, 24, 47, .18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, .07);
  text-shadow: 0 2px 10px rgba(0, 0, 0, .26);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, opacity .18s ease;
}

.aad10-header__phone:hover {
  background: rgba(41, 149, 232, .92);
  border-color: var(--aad10-blue);
  color: #fff !important;
  transform: translateY(-1px);
}

.aad10-header__phone svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Dès que la barre fixe prend le relais, le menu d'origine disparaît,
   tandis que le logo reste attaché au hero. */
.aad10-header.is-sticky-active .aad10-header__nav,
.aad10-header.is-sticky-active .aad10-header__phone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Barre sticky indépendante : elle ne contient jamais le logo. */
.aad10-sticky-bar {
  position: fixed;
  z-index: 99990;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--aad10-header-height-scrolled);
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(calc(-100% - 8px));
  transition: opacity .2s ease, transform .24s ease, visibility .24s ease, box-shadow .24s ease;
}

.admin-bar .aad10-sticky-bar {
  top: 32px;
}

.aad10-sticky-bar.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.aad10-sticky-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 31, 59, var(--aad10-header-opacity));
  border-bottom: 1px solid rgba(255,255,255,.05);
  -webkit-backdrop-filter: blur(var(--aad10-header-blur));
  backdrop-filter: blur(var(--aad10-header-blur));
  transition: background-color .24s ease, border-color .24s ease;
  pointer-events: none;
}

.aad10-sticky-bar.is-past-hero::before {
  background: rgba(239, 247, 252, var(--aad10-header-past-opacity));
  border-bottom-color: rgba(7, 31, 59, .08);
}

.aad10-sticky-bar--shadow.is-visible {
  box-shadow: 0 8px 24px rgba(4, 24, 47, .045);
}

.aad10-sticky-bar__inner {
  grid-template-columns: minmax(120px, 1fr) auto minmax(190px, 1fr);
}

.aad10-sticky-bar .aad10-header__nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.aad10-sticky-bar .aad10-header__phone {
  min-height: 38px;
  height: 38px;
  padding-inline: 17px;
  font-size: 14px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.aad10-sticky-bar.is-past-hero .aad10-header__nav a {
  color: var(--aad10-navy) !important;
  text-shadow: none;
}

.aad10-sticky-bar.is-past-hero .aad10-header__nav a:hover,
.aad10-sticky-bar.is-past-hero .aad10-header__nav a.is-active {
  color: var(--aad10-navy) !important;
}

.aad10-sticky-bar.is-past-hero .aad10-header__nav a::after {
  background: var(--aad10-blue);
}

.aad10-sticky-bar.is-past-hero .aad10-header__phone {
  color: var(--aad10-navy) !important;
  border-color: rgba(7, 31, 59, .20);
  background: rgba(255, 255, 255, .30);
  text-shadow: none;
}

.aad10-sticky-bar.is-past-hero .aad10-header__phone:hover {
  color: #fff !important;
  border-color: var(--aad10-blue);
  background: var(--aad10-blue);
}

/* Hero */
.aad10-hero {
  position: relative;
  min-height: var(--aad10-hero-desktop);
  overflow: hidden;
  color: var(--aad10-white);
  background-image: var(--aad10-bg-desktop);
  background-position: var(--aad10-pos-desktop);
  background-repeat: no-repeat;
  background-size: cover;
}

.aad10-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(4, 28, 53, var(--aad10-overlay-left)) 0%,
      rgba(4, 28, 53, var(--aad10-overlay-left)) 30%,
      rgba(4, 28, 53, .34) 66%,
      rgba(4, 28, 53, var(--aad10-overlay-right)) 100%);
  pointer-events: none;
}

.aad10-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(3, 20, 39, .2));
  pointer-events: none;
}

.aad10-hero__inner {
  position: relative;
  z-index: 2;
  width: min(var(--aad10-content), calc(100% - 48px));
  min-height: inherit;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding-top: calc(var(--aad10-header-height) + 56px);
  padding-bottom: 66px;
}

.aad10-hero__content {
  width: min(690px, 58vw);
}

.aad10-hero__content h1 {
  margin: 0 !important;
  color: #fff !important;
  font-family: var(--aad10-hero-title-font) !important;
  font-size: clamp(48px, 4.35vw, 76px) !important;
  line-height: .98 !important;
  font-weight: var(--aad10-hero-title-weight) !important;
  letter-spacing: -.035em !important;
  text-transform: none !important;
  text-wrap: balance;
  text-shadow: 0 5px 22px rgba(0, 0, 0, .24);
}

.aad10-hero__title-accent {
  display: inline;
  color: var(--aad10-hero-title-accent-start);
  background: linear-gradient(var(--aad10-hero-title-accent-angle), var(--aad10-hero-title-accent-start), var(--aad10-hero-title-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.aad10-hero__subtitle {
  margin: 25px 0 0 !important;
  color: rgba(255,255,255,.94) !important;
  font-size: clamp(17px, 1.25vw, 21px) !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  text-shadow: 0 2px 12px rgba(0,0,0,.22);
}

.aad10-hero__proofs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 34px;
  margin-top: 30px;
}

.aad10-proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.aad10-proof__icon {
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 50%;
  background: rgba(5,28,52,.18);
}

.aad10-proof__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aad10-proof__text {
  color: #fff;
  font-size: 14px;
  line-height: 1.24;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0,0,0,.24);
}

.aad10-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.aad10-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 22px;
  border-radius: 4px;
  text-decoration: none !important;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .025em;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

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

.aad10-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aad10-btn--primary {
  color: #fff !important;
  background: var(--aad10-blue);
  border: 1px solid var(--aad10-blue);
  box-shadow: 0 10px 24px rgba(41,149,232,.22);
}

.aad10-btn--primary:hover {
  color: #fff !important;
  background: #1787dd;
  border-color: #1787dd;
}

.aad10-btn--outline {
  color: #fff !important;
  background: rgba(4,24,47,.18);
  border: 1px solid rgba(255,255,255,.55);
}

.aad10-btn--outline:hover {
  color: #fff !important;
  background: rgba(255,255,255,.11);
  border-color: #fff;
}

/* Mobile navigation */
.aad10-mobile-nav {
  display: none;
}

@media (max-width: 1220px) {
  .aad10-header__inner,
  .aad10-sticky-bar__inner,
  .aad10-hero__inner {
    width: min(var(--aad10-content), calc(100% - 36px));
  }

  .aad10-header__inner,
  .aad10-sticky-bar__inner {
    grid-template-columns: minmax(150px, 1fr) auto minmax(160px, 1fr);
    gap: 16px;
  }

  .aad10-header__nav {
    gap: max(14px, calc(var(--aad10-menu-gap) - 8px));
  }

  .aad10-header__nav a {
    min-height: 42px;
    font-size: max(13px, calc(var(--aad10-menu-size) - 2px));
    letter-spacing: max(.02em, calc(var(--aad10-menu-spacing) - .01em));
  }

  .aad10-header__phone {
    padding-inline: 14px;
    font-size: 13px;
  }

  .aad10-hero__content {
    width: min(650px, 63vw);
  }
}

@media (max-width: 1024px) {
  .aad10-header {
    height: var(--aad10-header-height-mobile);
  }

  .aad10-sticky-bar {
    display: none !important;
  }

  .aad10-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .aad10-header__nav {
    display: none;
  }

  .aad10-header__phone {
    justify-self: end;
  }

  .aad10-header__logo {
    transform: translateY(6px) !important;
  }

  .aad10-header__logo-media {
    width: var(--aad10-logo-width-mobile);
  }

  .aad10-header--crop-embedded-tagline .aad10-header__logo-media {
    height: calc(var(--aad10-logo-width-mobile) * .607);
  }

  .aad10-hero {
    min-height: var(--aad10-hero-tablet);
    background-image: var(--aad10-bg-tablet);
    background-position: var(--aad10-pos-tablet);
  }

  .aad10-hero__inner {
    padding-top: calc(var(--aad10-header-height-mobile) + 64px);
  }

  .aad10-hero__content {
    width: min(610px, 76vw);
  }

  .aad10-hero__content h1 {
    font-size: clamp(43px, 6vw, 64px) !important;
  }
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .aad10-header__inner,
  .aad10-hero__inner {
    width: calc(100% - 28px);
  }

  .aad10-header__phone {
    min-height: 38px;
    padding-inline: 11px;
  }

  .aad10-header__phone span {
    display: none;
  }

  .aad10-header__phone svg {
    width: 20px;
    height: 20px;
  }

  .aad10-header--tagline-desktop-only .aad10-header__logo-tagline {
    display: none;
  }

  .aad10-header__logo-tagline {
    max-width: calc(var(--aad10-logo-width-mobile) + 28px);
    font-size: var(--aad10-logo-tagline-size-mobile);
  }

  .aad10-hero {
    min-height: var(--aad10-hero-mobile);
    background-image: var(--aad10-bg-mobile);
    background-position: var(--aad10-pos-mobile);
  }

  .aad10-hero::before {
    background: linear-gradient(90deg, rgba(4,28,53,.92) 0%, rgba(4,28,53,.72) 58%, rgba(4,28,53,.30) 100%);
  }

  .aad10-hero__inner {
    align-items: flex-end;
    padding-top: calc(var(--aad10-header-height-mobile) + 45px);
    padding-bottom: 54px;
  }

  .aad10-hero__content {
    width: 100%;
  }

  .aad10-hero__content h1 {
    max-width: 92%;
    font-size: clamp(38px, 11vw, 54px) !important;
    line-height: 1.02 !important;
  }

  .aad10-hero__subtitle {
    max-width: 92%;
    margin-top: 19px !important;
    font-size: 16px !important;
  }

  .aad10-hero__proofs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }

  .aad10-proof {
    align-items: flex-start;
    gap: 8px;
  }

  .aad10-proof__icon {
    width: 34px;
    height: 34px;
  }

  .aad10-proof__icon svg {
    width: 17px;
    height: 17px;
  }

  .aad10-proof__text {
    font-size: 10px;
    line-height: 1.22;
  }

  .aad10-hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .aad10-btn {
    min-height: 48px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .aad10-mobile-nav {
    position: fixed;
    z-index: 99999;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(7,31,59,.96);
    border-top: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 -8px 26px rgba(4,24,47,.18);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  .aad10-mobile-nav__inner {
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
  }

  .aad10-mobile-nav a {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 3px;
    color: rgba(255,255,255,.72) !important;
    text-decoration: none !important;
  }

  .aad10-mobile-nav a.is-active,
  .aad10-mobile-nav a:hover {
    color: #fff !important;
  }

  .aad10-mobile-nav__icon {
    width: 22px;
    height: 22px;
  }

  .aad10-mobile-nav__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .aad10-mobile-nav__label {
    overflow: hidden;
    max-width: 100%;
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  .aad10-hero__proofs {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .aad10-proof {
    align-items: center;
  }

  .aad10-proof__text {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aad10-header,
  .aad10-header *,
  .aad10-sticky-bar,
  .aad10-sticky-bar *,
  .aad10-btn,
  .aad10-mobile-nav * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
