:root {
  --black: #0d0d0f;
  --soft-black: #1d1a1b;
  --red: #d82127;
  --red-dark: #9f171c;
  --orange: #ff7a1a;
  --orange-soft: #fff0e5;
  --paper: #fffaf4;
  --panel: #ffffff;
  --muted: #6f6460;
  --line: #eadbd2;
  --shadow: 0 22px 60px rgba(13, 13, 15, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 244, 0.92);
  border-bottom: 1px solid rgba(234, 219, 210, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.header-cta,
.primary-link,
.secondary-link,
button {
  font-weight: 800;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.brand-logo {
  width: clamp(132px, 16vw, 190px);
  height: auto;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--red);
}

.header-cta,
.primary-link,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #fff;
  background: var(--red);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.header-cta:hover,
.primary-link:hover,
button:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: var(--black);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(13, 13, 15, 0.18);
  border-radius: 8px;
  transition: transform 160ms ease, border-color 160ms ease;
}

.secondary-link:hover {
  border-color: var(--red);
  transform: translateY(-1px);
}

.secondary-link.on-dark {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: clamp(42px, 8vw, 96px) clamp(20px, 5vw, 72px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 250, 244, 1) 0%, rgba(255, 250, 244, 0.98) 36%, rgba(255, 250, 244, 0.72) 52%, rgba(255, 250, 244, 0.08) 72%),
    linear-gradient(0deg, rgba(216, 33, 39, 0.16), rgba(255, 122, 26, 0.04));
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #f5e0d0;
}

.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  transform-origin: center center;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 24px;
  color: #352d2b;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.hero-actions,
.conversion-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

#formation-gratuite {
  scroll-margin-top: 100px;
}

.lead-form {
  width: min(630px, 100%);
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 122, 26, 0.28);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.lead-form .form-title {
  display: block;
  margin-bottom: 16px;
  font-weight: 850;
  font-size: 1.15rem;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  display: block;
  margin-bottom: 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--black);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  resize: vertical;
}

textarea:focus {
  outline: 3px solid rgba(255, 122, 26, 0.2);
  border-color: var(--orange);
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--black);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

input:focus {
  outline: 3px solid rgba(255, 122, 26, 0.2);
  border-color: var(--orange);
}

.form-status {
  margin: 15px 0 0;
  min-height: 1.4em;
  font-size: 0.95rem;
  font-weight: 800;
  transition: all 0.3s ease;
}

.form-status.success {
  color: #059669;
  padding: 18px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.2);
  border-radius: 6px;
  text-align: center;
  font-size: 1.05rem;
}

.form-status.error {
  color: var(--red-dark);
  padding: 12px;
  background: rgba(216, 33, 39, 0.06);
  border: 1px solid rgba(216, 33, 39, 0.15);
  border-radius: 6px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 60px clamp(20px, 5vw, 72px);
  background: #fffaf4;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  border-left: 3px solid var(--orange);
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.trust-item strong,
.trust-item span {
  display: block;
}

.trust-item strong {
  color: var(--orange);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.trust-item span {
  color: #352d2b;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 500;
  line-height: 1.4;
}

.section,
.free-section,
.about-section,
.split-section,
.testimonials-section,
.conversion-band {
  padding: clamp(70px, 10vw, 130px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 740px;
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.free-section {
  background: #fff;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.benefit,
.feature,
.testimonial {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.benefit {
  min-height: 270px;
  padding: 24px;
}

.benefit-number,
.icon {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 22px;
  padding: 0 10px;
  color: #fff;
  background: var(--black);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 900;
}

.benefit:nth-child(even) .benefit-number,
.feature:nth-child(even) .icon {
  background: var(--orange);
}

.benefit p,
.feature p,
.audience-list p,
.conversion-band p,
.testimonial figcaption {
  margin-bottom: 0;
  color: var(--muted);
}

.inline-cta {
  margin-top: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 260px;
  padding: 24px;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.75fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: stretch;
  background: var(--soft-black);
}

.about-card,
.personal-note {
  border-radius: 8px;
}

.about-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: clamp(24px, 4vw, 42px);
  align-items: stretch;
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  background: var(--black);
  border: 1px solid rgba(255, 122, 26, 0.38);
}

.about-card .eyebrow {
  color: var(--orange);
}

.about-card p {
  max-width: 720px;
  color: #f2ded1;
  font-size: 1.08rem;
}

.portrait {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.portrait img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: 52% center;
  filter: contrast(1.05);
}

.credential-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  position: relative;
  padding-left: 26px;
  color: #fff;
}

.credential-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
}

.personal-note {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: clamp(28px, 5vw, 42px);
  color: var(--black);
  background: var(--orange);
  border-radius: 8px;
  overflow: hidden;
}

.personal-note::before {
  content: "“";
  position: absolute;
  top: -10px;
  left: 15px;
  font-size: 12rem;
  font-family: "Georgia", serif;
  color: var(--black);
  opacity: 0.08;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.personal-note p {
  position: relative;
  z-index: 1;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
  font-style: italic;
  font-weight: 500;
  margin: 0;
}

.personal-note span {
  position: relative;
  z-index: 1;
  font-weight: 800;
  color: var(--black);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.personal-note span::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--black);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(32px, 8vw, 96px);
  background: var(--orange-soft);
}

.audience-list {
  display: grid;
  gap: 14px;
}

.audience-list div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.audience-list strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.testimonials-section {
  background: #fff;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.testimonial {
  margin: 0;
  padding: 26px;
  border-top: 5px solid var(--red);
}

.testimonial blockquote {
  margin: 0 0 18px;
  color: var(--black);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

.testimonial figcaption {
  font-weight: 800;
}

.conversion-band {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: var(--red);
}

.conversion-band .eyebrow {
  color: #ffe0cc;
}

.conversion-band p {
  color: #ffe6da;
}

.conversion-band .primary-link {
  background: var(--black);
  white-space: nowrap;
}

.conversion-band .primary-link:hover {
  background: #2a2526;
}

.conversion-band .conversion-actions {
  justify-content: flex-end;
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: #fff;
}

.footer-logo {
  width: min(180px, 48vw);
  height: auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--red);
}

@media (max-width: 1040px) {
  .nav {
    display: none;
  }

  .benefit-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section,
  .about-card,
  .split-section,
  .conversion-band {
    grid-template-columns: 1fr;
  }

  .conversion-band .conversion-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 64px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 46px;
  }

  .hero::before {
    background:
      linear-gradient(0deg, rgba(255, 250, 244, 0.99) 0%, rgba(255, 250, 244, 0.88) 45%, rgba(255, 250, 244, 0.18) 100%);
  }

  .hero-media {
    position: relative;
    inset: auto;
    order: -1;
    height: 310px;
    margin: -52px -20px 28px;
  }

  .hero-portrait {
    object-position: 66% center;
    transform: none;
    transform-origin: center center;
  }

  h1 {
    max-width: 11ch;
    font-size: 3.08rem;
  }

  .hero-actions,
  .conversion-actions {
    flex-direction: column;
  }

  .primary-link,
  .secondary-link {
    width: 100%;
  }

  .lead-form {
    padding: 14px;
  }

  .form-row-double {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .trust-strip,
  .benefit-grid,
  .feature-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    gap: 28px;
  }

  .trust-item {
    margin: 0;
    max-width: none;
  }

  .benefit,
  .feature {
    min-height: 0;
  }

  .portrait img {
    min-height: 320px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}
