/* =========================================================
   style.css — Ophélie Bureau · Opérationnel & Projets
   Polices : Contrail One (titres) · Dancing Script (signature) · Inter (texte)
   ========================================================= */

:root {
  --bleu: #2E6FD9;
  --jaune: #F5B92E;
  --creme: #F5F0E1;
  --brun: #B5651D;
  --anthracite: #222222;
  --noir: #0D1B2A;
  --blanc: #ffffff;

  --font-titre: 'Contrail One', 'Trebuchet MS', sans-serif;
  --font-script: 'Dancing Script', 'Brush Script MT', cursive;
  --font-texte: 'Inter', 'Segoe UI', Arial, sans-serif;

  --rayon: 18px;
  --ombre: 0 10px 28px rgba(13, 27, 42, .14);
  --marge: clamp(20px, 6vw, 90px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-texte);
  font-weight: 400;
  color: var(--anthracite);
  background: var(--creme);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-titre);
  font-weight: 400;
  line-height: 1.1;
  color: var(--noir);
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--jaune);
  outline-offset: 3px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Animation reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.85);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- En-tête & navigation ---------- */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 110px;
  padding: 22px var(--marge);
  color: var(--bleu);
}

.site-header.on-dark { color: var(--blanc); }

.logo {
  position: absolute;
  top: 0; left: 0;
  display: block;
  width: clamp(170px, 18vw, 250px);
  aspect-ratio: 240 / 210;
}

/* Forme blanche + filets jaune et bleu qui descendent du haut de la page */
.logo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 210' preserveAspectRatio='none'><path d='M0 0H234C234 86 172 124 112 148C68 166 34 182 0 208Z' fill='%23B5651D'/><path d='M0 0H226C226 80 165 118 106 142C64 159 30 174 0 198Z' fill='%23F5B92E'/><path d='M0 0H215C215 70 150 105 95 128C55 144 22 158 0 180Z' fill='%23ffffff'/></svg>") no-repeat 0 0 / 100% 100%;
  filter: drop-shadow(0 6px 10px rgba(13, 27, 42, .18));
}

.logo img {
  position: absolute;
  top: 3%;
  left: 2%;
  width: 70%;
  height: auto;
}

.nav { display: flex; gap: clamp(18px, 3vw, 42px); }

.nav a {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  text-decoration: none;
  color: inherit;
  padding: 6px 2px;
  border-bottom: 3px solid transparent;
  transition: border-color .25s ease;
}

.nav a:hover,
.nav a[aria-current="page"] { border-bottom-color: var(--jaune); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 0; border-radius: 12px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 26px; height: 3px;
  border-radius: 3px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Boutons CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-titre);
  font-size: 1.2rem;
  line-height: 1.2;
  text-decoration: none;
  padding: .85em 1.9em;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  background: var(--jaune);
  color: var(--noir);
  box-shadow: 0 8px 18px rgba(245, 185, 46, .45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 22px rgba(245, 185, 46, .55); }

.btn--bleu {
  background: var(--bleu);
  color: var(--blanc);
  box-shadow: 0 8px 18px rgba(46, 111, 217, .4);
}

.btn--bleu:hover { box-shadow: 0 12px 22px rgba(46, 111, 217, .5); }

.btn--brun {
  background: var(--brun);
  color: var(--blanc);
  box-shadow: 0 8px 18px rgba(46, 111, 217, .4);
}

.btn--brun:hover { box-shadow: 0 12px 22px rgba(46, 111, 217, .5); }

.cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

/* ---------- Formes décoratives (SVG) ---------- */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

/* =========================================================
   PAGE ACCUEIL
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: 180px var(--marge) 180px;
  color: var(--blanc);
}

.hero__shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}

.hero h1 {
  color: var(--blanc);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  text-shadow: 0 4px 18px rgba(13, 27, 42, .3);
}

.hero__sub {
  margin-top: 15px;
  max-width: 34em;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 300;
  color: var(--creme);
}
.hero__sub strong {font-weight: 600;}

.hero__photo {
  border-radius: 28px;
  overflow: hidden;
  border: 6px solid var(--creme);
  box-shadow: 0 18px 40px rgba(13, 27, 42, .35);
  aspect-ratio: 4 / 3;
}

.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* Les 3 blocs */
.cards-section {
  position: relative;
  z-index: 3;
  margin-top: -100px;
  padding: 0 var(--marge);
}

.cards {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 34px);
}

.card {
  position: relative;
  background: var(--blanc);
  border-radius: 6px 6px var(--rayon) var(--rayon);
  box-shadow: var(--ombre);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 1.2s ease, transform 1.2s ease, box-shadow .25s ease;
}

.card__tab {
  font-size: clamp(1.5rem, 1.7vw, 1.5rem);
  color: var(--creme);
  background: var(--bleu);
  padding: 20px 26px 26px;
  min-height: 98px;
  display: flex;
  align-items: center;
  border-bottom-right-radius: 60px;
}

.card--jaune .card__tab { background: var(--jaune); color: var(--noir); }

.card--brun .card__tab { background: var(--brun); color: var(--creme); }

.card__body {
  padding: 26px 26px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.picto { width: 72px; height: 72px; flex-shrink: 0; }

.card__body p { font-size: .98rem; color: var(--anthracite); }

.home-cta {
  position: relative;
  z-index: 3;
  padding: 60px var(--marge) 70px;
}

.card:hover { box-shadow: 0 16px 36px rgba(13, 27, 42, .22); }

.card__more {
  margin-top: auto;
  font-family: var(--font-titre);
  font-size: 1.05rem;
  color: var(--bleu);
  text-decoration: none;
}

.card__more::after {
  content: "→";
  margin-left: .4em;
  transition: margin-left .2s ease;
}

.card:hover .card__more::after { margin-left: .8em; }

.card__more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* =========================================================
   PAGE MÉTHODE
   ========================================================= */
.page {
  position: relative;
  overflow: hidden;
  padding: 150px var(--marge) calc(min(34vw, 300px) + 30px);
}

.page__title {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.page__title h1 {
  color: var(--bleu);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
}

.page__title .souligne {
  width: min(360px, 70%);
  height: 20px;
  margin: 10px auto 0;
}

.steps {
  position: relative;
  z-index: 2;
  list-style: none;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(46px, 7vw, 90px);
}

.step {
  display: flex;
  align-items: center;
  gap: 26px;
  max-width: 600px;
}

.step:nth-child(even) { margin-left: auto; }

.step__icon {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--blanc);
  box-shadow: var(--ombre);
}

.step__icon .picto { width: 68px; height: 68px; }

.step__num {
  position: absolute;
  top: -6px; left: -6px;
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--noir);
  font-family: var(--font-titre);
  font-size: 1.2rem;
}

.step h2 {
  color: var(--bleu);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 6px;
}

.step p { font-size: 1.02rem; }

.method-cta {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  text-align: center;
}

/* Rond d'étape cliquable */
button.step__icon {
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

button.step__icon:hover,
button.step__icon:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(13, 27, 42, .25);
}

/* Petit « + » pour inviter au clic */
.step__plus {
  position: absolute;
  right: -2px; bottom: -2px;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bleu);
  border: 3px solid var(--creme);
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: 1.2rem;
  line-height: 1;
  animation: step-pulse 2.4s ease-out infinite;
}

@keyframes step-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 185, 46, .8); }
  70%  { box-shadow: 0 0 0 12px rgba(245, 185, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 185, 46, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .step__plus { animation: none; }
}

/* Lien « Voir les livrables » */
.step__more {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-titre);
  font-size: 1.05rem;
  color: var(--bleu);
}

.step__more::after { content: " →"; }
.step__more:hover { color: var(--brun); }

/* Contenu de la popup */
.modal__tag {
  margin: 0 0 2px !important;
  font-family: var(--font-script);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--brun);
}

.modal__intro { margin-bottom: 18px !important; }

.modal__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  text-align: left;
}

.modal__list li {
  position: relative;
  padding-left: 1.7em;
}

.modal__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: .1em;
  display: grid;
  place-items: center;
  width: 1.3em; height: 1.3em;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--noir);
  font-size: .8rem;
  font-weight: 600;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 900px) {
  .modal__actions { flex-direction: column; }
  .modal__actions .btn { width: 100%; }
}

/* =========================================================
   PAGE CONTACT
   ========================================================= */
.contact-grid {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.contact-photo {
  border-radius: 24px;
  overflow: hidden;
  border: 6px solid var(--blanc);
  box-shadow: var(--ombre);
  aspect-ratio: 4 / 5;
}

.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

.form-card {
  background: rgba(255, 255, 255, .82);
  border-radius: var(--rayon);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: var(--ombre);
}

.form-card label {
  display: block;
  margin: 16px 0 6px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--noir);
}

.form-card label:first-child { margin-top: 0; }

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  font: inherit;
  color: var(--noir);
  padding: .8em 1em;
  background: var(--blanc);
  border: 1px solid rgba(13, 27, 42, .15);
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(13, 27, 42, .08);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-card textarea { min-height: 130px; resize: vertical; }

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--bleu);
  box-shadow: 0 0 0 3px var(--bleu);
}

.form-card .btn { margin-top: 26px; }

.form-card .rgpd-consent {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin: 1.2rem 0 .2rem;
}

.form-card .rgpd-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  padding: 0;
  box-shadow: none;
  border-radius: 4px;
  accent-color: var(--bleu);
  cursor: pointer;
}

.form-card .rgpd-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 2px;
  box-shadow: none;
}

.form-card .rgpd-consent label {
  margin: 0;
  font-size: .75rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--anthracite);
  opacity: .85;
  cursor: pointer;
}

.form-card .rgpd-consent label a {
  color: var(--bleu);
  text-underline-offset: 2px;
}

.form-card .rgpd-consent label a:hover { color: var(--brun); }

/* =========================================================
   PIED DE PAGE (signature)
   ========================================================= */
.site-footer {
  position: relative;
  z-index: 3;
  padding: 10px var(--marge) 50px;
  text-align: center;
}

.page .site-footer,
.signature-wrap { position: relative; z-index: 3; }

.signature {
  font-family: var(--font-titre);
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--noir);
  line-height: 1.1;
}

.signature-sub {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--bleu);
}

.footer-note {
  margin-top: 10px;
  font-size: .8rem;
  color: var(--brun);
}

/* Pages à fond crème : la signature se place en bas, sur les vagues */
.page .signature-block {
  position: relative;
  z-index: 3;
  max-width: 1000px;
  margin: 60px auto 0;
  text-align: right;
}

/* Pied de page posé sur les vagues */
.page .page-footer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  padding: 0 var(--marge) 22px;
  color: var(--creme);
}

.page .page-footer .signature-block {
  margin: 0;
  max-width: none;
  text-align: right;
}

.page .page-footer .signature { color: var(--noir); }
.page .page-footer .signature-sub { color: var(--creme); }

.page .page-footer .signature { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.legal-link {
  font-size: .9rem;
  color: var(--brun);
  text-underline-offset: 3px;
}

.legal-link:hover { color: var(--jaune); }

.legal-links {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.legal-link + .legal-link::before {
  content: "|";
  margin: 0 .6em;
  color: var(--creme);
  opacity: .7;
  text-decoration: none;
  display: inline-block;
}

/* Pages dont la signature est sur fond crème : couleurs d'origine */
.page .page-footer.page-footer--clair .signature {
  color: var(--bleu);
  text-shadow: none;
}

.page .page-footer.page-footer--clair .signature-sub {
  color: var(--noir);
  text-shadow: none;
}

/* Message d'erreur du formulaire */
.form-status {
  margin-top: 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--brun);
}

/* Popup de confirmation */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(13, 27, 42, .6);
  backdrop-filter: blur(3px);
}

.modal[hidden] { display: none; }

.modal__box {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 44px 32px 32px;
  text-align: center;
  background: var(--creme);
  border-radius: var(--rayon);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  overflow: hidden;
  animation: modal-pop .35s ease;
}

/* Bandeau bleu et jaune en haut de la popup */
.modal__box::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: linear-gradient(90deg, var(--bleu) 70%, var(--jaune) 70%);
}

.modal__icon { width: 72px; height: 72px; margin: 0 auto 16px; }
.modal__box h2 { color: var(--bleu); font-size: 1.8rem; margin-bottom: 10px; }
.modal__box p { margin-bottom: 24px; }

body.modal-open { overflow: hidden; }

@keyframes modal-pop {
  from { opacity: 0; transform: translateY(20px) scale(.92); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .modal__box { animation: none; }
}

@media (max-width: 900px) {
  .modal__box .btn { width: 100%; }
}
/* =========================================================
   PAGE QUI SUIS-JE (coordinatrice.html)
   ========================================================= */
.about-grid {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto 90px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}
 
.about-text h2 {
  color: var(--bleu);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
}
 
.about-role {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--brun);
  margin-bottom: 4px;
}
 
.about-quote {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
  color: var(--noir);
  border-left: 4px solid var(--jaune);
  padding-left: 18px;
  margin: 22px 0;
}
 
.about-text p + p { margin-top: 14px; }
 
.section-title {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--bleu);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin-bottom: 34px;
}
 
.page .cards { position: relative; z-index: 2; max-width: 1100px; }
 
.about-cta {
  position: relative;
  z-index: 2;
  margin-top: 70px;
}
 
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; margin-bottom: 60px; }
  .about-cta { margin-top: 50px; }
}

/* Message temporaire sur la photo (page Qui suis-je) */
.contact-photo { position: relative; }

.photo-note {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 36px 16px 12px;
  background: linear-gradient(to top, rgba(13, 27, 42, .88) 30%, rgba(13, 27, 42, 0));
  color: var(--creme);
  font-size: .8rem;
  line-height: 1.45;
}

.photo-note:has(details[open]) { background: rgba(13, 27, 42, .88); }

.photo-note summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

.photo-note summary::-webkit-details-marker { display: none; }
.photo-note summary::after { content: " +"; color: var(--jaune); }
.photo-note details[open] summary::after { content: " −"; }

.photo-note details[open] { max-height: 230px; overflow-y: auto; }
.photo-note details p { margin-top: 8px; }

/* =========================================================
   PAGES PRESTATIONS (parcours, gestion de projet, facturation)
   ========================================================= */

.presta-lead {
  max-width: 720px;
  margin: 24px auto 0;
  font-size: 1.1rem;
  color: var(--anthracite);
}

.presta-section {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto 80px;
}

/* ---------- « Vous vous reconnaissez ? » ---------- */
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 26px;
}

.checklist li {
  position: relative;
  padding: 18px 20px 18px 62px;
  background: rgba(255, 255, 255, .85);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(13, 27, 42, .08);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--jaune);
  color: var(--noir);
  font-weight: 600;
}

/* ---------- Déroulé en étapes ---------- */
.timeline {
  list-style: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 27px; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(var(--bleu), var(--jaune));
}

.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: start;
}

.timeline__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bleu);
  border: 4px solid var(--creme);
  color: var(--blanc);
  font-family: var(--font-titre);
  font-size: 1.5rem;
}

.timeline__body {
  background: rgba(255, 255, 255, .88);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 22px 26px;
}

.timeline__body h3 { color: var(--bleu); font-size: 1.4rem; margin-bottom: 8px; }

.timeline__livrable {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 2px dashed rgba(245, 185, 46, .8);
  font-size: .95rem;
}

.timeline__livrable strong { color: var(--brun); }

/* ---------- Livrables ---------- */
.livrables {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.livrable-card {
  background: rgba(255, 255, 255, .88);
  border-radius: var(--rayon);
  border-top: 6px solid var(--jaune);
  box-shadow: var(--ombre);
  padding: 22px 24px 26px;
}

.livrable-card h3 { color: var(--bleu); font-size: 1.25rem; margin-bottom: 8px; }
.livrable-card p { font-size: .96rem; }

/* ---------- Exemple concret ---------- */
.example {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 46px);
  border-radius: var(--rayon);
  background: var(--bleu);
  color: var(--blanc);
  box-shadow: var(--ombre);
}

.example::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -70px;
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 26px solid var(--jaune);
  opacity: .9;
}

.example__tag {
  font-family: var(--font-script);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--jaune);
}

.example h2 { color: var(--blanc); font-size: clamp(1.5rem, 3vw, 2rem); margin: 2px 0 14px; }
.example p { position: relative; z-index: 1; max-width: 640px; }
.example p + p { margin-top: 12px; }

/* ---------- Infos pratiques ---------- */
.infos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-tile {
  background: rgba(255, 255, 255, .88);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: 22px 24px;
  text-align: center;
}

.info-tile__label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brun);
}

.info-tile__value {
  margin-top: 6px;
  font-family: var(--font-titre);
  font-size: 1.35rem;
  color: var(--bleu);
  line-height: 1.25;
}

/* ---------- Encadré d'actualité ---------- */
.notice {
  margin: 0 auto 80px;
  max-width: 1000px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, .9);
  border-left: 6px solid var(--jaune);
  border-radius: 6px var(--rayon) var(--rayon) 6px;
  box-shadow: var(--ombre);
  padding: 22px 26px;
}

.notice h2 { color: var(--bleu); font-size: 1.4rem; margin-bottom: 8px; }
.notice p + p { margin-top: 8px; }
.notice a { color: var(--bleu); text-underline-offset: 3px; }
.notice a:hover { color: var(--brun); }

/* ---------- FAQ ---------- */
.faq details {
  background: rgba(255, 255, 255, .88);
  border-radius: 14px;
  box-shadow: 0 6px 16px rgba(13, 27, 42, .08);
  padding: 4px 22px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-family: var(--font-titre);
  font-size: 1.15rem;
  color: var(--noir);
}

.faq summary::marker { color: var(--jaune); }
.faq details[open] summary { color: var(--bleu); }
.faq details p { padding-bottom: 16px; }

.presta-cta { margin-top: 10px; }

@media (max-width: 900px) {
  .presta-section { margin-bottom: 56px; }
  .checklist { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 44px 1fr; gap: 14px; }
  .timeline__num { width: 44px; height: 44px; font-size: 1.2rem; }
  .timeline::before { left: 21px; }
  .timeline__body { padding: 18px 18px; }
  .infos { grid-template-columns: 1fr; }
}

/* =========================================================
   PAGES TEXTE LÉGAL (politique-confidentialité.html)
   ========================================================= */
.site-header.on-creme { color: var(--creme); }
 
.legal {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .82);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
  padding: clamp(22px, 4vw, 52px);
}
 
.legal h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  color: var(--bleu);
  margin: 2em 0 .5em;
}
 
.legal p { margin-bottom: .9em; }
 
.legal ul { list-style: none; margin: 0 0 1em; padding: 0; }
 
.legal li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: .4em;
}
 
.legal li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: .6em; height: .6em;
  border-radius: 50%;
  background: var(--jaune);
}
 
.legal a { color: var(--bleu); text-underline-offset: 3px; }
.legal a:hover { color: var(--brun); }
 
.legal .maj { font-size: .9rem; color: var(--brun); }
 
/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {

  .site-header { padding: 16px 20px; }
  .logo { width: 150px; }

  .nav-toggle { display: block; }

  .nav {
    display: none;
    position: absolute;
    top: 90px; left: 20px; right: 20px;
    flex-direction: column;
    gap: 6px;
    padding: 18px 22px;
    background: var(--creme);
    border-radius: var(--rayon);
    box-shadow: var(--ombre);
    color: var(--bleu);
  }

  .nav.open { display: flex; }
  .nav a { font-size: 1.3rem; padding: 10px 2px; }

  /* Accueil */
  .hero { padding: 130px 20px 170px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__photo { aspect-ratio: 16 / 11; }

  .cards-section { margin-top: -90px; padding: 0 20px; }
  .cards { grid-template-columns: 1fr; }

  .home-cta { padding: 44px 20px 50px; }

  /* CTA en pleine largeur */
  .cta-group { flex-direction: column; }
  .cta-group .btn,
  .method-cta .btn,
  .form-card .btn { width: 100%; }

  /* Méthode */
  .page { padding: 130px 20px calc(min(34vw, 300px) + 30px); }
  .step,
  .step:nth-child(even) { margin-left: 0; max-width: none; }
  .step { gap: 18px; }
  .step__icon { width: 88px; height: 88px; }
  .step__icon .picto { width: 54px; height: 54px; }
  .step__num { width: 30px; height: 30px; font-size: 1rem; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-photo { aspect-ratio: 16 / 11; }

  .page .signature-block { text-align: center; margin-top: 44px; }
}

@media (max-width: 480px) {
  .step { flex-direction: column; align-items: flex-start; }
  .card__tab { min-height: 0; }
}

.legal-links { justify-content: center; }

@media (max-width: 900px) {
  .page > .deco--bas {
    width: 100% !important;
    height: 200px !important;
  }

  .page { padding-bottom: 230px; }

  .page .page-footer {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 0 16px 14px;
    text-align: center;
  }

  .page .page-footer .signature-block { text-align: center; }
  .page .page-footer .signature { font-size: 1.5rem; }
  .page .page-footer .signature-sub { font-size: 1rem; line-height: 1.2; }

  .legal-links { justify-content: center; }
  .legal-link { font-size: .75rem; }
}

.page .page-footer a,
.page .page-footer .signature,
.page .page-footer .signature-sub {
  text-shadow: 0 1px 6px rgba(13, 27, 42, .45);
}

@media (max-width: 900px) {
  .page .page-footer.page-footer--clair .signature,
  .page .page-footer.page-footer--clair .signature-sub {
    color: var(--creme);
    text-shadow: 0 1px 6px rgba(13, 27, 42, .45);
  }
}