/* ===================================================
   Sandra Poulain — style.css
   Variables + styles de base, mobile-first
   =================================================== */

:root {
  --color-primary: #0097b2;
  --color-primary-light: #00b8d9;
  --color-secondary: #e8a838;
  --color-bg: #0d0d0d;
  --color-surface: #161616;
  --color-surface-raised: #1b1b1b;
  --color-text: #f5f5f5;
  --color-text-muted: #888888;
  --color-border: #222222;
  --color-bg-light: #f5f5f0;
  --color-text-light: #14100a;
  --color-text-light-muted: #4a4a44;
  --color-border-light: #cfcfc6;

  --font-main: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1180px;
  --max-width-narrow: 760px;
  --max-width-xs: 400px;
  --max-width-sm: 600px;
  --max-width-md: 800px;
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --transition: 0.2s ease;
  --transition-slow: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 0 1px rgba(0, 151, 178, 0.15), 0 20px 60px -20px rgba(0, 151, 178, 0.25);

  --spacing-section: 60px;
  --spacing-section-sm: 48px;
  --header-height: 76px;
}

/* -------------------- Reset -------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(0, 151, 178, 0.14), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(232, 168, 56, 0.08), transparent 55%);
  background-repeat: no-repeat;
  color: var(--color-text);
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1 0 auto;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
}

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

section {
  padding: var(--spacing-section-sm) 0;
  position: relative;
}

@media (min-width: 700px) {
  section {
    padding: var(--spacing-section) 0;
  }
}

/* Fine separator between stacked sections, echoes editorial layouts */
section+section {
  border-top: 1px solid var(--color-border);
}

.section-title {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  text-align: center;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-subtitle-wide {
  max-width: none;
}

.text-warm {
  color: var(--color-secondary);
}

.eyebrow {
  display: block;
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-align: center;
}

.hero-content .eyebrow {
  text-align: left;
}

/* -------------------- Typography -------------------- */
h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--color-text);
}

.text-muted {
  color: var(--color-text-muted);
}

/* -------------------- Buttons -------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  transition: background-color var(--transition), border-color var(--transition),
    color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.btn:active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  background-color: var(--color-primary);
  background-image: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  box-shadow: 0 8px 24px -8px rgba(0, 151, 178, 0.55);
}

.btn-primary:hover {
  background-image: linear-gradient(135deg, var(--color-primary-light), var(--color-primary-light));
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 20px -6px rgba(0, 151, 178, 0.4);
}

.btn-primary:active {
  background-image: linear-gradient(135deg, var(--color-primary), var(--color-primary));
  box-shadow: 0 4px 12px -4px rgba(0, 151, 178, 0.5);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.btn-secondary:hover {
  background-color: var(--color-secondary);
  color: (--color-text-light);
  transform: translateY(-2px);
}

.btn-ghost {
  background-color: var(--color-surface);
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-ghost:hover {
  border-color: var(--color-text-muted);
  transform: translateY(-2px);
}

/* -------------------- Header / Nav -------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--color-border);
}

/* backdrop-filter est isolé sur un pseudo-élément : posé directement sur
   .site-header, il créerait un containing block pour .main-nav (position: fixed)
   et effondrerait sa hauteur (top et bottom coïncideraient avec les bords du header) */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: rgba(13, 13, 13, 0.78);
  backdrop-filter: blur(10px) saturate(140%);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  white-space: nowrap;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
  flex-shrink: 0;
}

.logo-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-accent {
  color: var(--color-primary);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-bg);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
}

.main-nav.is-open {
  transform: translateX(0);
}

.main-nav ul {
  display: flex;
  flex-direction: column;
  padding: 24px 24px;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 18px 8px;
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--color-primary);
}

/* Desktop nav */
@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    transform: none;
    background: none;
    overflow: visible;
  }

  .main-nav ul {
    flex-direction: row;
    padding: 0;
    gap: 40px;
  }

  .main-nav a {
    padding: 0;
    border-bottom: none;
    position: relative;
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -6px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: var(--radius-pill);
    transition: right var(--transition-slow);
  }

  .main-nav a.is-active::after {
    right: 0;
  }
}

/* Push content below fixed header */
main {
  padding-top: var(--header-height);
}

/* -------------------- Footer -------------------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.site-footer a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.site-footer a:hover {
  color: var(--color-primary);
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 700px) {
  .site-footer .container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social svg {
  width: 22px;
  height: 22px;
  color: var(--color-text-muted);
  transition: color var(--transition), transform var(--transition);
}

.footer-social a:hover svg {
  color: var(--color-primary);
  transform: translateY(-2px);
}

/* -------------------- Newsletter -------------------- */
.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.footer-newsletter h3 {
  margin-bottom: 4px;
}

@media (min-width: 700px) {
  .footer-newsletter {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

@media (min-width: 500px) {
  .newsletter-form {
    flex-direction: row;
    width: auto;
  }
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  color: var(--color-text);
  font-size: 0.95rem;
  min-width: 200px;
  transition: border-color var(--transition);
}

.newsletter-form input[type="email"]:focus,
.newsletter-form input[type="text"]:focus {
  outline: none;
  border-color: var(--color-primary);
}

.newsletter-form input[type="email"]::placeholder,
.newsletter-form input[type="text"]::placeholder {
  color: var(--color-text-muted);
}

.newsletter-form .btn {
  white-space: nowrap;
}

/* -------------------- Formulaire de contact -------------------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: var(--max-width-sm);
  margin-top: 32px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.form-field input,
.form-field textarea {
  background-color: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: 0;
  padding: 14px 18px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-light-muted);
}

.contact-form .btn {
  align-self: flex-start;
}

.section-accent {
  background-color: var(--color-surface);
  background-image: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(0, 151, 178, 0.16), transparent 70%);
}

.newsletter-section {
  position: relative;
  background-color: var(--color-surface);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: none;
}

.newsletter-section-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.45) 0%, rgba(13, 13, 13, 0.7) 60%, var(--color-bg) 100%);
}

.newsletter-section .container {
  position: relative;
  z-index: 1;
  max-width: var(--max-width-narrow);
  text-align: center;
}

.newsletter-section h2 {
  margin-bottom: 12px;
}

.newsletter-section p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.newsletter-section .newsletter-form {
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}

.newsletter-section .newsletter-form input[type="email"],
.newsletter-section .newsletter-form input[type="text"] {
  background-color: #ffffff;
  border-color: var(--color-border-light);
  color: var(--color-text-light);
  border-radius: 0;
  min-width: 0;
  width: 100%;
}

.newsletter-section .newsletter-form input[type="email"]::placeholder,
.newsletter-section .newsletter-form input[type="text"]::placeholder {
  color: var(--color-text-light-muted);
}

.newsletter-section .newsletter-form .btn {
  width: 100%;
}

@media (min-width: 500px) {
  .newsletter-section .newsletter-form {
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
}

.card-photo-icon {
  width: 96px;
  height: 96px;
  object-fit: contain;
  margin-bottom: 16px;
}

/* -------------------- Liste à puces (icône check) -------------------- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--color-surface);
  border: 1px solid rgba(0, 151, 178, 0.35);
  border-radius: var(--radius);
  padding: 20px 24px;
}

.check-list-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(0, 151, 178, 0.15);
  color: var(--color-primary-light);
  margin-top: 2px;
}

.check-list-icon svg {
  width: 16px;
  height: 16px;
}

.check-list li span:last-child {
  color: var(--color-text-muted);
}

.check-list li strong {
  color: var(--color-text);
}

/* -------------------- Cards -------------------- */
.card {
  background-color: var(--color-surface);
  background-image: linear-gradient(160deg, var(--color-surface-raised), var(--color-surface) 60%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition-slow), box-shadow var(--transition-slow);
}

.card:hover {
  border-color: rgba(0, 151, 178, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.card-featured {
  position: relative;
  border-color: rgba(232, 168, 56, 0.55);
}

.card-featured:hover {
  border-color: var(--color-secondary);
}

/* Bloc "Comment travailler avec moi" : pas d'effet hover, bordure bleue fixe sur les blocs 2 et 3 */
.offers-grid .card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.offers-grid .card-featured:hover {
  border-color: rgba(232, 168, 56, 0.55);
}

.offer-card-alt {
  border-color: rgba(0, 151, 178, 0.45);
}

.offer-card-alt:hover {
  border-color: rgba(0, 151, 178, 0.45);
}

.card-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background-color: var(--color-secondary);
  color: var(--color-bg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  margin-bottom: 4px;
}

.card-light {
  background-color: #ffffff;
  background-image: none;
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.card-light:hover {
  border-color: rgba(0, 151, 178, 0.35);
}

/* Bloc "À qui s'adresse cette formation" : bordure bleue fixe, pas d'effet hover */
.audience-card {
  border-color: rgba(0, 151, 178, 0.35);
}

.audience-card:hover {
  border-color: rgba(0, 151, 178, 0.35);
  transform: none;
  box-shadow: var(--shadow-sm);
}

.card-light-featured {
  position: relative;
  border-color: var(--color-secondary);
  border-width: 2px;
}

.card-light-featured:hover {
  border-color: var(--color-secondary);
}

.card-glass {
  background-color: rgba(22, 22, 22, 0.72);
  background-image: none;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

.card-glass:hover {
  border-color: rgba(255, 255, 255, 0.18);
  transform: none;
  box-shadow: var(--shadow-sm);
}

.card-glass-eyebrow {
  display: block;
  color: var(--color-primary-light);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.card-glass h3 {
  color: #ffffff;
}

.card-glass p {
  color: rgba(245, 245, 245, 0.85);
}

.card-glass-bonus {
  border-width: 2px;
  border-color: var(--color-secondary);
  background-color: rgba(232, 168, 56, 0.12);
  box-shadow: 0 0 0 1px rgba(232, 168, 56, 0.3), var(--shadow-sm);
}

.card-glass-bonus .card-glass-eyebrow {
  color: var(--color-secondary);
}

.card-glass-bonus:hover {
  border-color: var(--color-secondary);
  transform: none;
  box-shadow: 0 0 0 1px rgba(232, 168, 56, 0.3), var(--shadow-sm);
}

/* -------------------- FAQ (accordéon) -------------------- */
.faq-item {
  padding: 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question h3 {
  margin-bottom: 0;
}

.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(0, 151, 178, 0.15);
  color: var(--color-primary-light);
  transition: transform var(--transition);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 22px;
}

/* -------------------- Section avec photo de fond -------------------- */
.section-photo-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(8, 12, 20, 0.25);
}

/* Overlay renforcé pour les sections où le texte a besoin de plus de contraste (ex : manifeste) */
.section-photo-bg-dim::before {
  background-color: rgba(8, 12, 20, 0.55);
}

@media (max-width: 699px) {
  .section-photo-bg-dim::before {
    background-color: rgba(8, 12, 20, 0.65);
  }
}

.section-photo-bg .container {
  position: relative;
  z-index: 1;
}

.section-photo-bg .section-title,
.section-photo-bg .section-subtitle {
  color: #ffffff;
}

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

.card-center .card-photo-icon {
  margin-left: auto;
  margin-right: auto;
}

.method-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.method-block-img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
}

.method-block-content h3 {
  text-align: center;
}

@media (min-width: 600px) {
  .method-block {
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 28px;
  }

  .method-block-content {
    flex: 1;
  }

  .method-block-content h3 {
    text-align: left;
  }
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid-modules {
    grid-template-columns: repeat(12, 1fr);
  }

  .card-grid-modules > .card {
    grid-column: span 4;
  }

  .card-grid-modules > .card-grid-modules-wide {
    grid-column: span 6;
  }

  .card-grid-modules > .card-grid-modules-wider {
    grid-column: span 7;
  }

  .card-grid-modules > .card-grid-modules-narrower {
    grid-column: span 5;
  }
}

/* -------------------- Placeholder images -------------------- */
.placeholder-img {
  background-color: var(--color-surface);
  background-image:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 2px, transparent 2px 14px);
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  border-radius: var(--radius);
  min-height: 220px;
}

/* -------------------- Hero plein écran (page d'accueil) -------------------- */
.hero-full {
  position: relative;
  min-height: 100vh;
  margin-top: calc(var(--header-height) * -1);
  padding-top: var(--header-height);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-top: none;
}

.hero-full-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 13, 13, 0.55) 0%, rgba(13, 13, 13, 0.75) 55%, var(--color-bg) 100%);
}

.hero-full-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.hero-full-content h1 {
  margin-bottom: 24px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-full-content p {
  font-size: 1.15rem;
  color: var(--color-text);
  opacity: 0.9;
}

/* -------------------- Histoire avec photo de fond fixe (effet parallax, page à propos) -------------------- */
.section-history-bg {
  position: relative;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: calc(var(--spacing-section) * 1.6) 0;
  color: #ffffff;
}

.section-history-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(8, 8, 8, 0.72);
}

.section-history-bg .container {
  position: relative;
  z-index: 1;
}

.section-history-bg .section-title {
  color: #f0f0f0;
}

.section-history-bg p,
.section-history-bg .text-muted {
  color: rgba(240, 240, 240, 0.85);
}

@media (max-width: 700px) {
  .section-history-bg {
    background-attachment: scroll;
    padding: var(--spacing-section-sm) 0;
  }
}

/* -------------------- Section claire (ex: "Qui suis-je ?") -------------------- */
.section-light {
  background-color: var(--color-bg-light);
  border-top: none;
  color: var(--color-text-light);
}

.section-light h2,
.section-light h3 {
  color: var(--color-text-light);
}

.section-light p,
.section-light .text-muted {
  color: var(--color-text-light-muted);
}

.section-light .btn-ghost {
  background-color: transparent;
  border-color: var(--color-border-light);
  color: var(--color-text-light);
}

.section-light .btn-ghost:hover {
  border-color: var(--color-text-light);
}

.section-light-alt {
  background-color: #ece9df;
  border-top: 1px solid var(--color-border-light);
}

.section-bordered-top {
  border-top: 1px solid var(--color-border-light);
}

/* -------------------- Hero (blocs texte + image, autres sections) -------------------- */
.hero .container,
.hero.container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.hero-content {
  text-align: center;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

@media (min-width: 600px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (min-width: 900px) {

  .hero .container,
  .hero.container {
    flex-direction: row;
    text-align: left;
    gap: 64px;
  }

  .hero-content {
    text-align: left;
    flex: 1;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-image {
    flex: 1;
  }
}

/* -------------------- Testimonial -------------------- */
.testimonial {
  background-color: var(--color-surface);
  background-image: linear-gradient(160deg, var(--color-surface-raised), var(--color-surface) 65%);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-secondary);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 8px;
  left: 24px;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--color-secondary);
  opacity: 0.35;
  line-height: 1;
}

.testimonial p {
  color: var(--color-text);
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 14px;
  margin-top: 14px;
  position: relative;
}

.testimonial p.testimonial-author {
  font-weight: 600;
  font-style: normal;
  color: var(--color-secondary);
  opacity: 1;
}

/* Variante claire, plus accueillante (page d'accueil) */
.testimonial-light {
  background-color: #fbf9f4;
  background-image: linear-gradient(160deg, #ffffff, #fbf9f4 70%);
  border: 1px solid var(--color-border-light);
  border-top: 2px solid var(--color-secondary);
  box-shadow: 0 12px 28px -18px rgba(20, 16, 10, 0.35);
  padding-bottom: 22px;
  display: flex;
  flex-direction: column;
}

.testimonial-light::before {
  display: none;
}

.testimonial-light p {
  color: var(--color-text-light);
  margin-top: 0;
}

.testimonial-light p.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 8px;
  color: var(--color-text-light);
  margin-bottom: 0;
  margin-top: auto;
  padding-top: 14px;
}

.testimonial-tag {
  display: inline-block;
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-secondary);
  border: 1px solid rgba(232, 168, 56, 0.4);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-bg-light);
  box-shadow: 0 0 0 1px var(--color-border-light);
  flex-shrink: 0;
}

.testimonial-quote-mark {
  display: block;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--color-secondary);
  opacity: 0.45;
  margin-bottom: -10px;
}

/* -------------------- Preuves élèves (liste de résultats Avant / Après) -------------------- */
.proof-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  max-width: 800px;
  margin: 0 auto;
}

.proof-item {
  background-color: #ffffff;
  border: 1px solid rgba(0, 151, 178, 0.35);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px;
}

.proof-header {
  margin-bottom: 14px;
  text-align: left;
}

.proof-header-text {
  min-width: 0;
}

.proof-item .proof-name {
  color: var(--color-primary);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.proof-item .proof-blurb {
  color: var(--color-text-light-muted);
  font-size: 0.86rem;
}

/* -------------------- Avant / Après (widget écoute) -------------------- */
.before-after {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.before-after-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  background-color: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: 14px;
  text-align: left;
}

.before-after-panel-before {
  background-color: var(--color-bg-light);
}

.before-after-panel-after {
  border: 2px solid var(--color-secondary);
  background-color: #fffaf0;
  box-shadow: 0 16px 36px -18px rgba(232, 168, 56, 0.65);
}

.before-after-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.before-after-body {
  min-width: 0;
  flex: 1;
}

.before-after-label {
  display: block;
  width: fit-content;
  margin: 0 auto;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light-muted);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-pill);
  padding: 2px 10px;
  margin-bottom: 6px;
}

.before-after-label-after {
  color: var(--color-secondary);
  border-color: rgba(232, 168, 56, 0.5);
}

.before-after-body h3 {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.before-after-body p {
  color: var(--color-text-light-muted);
  font-size: 0.85rem;
}

.before-after-jacket {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.before-after-jacket img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after-jacket-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--color-border-light);
  color: var(--color-text-light-muted);
}

.before-after-jacket-empty svg {
  width: 20px;
  height: 20px;
}

.before-after-audio {
  width: 100%;
  height: 30px;
  margin-top: auto;
}

.before-after-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 30px;
  height: 30px;
  margin: 0 auto;
  border-radius: 50%;
  background-color: var(--color-primary);
  background-image: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  box-shadow: 0 8px 20px -8px rgba(0, 151, 178, 0.6);
  transform: rotate(90deg);
}

.before-after-connector svg {
  width: 16px;
  height: 16px;
}

@media (min-width: 800px) {
  .before-after {
    grid-template-columns: 1fr auto 1fr;
  }

  .before-after-connector {
    transform: none;
  }
}

/* -------------------- Citation / manifeste -------------------- */
.quote-block {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

.quote-block blockquote {
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-secondary);
  margin: 0 0 24px;
}

.quote-block p {
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.section-photo-bg .quote-block blockquote {
  color: var(--color-secondary);
}

.section-photo-bg .quote-block p {
  color: rgba(245, 245, 245, 0.85);
}

/* -------------------- Utility -------------------- */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mt-4 {
  margin-top: 40px;
}

.mb-0 {
  margin-bottom: 0;
}

.text-left {
  text-align: left;
}

.text-accent {
  color: var(--color-primary-light);
}

.section-subtitle.text-left {
  margin-left: 0;
}

.text-center {
  text-align: center;
}

.justify-center {
  justify-content: center;
}

.flex-column {
  flex-direction: column;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.max-w-400 {
  max-width: var(--max-width-xs);
}

.max-w-600 {
  max-width: var(--max-width-sm);
}

.max-w-800 {
  max-width: var(--max-width-md);
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-16 {
  gap: 16px;
}

.gap-20 {
  gap: 20px;
}

.gap-24 {
  gap: 24px;
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

.container-method {
  max-width: 980px;
}

.section-flush-bottom {
  padding-bottom: 0;
}

.img-rounded {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* -------------------- Card grid & card modifiers -------------------- */
.card-grid-1col {
  grid-template-columns: 1fr;
}

.card-grid-compact {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.card-grid-2col {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}

@media (min-width: 700px) {
  .card-grid-2col {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

.card--centered {
  text-align: center;
}

/* -------------------- Placeholder image size modifiers -------------------- */
.placeholder-img-352 {
  min-height: 352px;
}

.placeholder-img-400 {
  min-height: 400px;
}

.placeholder-img-420 {
  min-height: 420px;
}

.placeholder-img-avatar {
  min-height: 120px;
  width: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
}

/* -------------------- Hero plein écran -------------------- */
.hero-full-content-offset {
  margin-top: 280px;
  /* décalage spécifique pour voir photo */
}

@media (min-width: 900px) {
  .hero-full-content-offset {
    max-width: 920px;
  }
}

/* -------------------- Prix / chiffres mis en avant -------------------- */
.price-lg {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.price-highlight {
  color: var(--color-secondary);
  font-weight: 600;
}

.step-number {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border-radius: 50%;
  background-color: var(--color-primary);
  background-image: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px 20px;
}

.process-step {
  position: relative;
  background-color: var(--color-surface);
  background-image: linear-gradient(160deg, var(--color-surface-raised), var(--color-surface) 60%);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-primary-light);
  border-radius: var(--radius);
  padding: 28px 18px;
  text-align: center;
}

@media (min-width: 560px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1300px) {
  .process-steps {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* -------------------- Player Avant / Après (portfolio) -------------------- */
.ab-toggle {
  display: flex;
  gap: 8px;
}

.ab-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ab-progress-track {
  flex: 1;
  height: 6px;
  background: var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.ab-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
}