/*
Theme Name: Morgan Thevenon
Theme URI: https://morgan-thevenon.fr
Author: Morgan Thevenon
Author URI: https://morgan-thevenon.fr
Description: Thème WordPress créé à partir de la maquette Claude Design — accompagnement énergétique & spirituel. Responsive mobile/tablette, 6 modèles de page (Accueil, À propos, Prestations, PGQM, FAQ, Contact).
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: morgan-thevenon
*/

/* ==========================================================================
   TOKENS (issus de la charte graphique de la maquette)
   ========================================================================== */
:root {
  --bg-page: #FBF7F1;
  --bg-cream: #F5EFE5;
  --bg-dark: #221D19;
  --bg-footer: #171310;
  --ink: #221D19;
  --text: #6E6055;
  --muted: #A8907F;
  --gold: #EFB94A;
  --terracotta: #C97C4A;
  --border: #EAE0D2;
  --border-strong: #DCCFBB;
  --white: #FFFFFF;
  --footer-text: #C9BFB2;
  --footer-dim: #8A8074;
  --radius-lg: 20px;
  --radius: 16px;
  --radius-pill: 100px;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: 'Mrs Saint Delafield', cursive;
  --font-logo: 'Dancing Script', 'Mrs Saint Delafield', cursive;
  --shadow-card: 0 1px 4px rgba(0,0,0,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--terracotta); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 { font-weight: 700; color: var(--ink); line-height: 1.25; }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; border: 0; clip: rect(0 0 0 0); overflow: hidden;
}

/* ==========================================================================
   BOUTONS
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn-gold { background: var(--gold); color: var(--ink); font-weight: 700; }
.btn-gold:hover { background: #e0a93a; color: var(--ink); }

.btn-dark { background: var(--bg-dark); color: var(--white); }
.btn-dark:hover { background: #3a322b; color: var(--white); }

.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,.1); color: var(--white); }

.btn-small { padding: 13px 24px; font-size: 13px; }

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-dark);
  border-radius: var(--radius-pill);
  padding: 14px 14px 14px 28px;
  margin: 20px 24px 0;
  position: sticky;
  top: 12px;
  z-index: 50;
  transition: box-shadow .3s ease, background .3s ease, margin .3s ease, border-radius .3s ease, padding .3s ease;
}
/* Au scroll : le header s'étire sur toute la largeur */
.site-header.is-stuck {
  margin: 0;
  top: 0;
  border-radius: 0;
  padding: 12px 28px;
  box-shadow: 0 10px 32px rgba(23, 19, 16, 0.35);
}

/* Ancres : ne pas passer sous le header collant */
[id] { scroll-margin-top: 110px; }

.site-brand {
  font-family: var(--font-logo);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}
.site-brand a { color: var(--white); }
.site-brand a:hover { color: var(--gold); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  list-style: none;
}
.main-nav a { color: #E5DED4; }
.main-nav a:hover { color: var(--gold); }
.main-nav .current-menu-item > a,
.main-nav a.is-active { color: var(--gold); font-weight: 600; }

.header-cta { white-space: nowrap; }

/* Burger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 50%;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* CTA mobile : caché par défaut, visible uniquement dans le menu burger */
.nav-cta-mobile { display: none; }

/* ==========================================================================
   SECTIONS GÉNÉRIQUES
   ========================================================================== */
.section { padding: 96px 80px; }
.section-cream { background: var(--bg-cream); }
.section-dark {
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.section-dark h2 { color: var(--white); font-size: 28px; }

.section-title { font-size: 32px; font-weight: 700; }
.section-subtitle { font-size: 20px; font-weight: 600; font-style: italic; color: var(--ink); }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--terracotta);
  text-transform: uppercase;
}
.eyebrow-pill {
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--terracotta);
  display: inline-block;
}
.eyebrow-center { text-align: center; }

.page-head {
  padding: 80px 80px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.page-head h1 { font-size: 34px; }
.page-head .lead { font-size: 15px; color: var(--text); max-width: 640px; line-height: 1.7; }

/* ==========================================================================
   ACCUEIL — HERO
   ========================================================================== */
.hero {
  position: relative;
  margin-top: 24px;
  height: 620px;
  background: url('assets/images/hero-paysage.webp') center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0.55) 0%, rgba(20,16,12,0.35) 40%, rgba(20,16,12,0.75) 100%);
}
.hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 80px;
  gap: 24px;
  color: var(--white);
}
.hero-badge {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gold);
}
.hero h1 {
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  max-width: 820px;
}
.hero h1 .accent { color: var(--gold); }
.hero .hero-sub {
  font-size: 16px;
  color: #F1EBE2;
  max-width: 560px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }

/* ==========================================================================
   ACCUEIL — INTRO / QUI SUIS-JE
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-about { grid-template-columns: 1fr 1.2fr; }

.split h2 { font-size: 32px; line-height: 1.25; margin-bottom: 16px; }
.split p { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 12px; }
.split .link-more { margin-top: 8px; font-weight: 600; font-size: 14px; color: var(--terracotta); display: inline-block; }
.split .link-more:hover { color: var(--gold); }

/* Bloc photo / placeholder image */
.photo-frame {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-cream);
}
.photo-frame img, .photo-frame video { width: 100%; height: 100%; object-fit: cover; }
.photo-frame.about-photo { height: 480px; }

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  text-align: center;
  padding: 20px;
}

/* ==========================================================================
   ACCUEIL — POUR QUI ? (pills)
   ========================================================================== */
.problem-quote { text-align: center; max-width: 800px; display: flex; flex-direction: column; gap: 16px; margin: 0 auto; }
.problem-quote .big { font-size: 30px; font-weight: 700; line-height: 1.4; }
.problem-quote .mid { font-size: 17px; font-weight: 600; line-height: 1.6; margin-top: 8px; }

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}
.pill {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-page);
}

.quote-band {
  padding: 64px 80px;
  text-align: center;
}
.quote-band p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto;
}

/* ==========================================================================
   TÉMOIGNAGES
   ========================================================================== */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.testimonial {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--white);
}
.testimonial .stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.testimonial blockquote { font-size: 15px; color: #3E362F; line-height: 1.7; font-style: normal; }
.testimonial cite {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  font-style: normal;
}
.testimonials-note {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  max-width: 560px;
  margin-bottom: 24px;
}

/* ==========================================================================
   À PROPOS — PHILOSOPHIE
   ========================================================================== */
.philosophy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: 100%; }
.philosophy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.philosophy-card .num { font-size: 28px; font-weight: 800; color: var(--gold); }
.philosophy-card h3 { font-size: 17px; font-weight: 700; }
.philosophy-card p { font-size: 14px; color: var(--text); line-height: 1.6; }

.story { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.story p { font-size: 15px; color: var(--text); line-height: 1.9; }
.story h2 { font-size: 22px; }

/* ==========================================================================
   PRESTATIONS
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.service-card .top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.service-card h3 { font-size: 18px; font-weight: 700; }
.service-card .price { font-size: 15px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.service-card p { font-size: 14px; color: var(--text); line-height: 1.6; }
.service-card .link-more {
  margin-top: 8px;
  font-weight: 600;
  font-size: 13px;
  color: var(--terracotta);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.service-card .link-more:hover { color: var(--gold); }

/* Modale service */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23,19,16,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  max-width: 640px;
  max-height: 80vh;
  overflow: auto;
  padding: 44px;
  position: relative;
  width: 100%;
}
.modal .modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  border: none;
  line-height: 1;
}
.modal .modal-close:hover { background: var(--terracotta); }
.modal .price { font-size: 13px; font-weight: 800; color: var(--gold); margin-bottom: 6px; }
.modal h3 { font-size: 24px; margin-bottom: 20px; max-width: 480px; }
.modal p { font-size: 14px; color: var(--text); line-height: 1.8; margin-bottom: 14px; }
.modal .steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.modal .step { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--gold); padding-top: 12px; }
.modal .step .n { font-size: 20px; font-weight: 800; color: var(--terracotta); }
.modal .step strong { font-size: 15px; color: var(--ink); }
.modal .step span { font-size: 13px; color: var(--text); line-height: 1.5; }
.modal .more-info {
  display: inline-block;
  margin-top: 24px;
  background: var(--bg-dark);
  color: var(--white);
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14px;
}
.modal .more-info:hover { background: var(--terracotta); color: var(--white); }

/* Étapes accompagnement */
.steps-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; width: 100%; }
.step-4 { display: flex; flex-direction: column; gap: 10px; }
.step-4 .n { font-size: 32px; font-weight: 800; color: var(--border-strong); }
.step-4 h3 { font-size: 16px; }
.step-4 p { font-size: 14px; color: var(--text); line-height: 1.6; }

/* ==========================================================================
   PGQM
   ========================================================================== */
.pgqm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pgqm-step { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--gold); padding-top: 14px; }
.pgqm-step .n { font-size: 22px; font-weight: 800; color: var(--terracotta); }
.pgqm-step h3 { font-size: 16px; }
.pgqm-step p { font-size: 13px; color: var(--text); line-height: 1.6; }

.pgqm-block { max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.pgqm-block h2 { font-size: 22px; }
.pgqm-block p { font-size: 15px; color: var(--text); line-height: 1.8; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { display: flex; flex-direction: column; gap: 20px; max-width: 920px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
}
.faq-item h3 { font-size: 17px; }
.faq-item p { font-size: 14px; color: var(--text); line-height: 1.7; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); }
.form-field input,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: var(--white);
  width: 100%;
  transition: border-color .2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--terracotta);
}
.form-field textarea { min-height: 110px; resize: vertical; }

.contact-note {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  font-style: italic;
}
.form-success {
  background: #eef6ec;
  border: 1px solid #cfe3c9;
  color: #2f6b2f;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
}
.form-error {
  background: #fbecec;
  border: 1px solid #eccfcf;
  color: #8c2f2f;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
}

.contact-map iframe {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: var(--radius);
  display: block;
}

.info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--white);
}
.info-card h3 { font-size: 17px; }
.info-card .info-line { display: flex; flex-direction: column; gap: 2px; }
.info-card .info-line strong { font-size: 13px; color: var(--ink); }
.info-card .info-line span { font-size: 14px; color: var(--text); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--bg-footer);
  color: var(--footer-text);
  padding: 64px 80px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.footer-brand {
  font-family: var(--font-logo);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
}
.footer-desc { font-size: 14px; line-height: 1.6; max-width: 320px; margin-top: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-col h3 { color: var(--white); font-weight: 600; margin-bottom: 4px; font-size: 14px; }
.footer-col a { color: var(--footer-text); }
.footer-col a:hover { color: var(--gold); }

/* Réseaux sociaux du footer */
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--footer-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-2px);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-legal-note {
  font-size: 12px;
  color: var(--footer-dim);
  line-height: 1.6;
  font-style: italic;
  max-width: 560px;
}
.footer-bottom {
  border-top: 1px solid #3A332C;
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  font-size: 14px;
}
.footer-nav a { color: var(--footer-text); }
.footer-nav a:hover { color: var(--gold); }
.footer-legal { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.footer-bottom a { color: var(--footer-text); }
.footer-bottom a:hover { color: var(--gold); }

/* ==========================================================================
   BOUTON RETOUR EN HAUT
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--gold);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(23, 19, 16, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease, color .2s ease;
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold);
  color: var(--ink);
}
.back-to-top:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.back-to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   CONTENU GÉNÉRIQUE (index / page / 404)
   ========================================================================== */
.entry {
  max-width: 920px;
  margin: 0 auto;
  padding: 80px 24px;
}
.entry h1 { font-size: 40px; margin-bottom: 24px; }
.entry h2 { font-size: 28px; margin: 40px 0 16px; }
.entry h3 { font-size: 22px; margin: 32px 0 12px; }
.entry p { margin-bottom: 18px; color: var(--text); line-height: 1.8; }
.entry img { border-radius: var(--radius); margin: 24px 0; }
.entry ul, .entry ol { margin: 0 0 18px 24px; color: var(--text); line-height: 1.8; }
.entry blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text);
  background: var(--bg-cream);
  border-radius: 0 12px 12px 0;
}
.entry code { background: var(--bg-cream); padding: 2px 6px; border-radius: 6px; font-size: 14px; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- Tablette (≤ 1024px) --- */
@media (max-width: 1024px) {
  .section { padding: 72px 40px; }
  .page-head { padding: 64px 40px 32px; }
  .page-head h1 { font-size: 34px; }

  .hero { height: 520px; }
  .hero h1 { font-size: 34px; }
  .hero-inner { padding: 0 40px; }

  /* Header compact */
  .site-header { margin: 16px 16px 0; padding: 12px 12px 12px 24px; }
  .site-brand { font-size: 26px; }
  .main-nav ul { gap: 18px; font-size: 13px; }
  .header-cta { padding: 12px 18px; font-size: 12px; }

  .split, .split-about { gap: 40px; }
  .split h2 { font-size: 28px; }

  .services-grid, .testimonials, .philosophy { grid-template-columns: repeat(2, 1fr); }
  .steps-4, .pgqm-steps { grid-template-columns: repeat(2, 1fr); }

  .site-footer { padding: 56px 40px 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {
  body { font-size: 14px; }

  /* Nav burger */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-radius: 20px;
    padding: 16px;
    display: none;
    box-shadow: 0 16px 40px rgba(0,0,0,.35);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav a { display: block; padding: 12px 16px; border-radius: 12px; font-size: 16px; }
  .main-nav a:hover { background: rgba(255,255,255,.06); }
  .header-cta { display: none; }
  /* CTA visible dans le menu mobile */
  .main-nav .nav-cta-mobile { display: block; margin-top: 8px; text-align: center; }
  .main-nav .nav-cta-mobile .btn { width: 100%; }

  .site-header { margin: 12px 12px 0; padding: 12px 12px 12px 20px; border-radius: 60px; top: 8px; }
  .site-header.is-stuck { margin: 0; top: 0; border-radius: 0; padding: 10px 16px; }
  .site-brand { font-size: 26px; }

  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }

  .section { padding: 56px 20px; }
  .section-title { font-size: 26px; }
  .page-head { padding: 48px 20px 24px; }
  .page-head h1 { font-size: 28px; }
  .page-head .lead { font-size: 14px; }

  /* Hero */
  .hero { height: 480px; margin-top: 12px; }
  .hero h1 { font-size: 24px; }
  .hero .hero-sub { font-size: 14px; line-height: 1.7; }
  .hero-inner { padding: 0 20px; gap: 18px; }
  .hero-actions { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-actions .btn { width: 100%; }

  /* Splits → 1 colonne */
  .split, .split-about { grid-template-columns: 1fr; gap: 32px; }
  .photo-frame { height: 300px; }
  .photo-frame.about-photo { height: 320px; }

  .problem-quote .big { font-size: 22px; }
  .problem-quote .mid { font-size: 16px; }
  .quote-band { padding: 48px 20px; }

  /* Grilles → 1 colonne */
  .services-grid, .testimonials, .philosophy { grid-template-columns: 1fr; }
  .steps-4, .pgqm-steps { grid-template-columns: 1fr; gap: 16px; }

  .section-dark h2 { font-size: 24px; }
  .section-dark { padding: 56px 20px; }

  /* Modale */
  .modal-overlay { padding: 20px; }
  .modal { padding: 32px 24px; max-height: 85vh; }
  .modal .steps { grid-template-columns: 1fr; }
  .modal h3 { font-size: 20px; }

  /* FAQ */
  .faq-item { padding: 22px; }
  .faq-list { gap: 14px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-map iframe { height: 200px; }

  /* Footer */
  .site-footer { padding: 48px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .entry { padding: 48px 20px; }
  .entry h1 { font-size: 28px; }
}

/* --- Petits mobiles (≤ 400px) --- */
@media (max-width: 400px) {
  .site-header { gap: 12px; }
  .main-nav ul { gap: 2px; }
  .btn { padding: 13px 22px; font-size: 13px; }
}
