/* EsteticaMente — foglio di stile condiviso pagine servizio
   Estratto identico dal blocco <style> di filo-arabo-civitavecchia,
   verificato byte-per-byte uguale anche su epilazione-civitavecchia
   e manicure-pedicure-civitavecchia. Pagine con esigenze extra
   aggiungono le proprie classi in un blocco <style> locale minimo. */

/* Font self-hosted: vedi css/fonts.css (@font-face condivisi con index.html) */

:root {
  --bg:        #F4F1ED;
  --bg-card:   #ffffff;
  --bg-subtle: #EDEAE6;
  --sage:      #8A9A8A;
  --sage-dark: #6B7D6B;
  --gold:      #C5A065;
  --gold-text: #5C6E5A; /* oro riservato a bordi/badge; su testo piccolo usa questo (4.99:1 su --bg, WCAG AA) */
  --ink:       #2C2C2C;
  --ink-mid:   #5A5A5A;
  --ink-light: #8A8A8A;
  --ff-serif:  'Playfair Display', Georgia, serif;
  --ff-sans:   'Montserrat', system-ui, sans-serif;
  --radius:    1.25rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 241, 237, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(138, 154, 138, 0.2);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.875rem 1.5rem;
  max-width: 800px; margin-inline: auto;
}
.nav-brand { display: flex; align-items: center; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--sage-dark); color: white;
  border-radius: 999px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover { background: #5a6b5a; transform: translateY(-1px); }

.wrap { width: min(760px, 100% - 3rem); margin-inline: auto; }

.breadcrumb {
  padding: 1.5rem 0 0;
  font-size: 0.75rem; color: var(--ink-light);
  display: flex; gap: 0.4rem; align-items: center; flex-wrap: wrap;
}
.breadcrumb a { color: var(--sage-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: 0.4; }

.page-hero { padding: 2.5rem 0 2rem; }
.page-badge {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.85rem;
  background: rgba(138, 154, 138, 0.12);
  border: 1px solid rgba(138, 154, 138, 0.25);
  border-radius: 999px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sage-dark); margin-bottom: 1.25rem;
}
.page-hero h1 {
  font-family: var(--ff-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400; line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: 1.5rem; color: var(--ink);
}
.page-hero h1 em { font-style: italic; color: var(--sage-dark); }
.page-intro {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--ink-mid); font-weight: 300; line-height: 1.85;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(138, 154, 138, 0.18);
}

.content-section { padding: 2.5rem 0; }
.content-section h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 400; line-height: 1.25;
  margin-bottom: 1rem; color: var(--ink);
}
.content-section h2 em { font-style: italic; color: var(--sage-dark); }
.content-section p {
  color: var(--ink-mid); line-height: 1.85;
  margin-bottom: 1.25rem; font-size: 0.975rem; font-weight: 300;
}
.content-section strong { color: var(--ink); font-weight: 500; }

.rituali-section {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(138, 154, 138, 0.18);
}
.rituali-section .section-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 0.5rem;
}
.rituali-section h2 {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 400; line-height: 1.25;
  margin-bottom: 2rem; color: var(--ink);
}
.rituali-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 560px) {
  .rituali-grid { grid-template-columns: repeat(2, 1fr); }
}
.rituale-card {
  background: var(--bg-card);
  border: 1px solid rgba(138, 154, 138, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.rituale-card:hover {
  box-shadow: 0 4px 20px rgba(138, 154, 138, 0.12);
  transform: translateY(-2px);
}
.rituale-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
}
.rituale-name {
  font-family: var(--ff-serif);
  font-size: 1.05rem; font-weight: 400; line-height: 1.3;
  color: var(--ink);
}
.rituale-name em { font-style: italic; color: var(--sage-dark); }
.rituale-desc {
  font-size: 0.82rem; font-weight: 300; line-height: 1.7;
  color: var(--ink-mid);
}

.pullquote {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: rgba(138, 154, 138, 0.08);
  border-left: 3px solid var(--sage);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p {
  font-family: var(--ff-serif); font-size: 1.15rem;
  font-style: italic; color: var(--sage-dark);
  line-height: 1.6; margin: 0;
}

.info-box {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  background: var(--bg-subtle);
  border-radius: var(--radius);
  font-size: 0.85rem; font-weight: 300; line-height: 1.8; color: var(--ink-mid);
}
.info-box strong { color: var(--ink); font-weight: 500; }
.info-box ul { padding-left: 1.25rem; margin-top: 0.5rem; }
.info-box ul li { margin-bottom: 0.25rem; }

.cta-box {
  margin: 3rem 0 0;
  padding: 2.5rem 2rem;
  background: var(--sage-dark);
  border-radius: var(--radius);
  text-align: center;
  color: white;
}
.cta-label {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(197, 160, 101, 0.85);
  margin-bottom: 0.75rem;
}
.cta-box h2 {
  font-family: var(--ff-serif); font-size: 1.75rem;
  font-weight: 400; line-height: 1.3;
  margin-bottom: 0.85rem; color: #F4F1ED;
}
.cta-box h2 em { font-style: italic; }
.cta-box p {
  font-size: 0.85rem; font-weight: 300; line-height: 1.7;
  color: rgba(244, 241, 237, 0.65); margin-bottom: 1.75rem;
}
.cta-buttons { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  padding: 0.8rem 1.75rem;
  background: #F4F1ED; color: var(--ink);
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-secondary {
  padding: 0.8rem 1.75rem;
  border: 1px solid rgba(244, 241, 237, 0.35); color: rgba(244, 241, 237, 0.8);
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em;
  transition: background 0.2s;
}
.btn-secondary:hover { background: rgba(244, 241, 237, 0.1); }

/* ── TRUST BADGE (rating) ──
   Vive sempre dentro .cta-box (sfondo scuro --sage-dark), su tutte le 9
   pagine servizio: i colori sono tarati per contrasto su sfondo scuro,
   non su --bg. .trust-badge-stars usa --gold (chiaro) e non --gold-text
   (scuro, pensato per --bg) — su --sage-dark --gold-text sarebbe quasi invisibile. */
.trust-badge { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 600; color: rgba(244, 241, 237, 0.7); text-decoration: none; }
.trust-badge-stars { color: var(--gold); font-size: .75rem; letter-spacing: 1px; }
.trust-badge-score { color: #F4F1ED; font-weight: 700; }

footer { margin-top: var(--space-m, 5rem); opacity: .8; text-align: center; font-size: .75rem; padding-bottom: 2rem; }
.social-nav { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1rem; font-size: 1.5rem; }
.social-link { transition: transform .2s; color: var(--ink-light); }
.social-link.mail { color: var(--sage); }
.social-link.ig   { color: #C13584; }
.social-link.fb   { color: #1877F2; }
.social-link.tt   { color: #010101; }
.social-link:hover { transform: scale(1.1); }
.social-link:focus-visible { outline: 3px solid var(--sage); outline-offset: 4px; border-radius: 4px; }

.fas, .fab {
  display: inline-block;
  width: 1em; height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.fa-envelope { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z'/%3E%3C/svg%3E"); }

/* ── HERO IMAGE ── */
.hero-img {
  width: 100%; height: 420px;
  object-fit: cover; object-position: center;
  border-radius: var(--radius); display: block;
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .cta-box { padding: 2rem 1.25rem; }
  .pullquote { padding: 1.25rem 1.5rem; }
  .hero-img { height: 260px; }
}
