/* ===================================================================
   LIDO AZZURRO - Design System v1 (estratto da piscinavaredo.it, kit Elementor 20)
   Importare in ogni landing:  <link rel="stylesheet" href="lido-design-system.css">
   Fonte di verità: DESIGN-SYSTEM.md
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700&family=Inter+Tight:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  /* ── Colori (token reali) ── */
  --teal:        #6EA9AF;   /* primary brand */
  --teal-dark:   #56858A;   /* hover teal */
  --navy:        #032F69;   /* secondary / CTA primaria */
  --navy-deep:   #011229;   /* sezioni scure, base overlay */
  --navy-black:  #010914;
  --text:        #737373;   /* corpo */
  --heading:     #011229;   /* titoli su chiaro (navy quasi nero) */
  --white:       #FFFFFF;
  --off-white:   #FFFCFC;
  --bg-tint:     #EBF3F3;   /* sfondo sezioni tenue */
  --cyan-light:  #C8EDF1;
  --bluegrey:    #D7E0EC;
  --border:      rgba(0,0,0,0.09);
  --overlay-white: rgba(255,255,255,0.08);
  --error:       #FF0000;

  /* ── Tipografia ── */
  --font-head: "Marcellus", Georgia, serif;
  --font-body: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-eyebrow: "Inter Tight", -apple-system, sans-serif;

  /* ── Forma & layout ── */
  --radius-btn: 9px;
  --radius-card: 18px;
  --container: 1024px;
  --section-pad: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 26px;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Headings (Marcellus serif) ── */
h1, h2, h3, .h-display { font-family: var(--font-head); font-weight: 400; color: var(--heading); line-height: 1.18; }
h1, .h-display { font-size: clamp(2.3rem, 5.2vw, 3.5rem); }   /* ~36-56px */
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }                    /* ~30-48px */
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
em, .accent-italic { font-style: italic; }                     /* Marcellus italic = accento */

p { font-family: var(--font-body); font-weight: 300; color: var(--text); }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--teal-dark); }

/* ── Eyebrow / label (Inter Tight uppercase) ── */
.eyebrow {
  display: inline-block;
  font-family: var(--font-eyebrow);
  font-weight: 500;
  font-size: 13px;
  line-height: 23px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.eyebrow.muted { color: var(--text); }
.eyebrow.on-dark { color: rgba(255,255,255,0.7); }

/* ── Layout ── */
.section { padding: var(--section-pad) 24px; }
.section.tint { background: var(--bg-tint); }
.section.offwhite { background: var(--off-white); }
.section.dark { background: var(--navy-deep); color: rgba(255,255,255,0.85); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--white); }
.container { max-width: var(--container); margin: 0 auto; }
.container.narrow { max-width: 760px; }
@media (max-width: 640px) { .section { padding: 56px 20px; } }

.section-title { margin-bottom: 16px; }
.section-sub { font-size: 1.05rem; color: var(--text); max-width: 620px; }
.lead { font-size: 1.12rem; line-height: 1.7; color: var(--heading); margin-bottom: 16px; }
.lead.muted { color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body); font-weight: 500; font-size: 1rem;
  padding: 15px 34px; border-radius: var(--radius-btn);
  background: var(--navy); color: var(--white);
  border: 1.5px solid var(--navy); cursor: pointer; text-decoration: none;
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.btn:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); }
.btn-teal { background: var(--teal); border-color: var(--teal); color: var(--white); }
.btn-teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: var(--white); }
.btn-outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline.on-dark:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.btn-white { background: var(--white); border-color: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--off-white); color: var(--navy); transform: translateY(-2px); }

/* ── Card (flat, minimal) ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 28px;
}
.card-title { font-family: var(--font-head); font-weight: 400; color: var(--heading); margin-bottom: 10px; }
.card-text { color: var(--text); font-size: 0.96rem; line-height: 1.7; }
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ── Hero / photo banner ── */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center;
  padding: 100px 24px 80px;
  /* IMPOSTARE la foto reale: */
  background: var(--navy-deep);
  background-image: linear-gradient(90deg, rgba(1,18,41,0.72) 0%, rgba(1,18,41,0.40) 60%, rgba(1,18,41,0.20) 100%);
  background-size: cover; background-position: center;
  color: var(--white);
}
.hero-inner { max-width: var(--container); margin: 0 auto; width: 100%; }
.hero-content { max-width: 640px; }   /* testo a sinistra, non centrato */
.hero h1 { color: var(--white); margin-bottom: 18px; }
.hero p { color: rgba(255,255,255,0.88); font-size: 1.1rem; line-height: 1.6; margin-bottom: 28px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 640px) { .hero { min-height: auto; padding: 90px 20px 64px; } }

/* ── Pricing card with tabs (stile pagina Tariffe) ── */
.price-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden; }
.price-card-head { font-family: var(--font-head); font-size: 1.8rem; font-weight: 400; text-transform: uppercase; letter-spacing: 1px; color: var(--heading); padding: 26px 28px 8px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 28px; border-top: 1px solid var(--border); }
.price-row .label { color: var(--heading); font-weight: 400; }
.price-row .label small { display: block; color: var(--text); font-size: 0.82rem; }
.price-row .val { color: var(--navy); font-weight: 600; white-space: nowrap; }

/* ── FAQ accordion ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { padding: 18px 0; font-family: var(--font-body); font-weight: 500; color: var(--heading); cursor: pointer; display: flex; justify-content: space-between; gap: 14px; }
.faq-chevron { transition: transform .3s; color: var(--teal); }
.faq-a { max-height: 0; overflow: hidden; transition: all .3s ease; color: var(--text); }
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 18px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }

/* ── Footer ── */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 56px 24px 32px; }
.site-footer a { color: rgba(255,255,255,0.6); }
.site-footer a:hover { color: var(--white); }
.site-footer h4 { font-family: var(--font-eyebrow); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,0.5); margin-bottom: 12px; font-weight: 500; }

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.badge { display: inline-block; padding: 6px 16px; border-radius: 50px; font-family: var(--font-eyebrow); font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase; }
.badge-teal { background: var(--cyan-light); color: var(--navy); }
.badge-soft { background: var(--overlay-white); color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
