:root {
  --ink: #0a2b44;
  --muted: #586a70;
  --line: #d8e0df;
  --paper: #f7f4ee;
  --white: #ffffff;
  --green: #78aaa1;
  --green-dark: #0a2b44;
  --coral: #b9965b;
  --gold: #c9a45c;
  --pearl: #fffdf8;
  --shadow: 0 22px 64px rgba(10, 43, 68, 0.14);
  --font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: Inter, Avenir, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid rgba(10, 43, 68, 0.1);
  box-shadow: 0 10px 34px rgba(10, 43, 68, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 850;
  letter-spacing: 0;
}

.brand-area {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  min-width: 0;
}

.brand-logo {
  width: clamp(86px, 8vw, 108px);
  height: clamp(86px, 8vw, 108px);
  object-fit: contain;
  border-radius: 6px;
}

.qualiopi-logo {
  display: block;
  width: clamp(118px, 13vw, 156px);
  height: auto;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid rgba(10, 43, 68, 0.12);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(10, 43, 68, 0.08);
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(10, 43, 68, 0.82);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav a {
  border-bottom: 2px solid transparent;
  padding-block: 6px;
}

.nav a:hover {
  color: var(--ink);
  border-color: var(--gold);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 78px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.menu-icon {
  display: grid;
  gap: 4px;
}

.menu-icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.menu-text {
  line-height: 1;
}

.home-about {
  position: relative;
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(118px, 160px) minmax(0, 720px);
  gap: clamp(22px, 3.2vw, 42px);
  align-items: center;
  justify-content: center;
  padding: 148px clamp(20px, 6vw, 78px) 58px;
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98), rgba(255, 250, 241, 0.98) 45%, rgba(247, 244, 238, 0.88)),
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(247, 244, 238, 0.92));
  border-bottom: 1px solid rgba(10, 43, 68, 0.08);
}

.home-about::after {
  content: "";
  position: absolute;
  left: clamp(20px, 6vw, 78px);
  right: clamp(20px, 6vw, 78px);
  bottom: 24px;
  height: 1px;
  background: linear-gradient(90deg, rgba(201, 164, 92, 0), rgba(201, 164, 92, 0.42), rgba(201, 164, 92, 0));
}

.home-about > * {
  position: relative;
  z-index: 1;
}

.home-about-photo {
  justify-self: end;
  width: min(100%, 148px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(201, 164, 92, 0.28);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(10, 43, 68, 0.11);
}

.home-about-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.home-about-copy {
  max-width: 720px;
  padding-left: clamp(16px, 1.8vw, 22px);
  border-left: 3px solid var(--gold);
}

.home-about-copy h1 {
  max-width: 680px;
  font-size: clamp(1.8rem, 2.75vw, 2.55rem);
  line-height: 1.12;
}

.home-about-lead {
  color: var(--ink);
  font-size: clamp(1.02rem, 1.45vw, 1.2rem);
  font-weight: 650;
}

.home-about-copy p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  padding: 136px clamp(20px, 6vw, 78px) 86px;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/atelier-commercial-fredk-v2.png");
  background-size: cover;
  background-position: 58% center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.88) 0%, rgba(247, 244, 238, 0.68) 34%, rgba(247, 244, 238, 0.06) 62%, rgba(10, 43, 68, 0.06) 100%),
    linear-gradient(0deg, rgba(10, 43, 68, 0.05), rgba(10, 43, 68, 0));
}

.statement-hero {
  position: relative;
  min-height: auto;
  padding-top: clamp(50px, 7vw, 72px);
  padding-bottom: clamp(52px, 7vw, 78px);
  background:
    linear-gradient(120deg, #fffdf8 0%, #fffaf1 58%, #fffdf8 100%);
  border-top: 1px solid rgba(10, 43, 68, 0.08);
  border-bottom: 1px solid rgba(10, 43, 68, 0.08);
}

.statement-hero::after {
  content: "";
  position: absolute;
  top: 18px;
  left: clamp(20px, 6vw, 78px);
  right: clamp(20px, 6vw, 78px);
  bottom: 18px;
  width: auto;
  border: 1px solid rgba(201, 164, 92, 0.16);
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.16), rgba(255, 253, 248, 0.58));
  pointer-events: none;
}

.statement-hero .hero-media {
  display: none;
}

.statement-hero .hero-overlay {
  background: none;
}

.statement-hero .hero-content {
  z-index: 1;
  max-width: 760px;
  margin-left: clamp(0px, calc((100vw - 922px) / 2 + 124px), 384px);
}

.statement-hero h2 {
  max-width: 680px;
  font-size: clamp(1.85rem, 2.8vw, 2.75rem);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-left: clamp(0px, 1.8vw, 24px);
  border-left: 3px solid var(--gold);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  margin: 0;
  max-width: 690px;
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 3.35vw, 3.35rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: 0;
  text-wrap: balance;
}

h3,
.publics-lead,
.domain-stack-title h2,
.formats-heading h2,
.domain-cta h2,
.testimonial blockquote {
  text-wrap: balance;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 590px;
  margin: 24px 0 0;
  color: #102f49;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 650;
  text-shadow: 0 1px 16px rgba(255, 253, 248, 0.94);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(10, 43, 68, 0.2);
}

.button.primary:hover {
  background: #071f32;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(10, 43, 68, 0.18);
  color: var(--ink);
}

.trust-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: #0a2b44;
  color: var(--white);
}

.trust-band span {
  padding: 8px 13px;
  border: 1px solid rgba(201, 164, 92, 0.42);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.9);
  font-size: 0.92rem;
}

.page-hero {
  min-height: 62vh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 6vw, 78px) clamp(64px, 9vw, 104px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 31, 50, 0.96), rgba(10, 43, 68, 0.78)),
    url("assets/atelier-commercial-fredk-v2.png") center / cover;
}

.page-hero > div {
  max-width: 900px;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.about-hero {
  background: linear-gradient(135deg, #071f32 0%, #0a2b44 66%, #123d58 100%);
}

.section,
.method-section,
.contact-section,
.testimonial {
  padding: clamp(64px, 10vw, 118px) clamp(20px, 6vw, 78px);
}

.section {
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.72), rgba(247, 244, 238, 0.92));
}

.domain-intro,
.domain-stack,
.formats-section,
.domain-cta,
.about-section,
.about-pillars {
  padding: clamp(64px, 10vw, 118px) clamp(20px, 6vw, 78px);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(190px, 0.32fr) minmax(0, 1.35fr);
  gap: clamp(34px, 6vw, 82px);
  align-items: start;
  background: var(--paper);
}

.legal-hero {
  min-height: 54vh;
}

.legal-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding: clamp(64px, 10vw, 118px) clamp(20px, 6vw, 78px);
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
}

.legal-card {
  padding: clamp(24px, 4vw, 34px);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(10, 43, 68, 0.07);
}

.legal-card h2 {
  margin-bottom: 16px;
  font-size: clamp(1.3rem, 1.9vw, 1.75rem);
}

.legal-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.legal-card a {
  color: #8b6a27;
  font-weight: 800;
}

.about-card {
  position: sticky;
  top: 116px;
  width: min(100%, 220px);
  max-width: 220px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.about-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: var(--pearl);
}

.about-card h2 {
  margin: 18px 14px 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.about-card p {
  margin: 8px 14px 14px;
  color: var(--muted);
}

.about-card .about-signature {
  text-align: center;
}

.about-signature span,
.about-signature small {
  display: block;
}

.about-signature span {
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 700;
}

.about-signature small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.about-copy {
  max-width: 820px;
}

.about-copy p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy blockquote {
  margin: 34px 0;
  padding: 0 0 0 24px;
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.2;
  font-weight: 700;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
}

.about-pillars > div {
  padding: 28px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(10, 43, 68, 0.08);
}

.about-pillars span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 850;
}

.about-pillars p {
  margin: 0;
  color: var(--muted);
}

.domain-intro {
  background: var(--paper);
}

.domain-intro .section-heading {
  margin-bottom: 0;
}

.domain-intro .domain-lead {
  grid-column: 1 / -1;
  max-width: 840px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.15vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
}

.domain-intro .section-heading > .domain-lead:not(.eyebrow) {
  grid-column: 1 / -1;
  max-width: 840px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.15vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
}

.promise-panel {
  padding: 28px;
  background: #071f32;
  color: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.promise-panel h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.promise-panel p {
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.78);
}

.domain-stack {
  display: grid;
  gap: 22px;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
}

.domain-stack-title {
  max-width: 980px;
  margin-bottom: 10px;
}

.domain-stack-title::before {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 16px;
  background: var(--gold);
  border-radius: 999px;
}

.domain-stack-title h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.45vw, 2.25rem);
}

.domain-block {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(22px, 4vw, 46px);
  padding: clamp(26px, 4vw, 42px);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(10, 43, 68, 0.08);
  scroll-margin-top: 110px;
}

.domain-header {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  min-width: 0;
}

.domain-header > div {
  min-width: 0;
}

.domain-header > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: rgba(201, 164, 92, 0.16);
  border-radius: 4px;
  font-weight: 850;
}

.domain-header h2 {
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  line-height: 1.12;
  overflow-wrap: normal;
  hyphens: auto;
}

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

.domain-details > div {
  padding: 18px;
  background: rgba(120, 170, 161, 0.09);
  border: 1px solid rgba(10, 43, 68, 0.08);
  border-radius: 6px;
}

.domain-details h3 {
  color: var(--ink);
}

.domain-details p {
  margin: 0;
  color: var(--muted);
}

.pedagogy-focus {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(64px, 10vw, 118px) clamp(20px, 6vw, 78px);
  color: var(--white);
  background:
    linear-gradient(135deg, #0a2b44 0%, #123d58 62%, #78aaa1 150%);
}

.pedagogy-focus .eyebrow {
  color: var(--gold);
}

.pedagogy-focus h2 {
  max-width: 620px;
  font-size: clamp(1.65rem, 2.25vw, 2.4rem);
  line-height: 1.12;
  overflow-wrap: normal;
}

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

.pedagogy-focus-grid article {
  padding: 24px;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 6px;
}

.pedagogy-focus-grid h3 {
  color: var(--white);
}

.pedagogy-focus-grid p {
  margin: 0;
  color: rgba(255, 253, 248, 0.74);
}

.formats-section {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
}

.formats-heading {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 900px;
  margin-bottom: 28px;
}

.formats-heading > span {
  flex: 0 0 auto;
  width: 3px;
  height: 58px;
  margin-top: 4px;
  background: var(--gold);
  border-radius: 999px;
}

.formats-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.45vw, 2.3rem);
}

.formats-intro {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.formats-grid article {
  padding: 24px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(201, 164, 92, 0.34);
  border-radius: 6px;
  box-shadow: 0 16px 38px rgba(10, 43, 68, 0.07);
}

.formats-grid h3 {
  margin-top: 0;
  color: var(--ink);
  font-size: 1.15rem;
}

.formats-grid p {
  margin: 0;
  color: var(--muted);
}

.formats-grid .format-duration {
  margin: 12px 0 14px;
  color: #8b6a27;
  font-weight: 850;
}

.pricing-note {
  max-width: 880px;
  margin: 24px 0 0;
  padding: 18px 20px;
  color: var(--ink);
  background: rgba(120, 170, 161, 0.1);
  border: 1px solid rgba(10, 43, 68, 0.08);
  border-radius: 6px;
  font-weight: 750;
}

.domain-cta {
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(135deg, #071f32 0%, #0a2b44 74%, #123d58 100%);
}

.domain-cta .eyebrow {
  color: var(--gold);
}

.domain-cta h2,
.domain-cta p {
  max-width: 820px;
  margin-inline: auto;
}

.domain-cta p {
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.08rem;
}

.domain-cta .button {
  margin-top: 26px;
  background: var(--gold);
  color: #071f32;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 36px;
}

.section-heading .eyebrow {
  align-self: start;
}

.section-heading > p:not(.eyebrow) {
  grid-column: 2;
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact {
  display: block;
  max-width: 800px;
}

.section-heading.compact p:not(.eyebrow) {
  margin-top: 22px;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.domain-intro .domain-lead {
  grid-column: 1 / -1;
  max-width: 840px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.15vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
}

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

.training-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.testimonials-section .testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin-inline: auto;
}

.offer-card,
.results-grid > div,
.testimonial-card {
  min-height: 260px;
  padding: 30px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(10, 43, 68, 0.08);
}

.offer-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 28px;
  border-radius: 4px;
  background: rgba(201, 164, 92, 0.16);
  color: var(--ink);
  font-weight: 850;
}

.training-grid .offer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-color: rgba(201, 164, 92, 0.34);
  box-shadow: 0 14px 34px rgba(10, 43, 68, 0.07);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.training-grid .offer-card:hover,
.training-grid .offer-card:focus-within {
  transform: translateY(-10px);
  background: #fffdf8;
  border-color: rgba(201, 164, 92, 0.95);
  box-shadow: 0 30px 66px rgba(10, 43, 68, 0.18);
}

.training-grid .offer-card .icon {
  background: rgba(201, 164, 92, 0.2);
  color: #8b6a27;
}

.training-grid .offer-card h3 {
  margin-top: 0;
}

.training-grid .card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: #8b6a27;
  font-weight: 850;
  text-decoration: none;
}

.training-grid .card-link::after {
  content: "";
  width: 18px;
  height: 1px;
  margin-left: 10px;
  background: currentColor;
  transition: width 0.2s ease;
}

.training-grid .offer-card:hover .card-link::after,
.training-grid .offer-card:focus-within .card-link::after {
  width: 28px;
}

.offer-card p,
.results-grid p,
.method-copy p,
.step p,
.contact-section p,
.testimonial p {
  margin: 0;
  color: var(--muted);
}

.pedagogy-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
  padding: 30px;
  background: var(--pearl);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 18px 44px rgba(10, 43, 68, 0.07);
}

.pedagogy-panel h3 {
  margin: 0;
  color: var(--ink);
}

.pedagogy-panel > p {
  margin: 0;
  color: var(--muted);
}

.pedagogy-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pedagogy-list li {
  padding: 8px 12px;
  color: var(--ink);
  background: rgba(120, 170, 161, 0.14);
  border: 1px solid rgba(10, 43, 68, 0.08);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.pedagogy-note {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 6vw, 82px);
  background:
    linear-gradient(135deg, #0a2b44 0%, #123d58 56%, #78aaa1 170%);
  color: var(--white);
}

.method-section .eyebrow {
  transform: translateY(-8px);
  margin-bottom: 4px;
  color: var(--gold);
}

.method-copy {
  transform: translateY(-18px);
}

.method-copy p {
  max-width: 650px;
  margin-top: 22px;
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.08rem;
}

.method-copy .approach-signature-line {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 253, 248, 0.9);
  font-family: var(--font-heading);
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.22;
}

.method-copy .approach-signature-line::before {
  content: "";
  flex: 0 0 auto;
  width: 3px;
  height: 42px;
  background: var(--gold);
  border-radius: 999px;
}

.method-copy .philosophy-line {
  max-width: 680px;
  padding: 8px 0 8px 22px;
  border-left: 3px solid var(--gold);
  color: rgba(255, 253, 248, 0.9);
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.22;
}

.trainer-signature {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 12px 16px 12px 12px;
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: 6px;
}

.trainer-signature img {
  width: 84px;
  height: auto;
  object-fit: contain;
  border: 2px solid rgba(255, 253, 248, 0.72);
  border-radius: 5px;
}

.trainer-photo-link {
  display: inline-flex;
  border-radius: 5px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.trainer-photo-link:hover,
.trainer-photo-link:focus-visible {
  opacity: 0.86;
  transform: translateY(-1px);
}

.trainer-photo-link:focus-visible {
  outline: 3px solid rgba(201, 164, 92, 0.42);
  outline-offset: 3px;
}

.trainer-signature strong,
.trainer-signature span,
.trainer-signature small {
  display: block;
}

.trainer-signature strong {
  color: var(--white);
  line-height: 1.2;
}

.trainer-signature span {
  max-width: 260px;
  color: rgba(255, 253, 248, 0.68);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.trainer-signature small {
  max-width: 260px;
  margin-top: 2px;
  color: rgba(255, 253, 248, 0.62);
  font-size: 0.86rem;
  line-height: 1.35;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.18);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.step span {
  width: 22px;
  height: 5px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--gold);
  color: transparent;
  font-size: 0;
}

.step h3 {
  color: var(--white);
}

.step p {
  color: rgba(255, 253, 248, 0.74);
}

.results-section {
  background:
    linear-gradient(180deg, #071f32 0%, #0a2b44 100%);
  color: var(--white);
}

.results-section .eyebrow {
  color: var(--gold);
}

.results-section .section-heading.compact .publics-lead {
  max-width: 880px;
  margin-top: 18px;
  color: rgba(255, 253, 248, 0.92);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.15vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
}

.results-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.publics-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
}

.results-grid > div {
  min-height: 220px;
  background: rgba(255, 253, 248, 0.055);
  border-width: 2px;
  border-color: rgba(201, 164, 92, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 253, 248, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.08);
}

.results-grid strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.28rem;
}

.results-grid p {
  color: rgba(255, 255, 255, 0.76);
}

.publics-grid > div {
  position: relative;
  padding-top: 34px;
}

.publics-grid > div::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 30px;
  width: 48px;
  height: 3px;
  background: var(--gold);
  border-radius: 999px;
}

.publics-grid strong {
  max-width: 360px;
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.14;
}

.testimonial {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  background: var(--paper);
}

.testimonial blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.35vw, 2.05rem);
  line-height: 1.18;
  color: var(--ink);
  font-weight: 850;
}

.testimonial p {
  margin-top: 20px;
}

.testimonial .signature-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: #8b6a27;
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 800;
  line-height: 1.18;
}

.testimonial .signature-line::before,
.testimonial .signature-line::after {
  content: "";
  width: clamp(28px, 5vw, 58px);
  height: 1px;
  background: rgba(201, 164, 92, 0.72);
}

.testimonials-section {
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  padding-top: 54px;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 12px;
  left: 26px;
  color: rgba(201, 164, 92, 0.45);
  font-size: 4rem;
  line-height: 1;
  font-weight: 850;
}

.testimonial-card p {
  margin: 0;
  color: var(--muted);
}

.testimonial-card .testimonial-label {
  margin-bottom: 12px;
  color: #8b6a27;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--ink);
  font-weight: 800;
  font-size: 0.94rem;
  line-height: 1.35;
}

.testimonial-card footer img {
  flex: 0 0 auto;
  width: 68px;
  max-height: 30px;
  object-fit: contain;
  border-radius: 3px;
}

.testimonial-card footer img.testimonial-logo-wide {
  width: 92px;
  max-height: 34px;
}

.testimonial-card footer span {
  display: block;
}

.testimonial-link {
  display: inline-block;
  margin-top: 8px;
  color: #8b6a27;
  font-weight: 850;
}

.full-testimonial {
  padding: clamp(64px, 10vw, 118px) clamp(20px, 6vw, 78px);
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
}

.testimonial-detail {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 54px);
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.testimonial-detail > header {
  display: flex;
  gap: 24px;
  align-items: center;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(10, 43, 68, 0.1);
}

.testimonial-detail > header img {
  width: min(170px, 32vw);
  max-height: 70px;
  object-fit: contain;
  border-radius: 4px;
}

.testimonial-detail > header h2 {
  margin: 0;
}

.testimonial-detail > header p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.qa-block {
  padding: 28px 0;
  border-bottom: 1px solid rgba(10, 43, 68, 0.08);
}

.qa-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.qa-block h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.qa-block p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 90px);
  align-items: start;
  background:
    linear-gradient(180deg, #fffdf8 0%, #f7f4ee 100%);
}

.contact-section > div p {
  margin-top: 22px;
  max-width: 570px;
  font-size: 1.08rem;
}

.legal-info {
  max-width: 570px;
  margin-top: 24px;
  padding: 16px 18px;
  background: rgba(255, 253, 248, 0.52);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-left: 3px solid rgba(201, 164, 92, 0.72);
  border-radius: 6px;
}

.legal-info h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 0.98rem;
}

.contact-section > div .legal-info p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.contact-section > div .legal-info a {
  color: var(--ink);
  font-weight: 750;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--pearl);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd9da;
  border-radius: 4px;
  padding: 13px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(201, 164, 92, 0.24);
  border-color: var(--gold);
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  font-size: 0.86rem;
}

.contact-result {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(24px, 6vw, 78px);
  background:
    linear-gradient(135deg, #071f32 0%, #0a2b44 70%, #123d58 100%);
}

.contact-result-card {
  width: min(100%, 720px);
  padding: clamp(30px, 6vw, 56px);
  background: var(--pearl);
  border: 1px solid rgba(10, 43, 68, 0.1);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.contact-result-card h1 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.contact-result-card p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-result-card .button {
  margin-top: 20px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 6vw, 78px);
  color: rgba(255, 255, 255, 0.78);
  background: #071f32;
}

.footer p {
  margin: 0;
  font-size: 0.88rem;
}

.footer a {
  color: var(--white);
  font-weight: 750;
}

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

@media (max-width: 900px) {
  .site-header {
    gap: 14px;
  }

  .brand-area {
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .qualiopi-logo {
    width: clamp(104px, 30vw, 132px);
    padding: 6px 8px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 88px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .hero {
    min-height: 90vh;
    padding-top: 122px;
  }

  .home-about {
    min-height: auto;
    grid-template-columns: minmax(112px, 136px) minmax(0, 1fr);
    gap: 24px;
    padding-top: 136px;
    padding-bottom: 44px;
  }

  .home-about-photo {
    justify-self: end;
    width: min(100%, 128px);
  }

  .home-about-copy h1 {
    font-size: clamp(1.75rem, 3.6vw, 2.35rem);
  }

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

  .statement-hero h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.25rem);
  }

  .statement-hero .hero-content {
    margin-left: 0;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 244, 238, 0.88) 0%, rgba(247, 244, 238, 0.62) 52%, rgba(247, 244, 238, 0.08) 100%),
      linear-gradient(0deg, rgba(10, 43, 68, 0.05), rgba(10, 43, 68, 0));
  }

  .section-heading,
  .domain-intro,
  .method-section,
  .contact-section,
  .pedagogy-panel,
  .domain-block,
  .about-section,
  .legal-section,
  .pedagogy-focus {
    grid-template-columns: 1fr;
  }

  .domain-details {
    grid-template-columns: 1fr;
  }

  .pedagogy-focus-grid {
    grid-template-columns: 1fr;
  }

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

  .about-card {
    position: static;
    max-width: 220px;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .section-heading > p:not(.eyebrow) {
    grid-column: 1;
  }

  .offer-grid,
  .results-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .results-grid > div:nth-child(3):last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    max-width: 150px;
    line-height: 1.1;
  }

  .hero {
    min-height: auto;
    padding-bottom: 56px;
  }

  .home-about {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 42px;
  }

  .home-about-photo {
    justify-self: start;
    width: min(100%, 120px);
  }

  .home-about-copy {
    padding-left: 16px;
  }

  .home-about-copy h1 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .statement-hero {
    padding-top: 46px;
    padding-bottom: 52px;
  }

  .statement-hero::after {
    display: none;
  }

  .hero-media {
    background-position: 62% center;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(247, 244, 238, 0.76) 0%, rgba(247, 244, 238, 0.46) 48%, rgba(247, 244, 238, 0.08) 100%);
  }

  .statement-hero .hero-overlay {
    background: none;
  }

  .hero-content {
    padding-left: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .page-hero {
    min-height: auto;
    padding-top: 130px;
  }

  .testimonial-detail > header {
    align-items: center;
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .formats-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-detail > header img {
    width: min(150px, 72vw);
    max-height: 64px;
  }

  .about-hero {
    background:
      linear-gradient(90deg, rgba(7, 31, 50, 0.96), rgba(10, 43, 68, 0.82)),
      linear-gradient(135deg, #071f32, #0a2b44);
  }

  .domain-header {
    display: grid;
  }

  .offer-grid,
  .results-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .publics-grid {
    grid-template-columns: 1fr;
  }

  .results-grid > div:nth-child(3):last-child {
    width: 100%;
  }

  .offer-card,
  .results-grid > div,
  .testimonial-card {
    min-height: auto;
  }

  .testimonial {
    padding-inline: 20px;
  }

  .testimonial .signature-line {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .testimonial .signature-line::before,
  .testimonial .signature-line::after {
    width: 54px;
  }

  .testimonials-section .testimonial-grid {
    gap: 18px;
  }

  .testimonial-card {
    padding: 46px 20px 22px;
  }

  .testimonial-card::before {
    top: 10px;
    left: 18px;
    font-size: 3.35rem;
  }

  .testimonial-card .testimonial-label {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .testimonial-card footer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
    font-size: 0.9rem;
    text-align: center;
  }

  .testimonial-card footer img {
    width: auto;
    max-width: 128px;
    max-height: 44px;
  }

  .testimonial-card footer img.testimonial-logo-wide {
    width: min(100%, 156px);
    max-width: 156px;
    max-height: 42px;
  }

  .testimonial-card footer span {
    width: 100%;
  }

  .testimonial-link {
    display: block;
    margin-top: 10px;
  }

  .full-testimonial {
    padding-inline: 16px;
  }

  .testimonial-detail {
    padding: 24px 18px;
  }

  .testimonial-detail > header h2 {
    font-size: clamp(1.5rem, 8vw, 2rem);
  }

  .contact-form {
    padding: 20px;
  }
}
