/* ═══════════════════════════════════════════════════════════════
   SIMBYOS — miele-spalmabile.css
   Stili specifici di miele-spalmabile.html
   Dipende da: simbyos.css (caricato prima)
═══════════════════════════════════════════════════════════════ */

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 88svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}

.hero-visual {
  position: relative;
  background: linear-gradient(160deg, #EDE0C4 0%, #C8A860 100%);
  overflow: hidden;
}

.hero-visual-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; padding: 3rem;
  color: var(--bark-mid);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.05rem;
  opacity: .55; text-align: center;
}

.hero-visual-placeholder svg { width: 52px; height: 52px; opacity: .4; }

.hero-visual::before {
  content: '01';
  position: absolute; bottom: 3rem; right: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem; font-weight: 300; line-height: 1;
  color: rgba(30,20,8,.06); pointer-events: none;
}

.hero-content {
  display: flex; flex-direction: column; justify-content: center;
  padding: 8vw 7vw 8vw 6vw; position: relative;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 2rem;
  animation: fadeUp .8s .1s both;
}

.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  font-weight: 300; line-height: 1.06;
  color: var(--bark); margin-bottom: 1.8rem;
  animation: fadeUp .8s .2s both;
}

.hero-h1 em { font-style: italic; color: var(--honey); }

.hero-intro {
  font-size: clamp(.9rem, 1.3vw, 1rem);
  color: var(--text-soft); line-height: 1.95;
  max-width: 400px; margin-bottom: 3rem;
  animation: fadeUp .8s .3s both;
}

.hero-tags {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-bottom: 3rem;
  animation: fadeUp .8s .35s both;
}

.tag {
  padding: .35rem .9rem;
  border: 1px solid rgba(184,118,10,.3);
  font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--honey);
}

.hero-cta {
  display: flex; align-items: center; gap: 2rem;
  animation: fadeUp .8s .4s both;
}

.scroll-indicator {
  position: absolute; bottom: 2.5rem; right: 7vw;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--stone-lt); writing-mode: vertical-rl;
  animation: fadeUp .8s .8s both;
}

.scroll-indicator::after {
  content: ''; width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--honey), transparent);
  animation: scrollPulse 2s 1.5s ease-in-out infinite;
}

/* ─── STORIA ──────────────────────────────────────────────────── */
.storia {
  padding: 9rem 7vw;
  position: relative;
}

.chapter-num {
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22rem; font-weight: 300; line-height: 1;
  color: rgba(184,118,10,.04);
  pointer-events: none; user-select: none; z-index: 0;
}

.chapter-num.left { left: -2vw; top: 2rem; }

.storia-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
}

.storia-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6vw; align-items: end; margin-bottom: 5rem;
}

.storia-label-wrap { display: flex; flex-direction: column; gap: 1.2rem; }

.storia-chapter {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300; line-height: 1.1; color: var(--bark);
}

.storia-chapter em { font-style: italic; color: var(--honey); }

.storia-lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.3rem;
  color: var(--text-soft); line-height: 1.7;
}

.storia-block {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 7vw; align-items: center; margin-bottom: 7rem;
}

.storia-block.reverse { direction: rtl; }
.storia-block.reverse > * { direction: ltr; }

.storia-img {
  aspect-ratio: 3/4;
  background: var(--cream-warm);
  position: relative; overflow: hidden;
}

.storia-img-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .8rem; padding: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: .95rem;
  color: var(--stone); opacity: .55; text-align: center;
}

.storia-img-placeholder svg { width: 36px; height: 36px; opacity: .4; }

.storia-img::after {
  content: '';
  position: absolute; inset: 12px -12px -12px 12px;
  border: 1px solid rgba(184,118,10,.18); z-index: -1;
}

.storia-block.reverse .storia-img::after { inset: 12px 12px -12px -12px; }

.storia-h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300; line-height: 1.2;
  color: var(--bark); margin-bottom: 1.5rem;
}

.storia-h3 em { font-style: italic; color: var(--honey); }

.storia-p {
  font-size: .95rem; color: var(--text-soft);
  line-height: 2; margin-bottom: 1.2rem;
}

.pull-quote {
  margin: 2rem 0; padding: 1.5rem 0 1.5rem 2rem;
  border-left: 2px solid var(--honey);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300; line-height: 1.5; color: var(--bark);
}

.pull-quote em { color: var(--honey); font-style: normal; }

/* ─── PROCESSO ────────────────────────────────────────────────── */
.processo {
  background: var(--bark);
  padding: 8rem 7vw;
  position: relative; overflow: hidden;
}

.processo::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(184,118,10,.08), transparent);
  pointer-events: none;
}

.processo-header {
  text-align: center; margin-bottom: 6rem;
  position: relative; z-index: 1;
}

.processo-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--cream); line-height: 1.2;
}

.processo-header h2 em { font-style: italic; color: var(--honey-lt); }

.processo-header p {
  margin-top: 1.2rem; max-width: 520px;
  margin-left: auto; margin-right: auto;
  font-size: .92rem; color: rgba(250,250,245,.5); line-height: 1.9;
}

.timeline {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
}

.timeline::before {
  content: ''; position: absolute;
  top: 2.5rem; left: calc(12.5% + 1rem); right: calc(12.5% + 1rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184,118,10,.4), rgba(184,118,10,.4), transparent);
}

.step { padding: 0 2rem; text-align: center; }

.step-num {
  width: 5rem; height: 5rem; border-radius: 50%;
  border: 1px solid rgba(184,118,10,.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.8rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 300; color: var(--honey-lt);
  background: rgba(184,118,10,.06);
  transition: background .3s, border-color .3s;
  position: relative; z-index: 1;
}

.step:hover .step-num {
  background: rgba(184,118,10,.15);
  border-color: var(--honey-lt);
}

.step-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--cream); margin-bottom: .8rem;
}

.step-text {
  font-size: .82rem;
  color: rgba(250,250,245,.45); line-height: 1.85;
}

.step-detail {
  margin-top: .8rem; font-size: .72rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--honey-lt); opacity: .7;
}

/* ─── FORMATI ─────────────────────────────────────────────────── */
.formati {
  padding: 8rem 7vw;
  background: var(--cream-warm);
}

.formati-header { margin-bottom: 4.5rem; max-width: 600px; }

.formati-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--bark); line-height: 1.2;
}

.formati-header h2 em { font-style: italic; color: var(--honey); }

.formati-header p {
  margin-top: 1rem; font-size: .92rem;
  color: var(--text-soft); line-height: 1.9;
}

.formati-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-bottom: 3rem;
}

.formato-card {
  background: var(--cream); padding: 2.5rem 1.8rem;
  border-top: 2px solid transparent;
  transition: border-color .3s, transform .25s, box-shadow .25s;
}

.formato-card:hover {
  border-top-color: var(--honey);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(30,20,8,.07);
}

.formato-card.featured {
  border-top-color: var(--honey);
  background: var(--bark);
}

.formato-card.featured .formato-peso,
.formato-card.featured .formato-tipo { color: var(--cream); }

.formato-card.featured .formato-gramma,
.formato-card.featured .formato-desc { color: rgba(250,250,245,.45); }

.formato-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 1.5rem;
}

.formato-peso {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem; font-weight: 300; line-height: 1; color: var(--bark);
}

.formato-gramma {
  font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--stone-lt); margin-top: .3rem;
}

.formato-pill {
  font-size: .62rem; letter-spacing: .1em; text-transform: uppercase;
  background: var(--honey); color: #fff; padding: .25rem .6rem;
}

.formato-divider {
  height: 1px; background: rgba(184,118,10,.15); margin-bottom: 1.2rem;
}

.formato-divider.dark { background: rgba(255,255,255,.1); }

.formato-tipo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 400;
  color: var(--bark); margin-bottom: .5rem;
}

.formato-desc { font-size: .8rem; color: var(--text-soft); line-height: 1.7; }

.formati-nota { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.nota-box {
  padding: 2rem; border: 1px solid rgba(184,118,10,.18);
  display: flex; gap: 1.2rem; align-items: flex-start;
}

.nota-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border: 1px solid rgba(184,118,10,.25); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--honey); font-size: 1.1rem;
}

.nota-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 400; color: var(--bark); margin-bottom: .4rem;
}

.nota-text { font-size: .82rem; color: var(--text-soft); line-height: 1.8; }

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq {
  padding: 8rem 7vw;
  max-width: 900px; margin: 0 auto;
}

.faq-header { margin-bottom: 4rem; }

.faq-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300; color: var(--bark); line-height: 1.2;
}

.faq-header p {
  margin-top: 1rem; font-size: .92rem;
  color: var(--text-soft); line-height: 1.9; max-width: 480px;
}

.faq-item { border-top: 1px solid rgba(184,118,10,.2); padding: 1.8rem 0; }
.faq-item:last-child { border-bottom: 1px solid rgba(184,118,10,.2); }

.faq-q {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 400; color: var(--bark);
  cursor: pointer; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1rem; user-select: none;
}

.faq-q::after {
  content: '+'; font-family: 'Jost', sans-serif;
  font-size: 1.4rem; font-weight: 300; color: var(--honey);
  flex-shrink: 0; transition: transform .3s;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  font-size: .93rem; color: var(--text-soft); line-height: 1.95;
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .3s;
}

.faq-item.open .faq-a { max-height: 500px; padding-top: 1.2rem; }

/* ─── CTA FINALE ──────────────────────────────────────────────── */
.contact {
  padding: 8rem 7vw; background: var(--bark);
  text-align: center; position: relative; overflow: hidden;
}

.contact::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 30% 50%, rgba(184,118,10,.12), transparent),
    radial-gradient(ellipse 40% 60% at 70% 50%, rgba(58,78,44,.15), transparent);
  pointer-events: none;
}

.contact-hex {
  position: absolute; right: 5vw; top: 50%;
  transform: translateY(-50%); opacity: .06; pointer-events: none;
}

.contact-inner {
  position: relative; z-index: 1;
  max-width: 620px; margin: 0 auto;
}

.contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300; color: var(--cream); line-height: 1.15; margin-bottom: 1.5rem;
}

.contact h2 em { font-style: italic; color: var(--honey-lt); }

.contact p {
  font-size: .95rem; color: rgba(250,250,245,.5);
  line-height: 1.95; margin-bottom: 3rem;
}

.contact-actions {
  display: flex; gap: 1.2rem;
  justify-content: center; flex-wrap: wrap;
}

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .formati-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .timeline::before { display: none; }
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4/3; }
  .hero-content { padding: 3rem 6vw; }
  .storia-header { grid-template-columns: 1fr; gap: 2rem; }
  .storia-block { grid-template-columns: 1fr; gap: 3rem; }
  .storia-block.reverse { direction: ltr; }
  .formati-nota { grid-template-columns: 1fr; }
  .scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .formati-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
}
