/* =============================================
   termebucarest.com — stile-v1.css
   Font: Cormorant Garamond + Source Sans 3
   Palette: teal / acqua / avorio caldo
   Anti-Footprint: classi nuove vs caminito-delrey.nl
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
  --tl:      #1a6b7a;
  --tl-dk:   #125060;
  --ac:      #2a9db5;
  --ac-ch:   #3db4cc;
  --sf:      #f4f9f9;
  --sf-2:    #e4f2f4;
  --brd:     #b8d8de;
  --testo:   #0e2227;
  --testo-2: #1e4650;
  --bianco:  #ffffff;
  --ombra:   rgba(26,107,122,.12);
  --r:       4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--testo);
  background: var(--sf);
}

a { color: var(--tl); text-decoration: none; }
a:hover { color: var(--tl-dk); text-decoration: underline; }

/* ========================
   BARRA DI NAVIGAZIONE
   ======================== */
.barra-nav {
  background: var(--tl);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,.28);
}
.interno-nav {
  max-width: 1100px; margin: 0 auto;
  padding: 0 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 62px;
}
.logo-sito {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--sf); letter-spacing: .03em;
  text-decoration: none;
}
.logo-sito .accento-logo { color: var(--ac-ch); }
.logo-sito:hover { color: var(--sf); text-decoration: none; }

.menu-principale { display: flex; align-items: center; gap: 1.6rem; }
.menu-principale a {
  font-size: .83rem; font-weight: 600;
  color: rgba(255,255,255,.76);
  letter-spacing: .06em; text-transform: uppercase;
  text-decoration: none; transition: color .2s;
}
.menu-principale a:hover { color: var(--ac-ch); text-decoration: none; }

.pulsante-nav {
  background: var(--ac) !important;
  color: #FFFFFF !important;
  padding: .42rem 1.15rem !important;
  border-radius: var(--r) !important;
  font-weight: 700 !important; font-size: .79rem !important;
  letter-spacing: .09em !important;
  transition: background .2s !important;
}
.pulsante-nav:hover { background: var(--ac-ch) !important; text-decoration: none !important; }

.icona-menu {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.icona-menu span {
  display: block; width: 24px; height: 2px;
  background: var(--sf); border-radius: 2px; transition: all .25s;
}

/* ========================
   IMMAGINE PRINCIPALE
   ======================== */
.banner-principale {
  position: relative; width: 100%;
  height: 68vh; min-height: 400px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.banner-principale img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.velo-banner {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,80,96,.92) 0%, rgba(18,80,96,.22) 55%, transparent 100%);
}
.testo-banner {
  position: relative; z-index: 2;
  width: 100%; max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 2.8rem;
}
.testo-banner h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.9rem);
  font-weight: 700; color: #FFFFFF;
  line-height: 1.1;
  text-shadow: 0 2px 14px rgba(0,0,0,.48);
  margin-bottom: .5rem;
}
.testo-banner .sottotitolo {
  font-size: 1rem; color: rgba(255,255,255,.86);
  max-width: 560px; margin-bottom: 1.6rem;
  font-weight: 400;
}

/* ========================
   PULSANTI
   ======================== */
.pulsante-principale {
  display: inline-block;
  background: var(--ac); color: #FFFFFF !important;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700; font-size: .88rem;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .9rem 2.1rem; border-radius: var(--r);
  transition: background .2s, transform .15s;
  text-decoration: none !important;
}
.pulsante-principale:hover {
  background: var(--ac-ch); transform: translateY(-1px);
  color: #FFFFFF !important; text-decoration: none !important;
}
.pulsante-bordo {
  display: inline-block; background: transparent;
  color: var(--tl) !important; font-weight: 700;
  font-size: .88rem; letter-spacing: .07em; text-transform: uppercase;
  padding: .85rem 1.9rem; border: 2px solid var(--tl);
  border-radius: var(--r); transition: all .2s;
  text-decoration: none !important;
}
.pulsante-bordo:hover { background: var(--tl); color: #FFFFFF !important; text-decoration: none !important; }

/* ========================
   CONTENITORE PAGINA
   ======================== */
.cornice-pagina { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

/* ========================
   BLOCCHI ARTICOLO
   ======================== */
.blocco-contenuto {
  padding: 3.2rem 0;
  border-bottom: 1px solid var(--brd);
}
.blocco-contenuto:last-child { border-bottom: none; }

.blocco-contenuto h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 600; color: var(--tl);
  margin-bottom: 1.2rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--ac);
  display: inline-block;
}
.blocco-contenuto h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: var(--ac);
  margin: 1.5rem 0 .7rem;
}
.blocco-contenuto p { margin-bottom: 1rem; color: var(--testo-2); }
.blocco-contenuto p:last-child { margin-bottom: 0; }
.blocco-contenuto strong { color: var(--testo); font-weight: 700; }

.foto-blocco {
  width: 100%; height: 270px;
  object-fit: cover; object-position: center;
  border-radius: var(--r); margin: 1.4rem 0;
  box-shadow: 0 4px 18px var(--ombra);
}

.area-widget { margin: 1.5rem 0; padding: .5rem 0; }

/* ========================
   LISTE
   ======================== */
.lista-freccia {
  list-style: none; margin: 1rem 0 1.2rem; padding: 0;
}
.lista-freccia li {
  padding: .35rem 0 .35rem 1.8rem;
  position: relative; color: var(--testo-2);
}
.lista-freccia li::before {
  content: '›'; position: absolute; left: 0;
  color: var(--ac); font-weight: 700; font-size: 1.2rem; line-height: 1.55;
}

.lista-numeri {
  list-style: none; counter-reset: ln;
  margin: 1rem 0 1.2rem; padding: 0;
}
.lista-numeri li {
  counter-increment: ln;
  padding: .45rem 0 .45rem 2.6rem;
  position: relative; color: var(--testo-2);
}
.lista-numeri li::before {
  content: counter(ln);
  position: absolute; left: 0;
  background: var(--tl); color: var(--sf);
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; top: .55rem;
}

/* ========================
   TABELLE
   ======================== */
.contenitore-tabella { overflow-x: auto; margin: 1rem 0 1.2rem; }
.tabella-dati {
  width: 100%; border-collapse: collapse; font-size: .94rem;
}
.tabella-dati th {
  background: var(--tl); color: var(--sf);
  padding: .75rem 1rem; text-align: left;
  font-weight: 700; font-size: .82rem;
  letter-spacing: .05em; text-transform: uppercase;
}
.tabella-dati td {
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--brd);
  color: var(--testo-2); vertical-align: top;
}
.tabella-dati tr:last-child td { border-bottom: none; }
.tabella-dati tr:nth-child(even) td { background: var(--sf-2); }
.tabella-dati .col-prezzo { font-weight: 700; color: var(--tl); white-space: nowrap; }

@media (max-width: 600px) {
  .tabella-dati thead { display: none; }
  .tabella-dati tr {
    display: block; background: var(--sf-2);
    border: 1px solid var(--brd); border-radius: var(--r);
    margin-bottom: .65rem; padding: .75rem;
  }
  .tabella-dati td { display: block; border: none; padding: .2rem 0; }
  .tabella-dati td::before {
    content: attr(data-label) ': ';
    font-weight: 700; color: var(--testo);
    font-size: .78rem; text-transform: uppercase; letter-spacing: .04em;
  }
}

/* ========================
   RIQUADRO PARTNER
   ======================== */
.riquadro-partner {
  background: var(--sf-2);
  border: 1px solid var(--brd);
  border-left: 4px solid var(--ac);
  border-radius: var(--r);
  padding: 1.5rem 1.8rem; margin: 1.5rem 0;
}
.riquadro-partner h3 { margin-top: 0; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--tl); }
.riquadro-partner ul { list-style: none; padding: 0; margin: .75rem 0; }
.riquadro-partner ul li { padding: .3rem 0 .3rem 1.6rem; position: relative; color: var(--testo-2); font-size: .95rem; }
.riquadro-partner ul li::before { content: '✓'; position: absolute; left: 0; color: var(--ac); font-weight: 700; }

/* ========================
   RIQUADRO INFO
   ======================== */
.riquadro-info {
  background: #FFFFFF; border: 1px solid var(--brd);
  border-radius: var(--r); padding: 1.4rem; margin: 1rem 0;
  box-shadow: 0 2px 8px var(--ombra);
}
.riquadro-info h4 {
  font-family: 'Cormorant Garamond', serif; color: var(--tl);
  font-size: 1rem; margin-bottom: .7rem;
  text-transform: uppercase; letter-spacing: .07em;
}
.riquadro-info dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.riquadro-info dt { font-weight: 700; color: var(--testo); font-size: .9rem; }
.riquadro-info dd { color: var(--testo-2); font-size: .9rem; }

/* ========================
   FAQ ACCORDION
   ======================== */
.lista-faq { margin: 1.5rem 0; }

.elemento-faq {
  background: #FFFFFF;
  border: 1px solid var(--brd);
  border-radius: 6px;
  margin-bottom: .9rem;
  overflow: hidden;
  transition: box-shadow .2s;
}
.elemento-faq:hover { box-shadow: 0 3px 12px var(--ombra); }
.elemento-faq.aperto { box-shadow: 0 3px 14px rgba(26,107,122,.16); border-color: var(--ac); }

.testata-faq {
  display: flex; justify-content: space-between;
  align-items: flex-start;
  padding: 1.1rem 1.4rem;
  cursor: pointer; user-select: none; gap: 1.2rem;
  transition: background .2s;
}
.testata-faq:hover { background: var(--sf-2); }
.elemento-faq.aperto .testata-faq { background: var(--sf-2); }

h2.domanda-faq {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: var(--testo); margin: 0;
  border: none !important; padding: 0 !important;
  display: inline !important; line-height: 1.55;
}

.simbolo-faq {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--sf-2);
  border: 1.5px solid var(--brd);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 300;
  color: var(--tl); line-height: 1;
  transition: transform .25s, background .2s;
  margin-top: .1rem;
}
.elemento-faq.aperto .simbolo-faq {
  transform: rotate(45deg);
  background: var(--tl); color: #FFFFFF;
  border-color: var(--tl);
}

.risposta-faq {
  display: none;
  padding: 0 1.4rem 1.4rem 1.4rem;
  border-top: 1px solid var(--brd);
}
.elemento-faq.aperto .risposta-faq { display: block; }
.risposta-faq p {
  margin: 1rem 0 0;
  color: var(--testo-2);
  font-size: .97rem; line-height: 1.78;
}

/* ========================
   HERO BIGLIETTI
   ======================== */
.hero-biglietti {
  background: linear-gradient(135deg, var(--tl) 0%, var(--tl-dk) 100%);
  padding: 3rem 0 2.5rem;
}
.hero-biglietti h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
  color: #FFFFFF; margin-bottom: .75rem;
}
.hero-biglietti p { color: rgba(255,255,255,.82); }
.hero-biglietti .pulsante-principale { margin-top: 1.2rem; }

/* ========================
   HERO SOTTOPAGINE
   ======================== */
.hero-sub {
  background: var(--sf-2);
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--brd);
}
.hero-sub h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.7rem, 3.8vw, 2.4rem);
  color: var(--tl); margin-bottom: .7rem;
}
.hero-sub p { color: var(--testo-2); max-width: 660px; }

/* Briciole */
.briciole-nav {
  font-size: .82rem; color: var(--testo-2); padding: .8rem 0;
}
.briciole-nav a { color: var(--ac); }
.briciole-nav a:hover { color: var(--tl); }
.briciole-nav span { margin: 0 .45rem; color: var(--brd); }

/* ========================
   PIE' DI PAGINA
   ======================== */
.piede-pagina {
  background: var(--tl-dk); color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem; margin-top: 4rem;
}
.griglia-piede {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
}
.logo-piede {
  font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
  color: var(--ac-ch); margin-bottom: .75rem;
}
.piede-pagina p { font-size: .88rem; line-height: 1.6; margin-bottom: .5rem; }
.piede-pagina h4 {
  color: #FFFFFF; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .09em; margin-bottom: .75rem;
}
.piede-pagina ul { list-style: none; }
.piede-pagina ul li { margin-bottom: .4rem; }
.piede-pagina ul a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color .2s; }
.piede-pagina ul a:hover { color: var(--ac-ch); text-decoration: none; }
.riga-piede {
  max-width: 1100px; margin: 1.8rem auto 0;
  padding: 1.4rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem; font-size: .8rem;
}
.nota-affiliazione { font-size: .78rem; color: rgba(255,255,255,.4); font-style: italic; }

/* ========================
   PAGINE LEGALI
   ======================== */
.testo-legale { padding: 3rem 0; }
.testo-legale h2 { font-family:'Cormorant Garamond',serif; font-size:1.55rem; color:var(--tl); margin:2rem 0 .75rem; padding-bottom:.4rem; border-bottom:1px solid var(--brd); }
.testo-legale h3 { font-size:1.1rem; font-weight:700; color:var(--ac); margin:1.5rem 0 .5rem; }
.testo-legale p { color:var(--testo-2); margin-bottom:1rem; }
.testo-legale ul { list-style:disc; padding-left:1.5rem; margin-bottom:1rem; }
.testo-legale ul li { color:var(--testo-2); margin-bottom:.35rem; }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 768px) {
  .menu-principale { display: none; flex-direction: column; gap: 0; }
  .menu-principale.visibile {
    display: flex; position: absolute; top: 62px; left: 0; right: 0;
    background: var(--tl); padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 6px 16px rgba(0,0,0,.3); z-index: 99;
  }
  .menu-principale.visibile a { padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: .95rem; color: rgba(255,255,255,.85); }
  .menu-principale.visibile .pulsante-nav { margin-top: .5rem; display: inline-block; }
  .icona-menu { display: flex; }
  .barra-nav { position: relative; }
  .griglia-piede { grid-template-columns: 1fr; gap: 1.4rem; }
  .banner-principale { height: 55vw; min-height: 280px; }
  .blocco-contenuto { padding: 2.2rem 0; }
  .foto-blocco { height: 190px; }
}
@media (max-width: 480px) {
  .interno-nav { padding: 0 1rem; }
  .cornice-pagina { padding: 0 1rem; }
  .testo-banner { padding: 0 1rem 1.5rem; }
}
