/* ==========================================================
   Le Amazzoni OdV ETS — stylesheet
   Palette: bordeaux brand + bianco, rosa solo accento campagne
   ========================================================== */

@font-face {
  font-family: "Pristina";
  src: url("/font/PRISTINA.TTF") format("truetype");
  font-display: swap;
}

:root {
  --bordeaux: #A83232;
  --bordeaux-dark: #7C2226;
  --bordeaux-ink: #55181b;
  --ink: #2B1B1C;
  --ink-soft: #5c4a4b;
  --paper: #ffffff;
  --paper-warm: #f9f3f1;
  --rosa: #D96C8B;
  --rosa-soft: #F6E3E9;
  --line: #e8d9d6;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-script: "Great Vibes", cursive;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(84, 24, 27, .10);
  --container: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

html { overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

.icon { display: inline-block; line-height: 1; vertical-align: -0.12em; }
.icon-lg { font-size: 1.9rem; color: var(--bordeaux); }

.container { max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--bordeaux); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 560; line-height: 1.12; color: var(--ink); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-bottom: 1.2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.22rem; margin-bottom: .6rem; }
p + p { margin-top: .9em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bordeaux); margin-bottom: .8rem;
}
.eyebrow-light { color: #f3cdd0; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 .95rem/1 var(--font-body);
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; }
.btn-lg { padding: 1em 1.8em; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-solid { background: var(--bordeaux); color: #fff; box-shadow: 0 6px 18px rgba(168, 50, 50, .35); }
.btn-solid:hover { background: var(--bordeaux-dark); }

.btn-outline { border-color: var(--bordeaux); color: var(--bordeaux); background: transparent; }
.btn-outline:hover { background: var(--bordeaux); color: #fff; }

.btn-ghost { color: var(--bordeaux); background: rgba(168, 50, 50, .08); }
.btn-ghost:hover { background: rgba(168, 50, 50, .16); }

.btn-light { background: #fff; color: var(--bordeaux-dark); }
.btn-light:hover { background: var(--rosa-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 0 0 rgba(84, 24, 27, 0);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(84, 24, 27, .10); }
.header-inner {
  max-width: var(--container); margin-inline: auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 1.4rem;
}
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: inherit; }
.brand img { display: block; height: 46px; width: auto; }
.brand-name {
  font-family: 'Pristina', 'Brush Script MT', var(--font-script);
  font-size: 3.625rem; color: #b50000; line-height: 1; display: block;
  transform: translateY(.167em);
}
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--bordeaux); }
.header-cta { display: flex; gap: .6rem; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--bordeaux); margin: 5px 0; transition: transform .2s; }
.mobile-nav { display: none; }

@media (max-width: 860px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .brand img { height: 34px; }
  .brand-name { font-size: 2.65rem; }
  .mobile-nav {
    display: flex; flex-direction: column; gap: .3rem;
    padding: 12px 20px 20px; border-top: 1px solid var(--line); background: #fff;
  }
  .mobile-nav[hidden] { display: none; }
  .mobile-nav a { padding: .7em 0; text-decoration: none; color: var(--ink); font-weight: 500; }
  .mobile-nav .btn { margin-top: .5rem; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(168, 50, 50, .07), transparent 60%),
    linear-gradient(180deg, var(--paper-warm), var(--paper));
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container); margin-inline: auto; padding: clamp(3rem, 8vw, 6rem) 20px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center;
}
.hero-eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--bordeaux); margin-bottom: 1rem; }
.hero-title {
  font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 560; letter-spacing: -0.015em;
  margin-bottom: 1.1rem; min-height: 2.3em; overflow-wrap: break-word;
}
.hero-title em { font-style: italic; color: var(--bordeaux); }
.hero-text { font-size: 1.1rem; color: var(--ink-soft); max-width: 34em; margin-bottom: 1.8rem; overflow-wrap: break-word; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }

.hero-copy.is-swapping .hero-title,
.hero-copy.is-swapping .hero-text,
.hero-copy.is-swapping .hero-eyebrow { opacity: 0; transform: translateY(6px); }
.hero-title, .hero-text, .hero-eyebrow { transition: opacity .35s ease, transform .35s ease; }

@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-eyebrow, .hero-title, .hero-text, .hero-actions, .hero-dots {
  animation: hero-in .7s cubic-bezier(.16,1,.3,1) both;
}
.hero-eyebrow { animation-delay: .05s; }
.hero-title { animation-delay: .15s; }
.hero-text { animation-delay: .28s; }
.hero-actions { animation-delay: .4s; }
.hero-dots { animation-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-title, .hero-text, .hero-actions, .hero-dots { animation: none; }
}

.hero-dots { display: flex; gap: .5rem; }
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--line); transition: background .2s, transform .2s; padding: 0;
}
.hero-dots button[aria-selected="true"] { background: var(--bordeaux); transform: scale(1.25); }
.hero-dots button:focus-visible { outline: 2px solid var(--bordeaux); outline-offset: 2px; }

.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual::before {
  content: ""; position: absolute; inset: 6% 10%; z-index: -1;
  background: radial-gradient(circle, rgba(168, 50, 50, .22), rgba(217, 108, 139, .12) 55%, transparent 75%);
  filter: blur(36px);
  animation: blob-float 9s ease-in-out infinite;
}
@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-2%, 3%) scale(1.07); }
}
.hero-heart {
  filter: drop-shadow(0 18px 40px rgba(168, 50, 50, .22));
  animation: hero-heart-in .8s cubic-bezier(.16,1,.3,1) .2s both,
             heartbeat 5s ease-in-out 1s infinite;
}
@keyframes hero-heart-in { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: scale(1); } }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  8% { transform: scale(1.035); }
  16% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual::before { animation: none; }
  .hero-heart { animation: none; }
}
.arrow-path {
  position: absolute; inset: auto -10% -12% -20%; width: 130%; height: 55%;
  color: rgba(168, 50, 50, .35); pointer-events: none;
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-visual { order: -1; }
  .hero-heart img { width: 170px; height: auto; }
  .arrow-path { display: none; }
  .hero-title { min-height: 0; font-size: clamp(1.6rem, 7.2vw, 2.6rem); }
}

/* ---------- Sezioni ---------- */
.section { padding: clamp(3.4rem, 7vw, 5.5rem) 0; }
.section-alt {
  background-color: var(--paper-warm);
  background-image: radial-gradient(rgba(168, 50, 50, .10) 1px, transparent 1px);
  background-size: 22px 22px;
}

.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

.motto {
  font-family: var(--font-display); font-style: italic; font-size: 1.3rem;
  color: var(--bordeaux); border-left: 3px solid var(--bordeaux);
  padding-left: 1.1rem; margin-top: 1.6rem;
}

.founders {
  background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
}
.founders h3 { color: var(--bordeaux); }
.founders-list { list-style: none; }
.founders-list li {
  display: flex; align-items: center; gap: .8rem;
  padding: .6rem 0; border-bottom: 1px dashed var(--line);
}
.founders-list li:last-child { border-bottom: 0; }
.founder-avatar {
  width: 46px; height: 46px; border-radius: 50%; object-fit: cover;
  flex: 0 0 auto; box-shadow: 0 2px 8px rgba(84, 24, 27, .18);
  order: -1;
}
.founder-info { display: flex; flex-direction: column; gap: .1rem; }
.founder-info strong { font-size: .92rem; }
.founder-info span { font-size: .78rem; color: var(--ink-soft); text-align: left; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.5rem; }
@media (max-width: 860px) { .cards-3 { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(84, 24, 27, .16); }
.card .icon-lg { margin-bottom: 1rem; }
.card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Come sostenerci ---------- */
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 1.5rem; align-items: start; }
@media (max-width: 990px) { .support-grid { grid-template-columns: 1fr; max-width: 560px; } }

.support-card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; background: #fff;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s cubic-bezier(.16,1,.3,1);
}
.support-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.support-card h3 { display: flex; align-items: center; gap: .55em; color: var(--bordeaux-ink); }
.support-card h3 .icon { color: var(--bordeaux); }
.support-card p { color: var(--ink-soft); font-size: .96rem; margin-bottom: 1.1rem; }

.support-card-primary {
  background: linear-gradient(170deg, #fff 55%, var(--rosa-soft));
  border-color: rgba(217, 108, 139, .4);
  box-shadow: var(--shadow);
}

.amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .9rem; }
.amount {
  font: 600 1rem var(--font-body); padding: .7em 0; cursor: pointer;
  border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
  transition: border-color .15s, background .15s, color .15s;
}
.amount:hover { border-color: var(--bordeaux); }
.amount.is-active { border-color: var(--bordeaux); background: var(--bordeaux); color: #fff; }
.amount:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 2px; }

.free-amount { display: block; margin-bottom: .9rem; }
.free-amount span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
.free-amount input {
  width: 100%; padding: .7em .9em; border: 2px solid var(--line); border-radius: 10px;
  font: 500 1rem var(--font-body);
}
.free-amount input:focus-visible { outline: 0; border-color: var(--bordeaux); }

.check { display: flex; align-items: center; gap: .6em; margin-bottom: 1.1rem; font-size: .93rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--bordeaux); }

.cf-copy {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  border: 2px dashed var(--bordeaux); border-radius: 10px; background: rgba(168, 50, 50, .05);
  padding: .9em 1.1em; cursor: pointer; margin-bottom: 1.1rem;
  font-family: var(--font-body);
  transition: background .15s;
}
.cf-copy:hover { background: rgba(168, 50, 50, .12); }
.cf-copy:focus-visible { outline: 3px solid var(--bordeaux); outline-offset: 3px; }
.cf-number { font-size: 1.25rem; font-weight: 600; letter-spacing: .06em; color: var(--bordeaux-ink); }
.cf-action { display: inline-flex; align-items: center; gap: .4em; font-size: .85rem; font-weight: 600; color: var(--bordeaux); }

.steps { padding-left: 1.2rem; color: var(--ink-soft); font-size: .93rem; }
.steps li { margin-bottom: .35rem; }

/* ---------- Evento ---------- */
.section-event {
  background: linear-gradient(135deg, var(--bordeaux-dark), var(--bordeaux)); color: #fff;
  position: relative; overflow: hidden;
}
.section-event h2 { color: #fff; }
.wave { position: absolute; left: 0; width: 100%; height: 46px; display: block; pointer-events: none; }
.wave path { fill: var(--paper); }
.wave-top { top: -1px; }
.wave-bottom { bottom: -1px; transform: scaleY(-1); }
@media (max-width: 640px) { .wave { height: 24px; } }
.event-box {
  display: flex; gap: 2rem; align-items: flex-start;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem);
}
.event-date {
  flex: 0 0 auto; text-align: center; background: #fff; color: var(--bordeaux-dark);
  border-radius: 12px; padding: .9rem 1.2rem; min-width: 92px;
  font-family: var(--font-display);
}
.event-day { display: block; font-size: 2.1rem; font-weight: 640; line-height: 1; }
.event-month { display: block; font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; margin-top: .3rem; }
.event-body p { color: rgba(255, 255, 255, .88); max-width: 46em; }
.event-place { margin: .8rem 0 1.2rem; font-weight: 500; }
@media (max-width: 640px) { .event-box { flex-direction: column; } }

/* ---------- Contatti ---------- */
.contact-split { grid-template-columns: 1fr 1fr; }
#contact-form label { display: block; margin-bottom: 1rem; }
#contact-form label span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; }
#contact-form input, #contact-form select, #contact-form textarea {
  width: 100%; padding: .75em .9em; border: 2px solid var(--line); border-radius: 10px;
  font: 500 1rem var(--font-body); background: #fff; color: var(--ink);
}
#contact-form input:focus-visible, #contact-form select:focus-visible, #contact-form textarea:focus-visible {
  outline: 0; border-color: var(--bordeaux);
}
#contact-form textarea { resize: vertical; }

.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

.form-note { font-size: .85rem; color: var(--ink-soft); margin-top: .8rem; }
.form-note.is-error { color: #a4262c; font-weight: 600; }
.form-note.is-success { color: #1d7a3c; font-weight: 600; }

.contact-list { list-style: none; margin-bottom: 1.2rem; }
.contact-list li { display: flex; align-items: center; gap: .8em; padding: .5rem 0; }
.contact-list .icon { color: var(--bordeaux); flex: 0 0 auto; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--bordeaux); text-decoration: underline; }

.socials { display: flex; gap: .7rem; margin-bottom: 1.4rem; }
.socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(168, 50, 50, .08); color: var(--bordeaux); transition: background .15s, color .15s;
}
.socials a:hover { background: var(--bordeaux); color: #fff; }
.socials .icon { font-size: 1.2rem; }

.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 260px; border: 0; display: block; }

@media (max-width: 860px) { .contact-split { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e8dcda; padding: 3rem 0 5.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 2rem; padding-bottom: 2rem; }
.footer-brand { font-family: 'Pristina', 'Brush Script MT', var(--font-script); font-size: 2.6rem; color: #f3cdd0; line-height: 1; }
.footer-brand span { font-family: var(--font-body); font-size: .8rem; letter-spacing: .12em; }
.site-footer a { color: #f3cdd0; }
.site-footer .socials a { background: rgba(255, 255, 255, .1); color: #f3cdd0; }
.site-footer .socials a:hover { background: var(--bordeaux); color: #fff; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1.4rem; font-size: .85rem; color: #b7a5a3; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Sticky CTA mobile ---------- */
.sticky-cta {
  position: fixed; inset: auto 0 0 0; z-index: 60;
  display: none; gap: .6rem; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky-cta .btn { flex: 1; }
@media (max-width: 860px) { .sticky-cta { display: flex; } }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0; transform: translateY(26px) scale(.97);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-left { transform: translateX(-32px); }
.reveal-left.is-visible { transform: none; }
.reveal-right { transform: translateX(32px); }
.reveal-right.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
}
