/* =========================================================
   inner – Conseil en formation
   Design tokens & shared components
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Changa:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  /* Brand colors */
  --teal: #00728B;
  --teal-dark: #00505f;
  --pink: #F056EA;
  --green: #12DE99;
  --yellow: #FFCE38;

  /* Neutrals */
  --ink: #0C2B31;
  --ink-soft: #3E5A60;
  --paper: #FAFAF7;
  --paper-alt: #F1EFE8;
  --line: #0C2B31;

  /* Type */
  --font-display: 'Changa', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Layout */
  --content-w: 1120px;
  --radius: 14px;
  --shadow-sticker: 4px 5px 0 var(--ink);
}

*, *::before, *::after { 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.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1em; }

.container {
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }

/* Focus visibility (accessibility) */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--teal-dark);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translate(-2px, -2px); }
.btn:active { transform: translate(0, 0); }

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: var(--shadow-sticker);
}
.btn-primary:hover { box-shadow: 6px 7px 0 var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.btn-ghost:hover { background: rgba(250,250,247,0.12); }

.btn-outline {
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-sticker);
}
.btn-outline:hover { box-shadow: 6px 7px 0 var(--ink); }

/* ---------------------------------------------------------
   Header / nav
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 2.5px solid var(--ink);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.logo-link { display: inline-flex; align-items: center; }
.logo-img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { border-bottom-color: var(--pink); }

.nav-parent {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-parent::after {
  content: '';
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
  margin-top: -3px;
  transition: transform 0.15s ease;
}
.has-dropdown { position: relative; }
.has-dropdown[data-open="true"] .nav-parent::after { transform: rotate(-135deg); margin-top: 3px; }

.dropdown {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
}
.has-dropdown[data-open="true"] .dropdown { display: flex; }

@media (min-width: 881px) {
  .dropdown {
    position: absolute;
    top: 100%;
    left: -0.5rem;
    background: var(--paper);
    border: 2.5px solid var(--ink);
    border-radius: 10px;
    box-shadow: var(--shadow-sticker);
    min-width: 220px;
    padding: 0.5rem;
    z-index: 50;
  }
  .dropdown li a { display: block; padding: 0.5rem 0.6rem; border-radius: 6px; border-bottom: none; }
  .dropdown li a:hover { background: var(--paper-alt); }
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 2.5px solid var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav-links.open { max-height: 720px; padding: 0.5rem 1.5rem 1.2rem; }
  .nav-links li { width: 100%; padding: 0.6rem 0; border-top: 1px solid var(--paper-alt); }
  .nav-links li:first-child { border-top: none; }
  .nav-toggle { display: inline-flex; }
  .dropdown li { border-top: none; padding: 0.35rem 0; }
  .dropdown { padding-left: 0.8rem; }
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  background: var(--teal);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 7rem;
}
.hero .eyebrow-sticker {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  transform: rotate(-3deg);
  margin-bottom: 1.5rem;
}
.hero h1 { max-width: 15ch; }
.hero .lede {
  font-size: 1.2rem;
  max-width: 46ch;
  color: rgba(250,250,247,0.92);
}
.hero .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
.hero-stickers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-stickers svg {
  position: absolute;
  filter: drop-shadow(3px 4px 0 rgba(0,0,0,0.18));
}

/* ---------------------------------------------------------
   Benefits row
   --------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.benefit {
  border-left: 3px solid var(--ink);
  padding-left: 1.1rem;
}
.benefit h3 { margin-bottom: 0.4rem; font-size: 1.2rem; line-height: 1.25; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }

@media (max-width: 880px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Section headers
   --------------------------------------------------------- */
.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }

/* ---------------------------------------------------------
   Offer cards
   --------------------------------------------------------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
@media (max-width: 980px) { .offers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .offers-grid { grid-template-columns: 1fr; } }

.offer-card {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  box-shadow: var(--shadow-sticker);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.offer-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 7px 8px 0 var(--ink);
}
.offer-card .sticker {
  width: 116px;
  height: 116px;
  object-fit: contain;
  align-self: flex-start;
}
.offer-card .sticker.placeholder {
  width: 116px;
  height: 116px;
}
.offer-card .for-who {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}
.offer-card .cta-line {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding-top: 0.6rem;
}

.offer-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   Lead magnets (Guide, Quiz) — deliberately plainer than
   the offer cards: no sticker, no color badge, dashed border
   ---------------------------------------------------------- */
.leadmagnet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 720px) { .leadmagnet-grid { grid-template-columns: 1fr; } }

.leadmagnet-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.6rem 1.8rem;
  border: 2px dashed var(--ink-soft);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
  background: transparent;
}
.leadmagnet-card:hover { border-color: var(--ink); background: var(--paper-alt); }
.leadmagnet-card h3 { margin: 0.3rem 0 0.4rem; }
.leadmagnet-card .for-who { margin: 0; }
.leadmagnet-card .cta-line {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
}

/* ---------------------------------------------------------
   Proof stats
   --------------------------------------------------------- */
.proof {
  background: var(--ink);
  color: var(--paper);
}
.proof .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.proof .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  color: var(--yellow);
  display: block;
}
.proof .stat-label { color: rgba(250,250,247,0.85); font-size: 0.95rem; }
@media (max-width: 880px) { .proof .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------
   About teaser
   --------------------------------------------------------- */
.about-teaser {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.about-teaser .portrait-frame {
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sticker);
  background: var(--paper-alt);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 820px) {
  .about-teaser { grid-template-columns: 1fr; }
  .about-teaser .portrait-frame { max-width: 280px; margin: 0 auto; }
}

/* ---------------------------------------------------------
   Final CTA band
   --------------------------------------------------------- */
.final-cta {
  background: var(--pink);
  text-align: left;
}
.final-cta .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.final-cta h2 { max-width: 20ch; }

/* ---------------------------------------------------------
   Offer page components
   --------------------------------------------------------- */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(250,250,247,0.75);
  margin-bottom: 1.2rem;
}
.breadcrumb a { color: rgba(250,250,247,0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--paper); text-decoration: underline; }

.product-hero {
  background: var(--teal);
  color: var(--paper);
  padding: 3.5rem 0 4rem;
}
.product-hero .container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3rem;
  align-items: center;
}
.product-hero h1 { max-width: 16ch; }
.product-hero .lede { font-size: 1.15rem; max-width: 48ch; color: rgba(250,250,247,0.92); }
.product-hero .sticker-lg { width: 240px; height: 240px; justify-self: center; }
.product-hero .price-pill {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  margin-bottom: 1.2rem;
}
@media (max-width: 780px) {
  .product-hero .container { grid-template-columns: 1fr; text-align: left; }
  .product-hero .sticker-lg { justify-self: start; width: 160px; height: 160px; }
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1.02rem;
}
.check-list .mark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.check-list.style-cross .mark { background: transparent; }
.check-list.style-check .mark { background: var(--green); }

.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.steps-list li {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.steps-list .step-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.steps-list .step-num {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps-list .step-title { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; }
.steps-list .step-detail {
  list-style: none;
  margin: 0;
  padding: 0 0 0 3.5rem;
  display: grid;
  gap: 0.3rem;
}
.steps-list .step-detail li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 1rem;
  position: relative;
}
.steps-list .step-detail li::before {
  content: '•';
  position: absolute;
  left: 0;
}

.price-box {
  background: var(--paper-alt);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sticker);
  text-align: left;
}
.price-box .amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}
.price-box .note { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 1.2rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

.testimonial-slot {
  border: 2px dashed var(--ink-soft);
  border-radius: var(--radius);
  padding: 1.6rem;
  color: var(--ink-soft);
  font-style: italic;
  text-align: center;
}

.construction-hero {
  background: var(--teal);
  color: var(--paper);
  padding: 6rem 0;
  text-align: center;
}
.construction-hero .emoji { font-size: 3rem; display: block; margin-bottom: 1rem; }
.construction-hero h1 { max-width: none; }
.construction-hero p { max-width: 50ch; margin: 0 auto 2rem; color: rgba(250,250,247,0.9); font-size: 1.1rem; }

.legal-page {
  max-width: 780px;
  margin: 0 auto;
}
.legal-page h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.legal-page h2 { margin-top: 2.5rem; font-size: 1.4rem; }
.legal-page h3 { margin-top: 1.8rem; font-size: 1.1rem; }
.legal-page p, .legal-page li { color: var(--ink-soft); }
.legal-page ul { padding-left: 1.2rem; }
.legal-page li { margin-bottom: 0.4rem; }
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  font-size: 0.92rem;
}
.legal-page th, .legal-page td {
  border: 1px solid var(--paper-alt);
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: top;
}
.legal-page th { background: var(--paper-alt); font-family: var(--font-display); }
.legal-page .updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2rem; }
.legal-page .notice {
  background: var(--paper-alt);
  border-left: 4px solid var(--yellow);
  padding: 1rem 1.2rem;
  border-radius: 8px;
  font-size: 0.92rem;
  margin-bottom: 2.5rem;
}
.tbd {
  background: var(--yellow);
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
  color: var(--ink);
}

.requirement-tag {
  display: inline-block;
  background: var(--paper-alt);
  border: 1.5px solid var(--ink-soft);
  color: var(--ink-soft);
  font-size: 0.82rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.qualiopi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
@media (max-width: 820px) { .qualiopi-grid { grid-template-columns: 1fr; } }
.qualiopi-card { border-top: 4px solid var(--ink); padding-top: 1.5rem; }

.case-study {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sticker);
  max-width: 720px;
  margin: 0 auto;
}
.case-study h3 { margin-bottom: 0.3rem; }
.case-study .who { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.2rem; }
.case-study blockquote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--pink);
  font-style: italic;
  color: var(--ink-soft);
}
.case-study .result-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.case-study .result-list li { display: flex; gap: 0.6rem; align-items: baseline; }
.case-study .result-list li::before { content: '★'; color: var(--yellow); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
@media (max-width: 880px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: var(--paper);
  border: 2.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sticker);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.testimonial-card p.quote { font-style: italic; margin: 0; }
.testimonial-card .author { font-family: var(--font-display); font-weight: 600; }
.testimonial-card .role { font-size: 0.85rem; color: var(--ink-soft); }

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-item { padding-top: 0.5rem; }
.quote-item .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--pink);
  display: block;
  margin-bottom: 0.3rem;
}
.quote-item p.quote { font-style: italic; color: var(--ink-soft); margin: 0 0 1rem; }
.quote-item .author { font-family: var(--font-display); font-weight: 600; }
.quote-item .role { font-size: 0.85rem; color: var(--ink-soft); }

.reassurance-panel {
  background: var(--teal);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  font-size: 1.1rem;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  align-items: start;
}
@media (max-width: 780px) { .faq-list { grid-template-columns: 1fr; } }
.faq-item {
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 0.3rem 1.2rem;
  background: var(--paper);
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  padding: 1rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  flex: none;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--ink-soft); padding-bottom: 1rem; margin: 0; }
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 0 2rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  border-bottom: 1px solid rgba(250,250,247,0.2);
  padding-bottom: 1.8rem;
  margin-bottom: 1.5rem;
}
.footer-logo { height: 68px; }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.2rem;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.footer-links a { text-decoration: none; color: rgba(250,250,247,0.85); font-size: 0.92rem; }
.footer-links a:hover { color: var(--yellow); }
.footer-socials {
  display: flex;
  gap: 0.9rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(250,250,247,0.4);
  color: rgba(250,250,247,0.85);
}
.footer-socials a:hover { border-color: var(--yellow); color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: rgba(250,250,247,0.6);
  padding-top: 1rem;
}
@media (max-width: 640px) {
  .footer-right { align-items: flex-start; }
  .footer-links { justify-content: flex-start; }
  .footer-brand p { font-size: 0.85rem; }
}

/* Footer : le texte peut passer à la ligne (évite le débordement sur mobile) */
.site-footer p { white-space: normal !important; }
