/* Dott.ssa Alessia Nastasi — stile del sito
   Palette ispirata a toni salvia, ardesia e sabbia. */

:root {
  --mist: #e4e7e1;      /* sfondo principale */
  --mist-2: #d6dbd3;    /* sfondo alternativo */
  --sage: #becdbf;      /* salvia */
  --sage-deep: #8ea592; /* salvia scuro, accenti */
  --sand: #ebdfd5;      /* sabbia */
  --slate: #2e393a;     /* ardesia, testo e fasce scure */
  --slate-2: #556365;   /* ardesia chiaro */
  --cream: #f6f2ee;     /* testo su fondo scuro */
  --line: rgba(46, 57, 58, 0.16);

  --font: "Mulish", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --wrap: 1140px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--mist);
  color: var(--slate);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; font-weight: 400; }

p { margin: 0 0 1.1em; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
  color: var(--slate-2);
}

.lead { font-size: 1.2rem; font-weight: 300; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--slate); color: var(--cream); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* Campi da completare prima della pubblicazione */
.tbd {
  background: #fff3c4;
  border-bottom: 1px dashed #b38b00;
  padding: 0 3px;
  border-radius: 2px;
  color: var(--slate);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(228, 231, 225, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 84px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.brand svg { width: 46px; height: 46px; flex: none; }
.brand-name { display: block; font-size: 1.22rem; font-weight: 600; line-height: 1.15; }
.brand-role {
  display: block; font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--slate-2); margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 0.95rem; white-space: nowrap; }
.brand-name, .brand-role { white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; }

.btn {
  display: inline-block;
  background: var(--slate); color: var(--cream);
  text-decoration: none;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 14px 22px; border-radius: var(--radius);
  border: 1px solid var(--slate);
  transition: background 0.2s, color 0.2s;
  cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--slate-2); border-color: var(--slate-2); }
.btn-light { background: var(--cream); color: var(--slate); border-color: var(--cream); }
.btn-light:hover { background: var(--sage); border-color: var(--sage); }
.btn-ghost { background: transparent; color: var(--slate); }
.btn-ghost:hover { background: var(--slate); color: var(--cream); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px 12px; cursor: pointer; color: var(--slate);
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 4px 0; }

@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--mist); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
  }
  .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; text-align: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 78% 30%, rgba(235, 223, 213, 0.9), transparent 42%),
    linear-gradient(160deg, #cdd8cd 0%, #b9c9bc 55%, #a9bcad 100%);
  border-bottom-left-radius: 50% 70px;
  border-bottom-right-radius: 50% 70px;
  overflow: hidden;
}
.hero-inner {
  display: grid; grid-template-columns: 1.25fr 1fr; align-items: center;
  gap: 40px; padding: 96px 0 120px;
}
.hero h1 { margin-bottom: 0.35em; }
.hero .lead { max-width: 34ch; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--slate-2); margin: 0 0 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art svg { width: 100%; height: auto; }

.page-hero { padding: 80px 0 100px; }
.page-hero .hero-inner { padding: 0; grid-template-columns: 1fr; }
.page-hero .lead { max-width: 52ch; }

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0 96px; }
  .hero-art { max-width: 340px; }
  .hero { border-bottom-left-radius: 50% 36px; border-bottom-right-radius: 50% 36px; }
  .page-hero { padding: 56px 0 72px; }
}

/* ---------- Sezioni ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.bg-mist2 { background: var(--mist-2); }
.bg-sand { background: var(--sand); }
.bg-slate { background: var(--slate); color: var(--cream); }
.bg-slate .eyebrow { color: var(--sage); }
.bg-slate a:not(.btn) { color: var(--cream); }

.intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.intro-quote {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 300; line-height: 1.3;
  margin: 0; text-align: right;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-top { align-items: start; }

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .intro, .split { grid-template-columns: 1fr; gap: 32px; }
  .intro-quote { text-align: left; }
}

/* Servizi su fondo scuro, come blocchi centrati */
.service { text-align: center; padding: 8px 0 34px; }
.service + .service { border-top: 1px solid rgba(246, 242, 238, 0.14); padding-top: 34px; }
.service .eyebrow { color: var(--cream); margin-bottom: 0.8rem; }
.service p { margin-bottom: 0.8rem; color: rgba(246, 242, 238, 0.86); }
.service a { font-size: 0.9rem; }

.art-card {
  background: var(--slate-2);
  border-radius: 10px;
  padding: 28px;
}
.art-card svg { width: 100%; height: auto; }
.art-card figcaption {
  font-size: 0.85rem; color: rgba(246, 242, 238, 0.8);
  margin-top: 14px; text-align: center;
}

/* Card su fondo chiaro */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
}
.card h3 { margin-bottom: 0.5em; }
.card p { margin: 0; font-size: 0.97rem; }
.card-num {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em;
  color: var(--sage-deep); display: block; margin-bottom: 14px;
}
@media (max-width: 960px) { .cards, .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards, .cards-3 { grid-template-columns: 1fr; } }

/* Elenchi */
.list-clean { list-style: none; padding: 0; margin: 0 0 1.2em; }
.list-clean li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.list-clean li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 9px; height: 9px; border-radius: 50%;
  border: 1.5px solid var(--sage-deep);
}
.bg-slate .list-clean li { border-color: rgba(246, 242, 238, 0.14); }
.bg-slate .list-clean li::before { border-color: var(--sage); }

.areas { columns: 2; column-gap: 40px; }
.areas li { break-inside: avoid; }
@media (max-width: 560px) { .areas { columns: 1; } }

/* Tariffe */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 8px 0 24px; }
.price {
  background: var(--cream); border-radius: 10px; padding: 30px 28px;
  border: 1px solid var(--line);
}
.price .eyebrow { margin-bottom: 0.6rem; }
.price-value { font-size: 2.6rem; font-weight: 300; line-height: 1; margin: 0 0 6px; }
.price-meta { color: var(--slate-2); margin: 0; }
@media (max-width: 560px) { .prices { grid-template-columns: 1fr; } }

.note { font-size: 0.92rem; color: var(--slate-2); }
.bg-slate .note { color: rgba(246, 242, 238, 0.75); }

.callout {
  border-left: 3px solid var(--sage-deep);
  padding: 4px 0 4px 20px; margin: 28px 0;
}

/* Centro */
.center { text-align: center; }
.center .narrow { margin-inline: auto; }

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line); padding: 18px 0;
}
.faq summary {
  cursor: pointer; list-style: none; font-size: 1.12rem; font-weight: 400;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 300; font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 14px 0 0; }

/* Contatti e form */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.info-block { margin-bottom: 28px; }
.info-block .eyebrow { margin-bottom: 0.4rem; }
.info-block p { margin: 0; }

.form {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 10px; padding: 32px;
}
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"] {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--slate);
  border: 1px solid #b9c1bb; border-radius: var(--radius); background: #fff;
}
.field input:focus { outline: 2px solid var(--sage-deep); outline-offset: 1px; }
fieldset.field { border: 0; padding: 0; margin: 0 0 20px; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #b9c1bb; border-radius: var(--radius); padding: 10px 14px;
  background: #fff; cursor: pointer; font-weight: 400 !important; margin: 0 !important;
}
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.checkbox input { margin-top: 5px; }
.form-msg { margin-top: 16px; font-size: 0.95rem; }

/* Mappa: link esterno, nessun embed (niente cookie di terze parti) */
.map-card {
  display: block; text-decoration: none;
  border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background: var(--mist-2);
}
.map-card svg { width: 100%; height: auto; }
.map-card span {
  display: block; padding: 14px 18px; font-size: 0.9rem; background: var(--cream);
}
.map-card:hover span { text-decoration: underline; }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { max-width: 22ch; margin-inline: auto; }
.cta p { max-width: 56ch; margin-inline: auto; }
.cta .btn { margin-top: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--slate); color: var(--cream); padding: 64px 0 28px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .eyebrow { color: var(--sage); margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--cream); }
.footer-legal {
  border-top: 1px solid rgba(246, 242, 238, 0.14);
  margin-top: 44px; padding-top: 22px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.82rem; color: rgba(246, 242, 238, 0.7);
}
.site-footer .tbd { color: var(--slate); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Prose (privacy) */
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

/* Ritratto */
.portrait { margin: 0; }
.portrait img {
  width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  border-radius: 10px;
}
.portrait figcaption {
  font-size: 0.85rem; margin-top: 12px; text-align: center; color: var(--slate-2);
}
.bg-slate .portrait figcaption { color: rgba(246, 242, 238, 0.8); }
.portrait-round img { border-radius: 50%; max-width: 380px; margin-inline: auto; }
.hero-with-photo { grid-template-columns: 1.4fr 1fr !important; gap: 48px; }
.geno { max-width: 320px; margin-top: 24px; }
@media (max-width: 860px) {
  .hero-with-photo { grid-template-columns: 1fr !important; }
  .portrait-round img { max-width: 260px; margin-inline: 0; }
}

/* Curriculum */
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 1px solid var(--sage-deep); }
.timeline > li { position: relative; padding: 0 0 30px; }
.timeline > li:last-child { padding-bottom: 0; }
.timeline > li::before {
  content: ""; position: absolute; left: -32px; top: 6px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--mist); border: 2px solid var(--sage-deep);
}
.bg-mist2 .timeline > li::before { background: var(--mist-2); }
.tl-date {
  display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--slate-2); margin-bottom: 4px;
}
.timeline h3 { font-size: 1.15rem; margin-bottom: 0.35em; }
.timeline p { margin: 0; }
.timeline ul { margin: 0; padding-left: 1.1em; font-size: 0.97rem; }
.timeline ul li { margin-bottom: 4px; }

@media print {
  .site-header, .site-footer, .no-print, .skip { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .hero, .section { background: #fff !important; padding: 14pt 0 !important; border-radius: 0 !important; }
  .split { grid-template-columns: 1fr 2.4fr; gap: 20pt; }
  .timeline > li { break-inside: avoid; }
  h1 { font-size: 24pt; }
  h2 { font-size: 15pt; }
  .tbd { background: none; border: 0; }
}
@media (max-width: 420px) {
  .header-inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 1.02rem; }
  .brand-role { font-size: 0.6rem; letter-spacing: 0.14em; }
}
