/* ==========================================================================
   Anna&Conci — style.css
   "Cosa dice il sito": token di colore, tipografia, layout di base.
   Se cambiate palette o font, questo è il file da toccare.
   ========================================================================== */

/* ---- Font: Caveat (titoli scritti a mano) + Work Sans (testo) ---- */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Work+Sans:wght@400;500;600;700&display=swap");

/* ---- Token colore: tema chiaro (default) ---- */
:root {
  --bg: #FFFFFF;
  --surface: #F7EEF1;
  --ink: #3E2A3D;
  --ink-soft: #6b5566;
  --accent: #E8B4BC;      /* rosa cipria */
  --accent-2: #9B7E93;    /* malva */
  --border: #E7E1E3;
  --btn-primary-bg: #3E2A3D;
  --btn-primary-text: #FFFFFF;
  --step-bg: #FBF6F7;

  --font-display: "Caveat", cursive;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1080px;
}

/* ---- Token colore: tema scuro (attivato da JS, salvato in localStorage) ---- */
[data-theme="dark"] {
  --bg: #1B1417;
  --surface: #2A2124;
  --ink: #F3ECEE;
  --ink-soft: #c9b9c1;
  --accent: #EFC3CB;
  --accent-2: #C6A6B8;
  --border: #3c3134;
  --btn-primary-bg: #EFC3CB;
  --btn-primary-text: #1B1417;
  --step-bg: #241c1f;
}

/* ---- Reset minimo ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  transition: background .2s ease, color .2s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.6vw, 46px); }
h2 { font-size: clamp(24px, 3.2vw, 30px); }
h3 { font-size: 16px; }
p { color: var(--ink-soft); }

.script {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  margin: 0 0 14px;
}

.titolo-a-mano {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--accent-2);
  margin: 0 0 24px;
}

/* ---- Layout ---- */
.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-inline: 24px;
}
.sezione {
  padding-block: 54px;
  border-top: 2px dashed var(--border);
}
.sezione:first-of-type { border-top: none; }
.sezione-titolo { text-align: center; }

@media (max-width: 640px) {
  .sezione { padding-block: 40px; }
}
