/* Layout : une bande d'accueil rose-clair bordée d'un feston, puis des sections papier en colonne de 1080 px ; le motif de dentelle ne revient qu'aux transitions clés. */
:root {
  --papier: #FBF7F5;
  --papier-haut: #FFFFFF;
  --encre: #2A2124;
  --encre-douce: #6B5E63;
  --trait: #EDE3E6;
  --rose: #A8475E;
  --rose-clair: #F7E4E8;
  --sur-rose: #FFFFFF;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --largeur: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #181416; --papier-haut: #221D20; --encre: #F5EEF0; --encre-douce: #B8AAAF;
    --trait: #352C30; --rose: #EFA3B4; --rose-clair: #3D2229; --sur-rose: #1F0E13; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papier: #181416; --papier-haut: #221D20; --encre: #F5EEF0; --encre-douce: #B8AAAF;
    --trait: #352C30; --rose: #EFA3B4; --rose-clair: #3D2229; --sur-rose: #1F0E13; color-scheme: dark;
}

* { box-sizing: border-box; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--rose); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--rose); outline-offset: 3px; border-radius: var(--radius-sm);
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; }
p { margin: 0; }

.bande { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.cadre { max-width: var(--largeur); margin: 0 auto; }

.etiquette {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rose);
}

.bouton {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 16px/1 var(--font-sans);
  padding: 15px 22px; border-radius: var(--radius-md);
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.bouton-plein { background: var(--rose); color: var(--sur-rose); }
.bouton-plein:hover { transform: translateY(-1px); }
.bouton-ligne { color: var(--encre); border-color: var(--encre); background: transparent; }
.bouton-ligne:hover { background: var(--papier-haut); }
@media (prefers-reduced-motion: reduce) { .bouton { transition: none; } .bouton-plein:hover { transform: none; } }

/* En-tête */
.entete { background: var(--rose-clair); }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); }
.marque svg { width: 36px; height: 36px; flex: none; }
.marque span { font-family: var(--font-display); font-size: 25px; font-weight: 600; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.bouton) { color: var(--encre); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:not(.bouton):hover { color: var(--rose); }
.nav .bouton { padding: 11px 16px; font-size: 15px; }
@media (max-width: 760px) { .nav a:not(.bouton) { display: none; } }

/* Accueil */
.accueil { background: var(--rose-clair); }
.accueil .cadre {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px; align-items: center; padding-block: 40px 72px;
}
.accueil h1 { font-size: clamp(44px, 7vw, 80px); letter-spacing: -.02em; line-height: 1.02; }
.accueil h1 em { font-style: italic; font-weight: 500; color: var(--rose); }
.accroche { font-size: 19px; color: var(--encre-douce); max-width: 34ch; margin-top: 22px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 860px) { .accueil .cadre { grid-template-columns: 1fr; gap: 48px; padding-block: 24px 64px; } }

.feston {
  height: 14px;
  background: radial-gradient(circle at 13px 0, var(--rose-clair) 13px, transparent 13.6px) 0 0 / 26px 14px repeat-x;
}

/* Visuel : une fenêtre de navigateur et son étiquette de couture */
.visuel { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.fenetre {
  background: var(--papier-haut); border: 1.5px solid var(--encre); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 10px 10px 0 var(--rose);
}
.fenetre-barre {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1.5px solid var(--encre);
}
.fenetre-barre i { width: 34px; height: 6px; border-radius: 3px; background: var(--rose); flex: none; }
.adresse {
  flex: 1; min-width: 0; font-size: 13px; color: var(--encre-douce);
  background: var(--papier); border-radius: 999px; padding: 4px 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.fenetre-corps { padding: 24px; display: grid; gap: 14px; }
.mini-titre { font-family: var(--font-display); font-size: 26px; font-weight: 600; line-height: 1.1; }
.ligne { height: 8px; border-radius: 4px; background: var(--trait); }
.mini-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.mini-grille div { aspect-ratio: 1; border-radius: var(--radius-md); background: var(--rose-clair); max-width: 100%; }
.mini-grille div:nth-child(2) { background: var(--rose); }
.mini-bouton { width: 112px; height: 30px; border-radius: var(--radius-md); background: var(--encre); }

.etiquette-couture {
  position: absolute; right: -10px; bottom: -34px; width: 196px;
  background: var(--papier-haut); border: 1.5px solid var(--encre); border-radius: var(--radius-sm);
  padding: 12px 14px 12px 22px; transform: rotate(-4deg);
  font-size: 12px; line-height: 1.5;
}
.etiquette-couture::before {
  content: ""; position: absolute; left: 8px; top: 10px; bottom: 10px;
  border-left: 1.5px dashed var(--encre-douce);
}
.etiquette-couture b { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
@media (max-width: 480px) { .etiquette-couture { right: 0; bottom: -40px; width: 180px; } }

/* Sections */
.section .cadre { padding-block: 96px; }
.section + .section .cadre { border-top: 1px solid var(--trait); }
.tete-section { display: grid; gap: 14px; max-width: 640px; margin-bottom: 48px; }
.tete-section h2 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -.015em; }
.tete-section p { color: var(--encre-douce); font-size: 18px; }

/* Offres */
.tete-section .lancement {
  justify-self: start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--rose-clair); color: var(--rose); border: 1.5px dashed var(--rose); border-radius: var(--radius-sm);
  padding: 8px 14px; font-size: 14px; font-weight: 600;
}
.tete-section .lancement b { font-family: var(--font-display); font-size: 16px; }
.offres { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.offre {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  background: var(--papier-haut); border: 1px solid var(--trait); border-radius: var(--radius-lg); padding: 24px;
}
.offre h3 { font-size: 24px; }
.offre > p { font-size: 16px; }
.offre > p { color: var(--encre-douce); }
.offre ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.offre li { display: flex; gap: 10px; align-items: baseline; }
.offre li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); flex: none; transform: translateY(-2px);
}
.prix { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--trait); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.prix small { font-size: 14px; color: var(--encre-douce); }
.prix strong { font-family: var(--font-display); font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; }
.offre-phare { border: 1.5px solid var(--rose); }
.offre-phare .badge {
  align-self: flex-start; background: var(--rose-clair); color: var(--rose);
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-sm);
}

.entretien {
  margin-top: 20px; display: grid; gap: 8px;
  padding: 20px 24px; border: 1px dashed var(--encre-douce); border-radius: var(--radius-lg);
}
.entretien p { min-width: 0; }
.entretien strong { font-variant-numeric: tabular-nums; }

/* Méthode : une vraie séquence, donc numérotée */
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 32px; counter-reset: etape; }
.etape { counter-increment: etape; display: grid; gap: 10px; align-content: start; }
.etape::before {
  content: counter(etape);
  font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--rose);
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1.5px solid var(--rose); border-radius: 50%;
}
.etape h3 { font-size: 22px; margin-top: 6px; }
.etape p { color: var(--encre-douce); font-size: 16px; }
.etape .duree { font-size: 13px; font-weight: 600; color: var(--encre); }

/* Engagements */
.engagements { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.engagement { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--trait); }
.engagement svg { width: 28px; height: 28px; stroke: var(--rose); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.engagement h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 600; line-height: 1.3; }
.engagement p { color: var(--encre-douce); font-size: 16px; margin-top: 4px; }
@media (max-width: 760px) { .engagements { grid-template-columns: 1fr; } }

/* Questions */
.questions { display: grid; max-width: 760px; }
.questions details { border-bottom: 1px solid var(--trait); }
.questions summary {
  list-style: none; cursor: pointer; padding-block: 22px; display: flex; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-size: 21px; font-weight: 500;
}
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font-family: var(--font-sans); font-size: 24px; line-height: 1; color: var(--rose); flex: none; }
.questions details[open] summary::after { content: "–"; }
.questions details p { color: var(--encre-douce); padding-bottom: 22px; max-width: 62ch; }

/* Contact */
.contact { background: var(--rose); color: var(--sur-rose); }
.contact .feston-haut {
  height: 14px;
  background: radial-gradient(circle at 13px 14px, var(--rose) 13px, transparent 13.6px) 0 0 / 26px 14px repeat-x;
  background-color: var(--papier);
}
.contact .cadre { padding-block: 80px 88px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.contact h2 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -.02em; }
.contact .cadre > div > p { margin-top: 16px; font-size: 18px; max-width: 40ch; opacity: .92; }
.carte-contact {
  background: var(--papier-haut); color: var(--encre); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 14px;
}
.carte-contact .etiquette { color: var(--encre-douce); }
.courriel { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.courriel a {
  color: var(--encre); text-decoration: none;
  font-family: var(--font-display); font-size: 24px; font-weight: 600; user-select: all; overflow-wrap: anywhere; min-width: 0;
}
.copier {
  font: 600 14px/1 var(--font-sans); padding: 9px 14px; border-radius: var(--radius-md);
  border: 1.5px solid var(--encre); background: transparent; color: var(--encre); cursor: pointer;
}
.carte-contact p { color: var(--encre-douce); font-size: 15px; }
@media (max-width: 860px) { .contact .cadre { grid-template-columns: 1fr; } }

/* Pied de page */
.pied .cadre { padding-block: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; font-size: 14px; color: var(--encre-douce); }
.pied a { color: var(--encre-douce); }

/* Pied de page : liens */
.pied-liens { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* Listes à puces rondes (applis, réalisations) */
.liste-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.liste-points li { display: flex; gap: 10px; align-items: baseline; }
.liste-points li::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); flex: none; transform: translateY(-2px);
}

/* Applications */
.applis { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.applis-offre {
  display: grid; gap: 18px; align-content: start;
  background: var(--papier-haut); border: 1px solid var(--trait); border-radius: var(--radius-lg); padding: 28px;
}
.applis-offre .prix { margin-top: 0; }
.applis-offre .bouton { justify-self: start; }
.note { font-size: 14px; color: var(--encre-douce); }
.exemple {
  display: grid; gap: 24px; align-content: start;
  background: var(--rose-clair); border-radius: var(--radius-lg); padding: 28px;
}
.exemple-texte { display: grid; gap: 12px; }
.exemple-texte h3 { font-size: 28px; }
.exemple-lieu { color: var(--encre-douce); font-size: 15px; }
.exemple-texte > a { font-weight: 600; justify-self: start; }
@media (max-width: 860px) { .applis { grid-template-columns: 1fr; } }

/* Maquette de la tablette de Momo (couleurs de son appli) */
.tablette {
  width: calc(100% - 8px); max-width: 520px; justify-self: center;
  background: #F2F0EA; color: #1C201B; border: 10px solid #1C201B; border-radius: 22px; overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 12px; line-height: 1.3;
  box-shadow: 8px 8px 0 var(--rose);
}
.tab-barre { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #1F2A1F; color: #FFFFFF; }
.tab-barre b { font-size: 13px; }
.tab-barre span { font-weight: 800; font-variant-numeric: tabular-nums; }
.tab-barre i { margin-left: auto; font-style: normal; font-size: 11px; background: #2F7A3D; border-radius: 99px; padding: 3px 8px; }
.tab-corps { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.tab-carte { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px; align-content: start; }
.tab-carte span {
  position: relative; background: #FFFFFF; border: 1px solid #DEDBD2; border-radius: 8px;
  padding: 10px 8px; font-weight: 700; min-height: 40px;
}
.tab-carte em {
  position: absolute; top: -6px; right: -4px; font-style: normal; background: #2F6B3A; color: #FFFFFF;
  border-radius: 99px; min-width: 20px; height: 20px; display: grid; place-items: center; font-size: 11px;
}
.tab-cmd { background: #FFFFFF; border-left: 1px solid #DEDBD2; padding: 10px; display: grid; gap: 8px; align-content: start; }
.tab-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.tab-mode span { text-align: center; border: 1.5px solid #DEDBD2; border-radius: 6px; padding: 5px 2px; font-size: 10px; font-weight: 600; }
.tab-mode .on { border-color: #2F6B3A; background: #E4EFE4; color: #2F6B3A; }
.tab-annonce { background: #1F2A1F; color: #FFFFFF; border-radius: 8px; padding: 8px; display: flex; justify-content: space-between; align-items: center; }
.tab-annonce b { font-size: 20px; font-variant-numeric: tabular-nums; }
.tab-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 13px; }
.tab-go { background: #2F6B3A; color: #FFFFFF; border-radius: 8px; padding: 8px; text-align: center; font-weight: 700; }

/* Pages intérieures */
.page-tete { background: var(--rose-clair); }
.page-tete .cadre { padding-block: 40px 56px; display: grid; gap: 14px; }
.page-tete h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.02em; }
.page-tete .accroche { margin-top: 0; max-width: 52ch; }

/* Réalisations */
.realisations { display: grid; gap: 40px; }
.realisation {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding-bottom: 40px; border-bottom: 1px solid var(--trait);
}
.realisation-visuel { display: grid; min-width: 0; }
.realisation-visuel img { border-radius: var(--radius-lg); border: 1px solid var(--trait); display: block; width: 100%; height: auto; }
.realisation-vide {
  aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius-lg); background: var(--rose-clair);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 28px; color: var(--rose); padding: 24px; text-align: center;
}
.realisation-texte { display: grid; gap: 14px; min-width: 0; }
.realisation-texte h2 { font-size: clamp(30px, 4vw, 40px); }
.realisation-texte .bouton { justify-self: start; }
.realisation-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; color: var(--encre-douce); }
.badge-type { background: var(--rose-clair); color: var(--rose); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-sm); }
.vide { color: var(--encre-douce); font-size: 18px; }
.appel { margin-top: 56px; display: grid; gap: 14px; justify-items: start; max-width: 620px; }
.appel h2 { font-size: clamp(28px, 4vw, 40px); }
.appel p { color: var(--encre-douce); font-size: 18px; }
@media (max-width: 860px) { .realisation { grid-template-columns: 1fr; gap: 28px; } }

/* Mentions légales */
.legal { padding-block: 56px 80px; display: grid; gap: 14px; max-width: 720px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin-top: 20px; }
.legal p { color: var(--encre-douce); }

/* Menu : pas de retour à la ligne ; l'Espace client passe dans le bas de page sur écran moyen */
.nav a { white-space: nowrap; }
@media (max-width: 1080px) { .nav { gap: 20px; } .nav a[href^="https://app"] { display: none; } }
