/* ============================================================
   Académie IA Israël — feuille de style
   Site vitrine + génération de leads
   ============================================================ */

:root {
  /* Palette */
  --teal-900: #0c3d34;
  --teal-800: #11574a;
  --teal-700: #0f6b58;
  --emerald: #1fb585;
  --emerald-bright: #28d49b;
  --violet: #8b7bd8;
  --violet-soft: #b3a7ec;

  --ink: #16201d;
  --muted: #5d6b67;
  --line: #e4ece9;
  --mint: #f1f8f5;
  --mint-2: #e8f4ef;
  --white: #ffffff;

  --shadow-sm: 0 4px 14px rgba(12, 61, 52, .07);
  --shadow-md: 0 16px 40px rgba(12, 61, 52, .12);
  --shadow-lg: 0 28px 70px rgba(12, 61, 52, .18);

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1180px;

  --grad-text: linear-gradient(100deg, var(--emerald) 0%, var(--violet) 100%);
  --grad-cta: linear-gradient(100deg, var(--emerald) 0%, var(--teal-700) 100%);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--mint { background: var(--mint); }
.section--teal {
  background: radial-gradient(120% 130% at 80% 0%, var(--teal-700) 0%, var(--teal-800) 45%, var(--teal-900) 100%);
  color: #eafaf4;
}

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--emerald);
  background: var(--mint-2);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section--teal .eyebrow { color: var(--emerald-bright); background: rgba(40, 212, 155, .12); }

h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }

.h-section {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}
.lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 620px;
}
.section--teal .lead { color: #b9ddd2; }

.gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 0;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad-cta); color: #fff; box-shadow: 0 12px 26px rgba(31, 181, 133, .35); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(31, 181, 133, .45); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--emerald); color: var(--teal-700); }
.btn--light { background: #fff; color: var(--teal-800); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--wa { background: #25d366; color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, .32); }
.btn--wa:hover { transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.12rem; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--grad-cta);
  color: #fff; font-weight: 900;
  box-shadow: var(--shadow-sm);
}
.brand small { display: block; font-size: .64rem; letter-spacing: .12em; color: var(--muted); font-weight: 600; text-transform: uppercase; }

.nav__links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav__links a { font-weight: 600; font-size: .95rem; color: var(--ink); transition: color .15s; }
.nav__links a:hover { color: var(--emerald); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 12px;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px auto; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 70px 0 60px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(45% 55% at 12% 8%, rgba(40, 212, 155, .14), transparent 70%),
    radial-gradient(40% 50% at 95% 25%, rgba(139, 123, 216, .14), transparent 70%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); margin-bottom: 22px; }
.hero p.lead { font-size: 1.15rem; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 22px; color: var(--muted); font-size: .92rem; }
.hero__trust span { display: flex; align-items: center; gap: 7px; font-weight: 600; }
.hero__trust .dot { color: var(--emerald); font-size: 1.1rem; }

.hero__visual { position: relative; }
.hero__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
}
.hero__chat { display: flex; flex-direction: column; gap: 12px; }
.bubble { padding: 12px 16px; border-radius: 16px; font-size: .92rem; max-width: 86%; }
.bubble--user { align-self: flex-end; background: var(--teal-800); color: #eafaf4; border-bottom-right-radius: 5px; }
.bubble--ai { align-self: flex-start; background: var(--mint); color: var(--ink); border-bottom-left-radius: 5px; border: 1px solid var(--line); }
.bubble small { display: block; font-size: .68rem; opacity: .65; margin-bottom: 3px; font-weight: 700; letter-spacing: .04em; }
.hero__badge {
  position: absolute; right: -10px; bottom: -18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .9rem;
}
.hero__badge b { color: var(--teal-700); font-size: 1.25rem; }

/* ---------- Logo strip ---------- */
.logos { padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.logos__label { text-align: center; color: var(--muted); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; font-weight: 700; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.chip {
  font-weight: 700; font-size: .95rem; color: var(--teal-800);
  background: var(--mint); border: 1px solid var(--line);
  padding: 9px 18px; border-radius: 999px;
}

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d4e6e0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: var(--mint-2); margin-bottom: 18px;
}
.card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__meta { margin-top: 16px; font-size: .85rem; font-weight: 700; color: var(--emerald); display: flex; align-items: center; gap: 7px; }

/* feature list inside cards */
.ticks { list-style: none; margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.ticks li { display: flex; gap: 9px; align-items: flex-start; font-size: .94rem; color: var(--muted); }
.ticks li::before { content: "✓"; color: var(--emerald); font-weight: 900; flex: 0 0 auto; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section--teal .stat b { background: linear-gradient(100deg, var(--emerald-bright), var(--violet-soft)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: .92rem; color: var(--muted); font-weight: 600; }
.section--teal .stat span { color: #b9ddd2; }

/* ---------- Audience ---------- */
.aud { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.aud .emoji { font-size: 1.7rem; line-height: 1; }
.aud h4 { font-size: 1.05rem; margin-bottom: 5px; }
.aud p { font-size: .9rem; color: #b9ddd2; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -16px; left: 24px;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad-cta); color: #fff; font-weight: 900;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.step h3 { font-size: 1.1rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; background: #fff; }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; font-size: 1.02rem; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq__q .icn { flex: 0 0 auto; transition: transform .25s; color: var(--emerald); font-size: 1.3rem; line-height: 1; }
.faq__item.open .faq__q .icn { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { padding: 0 22px 20px; color: var(--muted); font-size: .96rem; }

/* ---------- Testimonials ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm); position: relative;
  border-top: 4px solid transparent; border-image: var(--grad-text) 1; border-image-slice: 1;
}
.tcard .quote { font-size: 2.6rem; line-height: .5; color: var(--violet-soft); font-family: Georgia, serif; }
.tcard p.txt { color: var(--ink); font-size: .96rem; margin: 14px 0 18px; }
.tcard__who { display: flex; align-items: center; gap: 12px; }
.tcard__av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-cta); color: #fff; display: grid; place-items: center; font-weight: 800; }
.tcard__who b { display: block; font-size: .95rem; }
.tcard__who span { font-size: .82rem; color: var(--muted); }
.stars { color: #f5b53d; font-size: .9rem; letter-spacing: 2px; }

/* ---------- Lead / CTA section ---------- */
.lead-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.lead-copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }
.lead-copy .ticks li { color: #cdeae0; }
.lead-copy .ticks li::before { color: var(--emerald-bright); }

.form-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-lg); color: var(--ink);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: .92rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: .96rem; color: var(--ink); background: #fbfdfc;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--emerald); box-shadow: 0 0 0 3px rgba(31,181,133,.15); background: #fff;
}
.field textarea { resize: vertical; min-height: 84px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: .78rem; color: var(--muted); margin-top: 12px; text-align: center; }
.form-ok {
  display: none; text-align: center; padding: 20px;
  background: var(--mint); border: 1px solid var(--line); border-radius: 14px;
  color: var(--teal-800); font-weight: 600; margin-top: 16px;
}
.form-ok.show { display: block; }
.req { color: #e5484d; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-900); color: #bcdcd2; padding: 64px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h5 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: .03em; }
.footer a { color: #bcdcd2; font-size: .92rem; display: block; padding: 4px 0; transition: color .15s; }
.footer a:hover { color: var(--emerald-bright); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer p.small { font-size: .9rem; color: #9bc3b8; max-width: 280px; }
.footer__news { display: flex; gap: 8px; margin-top: 12px; }
.footer__news input { flex: 1; padding: 11px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: .9rem; }
.footer__news input::placeholder { color: #8fb6ab; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
.footer__bottom a { display: inline; }

/* floating whatsapp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37,211,102,.45); font-size: 1.7rem;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* reveal animation — only hide when JS is active (avoids permanently hidden content) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid--3, .grid--4, .steps, .stats, .tcards { grid-template-columns: repeat(2, 1fr); }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { max-width: 460px; }
  .lead-wrap { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: block; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 16px;
    position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; padding: 22px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .grid--3, .grid--4, .steps, .stats, .tcards, .footer__grid, .form-row, .aud-grid { grid-template-columns: 1fr; }
  .stats { gap: 30px; }
}
