/* 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); }
