/* Dec'Assist – feuille de style commune à toutes les pages */

:root {
  --nuit: #1B2557;      /* bleu nuit */
  --violet: #7468A8;    /* violet */
  --dore: #C4A57E;      /* doré */
  --creme: #F7F3EC;     /* fond crème */
  --blanc: #FFFFFF;
  --texte: #1B2557;
  --texte-doux: #4A5170;
  --ligne: #E6DFD3;
  --violet-clair: #ECEAF4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--texte);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
a:focus-visible, .bouton:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }

.conteneur { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
@media (min-width: 800px) { section { padding: 96px 0; } }

h1, h2, h3 { line-height: 1.2; margin: 0 0 16px; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.3rem); font-weight: 700; letter-spacing: -0.015em; }
h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 2px; background: var(--dore); margin-top: 14px; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 16px; }
.intro { color: var(--texte-doux); max-width: 38rem; font-size: 1.1rem; }

/* Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 30px; border-radius: 999px;
  background: var(--nuit); color: var(--blanc);
  font-weight: 600; font-size: 1.05rem; text-decoration: none;
  border: 2px solid var(--nuit);
}
.bouton:hover { background: var(--violet); border-color: var(--violet); }
.boutons-entete { display: flex; flex-wrap: wrap; gap: 12px; }
.bouton-secondaire { background: transparent; color: var(--nuit); }
.bouton-secondaire:hover { color: var(--blanc); }
.bouton-clair { background: var(--blanc); color: var(--nuit); border-color: var(--blanc); }
.bouton-clair:hover { background: var(--creme); border-color: var(--creme); color: var(--nuit); }
.bouton-contour { background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.6); }
.bouton-contour:hover { background: rgba(255,255,255,.12); border-color: var(--blanc); }

/* Barre du haut */
.barre { padding: 18px 0; }
.barre .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.barre img { height: 52px; width: auto; }
@media (min-width: 700px) { .barre img { height: 64px; } }
.barre .bouton { min-height: 44px; padding: 8px 20px; font-size: .95rem; }
@media (max-width: 420px) { .barre .bouton { display: none; } }

/* En-tête */
.entete { padding: 40px 0 72px; }
@media (min-width: 800px) { .entete { padding: 72px 0 112px; } }
.entete .sur-titre { color: var(--violet); font-weight: 600; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.entete h1 { max-width: 18em; }
.entete .accroche-fin { color: var(--violet); }
.entete .intro { margin: 20px 0 32px; }
.entete .petite-note { margin-top: 22px; font-size: .95rem; color: var(--texte-doux); }

/* Le problème */
.probleme { background: var(--blanc); }
.liste-probleme { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; max-width: 40rem; }
.liste-probleme li { padding: 16px 20px 16px 52px; background: var(--creme); border-radius: 14px; position: relative; }
.liste-probleme li::before { content: ""; position: absolute; left: 20px; top: 24px; width: 14px; height: 14px; border-radius: 50%; background: var(--dore); }
.conclusion { font-weight: 600; font-size: 1.15rem; color: var(--violet); }

/* Services */
.grille-services { display: grid; gap: 18px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grille-services { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .grille-services { grid-template-columns: repeat(3, 1fr); } }
.carte { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 18px; padding: 24px; }
.carte p { margin: 0; color: var(--texte-doux); font-size: 1rem; }
.icone { width: 48px; height: 48px; border-radius: 14px; background: var(--violet-clair); color: var(--violet); display: grid; place-items: center; margin-bottom: 16px; }
.icone svg { width: 26px; height: 26px; }
.non-inclus { margin-top: 36px; padding: 24px; border-radius: 18px; border: 2px dashed var(--dore); max-width: 46rem; }
.non-inclus h3 { margin-bottom: 8px; }
.non-inclus p { margin: 0; color: var(--texte-doux); }

/* Étapes */
.etapes-section { background: var(--violet-clair); }
.etapes { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 28px; grid-template-columns: 1fr; counter-reset: etape; }
@media (min-width: 640px) { .etapes { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .etapes { grid-template-columns: repeat(4, 1fr); } }
.etapes li { counter-increment: etape; }
.etapes li::before {
  content: counter(etape);
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--nuit); color: var(--blanc); font-weight: 700; margin-bottom: 14px;
}
.etapes p { color: var(--texte-doux); margin: 0; font-size: 1rem; }

/* Parcours */
.parcours { list-style: none; padding: 0; margin: 32px 0 0; max-width: 44rem; }
.parcours li { padding: 18px 0 18px 32px; border-top: 1px solid var(--ligne); position: relative; }
.parcours li:last-child { border-bottom: 1px solid var(--ligne); }
.parcours li::before { content: ""; position: absolute; left: 0; top: 27px; width: 12px; height: 12px; border-radius: 3px; background: var(--violet); transform: rotate(45deg); }
.signature { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 1.2rem; }
.signature img { width: 48px; height: 48px; }

/* Tarifs */
.tarifs-section { background: var(--blanc); }
.tableau-tarifs { width: 100%; max-width: 40rem; border-collapse: collapse; margin-top: 32px; font-size: 1.05rem; }
.tableau-tarifs th, .tableau-tarifs td { padding: 18px 16px; border-bottom: 1px solid var(--ligne); text-align: left; vertical-align: top; }
.tableau-tarifs td { text-align: right; font-weight: 700; white-space: nowrap; font-size: 1.2rem; }
.tableau-tarifs th { font-weight: 500; }
.tableau-tarifs .detail { display: block; font-size: .9rem; color: var(--texte-doux); font-weight: 400; }
.tableau-tarifs tr.mise-en-avant th, .tableau-tarifs tr.mise-en-avant td { background: var(--creme); }
.tableau-tarifs tr.mise-en-avant th { border-radius: 12px 0 0 12px; padding-left: 16px; }
.tableau-tarifs tr.mise-en-avant td { border-radius: 0 12px 12px 0; padding-right: 16px; }
.mention { margin-top: 18px; font-size: .95rem; color: var(--texte-doux); }

/* Confidentialité */
.engagements { display: grid; gap: 18px; margin-top: 36px; grid-template-columns: 1fr; }
@media (min-width: 800px) { .engagements { grid-template-columns: repeat(3, 1fr); } }
.engagement { border-top: 4px solid var(--dore); background: var(--blanc); border-radius: 0 0 18px 18px; padding: 24px; }
.engagement p { margin: 0; color: var(--texte-doux); font-size: 1rem; }

/* Contact */
.contact { background: var(--nuit); color: var(--blanc); }
.contact h2 { color: var(--blanc); }
.contact .intro { color: #D5D8EA; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.contact .adresse { margin-top: 22px; color: #D5D8EA; font-size: .98rem; overflow-wrap: anywhere; }
.contact .adresse a { color: var(--blanc); }

/* Pied de page */
footer { padding: 32px 0 40px; font-size: .95rem; color: var(--texte-doux); }
footer .conteneur { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
footer a { color: var(--nuit); }

/* Pages légales */
.page-legale { padding: 24px 0 72px; }
.page-legale h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); }
.page-legale h2 { font-size: 1.3rem; margin-top: 36px; }
.page-legale h2::after { width: 40px; height: 3px; margin-top: 10px; }
.page-legale .bloc { max-width: 44rem; }
.a-completer { background: #FFF1C2; color: #6B4E00; border: 1px dashed #B08900; border-radius: 4px; padding: 0 6px; font-weight: 500; }
.retour { display: inline-block; margin-bottom: 24px; }
