/* =============================================================
   ADLOVR — la marque
   Chargée en dernier, après socle.css (structure, reprise de
   Supapunk) et theme-stripe.css (nuit, violet, blanc).

   Ce qui est propre à adlovr :
   - le rose historique (#FC5E75) disparaît : le logo passe au violet,
     en dégradé sur le blanc, en blanc sur la nuit ;
   - les dégradés à la Stripe : violet, bleu roi, cyan, jamais de rose ;
   - le portrait d'Aylen dans le hero, sa photo dans « Qui est derrière » ;
   - Inter pour le texte courant.
   ============================================================= */

:root {
  --ad-cyan:    #00D4FF;
  --ad-violet:  #7A73FF;
  /* le dégradé de la marque : celui du logo */
  --ad-grad:    linear-gradient(100deg, #7A73FF 0%, #635BFF 42%, #3A6FF8 78%, #00B8F0 100%);
  --ad-grad-nuit: linear-gradient(100deg, #FFFFFF 0%, #C9C5FF 45%, #8FD3FF 100%);

  --body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --hdr-logo: clamp(26px, 2.5vw, 34px);

  /* les dessins de la méthode */
  --ill-ink:    #0A2540;
  --ill-line:   #635BFF;
  --ill-deep:   #0A2540;
  --ill-fill:   #E6EBF3;
  --ill-fill-2: #F1F4F9;
  --ill-edge:   #C9D3E0;
  --ill-mid:    #9FB0C4;
}
@media (max-width: 560px) { :root { --hdr-logo: 24px; } }

html, body { font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11'; }
.btn, .menu-btn { font-weight: 600; letter-spacing: .08em; }

/* ---------- le logo ---------- */
.brand-logo { height: var(--hdr-logo); width: auto; }
.brand-logo--footer { height: clamp(30px, 3vw, 40px); }
.brand { gap: 16px; }
.brand-sub { padding-left: 16px; border-left: 1px solid var(--line-2); line-height: 1.5; }

/* ---------- le mot d'accent : en dégradé, comme le logo ---------- */
.manifesto .hl, #services .hl, #methode .hl, #offre .hl, #contact .hl {
  background: var(--ad-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.hero .hl, #aylen .hl, #faq-section .hl {
  background: var(--ad-grad-nuit);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
#pour-qui .out { -webkit-text-stroke-color: var(--st-blurple); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  background:
    radial-gradient(ellipse 60% 80% at 50% 118%, #2B2378 0%, var(--st-navy) 50%, var(--st-navy-deep) 100%);
}
/* l'aurore : trois nappes de couleur floues, en biais, à la Stripe.
   Violet, bleu roi, cyan. Elles dérivent lentement. */
.hero-aurora {
  position: absolute; inset: -20% -10% 0; pointer-events: none;
  filter: blur(70px) saturate(1.15); opacity: .9;
  transform: skewY(-9deg); transform-origin: 0 0;
  background:
    radial-gradient(38% 34% at 16% 24%, rgba(99,91,255,.75), transparent 70%),
    radial-gradient(34% 30% at 84% 16%, rgba(58,111,248,.70), transparent 70%),
    radial-gradient(30% 26% at 70% 46%, rgba(0,212,255,.34), transparent 70%),
    radial-gradient(40% 30% at 30% 58%, rgba(122,115,255,.40), transparent 72%);
  animation: aurore 22s ease-in-out infinite alternate;
}
@keyframes aurore {
  from { transform: skewY(-9deg) translate3d(-2%, 0, 0) scale(1); }
  to   { transform: skewY(-9deg) translate3d(3%, 3%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .hero-aurora { animation: none; } }
.hero-grid { opacity: .8; }
.hero-ghost {
  text-transform: lowercase; font-size: clamp(170px, 34vw, 600px);
  -webkit-text-stroke-color: rgba(179,174,255,.14);
}
.hero-tape { background: var(--ad-grad); border-color: rgba(6,27,49,.55); }
.hero-tape-track span::after { background: #fff; opacity: .8; }

/* le titre : trois lignes de largeur voisine, chacune à son corps */
.hero-title { margin-top: 13vh; }
.hero-title .ht-bloc { font-size: min(12.6vw, 13.4vh, 10.6rem); line-height: .8; color: #fff; }
.hero-title .ht-l1 { font-size: 1.27em; }   /* « Vos campagnes. »      */
.hero-title .ht-l2 { font-size: 1.06em; }   /* « Vos landing pages. »  */
.hero-title .ht-l3 { font-size: 1em; }      /* « Une seule personne. » */
.hero-title .ht-l2 { transform: rotate(-1deg); }
.hero-title .ht-l3 { transform: rotate(-1.6deg); -webkit-text-stroke-color: rgba(255,255,255,.9); }
.hero-title .hl { display: inline-block; padding-bottom: .04em; }
@media (max-width: 640px) {
  .hero-title { margin-top: 17vh; }
  .hero-title .ht-bloc { font-size: min(13.4vw, 9.6vh, 4.4rem); line-height: .84; }
}

/* le portrait : une seule personne, au centre, les bras croisés.
   Il commence sous le titre (la tête ne doit pas manger une ligne) et
   le bas de la photo est coupé net par le bloc suivant. */
.hero-characters { flex: 1 1 auto; height: auto; min-height: 50vh; margin-top: 2vh; margin-bottom: 0; overflow: hidden; }
.hero-characters .char.aylen {
  z-index: 2; left: 50%; bottom: -4%; height: 104%; width: auto; max-width: none;
  transform: translateX(-50%);
  filter: drop-shadow(0 30px 60px rgba(6,27,49,.55));
}
@media (max-width: 900px) {
  /* sur un écran étroit la hauteur est bornée par la largeur : sans ça
     les coudes sortent du cadre */
  .hero-characters { min-height: 54vh; margin-top: 0; }
  .hero-characters .char.aylen { height: min(104%, 134vw); }
}
/* les mentions d'angle : en bas seulement, le titre occupe tout le haut */
.hero-meta.bl .live { margin-right: 2px; }
.hero-floor { bottom: 0; }
.hero-meta.br .big { font-size: 38px; text-transform: uppercase; }
.manifesto { padding-top: clamp(84px, 11vw, 150px); }

/* =============================================================
   LE CHARGEUR — le logo, puis le compte
   ============================================================= */
.loader { background: var(--st-navy-deep); grid-auto-flow: row; align-content: center; gap: 22px; }
.loader-logo { height: clamp(34px, 5vw, 52px); width: auto; }
.loader-count { font-size: 44px; color: var(--st-lavender); font-family: var(--mono); font-weight: 500; letter-spacing: 0; }
.loader-count::after { color: var(--st-lavender); font-size: .6em; vertical-align: baseline; }

/* =============================================================
   LES SERVICES
   ============================================================= */
.svc-grid { display: grid; gap: clamp(14px, 1.8vw, 22px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1020px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .svc-grid { grid-template-columns: minmax(0, 1fr); } }
.svc-card { display: flex; flex-direction: column; position: relative; overflow: hidden; }
.svc-card .glyph { font-size: clamp(2.8rem, 4.2vw, 3.8rem); color: var(--st-navy); }
.svc-card .glyph em {
  background: var(--ad-grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.svc-card h3 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); }
.svc-card p { flex: 1; }
.svc-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.svc-tags li {
  font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--st-slate); background: var(--st-mist); border-radius: var(--r-pill); padding: 7px 11px;
}
#services .card:hover { background: #fff; transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(10,37,64,.35); }
/* les deux services mis en avant : un liseré en dégradé, pas un simple filet */
#services .card--sig { background: #fff; box-shadow: none; }
#services .card--sig::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: var(--ad-grad); pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
#services .card--sig .svc-tags li { background: rgba(99,91,255,.09); color: #4B3FD6; }

/* =============================================================
   LA MÉTHODE — les dessins
   ============================================================= */
.pin-fig .ill-sig, .pin-fig .ill-sig * { fill: var(--st-blurple); }
.pin-fig .ill-sig-flat { fill: var(--st-lavender); }
.pin-fig .ill-paper { fill: #FFFFFF; stroke: var(--ill-edge); stroke-width: 2; }
.pin-fig .bar { fill: var(--st-blurple); }
#methode .bsw-txt h3 { color: var(--st-navy); }
#methode .bsw-txt .k { color: var(--st-blurple); }
/* trois pas au lieu de quatre : un peu moins d'air entre eux */
.bsw-stack { gap: 30vh; }

/* =============================================================
   QUI EST DERRIÈRE — la photo d'Aylen et son parcours
   ============================================================= */
#aylen {
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(99,91,255,.28), transparent 62%),
    radial-gradient(ellipse 45% 55% at 100% 100%, rgba(58,111,248,.22), transparent 62%),
    var(--st-navy);
}
.qui { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (min-width: 901px) { .qui-photo { position: sticky; top: 110px; } }
@media (max-width: 900px) { .qui { grid-template-columns: minmax(0, 1fr); } }
.qui-photo { position: relative; margin: 0; }
.qui-photo::before {
  /* le halo en dégradé, décalé derrière la photo */
  content: ""; position: absolute; inset: 0; border-radius: clamp(20px, 2.4vw, 34px);
  background: var(--ad-grad); transform: translate(14px, 14px) rotate(1.5deg); opacity: .9;
}
.qui-photo img {
  position: relative; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: clamp(20px, 2.4vw, 34px);
}
.qui-photo figcaption {
  position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: #fff; background: rgba(6,27,49,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  padding: 9px 14px; border-radius: var(--r-pill);
}
.qui-photo .live { width: 7px; height: 7px; border-radius: 50%; background: var(--st-lavender); box-shadow: 0 0 10px var(--st-lavender); }
.qui-texte .eyebrow { color: var(--st-lavender); }
.qui-texte .eyebrow::before { color: var(--st-lavender); }
.qui-texte .h-1 { margin: 18px 0 0; }
.qui-texte .lede { margin-top: 20px; max-width: 58ch; }
.parcours { list-style: none; margin-top: 30px; border-top: 1px solid var(--line); }
.parcours li {
  display: grid; grid-template-columns: 9.5em minmax(0, 1fr); column-gap: 18px; row-gap: 2px;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.parcours .quand { grid-row: span 2; font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--st-lavender); padding-top: 4px; }
.parcours b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 22px; line-height: 1.05; letter-spacing: .005em; }
.parcours li > span:last-child { font-size: 14.5px; line-height: 1.5; color: var(--ink-mute); }
@media (max-width: 520px) { .parcours li { grid-template-columns: minmax(0, 1fr); } .parcours .quand { grid-row: auto; } }

/* =============================================================
   LES DEUX LANGUES — la bande violette
   ============================================================= */
.sig {
  background:
    radial-gradient(ellipse 55% 80% at 100% 0%, rgba(0,212,255,.30), transparent 60%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(58,111,248,.55), transparent 62%),
    linear-gradient(135deg, #6A62FF 0%, #5A4FF0 50%, #4638D0 100%);
}
#langues { padding-bottom: clamp(60px, 8vw, 110px); }
/* un peu plus d'interligne que chez Supapunk : le tilde du Ñ et la
   cédille du Ç se touchaient d'une ligne à l'autre */
#langues .stretch-word { line-height: .92; }
#langues .stretch-title { gap: clamp(8px, 1.5vw, 26px); }
.promise-list { font-size: clamp(22px, 2.5vw, 36px); line-height: 1.12; }

/* =============================================================
   COMMENT ON TRAVAILLE · POUR QUI
   ============================================================= */
#offre .step-60 { background: var(--st-mist); }
#offre .step-60:hover { background: #EDF1F7; }
#offre .step-60 .when { color: var(--st-blurple); }
#pour-qui { --bg: var(--st-mist); --card: #FFFFFF; --card-2: #FFFFFF; background: var(--st-mist); }
#pour-qui .forwho-col--yes { box-shadow: inset 0 0 0 1.5px var(--st-blurple); }

/* =============================================================
   LE CONTACT
   ============================================================= */
#contact { overflow: hidden; }
#contact::before {
  /* un écho de l'aurore du hero, très léger, en bas de page */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -30%; height: 70%;
  background:
    radial-gradient(40% 60% at 25% 60%, rgba(99,91,255,.16), transparent 70%),
    radial-gradient(40% 60% at 75% 50%, rgba(0,212,255,.12), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
#contact .wrap { position: relative; }
.contact-avatar {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 22px;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--st-blurple), 0 18px 40px -14px rgba(99,91,255,.6);
}
#contact .btn-giant { background: var(--st-navy); color: #fff; text-decoration: none; }
#contact .btn-giant:hover { background: var(--st-blurple); color: #fff; }
#contact .btn--ghost { text-transform: none; letter-spacing: 0; font-size: 15px; }
#contact .btn--ghost[href^="http"] { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }

/* =============================================================
   MENU · PIED DE PAGE
   ============================================================= */
.menu-links { box-shadow: 0 12px 40px rgba(6,27,49,.45), 0 2px 0 var(--st-blurple); }
.menu-link-bg { background: var(--st-mist); }
.menu-link { color: var(--st-navy); }
.menu-note, .menu-note h3 { color: var(--st-navy); }
.menu-note-qui { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.menu-note-qui img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.menu-note .menu-note-qui .k { margin: 0; line-height: 1.7; color: var(--st-slate); }
.menu-note p { color: var(--st-slate); }
.menu-tag { background: var(--ad-grad); box-shadow: 0 12px 40px rgba(6,27,49,.45); }
.menu-tag, .menu-tag-note { color: #fff; }
.menu-tag-dot { background: #fff; }

.site-footer { margin-top: var(--blk-gap); }
.footer-col h4 { color: var(--st-lavender); }
.footer-bottom a:hover { color: #fff; }
.scroll-progress { background: var(--ad-grad); }

/* =============================================================
   PAGES INTERNES (mentions légales, 404)
   ============================================================= */
body.int main > .section:first-of-type { padding-top: clamp(150px, 16vw, 220px); }
body.int .prose { max-width: 70ch; margin-inline: auto; }
body.int .prose h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1; margin: 38px 0 12px; }
body.int .prose p, body.int .prose li { color: var(--ink-mute); }
body.int .prose p + p { margin-top: 12px; }
body.int .prose a { color: var(--st-blurple); text-decoration: underline; text-underline-offset: 3px; }
body.int .prose dl { display: grid; grid-template-columns: 12em minmax(0, 1fr); gap: 10px 18px; }
body.int .prose dt { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--st-slate); padding-top: 4px; }
body.int .prose dd { color: var(--ink); }
@media (max-width: 560px) { body.int .prose dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } body.int .prose dd { margin-bottom: 12px; } }

/* =============================================================
   LE CHAT DE CONTACT (#contact)
   Les styles de base viennent du Diagnostic de Supapunk (socle.css
   et theme-stripe.css). Ici : la photo d'Aylen à la place du robot.
   ============================================================= */
.contact-chat { max-width: 720px; margin: clamp(32px, 4.5vw, 52px) auto 0; text-align: left; }
.contact-chat .diag-shell { width: 100%; height: min(680px, 86vh); border-radius: 20px; }
.contact-chat .diag-chat { min-height: 150px; }
.contact-chat .diag-brand img,
.contact-chat .diag-avatar img {
  position: static; transform: none; max-width: 100%;
  border-radius: 50%; object-fit: cover;
}
.contact-chat .diag-brand img { width: 34px; height: 34px; }
.contact-chat .diag-brand span { font-size: 12px; }
.contact-chat .diag-msg.is-bot .diag-avatar { width: 36px; height: 36px; overflow: hidden; }
.contact-chat .diag-msg.is-bot .diag-avatar img { width: 36px; height: 36px; }
.contact-chat .diag-msg.is-user .diag-avatar { background: var(--st-navy); }
.contact-chat .diag-bubble a { color: var(--st-blurple); text-decoration: underline; }
.contact-chat .diag-status {
  font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: #1A8F5A; display: inline-flex; align-items: center; gap: 7px;
}
.contact-chat .diag-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22C07A; }
.contact-chat .diag-input { padding: 13px 18px; font: inherit; font-size: 14.5px; min-width: 0; }
.contact-chat textarea.diag-input { border-radius: 16px; resize: vertical; min-height: 78px; }
.contact-chat .diag-submit { padding: 13px 22px; border-radius: 999px; font-weight: 700; }
.contact-chat .diag-submit:disabled { opacity: .4; cursor: default; }
.contact-chat .diag-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) {
  .contact-chat .diag-shell { height: min(620px, 86vh); }
  .contact-chat .diag-input-row { flex-wrap: wrap; }
  .contact-chat .diag-input-row .diag-input { flex-basis: 100%; }
}

/* =============================================================
   LES DEUX LANGUES
   ============================================================= */
/* ---------- le sélecteur : la même page, dans l'autre langue ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; padding: 3px;
  border: 1px solid rgba(255,255,255,.24); border-radius: 999px;
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; line-height: 1;
}
.lang-switch a {
  padding: 8px 11px; border-radius: 999px; color: rgba(255,255,255,.72);
  transition: background .2s ease, color .2s ease;
}
.lang-switch a:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang-switch a[aria-current] { background: rgba(255,255,255,.16); color: #fff; }
/* dans l'en-tête : les deux lettres ; le nom complet reste lisible
   par les lecteurs d'écran */
.lang-switch .long {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
/* dans le menu et le pied : le nom complet */
.lang-switch--menu .court, .lang-switch--pied .court { display: none; }
.lang-switch--menu .long, .lang-switch--pied .long { position: static; width: auto; height: auto; clip-path: none; }
.lang-switch--menu { margin-top: 18px; border-color: rgba(10,37,64,.16); }
.lang-switch--menu a { color: var(--st-slate); }
.lang-switch--menu a:hover { color: var(--st-navy); background: rgba(99,91,255,.10); }
.lang-switch--menu a[aria-current] { background: var(--st-navy); color: #fff; }
.lang-switch--pied { margin-top: 20px; }
@media (max-width: 560px) { .site-header .lang-switch a { padding: 8px 9px; } }

/* la phrase de contact dans l'autre langue */
.lien-langue { color: var(--st-blurple); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lien-langue:hover { color: var(--st-navy); }

/* ---------- le titre du hero en espagnol ----------
   Les trois lignes doivent tomber à la même largeur : les corps sont
   réglés sur le nombre de signes de chaque phrase, donc par langue. */
html[lang="es"] .hero-title .ht-l1 { font-size: 1.32em; }    /* « Tus campañas. »      */
html[lang="es"] .hero-title .ht-l2 { font-size: 1.055em; }   /* « Tus landing pages. » */
html[lang="es"] .hero-title .ht-l3 { font-size: 1.07em; }    /* « Una sola persona. »  */
