/* ── messaggiotrattamenti.vip — shared styles ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --ivory: #FAF8F5;
  --beige: #F0EAE0;
  --warm-beige: #E8DDD0;
  --gold: #B8986A;
  --gold-light: #D4B896;
  --gold-dark: #8A6E42;
  --taupe: #8C7B6E;
  --charcoal: #2C2420;
  --black: #1A1410;
  --white: #FFFFFF;
  --rose: #C4A5A0;
  --rose-light: #F5EDEB;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-w: 1200px;
}

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

/* UTILITY */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.gold-line { width: 48px; height: 1px; background: var(--gold); margin: 0 auto 28px; }
.gold-line-left { width: 48px; height: 1px; background: var(--gold); margin: 0 0 28px; }
.eyebrow { font-family: var(--font-body); font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--black); line-height: 1.2; margin-bottom: 20px; }
.section-subtitle { font-size: 15px; color: var(--taupe); max-width: 560px; line-height: 1.8; }

/* BUTTONS */
.btn-primary { display: inline-block; padding: 14px 36px; background: var(--charcoal); color: var(--white); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; border: none; cursor: pointer; transition: background .25s, transform .2s; }
.btn-primary:hover { background: var(--black); transform: translateY(-1px); }
.btn-ghost { display: inline-block; padding: 13px 35px; border: 1px solid var(--gold); color: var(--gold); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: all .25s; }
.btn-ghost:hover { background: var(--gold); color: var(--white); }
.btn-gold { display: inline-block; padding: 14px 36px; background: var(--gold); color: var(--white); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; transition: background .25s, transform .2s; }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* HEADER */
#site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(250,248,245,0.96); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(184,152,106,0.15); transition: box-shadow .3s; }
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.header-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-name { font-family: var(--font-display); font-size: 18px; font-weight: 400; color: var(--black); letter-spacing: .02em; line-height: 1.1; }
.logo-tagline { font-size: 9px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); line-height: 1; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); transition: color .2s; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--black); }
.main-nav .nav-cta { padding: 10px 24px; background: var(--gold); color: var(--white) !important; font-size: 10px; letter-spacing: .18em; }
.main-nav .nav-cta:hover { background: var(--gold-dark); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--charcoal); }
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: var(--ivory); z-index: 99; padding: 40px 24px; flex-direction: column; gap: 28px; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-display); font-size: 26px; font-weight: 300; color: var(--black); border-bottom: 1px solid var(--beige); padding-bottom: 20px; }

/* PAGE HERO */
.page-hero { padding-top: 72px; position: relative; min-height: 55vh; display: flex; align-items: flex-end; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.page-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,20,16,.85) 0%, rgba(26,20,16,.3) 60%, transparent 100%); }
.page-hero-content { position: relative; z-index: 1; max-width: var(--max-w); width: 100%; margin: 0 auto; padding: 60px 24px; }
.page-hero-content .eyebrow { color: var(--gold-light); }
.page-hero-content h1 { font-family: var(--font-display); font-size: clamp(2rem,4.5vw,3.5rem); font-weight: 300; color: var(--white); line-height: 1.15; max-width: 700px; margin-bottom: 16px; }
.page-hero-content p { color: rgba(255,255,255,.8); font-size: 15px; max-width: 540px; line-height: 1.8; margin-bottom: 28px; }

/* TREATMENT HERO */
.treatment-hero { padding-top: 72px; position: relative; min-height: 60vh; display: flex; align-items: flex-end; }
.treatment-hero-bg { position: absolute; inset: 0; }
.treatment-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.treatment-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,20,16,.88) 0%, rgba(26,20,16,.2) 70%); }
.treatment-hero-content { position: relative; z-index: 1; max-width: var(--max-w); width: 100%; margin: 0 auto; padding: 60px 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
@media(max-width:700px){.treatment-hero-content{flex-direction:column;align-items:flex-start;}}
.thc-text .eyebrow { color: var(--gold-light); }
.thc-text h1 { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,3rem); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 12px; }
.thc-text p { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.8; max-width: 480px; }
.thc-meta { background: rgba(250,248,245,.1); border: 1px solid rgba(184,152,106,.3); padding: 24px 28px; backdrop-filter: blur(6px); flex-shrink: 0; min-width: 220px; }
.thc-meta-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 10px 0; border-bottom: 1px solid rgba(184,152,106,.15); }
.thc-meta-row:last-child { border-bottom: none; }
.thc-meta-label { font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-light); }
.thc-meta-value { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); font-weight: 300; }

/* BREADCRUMB */
.breadcrumb { padding: 16px 24px; background: var(--ivory); border-bottom: 1px solid var(--warm-beige); }
.breadcrumb-inner { max-width: var(--max-w); margin: 0 auto; display: flex; align-items: center; gap: 8px; }
.breadcrumb span, .breadcrumb a { font-size: 11px; color: var(--taupe); letter-spacing: .08em; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--gold-light); }

/* TREATMENT BODY */
.treatment-body { padding: 80px 24px; background: var(--white); }
.treatment-body-inner { max-width: var(--max-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 72px; align-items: start; }
@media(max-width:1000px){.treatment-body-inner{grid-template-columns:1fr;}}
.treatment-desc { font-size: 16px; line-height: 1.85; color: var(--charcoal); margin-bottom: 40px; }
.treatment-desc p { margin-bottom: 20px; }
.benefits-list-title { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.benefits-list ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.benefits-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; color: var(--charcoal); line-height: 1.6; }
.benefits-list li::before { content: ''; width: 20px; height: 1px; background: var(--gold); flex-shrink: 0; margin-top: 12px; }

/* SIDEBAR */
.sidebar-book-card { background: var(--charcoal); padding: 36px 28px; margin-bottom: 24px; position: sticky; top: 92px; }
.sbc-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 300; color: var(--white); margin-bottom: 8px; }
.sbc-subtitle { font-size: 12px; color: rgba(255,255,255,.6); margin-bottom: 24px; line-height: 1.6; }
.sbc-contacts { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.sbc-contact { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8); font-size: 13px; transition: color .2s; }
.sbc-contact:hover { color: var(--gold-light); }
.sbc-divider { height: 1px; background: rgba(255,255,255,.1); margin: 20px 0; }
.sbc-note { font-size: 11px; color: rgba(255,255,255,.4); line-height: 1.6; }

/* FAQ */
.faq-section { padding: 60px 24px; background: var(--ivory); }
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 300; color: var(--black); margin-bottom: 32px; }
.faq-item { border-bottom: 1px solid var(--warm-beige); }
.faq-q { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; font-size: 14px; color: var(--charcoal); font-weight: 500; gap: 16px; }
.faq-q:hover { color: var(--gold); }
.faq-icon { font-size: 20px; color: var(--gold); flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 18px; font-size: 13.5px; color: var(--taupe); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }

/* RELATED */
.related-section { padding: 64px 24px; background: var(--beige); }
.related-inner { max-width: var(--max-w); margin: 0 auto; }
.related-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; color: var(--black); margin-bottom: 32px; }
.related-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media(max-width:700px){.related-grid{grid-template-columns:1fr;}}
.treatment-card { border: 1px solid var(--warm-beige); overflow: hidden; cursor: pointer; transition: border-color .25s, transform .25s; background: var(--ivory); }
.treatment-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.tc-img { aspect-ratio: 3/2; overflow: hidden; }
.tc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.treatment-card:hover .tc-img img { transform: scale(1.04); }
.tc-body { padding: 20px; }
.tc-duration { font-size: 10px; letter-spacing: .15em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.tc-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; color: var(--black); margin-bottom: 10px; }
.tc-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.tc-cta::after { content: '→'; }

/* FOOTER */
#site-footer { background: var(--black); padding: 64px 24px 32px; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 32px; }
@media(max-width:900px){.footer-top{grid-template-columns:1fr 1fr;}}
@media(max-width:500px){.footer-top{grid-template-columns:1fr;}}
.footer-logo-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--white); font-weight: 300; margin-bottom: 4px; }
.footer-logo-domain { font-size: 11px; letter-spacing: .14em; color: var(--gold); margin-bottom: 16px; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.7; max-width: 260px; }
.footer-col-title { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links li a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-links li a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 12px; line-height: 1.5; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.3); }
.footer-credit { font-size: 11px; margin-top: 8px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 14px; color: rgba(255,255,255,.5); transition: all .2s; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }

/* COOKIE BANNER */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--black); border-top: 1px solid rgba(184,152,106,.3); padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
#cookie-banner p { font-size: 13px; color: rgba(255,255,255,.75); line-height: 1.6; max-width: 700px; }
#cookie-banner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }
.cb-btn { padding: 10px 22px; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; border: none; font-family: var(--font-body); }
.cb-accept { background: var(--gold); color: var(--white); }
.cb-reject { background: transparent; border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.6); }
.cb-settings { background: transparent; border: 1px solid var(--gold); color: var(--gold); }

/* FLOATING */
#scroll-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; background: var(--gold); color: var(--white); border: none; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s, transform .3s; z-index: 50; }
#scroll-top.visible { opacity: 1; }
#scroll-top:hover { transform: translateY(-3px); }
#wa-float { position: fixed; bottom: 32px; left: 32px; z-index: 50; display: flex; align-items: center; gap: 10px; }
.wa-btn { width: 52px; height: 52px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: white; box-shadow: 0 4px 16px rgba(37,211,102,.35); transition: transform .2s; text-decoration: none; }
.wa-btn:hover { transform: scale(1.08); }

/* RESPONSIVE */
@media(max-width:768px){
  .main-nav{display:none;}
  .hamburger{display:flex;}
}
