﻿@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght,SOFT@9..144,400..700,70&family=Nunito+Sans:wght@400;600;700;800&display=swap");

:root {
  --cream: #fff8f0;
  --cream-deep: #f5eadc;
  --pink: #ecc2b9;
  --pink-soft: #f8dfda;
  --pink-tint: #fff0ed;
  --sage: #c8d8b9;
  --sage-deep: #66795c;
  --sage-tint: #edf4e5;
  --dust: #d5b8a8;
  --terra: #b96f55;
  --terra-deep: #814936;
  --ink: #3e2d2a;
  --ink-soft: #6f5b55;
  --smoke: #4d3b37;
  --line: rgba(91, 58, 55, 0.14);
  --shadow-soft: 0 24px 60px rgba(87, 57, 44, 0.16);
  --shadow-card: 0 16px 38px rgba(87, 57, 44, 0.1);
  --r-lg: 28px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --font-soft: "Nunito Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--smoke);
  font-family: var(--font-body);
  line-height: 1.68;
  --mx: 50vw;
  --my: 50vh;
}
body::before {
  content: "\2665";
  position: fixed;
  left: var(--mx);
  top: var(--my);
  z-index: 9999;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--sage-deep);
  font-size: 24px;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, -54%) rotate(-10deg);
  opacity: .9;
  text-shadow: 0 8px 18px rgba(102, 121, 92, .22);
  filter: drop-shadow(0 2px 0 rgba(255, 248, 240, .8));
  transition: opacity .2s ease, transform .18s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 1rem; color: var(--ink); font-family: var(--font-display); line-height: 1.05; letter-spacing: 0; }
h1 { font-size: clamp(2.8rem, 7vw, 6.3rem); max-width: 980px; }
h2 { font-size: clamp(2rem, 4.4vw, 4rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); }
em { color: var(--terra); }

.wrap { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.section { position: relative; padding: clamp(70px, 9vw, 124px) 0; overflow: hidden; }
.section--cream { background: var(--cream-deep); }
.section--pink { background: var(--pink-tint); }
.center { text-align: center; }
.maxw-640 { max-width: 640px; }
.mx-auto { margin-inline: auto; }
.lead { color: var(--ink-soft); font-size: clamp(1.08rem, 1.8vw, 1.35rem); max-width: 720px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 240, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.navwrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; color: var(--terra-deep); }
.brand__mark { display: block; width: clamp(150px, 17vw, 196px); height: auto; max-height: 58px; object-fit: contain; }
.brand__mark--footer { width: 184px; filter: drop-shadow(0 8px 24px rgba(0,0,0,.18)); }
.nav { display: flex; align-items: center; gap: 24px; font-weight: 800; color: var(--ink-soft); }
.nav a { position: relative; font-size: .96rem; }
.nav a.is-active, .nav a:hover { color: var(--terra-deep); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 2px; background: var(--terra); border-radius: 2px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--pink-soft); color: var(--terra-deep); font-size: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .9em 1.45em;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--terra-deep);
  box-shadow: var(--shadow-card);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transform: translateY(0);
  transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(129, 73, 54, .18); }
.btn:active { transform: translateY(-1px) scale(.99); }
.btn--primary, .btn--whatsapp { background: var(--terra); color: #fff; }
.btn--sage { background: var(--sage-deep); color: #fff; }
.btn--cream { background: var(--cream); color: var(--sage-deep); }
.btn--ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; }
.tlink { color: var(--terra-deep); font-weight: 900; }

.hero { position: relative; padding: clamp(62px, 8vw, 100px) 0 clamp(54px, 7vw, 86px); overflow: hidden; }
.hero__grid, .split { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(34px, 6vw, 76px); align-items: center; }
.split.rev { grid-template-columns: .96fr 1.04fr; }
.hero__copy { position: relative; z-index: 2; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stage, .split__media { position: relative; min-height: 420px; }
.hero__stage { min-height: clamp(600px, 56vw, 720px); }
.hero__fig, .leaf, .leaf-r, .roundpic, .circ {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 46% 54% 52% 48% / 58% 42% 58% 42%;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(150deg, var(--pink-soft), var(--sage-tint));
}
.hero__fig { height: clamp(590px, 54vw, 700px); }
.leaf-r { border-radius: 54% 46% 48% 52% / 42% 58% 42% 58%; }
.michela-cutout {
  object-fit: contain !important;
  object-position: center bottom;
  padding: clamp(12px, 2.4vw, 28px);
  background:
    radial-gradient(circle at 18% 16%, rgba(244, 213, 206, .88), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(202, 222, 192, .82), transparent 38%),
    linear-gradient(150deg, var(--cream), var(--pink-soft));
}
.svc img.michela-cutout {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  min-height: 0;
  padding: 18px 18px 0;
  border-radius: 28px 28px 0 0;
  box-shadow: none;
}
.hero__stage .michela-cutout {
  padding: clamp(18px, 2.4vw, 30px) clamp(12px, 2vw, 24px) 96px;
}
.hero__circle, .dot {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  transition: transform .18s ease-out;
}
.hero__circle { width: 70%; aspect-ratio: 1; background: var(--pink-soft); right: -12%; top: 4%; z-index: -1; }
.hero__circle.sage { width: 34%; background: var(--sage-tint); left: -6%; top: 58%; }
.blob { filter: blur(.2px); }
.hero__card, .feature, .svc, .post, .segment, .step, .st, .contact-card, .mini .vcard {
  background: rgba(255, 255, 255, .76);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  will-change: transform;
}
.feature:hover, .svc:hover, .post:hover, .segment:hover, .step:hover, .st:hover, .contact-card:hover {
  transform: translateY(-7px);
  border-color: rgba(185, 111, 85, .26);
  box-shadow: 0 24px 54px rgba(87, 57, 44, .14);
}
.motion-tilt {
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) translateY(var(--lift, 0));
}
.motion-tilt:hover { --lift: -6px; }
.hero__card {
  position: absolute;
  right: -8px;
  bottom: 18px;
  max-width: 280px;
  padding: 22px;
  backdrop-filter: blur(10px);
}
.tag, .chip, .svc__tag, .post__cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: .48rem .78rem;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font-size: .82rem;
  font-weight: 900;
  transition: transform .22s ease, background-color .22s ease;
}
.chip:hover, .tag:hover { transform: translateY(-2px); background: var(--pink-soft); }
.chip { background: #fff; color: var(--ink-soft); border: 1px solid var(--line); }
.chip i { width: 8px; height: 8px; border-radius: 99px; background: var(--terra); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
  color: var(--terra-deep);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .78rem;
}
.kicker::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.kicker.center { justify-content: center; }

.page-hero { position: relative; padding: clamp(78px, 10vw, 142px) 0 clamp(92px, 11vw, 160px); overflow: hidden; background: linear-gradient(135deg, var(--pink-tint), var(--cream)); }
.page-hero h1 { max-width: 940px; }
.grid-2, .grid-3, .steps, .about-stats { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.about-stats { grid-template-columns: repeat(auto-fit, minmax(154px, 1fr)); margin-top: 24px; align-items: stretch; }
.st, .feature, .segment, .step { padding: 28px; }
.st {
  min-width: 0;
  min-height: 132px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 7px;
  text-align: center;
}
.st b { display: block; color: var(--terra-deep); font-family: var(--font-display); font-size: clamp(1.12rem, 1.6vw, 1.34rem); line-height: 1.05; }
.st span, .svc__meta { color: var(--ink-soft); font-weight: 700; font-size: .9rem; line-height: 1.38; }
.st span { max-width: 9.5em; }
.feature, .segment, .step, .post__body, .svc__body { text-wrap: pretty; }
.feature h3, .segment h3, .step h3, .post h3, .svc h3 { text-wrap: balance; }
.ic { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; margin-bottom: 18px; font-size: 1.55rem; background: var(--pink-soft); }
.ic-sage { background: var(--sage-tint); }
.ic-dust { background: #efe0d4; }
.ic-terra { background: #f0cfbf; }
.num, .step__n { font-family: var(--font-display); color: var(--terra); font-size: 2rem; font-weight: 700; }

.svc { overflow: hidden; display: flex; flex-direction: column; }
.svc__top { padding: 20px 22px 0; }
.svc__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.svc__lede { color: var(--terra-deep); font-size: 1.12rem; font-weight: 800; }
.svc__sub { margin-top: 1.3rem; color: var(--ink); font-weight: 900; }
.svc__list { margin: .45rem 0 0; padding-left: 1.2rem; color: var(--ink-soft); }
.svc__cta { margin-top: auto; padding-top: 1.35rem; }
.tag-grav, .tag-famiglia { background: var(--pink-soft); color: var(--terra-deep); }
.tag-domicilio, .tag-doula { background: var(--sage-tint); color: var(--sage-deep); }

.post { display: flex; flex-direction: column; overflow: hidden; color: inherit; }
.post.feat { display: grid; grid-template-columns: .95fr 1.05fr; }
.post__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--pink-soft); }
.post:hover .post__img, .svc:hover img { transform: scale(1.035); }
.post__img, .svc img { transition: transform .45s ease; }
.post.feat .post__img { height: 100%; aspect-ratio: auto; }
.post__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post__cat { margin-bottom: 12px; background: var(--pink-soft); color: var(--terra-deep); }
.post__body .tlink { margin-top: auto; padding-top: 10px; }
.quote, .cta-band {
  text-align: center;
  border-radius: 36px;
  padding: clamp(36px, 7vw, 78px);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.quote p { font-family: var(--font-display); font-size: clamp(1.65rem, 4vw, 3.5rem); line-height: 1.1; color: var(--ink); }
.by { color: var(--ink-soft); font-weight: 900; }
.cta-band { position: relative; overflow: hidden; background: var(--sage); color: #3f5639; }
.cta-band h2 { color: #3f5639; }
.cta-band p { max-width: 720px; margin-inline: auto; }

.nl-row { display: flex; gap: 12px; margin-top: 24px; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
textarea { min-height: 140px; resize: vertical; }
select { appearance: none; }
input, textarea, select, button { font-size: 16px; }
.nl-ok { display: none; margin-top: 12px; color: var(--sage-deep); font-weight: 900; }
[data-newsletter].is-sent .nl-ok { display: block; }
.form-next { display: none; margin-top: 16px; }
[data-newsletter].is-sent .form-next { display: inline-flex; }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; align-items: start; }
.contact-card { padding: 28px; }
.contact-list { display: grid; gap: 14px; margin-top: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 900; }
.checkline {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0 18px;
  color: var(--ink-soft);
  font-size: .94rem;
  line-height: 1.45;
}
.checkline input { width: auto; margin-top: .25rem; flex: 0 0 auto; }
#contactForm, .contact-info, #formOk {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow-card);
}
#formOk { display: none; margin-top: 18px; }
#formOk.is-visible { display: block; }
.ci-item { display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; }
.ci-ic { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; background: var(--pink-soft); color: var(--terra-deep); }
.ci-item b { display: block; color: var(--ink); }
.foot-soc { display: flex; gap: 10px; }
.foot-soc a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; background: var(--pink-soft); color: var(--terra-deep); }

.article-hero { padding: clamp(58px, 8vw, 96px) 0 42px; background: linear-gradient(135deg, var(--cream), var(--pink-tint)); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.article-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
  margin-top: 34px;
}
.article-body {
  max-width: 760px;
  font-size: 1.08rem;
  line-height: 1.82;
}
.article-body > p:first-child {
  font-size: clamp(1.22rem, 2vw, 1.42rem);
  line-height: 1.62;
  color: var(--ink);
  font-family: var(--font-display);
}
.article-body h2 { margin-top: 2.4rem; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.article-body p { margin-bottom: 1.2rem; }
.article-body ul { padding-left: 1.25rem; }
.article-body li { margin-bottom: .65rem; }
.article-aside {
  position: sticky;
  top: 104px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.74);
  box-shadow: var(--shadow-card);
}
.article-meta { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.article-nav { margin-top: 42px; display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 48px 0; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 28px; align-items: start; }
.footer-grid h3, .site-footer .brand { color: #fff; }
.site-footer a:hover { color: #fff; }
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
  font-weight: 800;
}
.legal-line {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.62);
  font-size: .88rem;
}
.legal-line a {
  color: rgba(255,255,255,.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.reveal { opacity: 0; transform: translateY(24px) scale(.985); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }
[data-d="1"] { --d: 1; }
[data-d="2"] { --d: 2; }

.is-floating { animation: softFloat 7s ease-in-out infinite; }
.is-floating:nth-of-type(2n) { animation-duration: 8.5s; animation-delay: -1.6s; }

@keyframes softFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  body::before { display: none; }
  .motion-tilt, .feature:hover, .svc:hover, .post:hover, .segment:hover, .step:hover, .st:hover, .contact-card:hover {
    transform: none !important;
  }
}

.mini { margin: 0 auto; }

@media (hover: none), (pointer: coarse) {
  body::before { display: none; }
}

@media (hover: hover) and (pointer: fine) {
  body, a, button, .btn, .chip, .post, .svc, .feature, .segment, .step, .st {
    cursor: none;
  }
  input, textarea, select, label {
    cursor: auto;
  }
}

@media (max-width: 920px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav {
    position: fixed;
    inset: 76px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow-soft);
    max-height: calc(100vh - 96px);
    overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 6px; }
  .nav a.is-active::after { display: none; }
  .hero__grid, .split, .split.rev, .grid-2, .grid-3, .steps, .about-stats, .post.feat, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .hero__stage, .split__media { min-height: 0; }
  .hero__stage { min-height: clamp(500px, 88vw, 640px); }
  .hero__fig { height: clamp(470px, 84vw, 610px); }
  .hero__fig, .leaf, .leaf-r { min-height: 320px; }
  .hero__stage .michela-cutout { padding-bottom: 84px; }
  .hero__card { position: relative; right: auto; bottom: auto; margin-top: -52px; margin-left: auto; }
  .nl-row { flex-direction: column; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1120px); }
  .navwrap { min-height: 68px; }
  .brand__mark { width: 138px; max-height: 48px; }
  .nav-toggle { width: 42px; height: 42px; }
  .nav { inset: 68px 14px auto; padding: 14px; gap: 6px; }
  .nav .btn { margin-top: 8px; width: 100%; }
  h1 { font-size: clamp(2.25rem, 13vw, 3.3rem); line-height: .98; }
  h2 { font-size: clamp(2rem, 10.5vw, 2.85rem); }
  h3 { font-size: clamp(1.2rem, 6vw, 1.55rem); }
  .lead { font-size: 1.02rem; line-height: 1.6; }
  .hero { padding: 42px 0 54px; }
  .page-hero { padding: 58px 0 84px; }
  .hero__grid, .split, .split.rev { gap: 30px; }
  .hero__stage { min-height: 430px; margin-top: 4px; }
  .hero__fig { height: 440px; border-radius: 38% 62% 48% 52% / 42% 42% 58% 58%; }
  .hero__stage .michela-cutout { padding: 14px 10px 74px; }
  .hero__card {
    max-width: min(100%, 300px);
    padding: 18px;
    margin-top: -58px;
    margin-right: 6px;
  }
  .hero__card p { font-size: .95rem; line-height: 1.5; }
  .hero__chips { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 20px 0 24px; }
  .chip { justify-content: flex-start; width: 100%; padding: .62rem .78rem; }
  .section { padding: 58px 0; }
  .section[style*="margin-top:-40px"] { margin-top: -22px !important; }
  .page-hero .dot, .hero .dot { opacity: .32 !important; }
  .leaf, .leaf-r {
    min-height: 360px;
    height: 390px;
    border-radius: 36px;
  }
  .split__media { min-height: 0; }
  .split__media .michela-cutout { padding: 16px 12px 0; }
  .about-stats { gap: 12px; grid-template-columns: 1fr; }
  .hero__btns .btn, .svc__cta .btn { width: 100%; }
  .st, .feature, .segment, .step, .svc__body, .post__body, .contact-card, #contactForm, .contact-info, #formOk {
    padding: 20px;
    border-radius: 22px;
  }
  .st b { font-size: 1.05rem; }
  .st span { font-size: .82rem; line-height: 1.35; }
  .st {
    min-height: 0;
    align-content: start;
    padding: 18px 20px;
  }
  .svc__top { padding: 16px 18px 0; }
  .svc img.michela-cutout {
    aspect-ratio: 4 / 3;
    padding: 16px 12px 0;
    border-radius: 22px 22px 0 0;
  }
  .post__img, .post.feat .post__img { aspect-ratio: 4 / 3; height: auto; }
  .post.feat h3[style] { font-size: 1.55rem !important; }
  .quote, .cta-band { border-radius: 26px; padding: 30px 20px; }
  .quote p { font-size: clamp(1.55rem, 8.5vw, 2.25rem); }
  .nl-row { gap: 10px; }
  .checkline { font-size: .88rem; }
  .article-hero { padding: 48px 0 30px; }
  .article-cover { border-radius: 22px; margin-top: 22px; }
  .article-body { font-size: 1rem; line-height: 1.72; }
  .article-body > p:first-child { font-size: 1.14rem; }
  .article-aside { padding: 18px; border-radius: 20px; }
  .footer-grid { gap: 18px; }
  .site-footer { padding: 38px 0; }
  .legal-line { font-size: .8rem; line-height: 1.55; }
}

@media (max-width: 390px) {
  .wrap { width: min(100% - 24px, 1120px); }
  h1 { font-size: clamp(2.05rem, 13vw, 2.9rem); }
  .hero__stage { min-height: 400px; }
  .hero__fig { height: 410px; }
  .about-stats { grid-template-columns: 1fr; }
}
