@font-face {
  font-family: "Syncopate";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Syncopate-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Syncopate";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Syncopate-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Switzer";
  font-display: swap;
  src: url("../fonts/Switzer-Variable.ttf") format("truetype");
}

:root {
  --bg: #152323;
  --bg-deep: #0f1a1a;
  --bg-mid: #1d3f22;
  --bg-soft: #243a2a;
  --cream: #e9e5dc;
  --cream-muted: rgba(233, 229, 220, 0.72);
  --accent: #088111;
  --accent-hot: #0aad16;
  --warn: #c43c2c;
  --line: rgba(233, 229, 220, 0.14);
  --font-display: "Syncopate", sans-serif;
  --font-body: "Switzer", "Segoe UI", sans-serif;
  --radius: 4px;
  --max: 920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.avf-vsl {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(8, 129, 17, 0.18), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 40%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
}

body.avf-vsl input,
body.avf-vsl textarea,
body.avf-vsl select,
body.avf-vsl [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.avf-vsl__wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

/* ——— Hero ——— */
.avf-hero {
  --avf-video-w: min(820px, calc(100cqw - 2rem));
  --avf-video-half: calc(var(--avf-video-w) * 0.28125);
  position: relative;
  padding: 0 0 2.5rem;
  overflow: visible;
  background: #e9e5dc;
  container-type: inline-size;
  container-name: avf-hero;
}

.avf-hero__green {
  padding: 1.75rem 0 0;
  padding-bottom: var(--avf-video-half);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(8, 129, 17, 0.18), transparent 55%),
    var(--bg);
}

.avf-hero__media {
  position: relative;
  z-index: 1;
  margin-top: calc(var(--avf-video-half) * -1);
}

.avf-hero .avf-urgency {
  color: rgba(21, 35, 35, 0.72);
}

.avf-hero__brand {
  display: block;
  width: min(220px, 58vw);
  height: auto;
  margin: 0 auto 2.5rem;
  filter: brightness(0) invert(0.92);
}

.avf-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 20px auto 1rem;
  padding: 0.4rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #f6e194 0%,
    #e8c547 32%,
    #d4af37 62%,
    #b8860b 100%
  );
  color: #1a1408;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow:
    0 6px 18px rgba(184, 134, 11, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.avf-hero__inner {
  text-align: center;
  width: min(1360px, calc(100% - 2rem));
  max-width: 1360px;
}

.avf-hero__title {
  margin: 30px auto;
  max-width: 1360px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1em;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  overflow: visible;
  padding-block: 0.18em;
}

.avf-hero__title .accent {
  color: #d4af37;
  background: linear-gradient(135deg, #f6e194 0%, #e8c547 40%, #d4af37 70%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-top: 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.avf-hero__lead {
  margin: 0 auto 55px;
  max-width: 36rem;
  font-size: 20px;
  line-height: 1.2em;
  color: var(--cream);
}

.avf-hero__lead strong {
  color: var(--cream);
  font-weight: 600;
}

.avf-video {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto 1.35rem;
  border: 1px solid var(--line);
  background: #0a1212;
  box-shadow: none;
}

.avf-video__frame {
  position: relative;
  padding-top: 56.25%;
}

.avf-video__frame wistia-player,
.avf-video__frame iframe,
.avf-video__placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avf-video__placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, rgba(29, 63, 34, 0.85), rgba(15, 26, 26, 0.95)),
    center / cover no-repeat url("../assets/3.png");
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.avf-cta {
  --cta-line: var(--cream);
  --cta-fg: var(--cream);
  display: inline-grid;
  grid-template-columns: 1fr 3.25rem;
  align-items: stretch;
  width: min(100%, 560px);
  margin: 0 auto;
  padding: 0;
  border: 1px solid var(--cta-line);
  border-radius: 4px;
  background: transparent;
  color: var(--cta-fg);
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.6vw, 0.84rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.avf-cta__label {
  display: grid;
  place-items: center;
  padding: 1.05rem 1.35rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.avf-cta__icon {
  display: grid;
  place-items: center;
  border-left: 1px solid var(--cta-line);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.avf-cta__icon svg {
  display: block;
}

.avf-cta:hover,
.avf-cta:focus-visible {
  --cta-line: #152323;
  --cta-fg: #152323;
  border-color: #152323;
  color: #152323;
  outline: none;
}

.avf-cta:hover .avf-cta__label,
.avf-cta:focus-visible .avf-cta__label {
  background: #e9e5dc;
}

.avf-cta:hover .avf-cta__icon,
.avf-cta:focus-visible .avf-cta__icon {
  background: linear-gradient(
    160deg,
    #f6e194 0%,
    #e8c547 32%,
    #d4af37 65%,
    #b8860b 100%
  );
  border-left-color: #152323;
  color: #152323;
}

.avf-cta:active {
  transform: none;
  filter: brightness(0.98);
}

.avf-hero .avf-cta,
.avf-section--beige .avf-cta {
  --cta-line: #152323;
  --cta-fg: #152323;
}

.avf-cta--ghost {
  --cta-line: rgba(233, 229, 220, 0.55);
  --cta-fg: var(--cream);
  background: transparent;
}

.avf-cta--ghost:hover,
.avf-cta--ghost:focus-visible {
  --cta-line: #152323;
  --cta-fg: #152323;
}

.avf-hero__cta-wrap {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
}

.avf-hero .avf-hero__cta-wrap {
  width: min(820px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.avf-hero .avf-hero__cta-wrap .avf-cta {
  width: 100%;
  max-width: none;
}

.avf-section--center > .avf-vsl__wrap > .avf-hero__cta-wrap {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.avf-section--center > .avf-vsl__wrap > .avf-hero__cta-wrap .avf-cta {
  width: 100%;
  max-width: none;
}

.avf-urgency {
  margin: 0;
  font-size: 0.9rem;
  color: var(--cream-muted);
}

/* ——— Sections ——— */
.avf-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
}

.avf-section--tint {
  background: linear-gradient(180deg, rgba(29, 63, 34, 0.35), transparent);
}

.avf-section--center {
  text-align: center;
}

.avf-section--center .avf-h2,
.avf-section--center .avf-p {
  margin-left: auto;
  margin-right: auto;
}

.avf-section--center .avf-copy {
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  width: 100%;
}

.avf-section--center .avf-checklist {
  max-width: none;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.avf-section--beige {
  background: #e9e5dc;
  color: #152323;
}

#problem.avf-section .avf-h2 {
  font-size: clamp(1.35rem, 3.8vw, 44px);
}

#problem .avf-vsl__wrap {
  max-width: 900px;
  width: min(900px, calc(100% - 2rem));
}

.avf-updated {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.4;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  color: rgba(21, 35, 35, 0.72);
}

#session.avf-section {
  padding-top: 110px;
  padding-bottom: 110px;
}

#session .avf-h2 {
  margin-top: 30px;
  margin-bottom: 30px;
  font-size: clamp(1.35rem, 3.8vw, 44px);
  line-height: 1.1em;
}

#session .avf-kicker {
  display: inline-block;
  margin: 0;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #f6e194 0%,
    #e8c547 32%,
    #d4af37 62%,
    #b8860b 100%
  );
  color: #1a1408;
  letter-spacing: 0.06em;
  box-shadow: none;
}

#session.avf-section--beige .avf-kicker,
.avf-section--beige #session .avf-kicker {
  color: #1a1408;
}

#method.avf-section {
  padding-top: 0;
  padding-bottom: 110px;
}

.avf-method__banner {
  width: 100%;
  margin: 0 0 3rem;
  line-height: 0;
}

.avf-method__banner img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

#method .avf-h2 {
  margin: 30px 0;
  font-size: 32px;
  line-height: 1.1em;
  text-align: center;
}

#method .avf-kicker {
  display: block;
  width: fit-content;
  margin: 0 auto 0.85rem;
  padding: 0.4rem 0.85rem;
  background: transparent;
  border: 1px solid #d4af37;
  border-radius: 999px;
  color: #d4af37;
  text-align: center;
}

#method .avf-method__lead {
  max-width: none;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: center;
  color: var(--cream);
}

#method .avf-vsl__wrap {
  max-width: 900px;
  width: min(900px, calc(100% - 2rem));
}

#method .avf-hero__cta-wrap {
  width: 100%;
}

#method .avf-hero__cta-wrap .avf-cta {
  width: 100%;
  max-width: none;
}

.avf-section--beige .avf-kicker {
  color: #088111;
}

.avf-section--beige .avf-h2 {
  color: #152323;
}

.avf-section--beige .avf-p {
  color: rgba(21, 35, 35, 0.78);
}

.avf-section--beige .avf-copy .avf-p strong {
  color: #152323;
}

.avf-section--beige .avf-h2 .accent {
  color: #088111;
}

.avf-section--beige .avf-check__text {
  color: #152323;
}

.avf-section--beige .avf-session__card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(21, 35, 35, 0.1);
  color: #152323;
}

.avf-section--beige .avf-portrait {
  border-color: rgba(21, 35, 35, 0.12);
}

.avf-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hot);
}

.avf-h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: -0.015em;
}

.avf-h2 .accent {
  color: var(--accent-hot);
}

.avf-p {
  margin: 0 0 1.25rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--cream-muted);
}

.avf-copy .avf-p {
  margin-bottom: 0.95rem;
  font-size: 21px;
  max-width: none;
  width: 100%;
}

.avf-copy .avf-p:last-child {
  margin-bottom: 1.25rem;
}

.avf-copy .avf-p strong {
  color: var(--cream);
  font-weight: 700;
}

.avf-checklist {
  display: grid;
  gap: 1.35rem;
}

.avf-check__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
}

.avf-check__icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: #088111;
  color: #fff;
  flex-shrink: 0;
}

.avf-check__icon svg {
  width: 1.25rem;
  height: 1.25rem;
  display: block;
}

.avf-check__item--warn .avf-check__icon {
  background: #c43c2c;
}

.avf-check__text {
  margin: 0;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: #152323;
}

.avf-mark {
  color: #088111;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.avf-mark--plain {
  color: inherit;
  text-decoration-color: currentColor;
}

.avf-check__item--warn .avf-mark {
  color: #c43c2c;
  text-decoration-color: #c43c2c;
}

.avf-method {
  display: grid;
  gap: 0.85rem;
}

.avf-method__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem 1.1rem;
  align-items: start;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.avf-method__n {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent-hot);
}

.avf-method__item h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.avf-method__item p {
  margin: 0;
  color: var(--cream-muted);
  line-height: 1.5;
}

.avf-session {
  display: block;
}

.avf-section--center .avf-session__list {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.avf-session__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.avf-session__card {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: 35px 1.15rem;
  border: 1px solid rgba(21, 35, 35, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: #152323;
}

.avf-session__card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.3;
}

.avf-session__card-text {
  font-size: 0.95rem;
  line-height: 1.45;
  color: rgba(21, 35, 35, 0.72);
}

.avf-session__outro {
  margin-top: 2.75rem;
  text-align: left;
}

.avf-session__profile {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.75rem;
}

.avf-session__avatar {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  flex-shrink: 0;
  border: 2px solid rgba(21, 35, 35, 0.08);
}

.avf-session__profile-text {
  display: grid;
  gap: 0.15rem;
}

.avf-session__profile-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: #152323;
  line-height: 1.25;
}

.avf-session__profile-text span {
  font-size: 0.95rem;
  line-height: 1.35;
  color: rgba(21, 35, 35, 0.72);
}

.avf-session__outro-title {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
  letter-spacing: 0;
  color: #152323;
}

.avf-session__outro-body {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
}

.avf-session__outro-body p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(21, 35, 35, 0.82);
}

.avf-session__outro-body strong {
  color: #152323;
  font-weight: 700;
}

.avf-session__outro .avf-hero__cta-wrap {
  margin-top: 0;
}

.avf-portrait {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 320px;
  background: #101818 center / cover no-repeat;
}

.avf-portrait img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
}

.avf-portrait__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1rem;
  background: linear-gradient(transparent, rgba(15, 26, 26, 0.92));
}

.avf-portrait__caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.avf-portrait__caption span {
  font-size: 0.88rem;
  color: var(--cream-muted);
}

.avf-section--quotes {
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 110px;
}

.avf-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 0.85rem;
  margin: 0.85rem 0 1.15rem;
}

.avf-rating__stars {
  --rating: 5;
  position: relative;
  display: inline-block;
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.08em;
  color: rgba(233, 229, 220, 0.28);
}

.avf-rating__stars::before {
  content: "★★★★★";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--rating) / 5 * 100%);
  overflow: hidden;
  color: #d4af37;
  white-space: nowrap;
}

.avf-rating__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--cream-muted);
}

.avf-rating__text strong {
  color: var(--cream);
  font-weight: 700;
}

.avf-section--quotes .avf-h2 {
  font-size: clamp(1.35rem, 3.8vw, 44px);
  text-align: center;
}

.avf-section--quotes .avf-vsl__wrap {
  margin-bottom: 80px;
}

.avf-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 6%,
    #000 94%,
    transparent
  );
}

.avf-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: avf-marquee 55s linear infinite;
}

/* Pause au survol uniquement souris — sur tactile le :hover reste collé et fige le défilement */
@media (hover: hover) and (pointer: fine) {
  .avf-marquee:hover .avf-marquee__track {
    animation-play-state: paused;
  }
}

.avf-marquee__group {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}

@keyframes avf-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Mobile / tactile : scroll horizontal natif + snap (animation CSS souvent bloquée) */
@media (max-width: 768px), (hover: none) {
  .avf-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x;
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 3%,
      #000 97%,
      transparent
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      #000 3%,
      #000 97%,
      transparent
    );
  }

  .avf-marquee::-webkit-scrollbar {
    display: none;
  }

  .avf-marquee__track {
    animation: none;
    transform: none;
    will-change: auto;
    padding-inline: 1rem;
  }

  .avf-marquee__group {
    gap: 0.85rem;
  }

  .avf-marquee__group[aria-hidden="true"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .avf-marquee__track {
    animation: none;
    transform: none;
  }

  .avf-marquee {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    touch-action: pan-x;
  }
}

.avf-quote {
  margin: 0;
  flex: 0 0 min(420px, 78vw);
  display: flex;
  flex-direction: column;
  gap: 120px;
  padding: 1.15rem 1.2rem 1.25rem;
  border: 0;
  border-top: 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

@media (max-width: 768px), (hover: none) {
  .avf-quote {
    flex: 0 0 min(340px, 85vw);
    scroll-snap-align: center;
    gap: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .avf-quote {
    scroll-snap-align: center;
  }
}

.avf-quote__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--cream);
}

.avf-quote__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avf-quote__photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #1d3f22;
  flex-shrink: 0;
}

.avf-quote footer {
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 0;
}

.avf-quote footer span {
  display: block;
  font-weight: 400;
  color: var(--cream-muted);
  margin-top: 0.15rem;
}

.avf-faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0;
}

#faq.avf-section {
  padding-bottom: 130px;
}

#faq .avf-vsl__wrap {
  max-width: 900px;
  width: min(900px, calc(100% - 2rem));
}

.avf-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 25px 1.75rem 25px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  text-transform: uppercase;
  position: relative;
}

.avf-faq summary::-webkit-details-marker {
  display: none;
}

.avf-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-hot);
  font-size: 1.35rem;
  font-weight: 400;
}

.avf-faq details[open] summary::after {
  content: "–";
}

.avf-faq details p {
  margin: 0 0 1.1rem;
  max-width: none;
  color: var(--cream);
  line-height: 1.55;
  font-size: 21px;
}

.avf-final {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 155px 0;
  background-color: var(--bg-deep);
  background-image: url("../assets/IMG_9758.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.avf-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(15, 26, 26, 0.82) 0%,
      rgba(21, 35, 35, 0.78) 45%,
      rgba(15, 26, 26, 0.88) 100%
    );
}

.avf-final .avf-vsl__wrap {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 2rem));
  max-width: 1360px;
}

.avf-final .avf-h2 {
  margin-left: auto;
  margin-right: auto;
  width: min(1360px, 100%);
  max-width: 1360px;
  font-size: clamp(1.35rem, 3.8vw, 44px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.avf-final .avf-h2 .accent {
  color: #d4af37;
  background: linear-gradient(135deg, #f6e194 0%, #e8c547 40%, #d4af37 70%, #b8860b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.avf-final .avf-p {
  margin-left: auto;
  margin-right: auto;
  color: var(--cream);
}

.avf-final__actions {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  margin-top: 1.25rem;
}

.avf-final .avf-h2 + .avf-final__actions {
  margin-top: 50px;
}

.avf-final .avf-cta--ghost {
  --cta-line: rgba(233, 229, 220, 0.55);
  --cta-fg: var(--cream);
  background: transparent;
}

.avf-footer {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.82rem;
  color: var(--cream-muted);
  text-transform: uppercase;
}

/* ——— Booking modal (styles détaillés dans avf-book.css) ——— */
.avf-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
}

.avf-modal.is-open {
  display: flex;
}

.avf-modal__panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  overflow: auto;
  border: 0;
  border-radius: 0;
  background: #e9e5dc;
  color: #152323;
  padding: 0;
  display: flex;
  flex-direction: column;
}

/* ——— TLM lead (rapport) ——— */
.avf-tlm .avf-video {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.avf-tlm[data-avf-page="incorporation"] .avf-video,
.avf-tlm[data-avf-page="hypotheque"] .avf-video {
  width: min(420px, 100%);
  margin-inline: auto;
}

.avf-tlm[data-avf-page="incorporation"] .avf-video__frame,
.avf-tlm[data-avf-page="hypotheque"] .avf-video__frame {
  /* Ratio livre ~667×969 */
  padding-top: 145.28%;
}

.avf-tlm[data-avf-page="incorporation"] .avf-hero__media > .avf-hero__cta-wrap,
.avf-tlm[data-avf-page="hypotheque"] .avf-hero__media > .avf-hero__cta-wrap {
  width: min(420px, 100%);
}

.avf-tlm__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.avf-report-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  text-align: left;
}

.avf-report-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(21, 35, 35, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: #000;
}

.avf-report-card__icon {
  display: grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: #088111;
  color: #fff;
  flex-shrink: 0;
}

.avf-report-card--warn .avf-report-card__icon {
  background: #c43c2c;
}

.avf-report-card__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.1em;
  color: #000;
}

.avf-report-card__title .hl-warn {
  color: #c43c2c;
}

.avf-report-card__title .hl-gold {
  color: #088111;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: unset;
}

.avf-report-card__text {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: #000;
}

.avf-section--tint .avf-copy .avf-p {
  color: var(--cream-muted);
}

.avf-section--tint .avf-copy .avf-p strong {
  color: var(--cream);
}

/* Overlay auto-téléchargement ebook (?h_download=1) */
.avf-ebook-download {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(15, 26, 26, 0.72);
  backdrop-filter: blur(2px);
}

.avf-ebook-download.is-visible {
  display: flex;
}

.avf-ebook-download__card {
  width: min(360px, 100%);
  background: var(--cream);
  color: #152323;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font-family: var(--font-body);
  animation: avfEbookIn 0.28s ease;
}

.avf-ebook-download__spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 3px solid rgba(21, 35, 35, 0.18);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: avfEbookSpin 0.8s linear infinite;
}

.avf-ebook-download__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.avf-ebook-download__subtitle {
  margin: 0;
  color: rgba(21, 35, 35, 0.7);
  font-size: 0.92rem;
  line-height: 1.4;
}

.avf-ebook-download__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}

.avf-ebook-download__btn[hidden] {
  display: none !important;
}

@keyframes avfEbookSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes avfEbookIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
