/* =============================================================
   izecca · page d'accueil
   Direction : editorial premium suisse. Grands titres contrastes,
   beaucoup d'air, bleu ardoise en aplats, accent chaud ponctuel.
   Toutes les classes sont prefixees h- et limitees a main.home :
   aucune incidence sur les autres pages.
   ============================================================= */

/* Les jetons (--h-*) sont definis dans refonte.css, charge avant ce fichier. */

/* ---------- typographie ---------- */
.home h1, .home h2, .home h3 { font-family: var(--sans); color: var(--h-ink); }

.h-display {
  font-size: clamp(2.7rem, 6.4vw, 5.4rem);
  font-weight: 650;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h-display em, .h-title em { font-style: normal; color: var(--h-brand); }
.h-display em {
  background: linear-gradient(transparent 70%, rgba(227, 168, 87, .38) 70%);
  padding: 0 .04em;
}

.h-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h-title em { color: var(--h-muted); font-weight: 500; }
.h-title--light, .home .h-title--light { color: #fff; }

.h-lead { font-size: clamp(1.12rem, 1.5vw, 1.3rem); line-height: 1.6; max-width: 34em; }
.h-text { font-size: 1.08rem; line-height: 1.7; max-width: 38em; }
.h-text--light { color: rgba(255, 255, 255, .78); }
.h-fine { margin-top: 18px; font-size: .86rem; color: var(--h-muted); }

.h-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--h-brand);
}
.h-kicker::before { content: ""; width: 28px; height: 2px; background: var(--h-accent); }
.h-kicker--light { color: rgba(255, 255, 255, .8); }
.h-hero .h-kicker::before { content: none; }
.h-dot { width: 8px; height: 8px; border-radius: 50%; background: #3fb27f; box-shadow: 0 0 0 4px rgba(63, 178, 127, .18); }

/* ---------- boutons et liens ---------- */
.h-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.h-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.h-btn span { transition: transform .2s ease; }
.h-btn:hover { transform: translateY(-2px); }
.h-btn:hover span { transform: translateX(3px); }
.h-btn--primary { background: var(--h-brand); color: #fff; box-shadow: 0 14px 30px -12px rgba(47, 72, 88, .7); }
.h-btn--primary:hover { background: var(--h-deep); }
.h-btn--ghost { border-color: var(--h-line); color: var(--h-ink); background: #fff; }
.h-btn--ghost:hover { border-color: var(--h-ink); }
.h-btn--light { background: #fff; color: var(--h-deep); }
.h-btn--light:hover { background: var(--h-tint); }
.h-btn--lg { min-height: 64px; padding: 0 36px; font-size: 1.08rem; }
.home a:focus-visible { outline: 3px solid var(--h-accent); outline-offset: 3px; }

.h-link {
  display: inline-flex; gap: 8px; margin-top: 32px;
  font-weight: 600; color: var(--h-brand); text-decoration: none;
  border-bottom: 2px solid var(--h-accent); padding-bottom: 4px;
}
.h-link span { transition: transform .2s ease; }
.h-link:hover span { transform: translateX(4px); }

/* ---------- 1 · hero ---------- */
.h-hero { padding: clamp(56px, 8vw, 112px) 0 clamp(72px, 9vw, 128px); }
.h-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  gap: clamp(48px, 7vw, 104px); align-items: center;
}
.h-hero .h-lead { margin-top: 32px; }
.h-places { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 48px; font-size: .92rem; color: var(--h-muted); }
.h-places li { display: inline-flex; align-items: center; gap: 8px; }
.h-places li::before {
  content: ""; width: 14px; height: 14px; flex: none;
  background: var(--h-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11.5a7 7 0 0 1 14 0C19 14.9 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11.5a7 7 0 0 1 14 0C19 14.9 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.h-places li.h-places__ctrl::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.8 2.8L16 10'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12.5 2.8 2.8L16 10'/%3E%3C/svg%3E");
}
.h-places__ctrl a { color: inherit; text-decoration: underline; text-decoration-color: var(--h-accent, currentColor); text-underline-offset: 3px; }
.h-places__ctrl a:hover { color: var(--h-ink); }

.h-portrait { position: relative; margin: 0; }
.h-portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
  border-radius: var(--h-radius); box-shadow: var(--h-shadow);
}
.h-portrait__card {
  position: absolute; left: -32px; bottom: -28px;
  display: grid; gap: 2px; padding: 18px 22px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
  border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(15, 26, 33, .35);
  font-size: .86rem; color: var(--h-muted);
}
.h-portrait__card strong { font-size: 1.05rem; color: var(--h-ink); }
.h-portrait__card a { margin-top: 6px; font-weight: 600; color: var(--h-brand); text-decoration: none; }
.h-portrait__badge {
  position: absolute; right: -24px; top: 32px;
  display: grid; place-items: center; text-align: center;
  width: 148px; height: 148px; padding: 18px; border-radius: 50%;
  background: var(--h-deep); color: rgba(255, 255, 255, .82);
  font-size: .72rem; line-height: 1.3; text-decoration: none;
  box-shadow: 0 20px 40px -14px rgba(15, 26, 33, .6);
  transform: rotate(-8deg); transition: transform .3s ease;
}
.h-portrait__badge:hover { transform: rotate(0) scale(1.04); }
.h-portrait__big { display: block; font-size: 1.7rem; font-weight: 700; color: var(--h-accent); letter-spacing: -.02em; }

/* ---------- 2 · preuves ---------- */
.h-proof { border-block: 1px solid var(--h-line); }
.h-proof__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.h-proof__grid > div { padding: 44px 32px; border-left: 1px solid var(--h-line); }
.h-proof__grid > div:first-child { border-left: 0; padding-left: 0; }
.h-proof dt { font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 650; letter-spacing: -.03em; line-height: 1; color: var(--h-ink); }
.h-proof dd { margin-top: 12px; font-size: .95rem; line-height: 1.45; color: var(--h-muted); max-width: 16em; }

/* ---------- sections ---------- */
.h-section { padding: var(--h-space) 0; }
.h-section--tint { background: var(--h-tint); }
.h-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.h-head .h-text { margin-top: 24px; }
.h-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.h-head--row .h-title { max-width: 14em; }
.h-head--row .h-link { margin-top: 0; }

/* ---------- 3 · engagement ---------- */
.h-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); align-items: start; }
.h-split__head { position: sticky; top: 140px; }
.h-split__head .h-text { margin-top: 28px; }
.h-points li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 36px 0; border-top: 1px solid var(--h-line); }
.h-points li:last-child { border-bottom: 1px solid var(--h-line); }
.h-points__num { font-size: .9rem; font-weight: 600; color: var(--h-accent-ink); font-variant-numeric: tabular-nums; padding-top: 4px; }
.h-points h3 { font-size: 1.3rem; font-weight: 620; letter-spacing: -.01em; margin-bottom: 8px; }
.h-points p { line-height: 1.65; }

/* ---------- 4 · abonnements ---------- */
.h-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.h-plan {
  display: flex; flex-direction: column;
  padding: 40px 36px; border-radius: var(--h-radius);
  background: #fff; border: 1px solid var(--h-line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.h-plan:hover { transform: translateY(-6px); box-shadow: var(--h-shadow); }
.h-plan__tag { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--h-brand); }
.h-plan h3 { margin-top: 20px; font-size: 1.35rem; font-weight: 620; line-height: 1.25; letter-spacing: -.015em; }
.h-plan__price { margin: 28px 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--h-line); font-size: 2rem; font-weight: 650; letter-spacing: -.03em; color: var(--h-ink); }
.h-plan__price small { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--h-muted); }
.h-plan .h-btn { margin-top: auto; }
.h-ticks { display: grid; gap: 12px; margin-bottom: 36px; font-size: .97rem; }
.h-ticks li { position: relative; padding-left: 30px; line-height: 1.45; }
.h-ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--h-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f4858' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.h-plan--featured { background: var(--h-deep); border-color: var(--h-deep); color: rgba(255, 255, 255, .78); }
.h-plan--featured h3, .h-plan--featured .h-plan__price { color: #fff; }
.h-plan--featured .h-plan__tag { color: var(--h-accent); }
.h-plan--featured .h-plan__price { border-color: rgba(255, 255, 255, .16); }

.h-forfait {
  display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: center;
  margin-top: 24px; padding: 28px 36px; border-radius: var(--h-radius);
  background: #fff; border: 1px solid var(--h-line);
}
.h-forfait__price { font-size: 1.7rem; font-weight: 650; letter-spacing: -.03em; color: var(--h-ink); white-space: nowrap; }
.h-forfait__price small { font-size: .9rem; font-weight: 500; letter-spacing: 0; color: var(--h-muted); }
.h-forfait__text { font-size: .97rem; line-height: 1.55; color: var(--h-muted); }
.h-forfait__text strong { color: var(--h-ink); font-weight: 600; }
@media (max-width: 760px) { .h-forfait { grid-template-columns: 1fr; padding: 24px; } }
.h-plan--featured .h-plan__price small { color: rgba(255, 255, 255, .6); }
.h-plan--featured .h-ticks li::before {
  background-color: rgba(255, 255, 255, .1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e3a857' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

.h-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 56px; }
.h-pills li { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--h-line); font-size: .9rem; font-weight: 500; color: var(--h-ink); }

/* ---------- 5 · izecca Confiance ---------- */
.h-confiance {
  position: relative; overflow: hidden;
  padding: var(--h-space) 0;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(227, 168, 87, .16), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(255, 255, 255, .06), transparent 60%),
    var(--h-deep);
  color: rgba(255, 255, 255, .78);
}
.h-confiance__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.h-confiance .h-text { margin-top: 28px; }
.h-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin-top: 40px; }
.h-checks li { display: flex; gap: 12px; align-items: center; color: #fff; font-weight: 500; }
.h-checks li::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--h-accent); }
.h-confiance .h-fine { color: rgba(255, 255, 255, .55); }
.h-giant { margin: 0; text-align: right; color: #fff; line-height: .8; }
.h-giant span {
  display: block; font-size: clamp(9rem, 22vw, 19rem); font-weight: 700; letter-spacing: -.07em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .25));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h-giant small { display: block; margin-top: 18px; font-size: clamp(1.1rem, 1.8vw, 1.5rem); font-weight: 500; letter-spacing: -.01em; color: var(--h-accent); line-height: 1.3; }

/* ---------- 6 · fonctionnement ---------- */
.h-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: step; }
.h-steps li { position: relative; padding-top: 32px; border-top: 2px solid var(--h-ink); }
.h-steps__num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 28px;
  border-radius: 50%; background: var(--h-tint); color: var(--h-brand); font-weight: 650; font-size: 1.1rem;
}
.h-steps h3 { font-size: 1.3rem; font-weight: 620; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 12px; }
.h-steps p { line-height: 1.65; }

/* ---------- 7 · coulisses ---------- */
.h-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 104px); align-items: center; }
.h-feature__media { margin: 0; }
.h-feature__media img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--h-radius); box-shadow: var(--h-shadow); }
.h-feature .h-text { margin-top: 28px; }
.h-facts { display: grid; gap: 14px; margin-top: 36px; }
.h-facts li { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; background: #fff; }
.h-facts svg { width: 26px; height: 26px; flex: none; color: var(--h-brand); }
.h-facts strong { display: block; color: var(--h-ink); font-weight: 600; }
.h-facts span { font-size: .95rem; line-height: 1.5; }

/* ---------- 8 · contact ---------- */
.h-cta { padding: var(--h-space) 0; }
.h-cta__box {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: end;
  padding: clamp(40px, 7vw, 96px);
  border-radius: calc(var(--h-radius) + 12px);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(227, 168, 87, .22), transparent 55%),
    var(--h-brand);
  color: rgba(255, 255, 255, .8);
}
.h-cta__box .h-text { margin-top: 24px; }
.h-cta__side { display: grid; gap: 18px; justify-items: start; }
.h-cta__tel { font-size: 1.3rem; font-weight: 600; color: #fff; text-decoration: none; letter-spacing: -.01em; }
.h-cta__tel:hover { color: var(--h-accent); }
.h-cta .h-fine { margin-top: 0; color: rgba(255, 255, 255, .6); }

/* ---------- apparition au defilement (navigateurs compatibles) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .h-plan, .h-points li, .h-steps li, .h-proof__grid > div, .h-feature__media, .h-facts li {
      animation: h-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
  }
}
@keyframes h-rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .h-plans { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .h-proof__grid { grid-template-columns: repeat(2, 1fr); }
  .h-proof__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .h-proof__grid > div:nth-child(n+3) { border-top: 1px solid var(--h-line); }
}

@media (max-width: 900px) {
  .h-hero__grid, .h-split, .h-confiance__grid, .h-feature, .h-cta__box { grid-template-columns: 1fr; }
  .h-portrait { max-width: 460px; margin: 16px auto 0; }
  .h-portrait__card { left: 16px; bottom: -24px; }
  .h-portrait__badge { right: 8px; top: -20px; width: 120px; height: 120px; }
  .h-portrait__big { font-size: 1.4rem; }
  .h-split__head { position: static; }
  .h-giant { text-align: left; }
  .h-steps { grid-template-columns: 1fr; gap: 40px; }
  .h-feature__media img { aspect-ratio: 3 / 2; }
  .h-cta__box { align-items: start; }
}

@media (max-width: 560px) {
  .h-actions .h-btn { width: 100%; }
  .h-btn { white-space: normal; text-align: center; line-height: 1.3; }
  .h-proof__grid > div { padding: 28px 16px 28px 0; }
  .h-proof__grid > div:nth-child(even) { padding-left: 16px; }
  .h-checks { grid-template-columns: 1fr; }
  .h-plan { padding: 32px 24px; }
  .h-points li { grid-template-columns: 40px 1fr; padding: 28px 0; }
  .h-cta__side .h-btn { width: 100%; }
}
.h-center { text-align: center; }

/* ---------- portrait : logo ---------- */
.h-portrait__logo {
  position: absolute; left: 20px; top: 20px; z-index: 1;
  display: flex; align-items: center; gap: 8px; padding: 10px 14px;
  border-radius: 14px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  box-shadow: 0 12px 28px -14px rgba(15, 26, 33, .45);
}
.h-portrait .h-portrait__logo img { width: auto; height: 22px; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.h-portrait__logo span { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--h-muted); }

/* ---------- preuves : icones ---------- */
.h-proof { background: linear-gradient(180deg, #fff 0%, var(--h-tint) 100%); }
.h-proof__icon {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px;
  border-radius: 14px; background: var(--h-deep); color: var(--h-accent);
}
.h-proof__icon svg { width: 22px; height: 22px; }
.h-proof__num { display: block; }
.h-proof__num::after { content: ""; display: block; width: 32px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--h-accent); }

/* ---------- LinkedIn ---------- */
.h-linkedin { padding: clamp(56px, 7vw, 96px) 0 0; }
.h-linkedin__box {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(28px, 4vw, 48px); border: 1px solid var(--h-line); border-radius: var(--h-radius); background: #fff; box-shadow: var(--h-shadow);
}
.h-linkedin__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: #0a66c2; color: #fff; }
.h-linkedin__icon svg { width: 36px; height: 36px; }
.h-linkedin .h-text { margin-top: 16px; }
.h-linkedin__actions { display: grid; gap: 10px; }
.h-linkedin__actions .h-btn { justify-content: center; }
@media (max-width: 900px) {
  .h-linkedin__box { grid-template-columns: 1fr; }
  .h-linkedin__actions { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}

/* portrait du fondateur : plus discret */
.h-portrait { width: 100%; max-width: 360px; justify-self: center; }
.h-portrait__quals { display: block; margin-top: 8px; font-size: .78rem; line-height: 1.45; color: var(--h-muted); }
.h-center__sep { margin: 0 10px; color: var(--h-muted); }
.h-forfait + .h-forfait { margin-top: 12px; }
.h-section:not(.h-section--tint) .h-facts li { background: var(--h-tint); }
