
/* =========================================================
   Francesca Belfiore – Psicoterapeuta
   Palette: crema #FAF8F5 | marrone #6B4F3A | antracite #3A3A3A
   ========================================================= */

@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=EB+Garamond:ital,wght@0,400;0,500;1,400&family=Lato:wght@300;400&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; font-weight: 300; color: #3A3A3A; background: #FAF8F5; line-height: 1.8; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

:root {
  --crema: #FAF8F5;
  --crema-scura: #F0EBE3;
  --marrone: #6B4F3A;
  --marrone-chiaro: #9C7A5E;
  --antracite: #3A3A3A;
  --grigio: #888;
  --bianco: #fff;
  --linea: rgba(107,79,58,0.18);
}

/* ── HEADER ── */
header {
  position: fixed; top: 0; width: 100%;
  background: rgba(250,248,245,0.96);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid var(--linea);
  padding: 1.1rem 0;
}
nav { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2.5rem; }
.logo { text-align: left; }
.logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--marrone); }
.logo-title { font-family: 'EB Garamond', serif; font-style: italic; font-size: .88rem; color: var(--marrone-chiaro); letter-spacing: .06em; }
.menu { display: flex; list-style: none; gap: 2.5rem; }
.menu a { font-family: 'Lato', sans-serif; font-weight: 300; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--antracite); transition: color .3s; position: relative; padding-bottom: 3px; }
.menu a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--marrone); transition: width .3s; }
.menu a:hover, .menu a.active { color: var(--marrone); }
.menu a:hover::after, .menu a.active::after { width: 100%; }
.hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; }
.hamburger span { width: 24px; height: 1px; background: var(--antracite); transition: .3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: var(--crema);
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?w=1600') center/cover no-repeat;
  opacity: .06;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-logo-img { width: 220px; margin: 0 auto 2.5rem; opacity: .88; }
.hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: var(--marrone); line-height: 1.1; margin-bottom: .5rem; }
.hero-subtitle { font-family: 'EB Garamond', serif; font-style: italic; font-size: clamp(1.2rem, 2.5vw, 1.6rem); color: var(--marrone-chiaro); margin-bottom: 2.8rem; letter-spacing: .04em; }
.hero-divider { width: 48px; height: 1px; background: var(--marrone-chiaro); margin: 0 auto 2.5rem; }
.hero p { font-size: .98rem; color: var(--grigio); max-width: 480px; margin: 0 auto 2.8rem; line-height: 1.9; }
.cta-outline { display: inline-block; padding: .75rem 2.4rem; border: 1px solid var(--marrone); color: var(--marrone); font-family: 'Lato', sans-serif; font-weight: 300; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; transition: background .3s, color .3s; }
.cta-outline:hover { background: var(--marrone); color: var(--crema); }
.cta-filled { background: var(--marrone); color: var(--crema); }
.cta-filled:hover { background: #5a4030; }

/* ── SEZIONI GENERALI ── */
.section { padding: 6rem 2.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; letter-spacing: .1em; text-transform: uppercase; color: var(--marrone); margin-bottom: 1rem; }
.section-header .divider { width: 40px; height: 1px; background: var(--marrone-chiaro); margin: 0 auto 1.2rem; }
.section-header p { color: var(--grigio); font-size: .95rem; max-width: 520px; margin: 0 auto; }
.bg-crema { background: var(--crema-scura); }

/* ── SERVIZI CARDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2px; }
.card { background: var(--crema); padding: 3rem 2.5rem; text-align: center; border: 1px solid var(--linea); transition: background .3s; }
.card:hover { background: var(--bianco); }
.card-icon { margin: 0 auto 1.8rem; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }
.card-icon i { font-size: 1.4rem; color: var(--marrone-chiaro); }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; font-weight: 400; color: var(--marrone); margin-bottom: .8rem; letter-spacing: .04em; }
.card p { font-size: .88rem; color: var(--grigio); line-height: 1.9; }

/* ── CHI SONO ── */
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; height: 520px; object-fit: cover; filter: grayscale(20%); }
.about-img::after { content: ''; position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px; border: 1px solid var(--linea); z-index: -1; }
.about-text h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 300; letter-spacing: .1em; text-transform: uppercase; color: var(--marrone); margin-bottom: 1.5rem; }
.about-text .divider { width: 40px; height: 1px; background: var(--marrone-chiaro); margin-bottom: 2rem; }
.about-text p { font-size: .95rem; color: #555; margin-bottom: 1.2rem; }
.badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.badge { border: 1px solid var(--linea); padding: .3rem .9rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--marrone-chiaro); }

/* ── TARIFFE ── */
.tariffe-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2px; }
.tariffa-card { background: var(--crema); border: 1px solid var(--linea); padding: 3rem 2rem; text-align: center; transition: background .3s; }
.tariffa-card:hover { background: var(--bianco); }
.tariffa-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--marrone); margin-bottom: 1.5rem; letter-spacing: .04em; }
.tariffa-card .prezzo { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 300; color: var(--marrone); margin-bottom: .3rem; }
.tariffa-card .prezzo span { font-size: 1rem; color: var(--grigio); }
.tariffa-card .divider { width: 30px; height: 1px; background: var(--linea); margin: 1.5rem auto; }
.tariffa-card ul { list-style: none; text-align: left; }
.tariffa-card ul li { font-size: .88rem; color: var(--grigio); padding: .35rem 0; border-bottom: 1px solid var(--linea); }
.tariffa-card ul li::before { content: '— '; color: var(--marrone-chiaro); }
.nota-fiscale { margin-top: 3rem; text-align: center; padding: 2.5rem; border: 1px solid var(--linea); }
.nota-fiscale p { font-size: .88rem; color: var(--grigio); }

/* ── CONTATTI ── */
.contatti-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; }
.info-box h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--marrone); margin-bottom: 2rem; }
.info-item { display: flex; gap: 1.2rem; margin-bottom: 1.8rem; align-items: flex-start; }
.info-item i { color: var(--marrone-chiaro); font-size: 1rem; margin-top: 3px; width: 18px; }
.info-item strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--marrone); margin-bottom: .2rem; font-weight: 400; }
.info-item span { font-size: .9rem; color: var(--grigio); }
.map { margin-top: 2rem; }
.map iframe { width: 100%; height: 220px; border: 0; filter: grayscale(60%); }
form h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 300; color: var(--marrone); margin-bottom: 2rem; }
.form-group { margin-bottom: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--marrone-chiaro); display: block; margin-bottom: .5rem; }
input, textarea, select {
  width: 100%; padding: .85rem 0;
  border: none; border-bottom: 1px solid var(--linea);
  background: transparent; font-family: 'Lato', sans-serif;
  font-weight: 300; font-size: .9rem; color: var(--antracite);
  transition: border-color .3s; outline: none;
}
input:focus, textarea:focus, select:focus { border-bottom-color: var(--marrone); }
textarea { resize: none; min-height: 100px; }
select { -webkit-appearance: none; appearance: none; cursor: pointer; }
.checkbox-group { display: flex; align-items: flex-start; gap: .8rem; margin-top:.5rem; }
.checkbox-group input { width: auto; border: 1px solid var(--linea); padding: 0; margin-top: 2px; accent-color: var(--marrone); }
.checkbox-group label { font-size: .8rem; color: var(--grigio); text-transform: none; letter-spacing: 0; }
.checkbox-group a { color: var(--marrone); border-bottom: 1px solid var(--linea); }
.btn-submit { margin-top: 2rem; padding: .85rem 2.8rem; border: 1px solid var(--marrone); background: transparent; color: var(--marrone); font-family: 'Lato', sans-serif; font-weight: 300; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; cursor: pointer; transition: background .3s, color .3s; }
.btn-submit:hover:not(:disabled) { background: var(--marrone); color: var(--crema); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }
.msg { padding: 1rem; margin-top: 1rem; font-size: .85rem; display: none; }
.msg-ok { background: #f0ebe3; color: var(--marrone); border-left: 2px solid var(--marrone-chiaro); }
.msg-err { background: #fdf0f0; color: #8b2c2c; border-left: 2px solid #c0a0a0; }

/* ── PRIVACY ── */
.privacy-content { max-width: 800px; margin: 0 auto; }
.privacy-section { margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--linea); }
.privacy-section:last-child { border-bottom: none; }
.privacy-section h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; color: var(--marrone); margin-bottom: 1.2rem; }
.privacy-section ul { padding-left: 1.2rem; }
.privacy-section li { margin-bottom: .6rem; font-size: .9rem; color: #555; }
.privacy-section p { font-size: .9rem; color: #555; margin-bottom: .8rem; }
.privacy-section a { color: var(--marrone); border-bottom: 1px solid var(--linea); }

/* ── PAGE HERO ── */
.page-hero { background: var(--crema); text-align: center; padding: 10rem 2rem 5rem; border-bottom: 1px solid var(--linea); }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: var(--marrone); margin-bottom: .8rem; }
.page-hero .divider { width: 40px; height: 1px; background: var(--marrone-chiaro); margin: 1rem auto; }
.page-hero p { color: var(--grigio); font-size: .92rem; letter-spacing: .04em; }

/* ── FOOTER ── */
footer { background: var(--marrone); color: rgba(250,248,245,.7); padding: 4rem 2.5rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 4rem; margin-bottom: 3rem; }
footer .footer-logo-name { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; letter-spacing: .18em; text-transform: uppercase; color: var(--crema); margin-bottom: .3rem; }
footer .footer-logo-title { font-family: 'EB Garamond', serif; font-style: italic; font-size: .88rem; color: rgba(250,248,245,.6); }
footer p { font-size: .85rem; margin-top: 1rem; line-height: 1.9; }
footer h4 { font-family: 'Lato', sans-serif; font-weight: 400; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--crema); margin-bottom: 1.2rem; }
footer ul { list-style: none; }
footer ul li { margin-bottom: .6rem; font-size: .85rem; }
footer a { color: rgba(250,248,245,.6); transition: color .3s; }
footer a:hover { color: var(--crema); }
.footer-bottom { max-width: 1100px; margin: 0 auto; padding-top: 2rem; border-top: 1px solid rgba(250,248,245,.15); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .78rem; }

/* ── BIO FORMAZIONE ── */
.bio-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; align-items: start; }
.bio-img img { width: 100%; height: 540px; object-fit: cover; filter: grayscale(15%); }
.formazione-list { list-style: none; margin-top: 1rem; }
.formazione-list li { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--linea); }
.formazione-list .anno { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--marrone-chiaro); min-width: 45px; padding-top: 2px; }
.formazione-list strong { display: block; font-size: .9rem; color: var(--antracite); font-weight: 400; margin-bottom: .2rem; }
.formazione-list span { font-size: .85rem; color: var(--grigio); }

/* ── SERVIZI DETAIL ── */
.servizio-detail { display: grid; grid-template-columns: 60px 1fr; gap: 2rem; align-items: start; padding: 2.5rem 0; border-bottom: 1px solid var(--linea); }
.servizio-detail:first-child { border-top: 1px solid var(--linea); }
.servizio-n { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; color: var(--linea); line-height: 1; color: #c8b8ab; }
.servizio-detail h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 400; color: var(--marrone); margin-bottom: .6rem; }
.servizio-detail p { font-size: .9rem; color: var(--grigio); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .about-grid, .contatti-grid, .bio-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-img::after { display: none; }
  .about-img img, .bio-img img { height: 320px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .menu { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--crema); flex-direction: column; padding: 2rem 2.5rem; gap: 1.5rem; border-bottom: 1px solid var(--linea); }
  .menu.open { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .tariffe-grid { grid-template-columns: 1fr; }
}
