/* HelloAds v5 : base Arpeggio (v3.css) + blocs repris du style Krea (titres deux tons, constat, onglets par secteur, offres, « c'est fait pour vous si ») */

/* Titres deux tons */
.h-xl { font-size: clamp(2.4rem, 6.4vw, 5.6rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; margin: 0 0 .5em; }
.h-lg { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; margin: 0 0 .6em; }
.h-xl span, .h-lg span { color: var(--grey); }

/* Constat */
.pains-k, .fit-k { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 900px; }
.pains-k li, .fit-k li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: 16px; background: var(--soft); font-size: 1.1rem; }
.pains-k li::before, .fit-k li::before { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: .8rem; font-weight: 700; margin-top: 1px; }
.pains-k li::before { content: "!"; background: var(--gold); }
.fit-k li { background: #fff; }
.fit-k li::before { content: "✓"; background: var(--ink); }
.punch { font-size: clamp(1.3rem, 2.2vw, 1.8rem); font-weight: 500; letter-spacing: -0.02em; margin: 36px 0 0; }

/* Onglets par secteur */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.tabs button { font: inherit; font-size: .95rem; padding: 10px 18px; border-radius: 999px; border: 0; cursor: pointer; background: var(--soft); color: var(--muted); transition: background .15s, color .15s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.case { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.case[hidden] { display: none; }
.case.is-active { animation: casein .45s ease; }
@keyframes casein { from { opacity: 0; transform: translateY(8px); } }
.case__media { position: relative; }
.case .video { aspect-ratio: 16 / 10; border-radius: 18px; }
.case .video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case .video:hover img { transform: scale(1.03); }
.play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,.9); }
.play::after { content: ""; position: absolute; left: 27px; top: 22px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--ink); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 7px 13px 7px 7px; border-radius: 999px; font-size: .85rem; color: var(--ink); background: rgba(255,255,255,.92); box-shadow: 0 8px 24px rgba(0,0,0,.15); }
.chip b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .7rem; }
.chip--a { left: 18px; top: 18px; }
.chip--b { right: 18px; bottom: 18px; }
.case__client { color: var(--gold); font-weight: 600; font-size: .95rem; margin: 0 0 10px; }
.case h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 20px; }
.case__text p { color: var(--muted); }
.case__text strong { color: var(--ink); font-weight: 600; }
.result { display: inline-block; padding: 8px 14px; border-radius: 10px; background: var(--soft); color: var(--ink) !important; font-weight: 600; }

/* Offres */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; align-items: stretch; }
.offer { display: flex; flex-direction: column; padding: 32px 28px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.offer--main { background: var(--ink); color: #fff; box-shadow: none; }
.offer__tag { align-self: flex-start; font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--gold); color: #fff; margin: 0 0 12px; }
.offer__name { font-weight: 600; font-size: 1.1rem; margin: 0 0 6px; }
.offer__price { font-size: 3.2rem; font-weight: 500; letter-spacing: -0.05em; line-height: 1.1; margin: 0 0 22px; }
.offer__price small { font-size: 1rem; letter-spacing: 0; color: var(--grey); font-weight: 400; }
.offer ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; flex: 1; align-content: start; }
.offer li { position: relative; padding-left: 26px; color: var(--muted); font-size: .97rem; }
.offer--main li { color: rgba(255,255,255,.75); }
.offer li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.offer .btn { align-self: flex-start; }
.offer--main .btn--dark { background: #fff; color: var(--ink); }

/* Formulaire : libellé facultatif */
.form label span.opt { color: rgba(255,255,255,.45); font-weight: 400; }

@media (max-width: 1000px) {
  .case, .offers { grid-template-columns: 1fr; }
}

/* Ils m'ont fait confiance (bandeau défilant) */
.trust { padding: clamp(56px, 7vw, 90px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust .label { margin-bottom: 30px; }
.trust__marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.trust__track { display: flex; width: max-content; animation: trust 32s linear infinite; }
.trust__track span { padding: 0 48px; font-size: clamp(1.4rem, 2.6vw, 2.3rem); font-weight: 600; letter-spacing: -0.03em; color: #b4b4b0; white-space: nowrap; transition: color .2s; }
.trust__track span:hover { color: var(--ink); }
.trust:hover .trust__track { animation-play-state: paused; }
@keyframes trust { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .trust__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* ============ CHARTE HELLOADS ============
   Vert #061B1A à la place du noir (textes, fonds sombres, boutons),
   jaune #E3B855 pour les accents et le logo « HelloAds ». */
:root {
  --ink: #061B1A;
  --gold: #E3B855;
  --gold-deep: #c99a3a;
  --grey: #7d8a89;
  --muted: #4a5958;
  --soft: #f3f1ea;
  --line: #e2dfd5;
}
body { color: var(--ink); }
::selection { background: var(--gold); color: var(--ink); }
/* sur fond jaune, le texte passe en vert pour rester lisible */
.btn--gold, .offer__tag, .tile--accent, .tile--accent h3 { color: var(--ink); }
.tile--accent p { color: rgba(6,27,26,.8); }
.btn--gold:hover { background: #ecc76e; }
/* fond vert : formulaire et cadres en vert plus clair */
.cta .form input, .cta .form select, .cta .form textarea { background: #0c2a28; border-color: #1d3f3c; color: #fff; }
.play::after { border-left-color: var(--ink); }
/* petits libellés jaunes sur fond clair : version plus foncée du jaune pour la lisibilité */
.sec .row__n, .sec .label i, .sec--soft .label i, .case__client, .pains li span { color: var(--gold-deep); border-color: var(--gold-deep); }
.offer li::before, .price__list li::before { color: var(--gold-deep); }
.offer--main li::before { color: var(--gold); }

/* Bannière : liens de navigation à la place des réseaux */
.hero__nav { display: flex; align-items: center; gap: 26px; font-size: .9rem; font-weight: 600; }
.hero__nav a { color: #fff; text-decoration: none; text-shadow: 0 1px 12px rgba(6,27,26,.45); transition: color .15s; }
.hero__nav a:hover { color: var(--gold); }
.hero__nav .hero__nav-cta { background: var(--gold); color: var(--ink); text-shadow: none; padding: 9px 16px; border-radius: 999px; }
.hero__nav .hero__nav-cta:hover { background: #ecc76e; color: var(--ink); }
@media (max-width: 760px) {
  .hero__nav a:not(.hero__nav-cta) { display: none; }
}

/* Boutons d'action : du vert au jaune au survol */
.btn { transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease; }
.btn--dark:hover, .btn--dark:focus-visible,
.offer--main .btn--dark:hover, .offer--main .btn--dark:focus-visible { background: var(--gold); color: var(--ink); }
.btn--line:hover, .btn--line:focus-visible { background: var(--gold); color: var(--ink); box-shadow: none; }

/* Sous-titre de l'accroche écrite */
.statement__sub { font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--muted); max-width: 820px; margin: 18px 0 0; letter-spacing: -0.01em; }

/* Prix : suite après le premier mois */
.offer__price:has(+ .offer__then) { margin-bottom: 4px; }
.offer__then { font-weight: 600; margin: 0 0 22px; color: var(--gold); }
.offer:not(.offer--main) .offer__then { color: var(--gold-deep); }

/* Lisibilité des prix */
.offer__then { color: var(--ink) !important; font-weight: 600; font-size: 1rem; }
.offer--main .offer__then { color: #fff !important; }
.offer__then--big { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 500; letter-spacing: -0.03em; margin-bottom: 10px; }
.offer__budget { font-size: .9rem; margin: 0 0 22px; color: var(--gold); font-weight: 600; }
.offers__note { margin: 18px 0 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* Gestion HelloAds / budget Meta : deux montants séparés */
.budget { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin-top: 18px; padding: 24px 28px; border-radius: 18px; background: var(--soft); }
.budget__k { margin: 0 0 4px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-deep); }
.budget__v { margin: 0 0 6px; font-size: 1.2rem; font-weight: 600; letter-spacing: -0.02em; }
.budget__t { margin: 0; font-size: .92rem; color: var(--muted); }
.budget__plus { font-size: 2rem; font-weight: 300; color: var(--gold-deep); }
@media (max-width: 760px) { .budget { grid-template-columns: 1fr; text-align: left; } .budget__plus { line-height: 1; } }

/* Offres : 2 cartes centrées */
.offers--2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
@media (max-width: 1000px) { .offers--2 { grid-template-columns: 1fr; } }
.offers--2 + .budget { max-width: 856px; margin-left: auto; margin-right: auto; }

/* Cible, sous l'accroche */
.statement__who { margin: 14px 0 0; font-size: 1rem; font-style: italic; color: var(--gold-deep); max-width: 820px; }

/* Avis clients */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.quote { margin: 0; padding: 30px 30px 26px; border-radius: 18px; background: var(--soft); display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote__ini { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--gold); font-weight: 700; font-size: .9rem; }
.quote figcaption b { display: block; font-size: 1rem; }
.quote figcaption span span, .quote figcaption > span:last-child { font-size: .88rem; color: var(--muted); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
.quotes { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .quotes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .quotes { grid-template-columns: 1fr; } }

/* Avis clients : vignettes (cartes blanches, initiales, titre, extrait dépliable) */
.reviews { columns: 3; column-gap: 16px; margin-top: 8px; }
.review { break-inside: avoid; display: block; margin: 0 0 16px; padding: 24px 24px 18px; border-radius: 16px; background: #fff; box-shadow: 0 1px 0 var(--line); }
.review__who { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review__ini { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--c); color: #fff; font-weight: 700; font-size: .85rem; }
.review__who b { display: block; font-size: .98rem; }
.review__who small { display: block; font-size: .82rem; color: var(--muted); }
.review__title { margin: 0 0 10px; font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.review__text { position: relative; max-height: 7.6em; overflow: hidden; font-size: .94rem; line-height: 1.6; color: var(--ink); }
.review__text::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4em; background: linear-gradient(transparent, #fff); }
.review__text p { margin: 0 0 .7em; }
.review.is-open .review__text { max-height: none; }
.review.is-open .review__text::after { display: none; }
.review__more { margin: 10px 0 14px; padding: 0; border: 0; background: none; font: inherit; font-size: .9rem; font-weight: 600; color: var(--gold-deep); cursor: pointer; }
.review__more span { display: inline-block; transition: transform .2s; }
.review.is-open .review__more span { transform: rotate(180deg); }
.review__src { margin: 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
@media (max-width: 1100px) { .reviews { columns: 2; } }
@media (max-width: 700px) { .reviews { columns: 1; } }
.review:not(.is-open) .review__text p { display: inline; margin: 0; }
.review:not(.is-open) .review__text p + p::before { content: " "; }
.review__more { margin-bottom: 4px; }

/* Pourquoi HelloAds : fond blanc, cartes beiges (le beige est pour les avis juste au-dessus) */
.sec--why .tile:not(.tile--photo):not(.tile--accent) { background: var(--soft); }

/* Ils m'ont fait confiance : bandeau beige pour le distinguer des sections blanches autour */
.trust { background: var(--soft); border-top: 0; border-bottom: 0; }
.trust__track span:hover { color: var(--ink); }
.cta .cta__free { display: block; color: #fff; border: 0; border-radius: 0; padding: 0; font-weight: 400; font-size: 1rem; margin: 0 0 18px; }

/* Bannière claire (photo des ballons sur fond blanc) */
.hero--light { background: #f1f1f1; }
.hero--light .hero__img { object-position: 50% 78%; filter: none; opacity: 1; }
.hero--light .hero__nav a { color: var(--ink); text-shadow: none; }
.hero--light .hero__nav a:hover { color: var(--gold-deep); }
.hero--light .hero__nav .hero__nav-cta { color: var(--ink); }
.hero--light .hero__tag { color: var(--ink); text-shadow: none; }
.hero--light .burger span { background: var(--ink); }
.hero--light .hero__tag { top: 96px; transform: none; }
@media (max-width: 760px) {
  .hero--light { background: #ececec; }
  .hero--light .hero__img { object-fit: contain; object-position: center 42%; animation: none; }
}
.hero--light::after { display: none; }
@media (max-width: 760px) { .hero--light { background: #f0f0f0; } }
.who img.who__portrait { filter: none; object-position: center 12%; background: #fff; }
.who img.who__portrait { object-position: center top; }
.price__visual--phone { background: #000; }
.price__visual--phone img { object-fit: contain; }
.price__visual--phone { background: #fff; }
.price__visual--phone img { object-fit: cover; object-position: center 7%; }
.price__illu { position: absolute; right: 10px; bottom: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(6,27,26,.78); color: #fff; font-size: .72rem; font-weight: 500; }
.price__visual--phone .price__badge { top: auto; bottom: 10px; left: 10px; }
.faq__card img.faq__portrait { object-position: center 8%; background: #fff; }
.faq__card img.faq__portrait { object-position: center top; }
.tile img.tile__dash { object-position: left top; }
.tile__illu { position: absolute; z-index: 2; right: 10px; top: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(6,27,26,.78); color: #fff; font-size: .72rem; font-weight: 500; }
.tile--photo:has(.tile__dash)::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,27,26,.05) 20%, rgba(6,27,26,.93) 62%); pointer-events: none; }
.tile--photo:has(.tile__dash) > div { z-index: 2; }
.tile img.tile__garrick { object-position: center 22%; }
.strip__dark img { filter: grayscale(1) brightness(1.45) contrast(1.05); }
.strip__dark:hover img { filter: brightness(1.35); }

/* Bandeau Stratégie / Création / Optimisation : illustrations en couleur */
.strip--illu figure { background: #f3efe6; }
.strip--illu img { filter: none !important; }
.strip--illu figcaption { color: var(--ink); text-shadow: none; }

/* Bannière sans image : fond vert de la charte, « HelloAds » en jaune */
.hero--plain { background: var(--ink); height: 82vh; min-height: 520px; }
.hero--plain::after { display: none; }
.hero--plain .hero__nav a { color: #fff; text-shadow: none; }
.hero--plain .hero__nav a:hover { color: var(--gold); }
.hero--plain .hero__nav .hero__nav-cta { color: var(--ink); }
.hero--plain .hero__tag { color: rgba(255,255,255,.85); text-shadow: none; }
@media (max-width: 760px) { .hero--plain { height: 62vh; min-height: 420px; } }
/* Bannière réduite (essai) — pour revenir : supprimer ces 2 lignes */
.hero--plain { height: 60vh; min-height: 420px; }
@media (max-width: 760px) { .hero--plain { height: 44vh; min-height: 320px; } }
.hero--plain .hero__tag { top: 96px; transform: none; }

/* Typographie : pas de mot ou de signe isolé en début/fin de ligne */
h1, h2, h3, .statement, .h-xl, .h-lg, .h2, .sub, summary, .review__title, .punch, .cta__lead { text-wrap: balance; }
p, li, blockquote, .review__text { text-wrap: pretty; }
.label { flex-wrap: wrap; row-gap: 4px; }
.label span { white-space: nowrap; }
.nw { white-space: nowrap; }
@media (max-width: 1000px) { .who img { max-width: 420px; } }

/* Offre vidéo : mention devis */
.offer__devis { margin: -6px 0 18px; font-size: .9rem; color: var(--grey); }

/* Audit offert : micro-ligne sous les CTA, bloc au-dessus du formulaire, libellés longs */
.btn { text-align: center; }
.cta-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); }
.offer--main .cta-note { color: rgba(255,255,255,.65); }
.audit-box { margin: 0 0 8px; }
.audit-box h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 600; color: var(--gold); }
.audit-box p { margin: 0 0 12px; color: rgba(255,255,255,.8); }
.audit-box .audit-box__k { margin: 0 0 8px; color: #fff; font-weight: 600; }
.audit-box .cta__checks { margin: 0; gap: 6px; color: rgba(255,255,255,.8); font-size: .95rem; }
@media (max-width: 760px) { .faq__card .btn { font-size: .78rem; padding: 8px 10px; } }
.cta-note--hero { flex-basis: 100%; margin: 2px 0 0; }
@media (max-width: 500px) { .cta-note--hero { order: 1; margin: -2px 0 6px; } .hero-cta .btn--line { order: 2; } }
.audit-box .audit-box__proc { margin: 12px 0 0; font-size: .9rem; color: rgba(255,255,255,.65); }

/* Première page : logo remonté, tout l'accroche écrite visible sans faire défiler.
   Hauteur de la bannière = barre de navigation + hauteur des lettres du logo. */
.hero--plain { --wm: min(24.3vw, max(160px, 125vh - 20vw - 270px)); height: calc(var(--wm) * .8 + clamp(90px, 60vh - 342px, 150px)); min-height: 0; }
.hero--plain .wordmark { font-size: var(--wm); bottom: -0.125em; right: .09em; }
.hero--plain .hero__tag { top: 20px; right: 84px; font-size: .82rem; line-height: 1.35; }
@media (max-width: 1000px) { .hero--plain .hero__tag { display: none; } }
.sec--intro { padding-top: clamp(24px, 3vw, 40px); }
.sec--intro .label { margin-bottom: 18px; }
.sec--intro .statement__who { transform: none; } /* apparaît dès l'arrivée, même en bas d'un petit écran */

/* Barre fixe : logo, liens (ordinateur), audit, menu. Apparaît une fois la bannière passée */
html { scroll-padding-top: 72px; }
.topbar { position: fixed; z-index: 25; top: 0; left: 0; right: 0; height: 60px; padding: 0 28px; display: flex; align-items: center; gap: 26px; background: var(--ink); transform: translateY(-100%); visibility: hidden; transition: transform .25s, visibility .25s; }
.topbar.is-on { transform: none; visibility: visible; }
.topbar__logo { margin-right: auto; color: var(--gold); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.04em; text-decoration: none; }
.topbar__nav { display: flex; gap: 26px; font-size: .9rem; font-weight: 600; }
.topbar__nav a { color: #fff; text-decoration: none; transition: color .15s; }
.topbar__nav a:hover { color: var(--gold); }
.topbar__cta { background: var(--gold); color: var(--ink); font-size: .9rem; font-weight: 600; padding: 8px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }
.topbar__cta:hover { background: #ecc76e; }
@media (max-width: 760px) {
  .topbar { height: 56px; padding: 0 20px; gap: 16px; }
  .topbar__nav { display: none; }
}
@media (prefers-reduced-motion: reduce) { .topbar { transition: none; } }

/* Bandeau Stratégie / Création / Optimisation sur téléphone : légende sous l'image, jamais dessus */
@media (max-width: 700px) {
  .strip--illu figure { aspect-ratio: auto; }
  .strip--illu img { display: block; height: auto; aspect-ratio: 16 / 10; }
  .strip--illu figcaption { position: static; padding: 10px 16px 12px; }
}

/* Réservation directe de l'audit (07/11/2026) */
.cta .cta__book { margin: 0 0 10px; }
.cta .cta__book-note { color: rgba(255,255,255,.75); font-size: .95rem; margin: 0 0 18px; max-width: 34ch; }
.audit-box__proc a { text-decoration: underline; }
