/* Pranopratica Studio — foglio di stile. Nessuna risorsa esterna: font ospitati sul sito, niente script di terze parti. */

@font-face { font-family: "Cormorant"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/cormorant-400.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/cormorant-500.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/cormorant-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant"; font-weight: 400; font-style: italic; font-display: swap; src: url("fonts/cormorant-400i.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/figtree-600.woff2") format("woff2"); }

:root {
  --viola-intenso: #5A3A72;
  --viola: #664A73;
  --indaco: #27204A;
  --lilla: #EDE7F2;
  --lilla-pieno: #E3D9EA;
  --lilla-riga: #D9D2E2;
  --oro: #CAB27A;
  --oro-chiaro: #E6CF8E;
  --bianco: #FFFFFF;
  --testo: #27204A;
  --testo-2: #4E4058;
  --testo-3: #8A7A98;
  --su-scuro: #FFFFFF;
  --su-scuro-2: #EDE6F0;
  --su-scuro-3: #E3D9E8;
  --wa: #1EBE5D;
  --wa-testo: #0E2A18;
  --gutter: 20px;
  --raggio-sezione: 56px;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--lilla);
  color: var(--testo);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  padding-bottom: 78px; /* spazio per la barra WhatsApp fissa su telefono */
}
@media (min-width: 760px) { body { font-size: 19px; padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--viola); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--indaco); }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }

h1, h2, h3 { margin: 0 0 0.45em; font-family: var(--serif); font-weight: 500; line-height: 1.08; color: var(--testo); }
h1 { font-size: clamp(2.5rem, 7vw, 4.1rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h3 { font-size: 1.55rem; font-weight: 600; line-height: 1.2; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
strong { font-weight: 600; }

.wrap { width: min(100% - 2 * var(--gutter), 1160px); margin-inline: auto; }
.prosa { max-width: 60ch; }
.citazione { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 3vw, 1.95rem); line-height: 1.25; color: var(--viola); max-width: 30ch; margin: 0 0 0.6em; }
.firma { font-size: 1rem; color: var(--testo-3); }
.scuro .citazione { color: var(--oro-chiaro); }
.scuro .firma { color: var(--su-scuro-3); }

/* Pulsanti */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; min-height: 52px;
  font-weight: 600; font-size: 1.05rem; line-height: 1.1; text-decoration: none;
  border: 1.5px solid transparent; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-wa { background: var(--wa); color: var(--wa-testo); }
.btn-wa:hover { background: #17A650; color: var(--wa-testo); }
.btn-oro { background: var(--oro-chiaro); color: var(--indaco); }
.btn-oro:hover { background: var(--oro); color: var(--indaco); }
.btn-indaco { background: var(--indaco); color: var(--bianco); }
.btn-indaco:hover { background: #1A1535; color: var(--bianco); }
.btn-contorno { background: transparent; color: var(--viola); border-color: var(--viola); }
.btn-contorno:hover { background: var(--viola); color: var(--bianco); }
.scuro .btn-contorno { color: var(--oro-chiaro); border-color: var(--oro-chiaro); }
.scuro .btn-contorno:hover { background: var(--oro-chiaro); color: var(--indaco); }
.link-oro { color: var(--bianco); font-weight: 600; text-decoration: underline; text-decoration-color: var(--oro-chiaro); text-underline-offset: 6px; }
.link-oro:hover { color: var(--oro-chiaro); }

/* Header */
.header { background: var(--viola-intenso); color: var(--su-scuro); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px 0; flex-wrap: wrap; }
.marchio { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--su-scuro); }
.marchio img { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 3px var(--viola-intenso), 0 0 0 4.5px var(--oro-chiaro); }
.marchio-nome { display: flex; flex-direction: column; line-height: 1.05; }
.marchio-nome b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; letter-spacing: 0.08em; color: var(--oro-chiaro); }
.marchio-nome span { font-size: 0.8rem; letter-spacing: 0.04em; color: var(--su-scuro-3); margin-top: 4px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 600; font-size: 0.95rem; }
.nav a { color: var(--su-scuro); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--oro-chiaro); color: var(--su-scuro); }
@media (min-width: 760px) {
  .header .wrap { padding: 16px 0; }
  .marchio img { width: 60px; height: 60px; }
  .marchio-nome b { font-size: 1.55rem; }
  .marchio-nome span { font-size: 0.85rem; }
  .nav { gap: 6px 26px; font-size: 1rem; }
}

/* Sezioni */
.sezione { padding: 56px 0; }
@media (min-width: 760px) { .sezione { padding: 88px 0; } }
.scuro { background: var(--viola-intenso); color: var(--su-scuro); position: relative; overflow: hidden; }
.scuro h1, .scuro h2, .scuro h3 { color: var(--su-scuro); }
.scuro p { color: var(--su-scuro-2); }
.scuro a:not(.btn) { color: var(--oro-chiaro); }
.viola { background: var(--viola); }
.lilla-pieno { background: var(--lilla-pieno); }
.oro { background: var(--oro-chiaro); color: var(--indaco); position: relative; overflow: hidden; }
.tondo-sopra { border-radius: var(--raggio-sezione) var(--raggio-sezione) 0 0; }
.tondo-sotto { border-radius: 0 0 var(--raggio-sezione) var(--raggio-sezione); }
@media (min-width: 760px) { :root { --raggio-sezione: 72px; } }

/* Motivi orientali in filigrana: un solo SVG inline per sezione, nessuna immagine esterna */
.motivo { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.motivo-onde { opacity: 0.18; }
.motivo-tesori { opacity: 0.14; }
.oro .motivo-onde { opacity: 0.2; }
.lilla-pieno .motivo-onde { opacity: 0.3; }
.sezione > .wrap { position: relative; }

.due-colonne { display: grid; gap: 40px; align-items: center; }
@media (min-width: 760px) { .due-colonne { grid-template-columns: 1.15fr 0.85fr; gap: 64px; } .due-colonne.inverti { grid-template-columns: 0.85fr 1.15fr; } }

/* Foto tonde e ad arco */
.foto-luna { width: 100%; max-width: 420px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; margin-inline: auto; position: relative; }
.foto-arco { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 32px 32px; margin-inline: auto; }
.foto-arco-giu { width: 100%; max-width: 420px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 32px 32px 999px 999px; margin-inline: auto; }
.anello-oro-scuro { box-shadow: 0 0 0 10px var(--viola-intenso), 0 0 0 11.5px var(--oro-chiaro); }
.anello-oro-viola { box-shadow: 0 0 0 10px var(--viola), 0 0 0 11.5px var(--oro-chiaro); }
.anello-oro-lilla { box-shadow: 0 0 0 8px var(--lilla), 0 0 0 9.5px var(--oro); }
.anello-oro-pieno { box-shadow: 0 0 0 8px var(--lilla-pieno), 0 0 0 9.5px var(--oro); }
.anello-indaco-oro { box-shadow: 0 0 0 10px var(--oro-chiaro), 0 0 0 11.5px var(--indaco); }
.alone { position: relative; display: flex; justify-content: center; }
.alone::before { content: ""; position: absolute; left: 50%; top: 50%; width: 150%; max-width: 620px; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(230, 207, 142, 0.42) 0%, rgba(230, 207, 142, 0.12) 38%, rgba(230, 207, 142, 0) 62%); pointer-events: none; }

/* Hero */
.hero { padding: 48px 0 72px; }
@media (min-width: 760px) { .hero { padding: 72px 0 96px; } }
.hero .occhiello { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--oro-chiaro); margin-bottom: 0.8em; }
.hero h1 { max-width: 15ch; }
.hero .sotto { font-size: 1.2rem; max-width: 44ch; margin-bottom: 1.6em; }
.hero .azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hero .nota { font-size: 0.95rem; color: var(--su-scuro-3); margin-top: 1.6em; }
.hero .foto-luna { max-width: 300px; }
@media (min-width: 760px) { .hero .foto-luna { max-width: 420px; } }

/* Striscia credibilità */
.striscia { margin-top: -30px; position: relative; z-index: 1; }
.striscia .wrap > div { background: var(--bianco); border: 1.5px solid var(--oro); border-radius: 32px; padding: 16px 24px; display: flex; align-items: center; gap: 14px; font-size: 1rem; color: var(--indaco); }
.striscia .wrap > div::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--oro); flex: none; }
@media (min-width: 760px) { .striscia .wrap > div { border-radius: 999px; padding: 20px 40px; justify-content: center; text-align: center; font-size: 1.05rem; } }

/* Elenco a pillole */
.pillole { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pillole li { background: var(--bianco); border-radius: 28px; padding: 14px 22px 14px 16px; display: flex; align-items: center; gap: 14px; }
@media (min-width: 760px) { .pillole li { border-radius: 999px; padding: 16px 28px 16px 20px; gap: 16px; } }
.pillole li::before { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--indaco) radial-gradient(circle, var(--oro-chiaro) 0 5px, transparent 5.5px); }

/* Passi numerati */
.passi { list-style: none; margin: 0; padding: 0; counter-reset: passo; display: flex; flex-direction: column; }
.passi li { counter-increment: passo; display: flex; gap: 18px; align-items: flex-start; padding-bottom: 22px; position: relative; }
.passi li::before { content: counter(passo); flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--oro); color: var(--viola); background: var(--lilla); font-family: var(--serif); font-weight: 500; font-size: 1.6rem; display: grid; place-items: center; position: relative; z-index: 1; }
.passi li::after { content: ""; position: absolute; left: 23.5px; top: 48px; bottom: 0; width: 1px; background: var(--oro); opacity: 0.8; }
.passi li:last-child { padding-bottom: 0; }
.passi li:last-child::after { display: none; }
.passi li:last-child::before { background: var(--indaco); color: var(--oro-chiaro); border-color: var(--indaco); font-weight: 600; }
.passi p { padding-top: 10px; color: var(--testo-2); }
.passi strong { color: var(--testo); }
.passi-griglia { counter-reset: passo; list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .passi-griglia { grid-template-columns: repeat(4, 1fr); } }
.passi-griglia li { counter-increment: passo; display: flex; flex-direction: column; gap: 10px; }
.passi-griglia li::before { content: counter(passo); width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--oro); color: var(--viola); font-family: var(--serif); font-weight: 500; font-size: 1.6rem; display: grid; place-items: center; }
.passi-griglia h3 { margin: 0; }
.passi-griglia p { color: var(--testo-2); }

/* Banda citazione */
.banda .wrap { display: grid; gap: 36px; align-items: center; text-align: center; }
@media (min-width: 760px) { .banda .wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; text-align: left; } }
.banda .foto-luna { max-width: 300px; }
@media (min-width: 760px) { .banda .foto-luna { max-width: 380px; } }
.banda .etichetta { font-size: 0.85rem; letter-spacing: 0.22em; color: var(--oro-chiaro); margin-bottom: 1em; }
.banda .citazione { font-size: clamp(1.75rem, 3.5vw, 2.5rem); color: var(--su-scuro); max-width: 24ch; }
.sole { display: block; width: 64px; height: 56px; margin-bottom: 14px; }
.banda .sole { margin-inline: auto; }
@media (min-width: 760px) { .banda .sole { margin-inline: 0; } }

/* Cartigli (recensioni, FAQ) */
.cartigli { display: grid; gap: 28px; }
@media (min-width: 760px) { .cartigli { grid-template-columns: repeat(3, 1fr); } }
.cartiglio { background: var(--bianco); border-radius: 36px; padding: 36px 28px 26px; position: relative; margin: 0; }
.cartiglio::before { content: "\201C"; position: absolute; top: -18px; left: 26px; width: 44px; height: 44px; border-radius: 50%; background: var(--viola); color: var(--oro-chiaro); font-family: var(--serif); font-size: 2.6rem; line-height: 1; display: grid; place-items: center; padding-top: 10px; }
.cartiglio p { font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; color: var(--testo); margin-bottom: 0.7em; }
.cartiglio footer { font-family: var(--sans); font-size: 0.95rem; color: var(--testo-3); }
.titolo-riga { display: flex; align-items: center; gap: 24px; margin-bottom: 1.4em; }
.titolo-riga h2 { margin: 0; }
.titolo-riga::after { content: ""; flex: 1; height: 1px; background: var(--oro); }
.viola .titolo-riga h2 { color: var(--bianco); }

.faq { display: grid; gap: 20px; }
@media (min-width: 760px) { .faq { grid-template-columns: repeat(2, 1fr); gap: 24px 32px; } }
.faq div { background: var(--bianco); border-radius: 28px; padding: 22px 26px; }
.faq h3 { margin-bottom: 0.3em; }
.faq p { color: var(--testo-2); }

/* Contatti */
.scheda { background: var(--bianco); border-radius: 36px; padding: 24px 26px; }
.scheda ul { list-style: none; margin: 0; padding: 0; }
.scheda li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--lilla-riga); }
.scheda li:last-child { border-bottom: 0; }
.scheda li span:last-child { color: var(--testo-3); text-align: right; white-space: nowrap; }
.scheda.paesi ul { display: grid; gap: 0 32px; }
@media (min-width: 760px) { .scheda.paesi ul { grid-template-columns: 1fr 1fr; } }
.contatti-lista { list-style: none; margin: 0 0 1.4em; padding: 0; }
.contatti-lista li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--lilla-riga); }
.contatti-lista li:last-child { border-bottom: 1px solid var(--lilla-riga); }
.contatti-lista li span:first-child { color: var(--testo-3); font-size: 0.95rem; }

/* Formazione (Chi sono) */
.tappe { list-style: none; margin: 0 0 1.2em; padding: 0; }
.tappe li { display: flex; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(230, 207, 142, 0.35); }
.tappe li:last-child { border-bottom: 1px solid rgba(230, 207, 142, 0.35); }
.tappe b { flex: none; width: 110px; font-family: var(--serif); font-weight: 500; font-size: 1.5rem; color: var(--oro-chiaro); line-height: 1.2; }
.diplomi { display: grid; gap: 16px; }
.diplomi img { border-radius: 10px; }
.diplomi .grande { box-shadow: 0 0 0 1.5px var(--oro); }
.diplomi .due { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Chiusura oro e footer */
.chiusura .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 760px) { .chiusura .wrap { grid-template-columns: 0.8fr 1.2fr; gap: 64px; } }
.chiusura h2 { color: var(--indaco); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.chiusura p { color: #3E2C48; font-size: 1.15rem; max-width: 44ch; }
.chiusura .foto-arco { max-width: 340px; }
@media (min-width: 760px) { .chiusura .foto-arco { max-width: 440px; } }

.footer { background: var(--indaco); color: #D9CFE0; font-size: 0.95rem; }
.footer .wrap { padding: 44px 0 32px; display: grid; gap: 28px; }
@media (min-width: 760px) { .footer .wrap { grid-template-columns: 1.4fr 1fr; } }
.footer .nome { font-family: var(--serif); font-size: 1.4rem; letter-spacing: 0.08em; color: var(--oro-chiaro); display: block; margin-bottom: 8px; }
.footer a { color: var(--oro-chiaro); }
.footer p { margin-bottom: 0.4em; }
.footer .legale { grid-column: 1 / -1; border-top: 1px solid #4A3E6E; padding-top: 16px; font-size: 0.85rem; color: #B9A6C9; }

/* Barra WhatsApp fissa su telefono */
.barra-wa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(237, 231, 242, 0.96); border-top: 1px solid var(--lilla-riga); backdrop-filter: blur(6px); }
.barra-wa .btn { width: 100%; }
@media (min-width: 760px) { .barra-wa { display: none; } }

/* Pagine di testo */
.testo-lungo { max-width: 68ch; }
.testo-lungo h2 { font-size: 1.7rem; margin-top: 1.6em; }
.segnaposto { border: 2px dashed var(--oro); border-radius: 14px; background: #FFFBF0; padding: 2px 10px; color: #6B5A2A; font-size: 0.95rem; display: inline; }
