/* ============================================================
   palatulversailles.ro — style.css?v=1
   Tipografie: Spectral + Open Sans
   Paletă: verde pădure #1E3D2F / bej cald #D4B483 / crem #F9F5EF
   Anti-footprint: clase unice față de restul rețelei
   ============================================================ */

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

:root {
  --vrd:     #1E3D2F;
  --vrd-dk:  #122518;
  --vrd-lt:  #2E5A45;
  --bej:     #D4B483;
  --bej-lt:  #E8CC9E;
  --crem:    #F9F5EF;
  --crem-2:  #EEE7D8;
  --nisip:   #D5C9B5;
  --text:    #1A1008;
  --text-2:  #3D2E18;
  --alb:     #FFFFFF;
  --umbra:   rgba(30,61,47,.13);
  --raza:    5px;
}

*, *::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: 'Open Sans', sans-serif;
  font-size: 1rem; line-height: 1.85;
  color: var(--text); background: var(--crem);
}
a { color: var(--vrd); text-decoration: none; transition: color .2s; }
a:hover { color: var(--vrd-lt); text-decoration: underline; }

/* ── ANTET ── */
.antet-site {
  background: var(--vrd);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 14px rgba(0,0,0,.32);
}
.antet-interior {
  max-width: 1120px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center;
  justify-content: space-between; height: 64px;
}
.logo-antet {
  font-family: 'Spectral', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--crem); letter-spacing: .03em;
  text-decoration: none; line-height: 1;
}
.logo-antet .logo-accent { color: var(--bej-lt); }
.logo-antet:hover { text-decoration: none; color: var(--crem); }

.nav-versailles {
  display: flex; align-items: center; gap: 1.6rem;
}
.nav-versailles a {
  font-size: .79rem; font-weight: 600;
  color: rgba(255,255,255,.72);
  letter-spacing: .04em; text-decoration: none;
  transition: color .2s;
}
.nav-versailles a:hover { color: var(--bej-lt); text-decoration: none; }
.nav-versailles .btn-bilet {
  background: var(--bej) !important; color: var(--vrd-dk) !important;
  padding: .4rem 1.1rem !important; border-radius: var(--raza) !important;
  font-weight: 700 !important; font-size: .76rem !important;
  letter-spacing: .05em !important; transition: background .2s !important;
  text-decoration: none !important;
}
.nav-versailles .btn-bilet:hover {
  background: var(--bej-lt) !important;
  text-decoration: none !important;
}
.buton-meniu {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 5px;
}
.buton-meniu span { display: block; width: 24px; height: 2px; background: var(--crem); border-radius: 2px; }

/* ── HERO PRINCIPAL ── */
.hero-palat {
  position: relative; width: 100%;
  height: 72vh; min-height: 430px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-palat img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}
.hero-perdea {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(18,37,24,.9) 0%,
    rgba(18,37,24,.2) 55%,
    transparent 100%);
}
.hero-text {
  position: relative; z-index: 2;
  width: 100%; max-width: 1120px;
  margin: 0 auto; padding: 0 1.5rem 3.2rem;
}
.hero-text h1 {
  font-family: 'Spectral', serif;
  font-size: clamp(1.9rem, 5vw, 3.6rem);
  font-weight: 700; color: var(--alb);
  line-height: 1.15; margin-bottom: .5rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hero-subtitlu {
  font-size: .98rem; font-weight: 300;
  color: rgba(255,255,255,.82); max-width: 560px;
  margin-bottom: 1.8rem;
}

/* ── HERO BILETE ── */
.hero-bilete {
  position: relative; width: 100%;
  height: 52vh; min-height: 360px;
  overflow: hidden; display: flex; align-items: flex-end;
}
.hero-bilete img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.hero-bilete .hero-perdea {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(18,37,24,.92) 0%,
    rgba(18,37,24,.25) 55%,
    rgba(18,37,24,.05) 100%);
}
.hero-bilete .cutie-pagina {
  position: relative; z-index: 2; padding-bottom: 2.8rem;
}
.hero-bilete h1 {
  font-family: 'Spectral', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--alb); margin-bottom: .7rem; font-weight: 700;
}
.hero-bilete p { color: rgba(255,255,255,.82); }
.hero-bilete .btn-bej { margin-top: 1.2rem; }

/* FIRIMITURI pe fond întunecat */
.hero-bilete .firimituri { color: rgba(255,255,255,.72); }
.hero-bilete .firimituri a { color: var(--bej-lt); }
.hero-bilete .firimituri a:hover { color: var(--alb); text-decoration: none; }
.hero-bilete .firimituri .sep { color: rgba(255,255,255,.45); }

/* ── BUTOANE ── */
.btn-bej {
  display: inline-block;
  background: var(--bej); color: var(--vrd-dk) !important;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700; font-size: .87rem;
  letter-spacing: .07em;
  padding: .9rem 2.2rem; border-radius: var(--raza);
  transition: background .2s, transform .15s;
  text-decoration: none !important; cursor: pointer;
}
.btn-bej:hover {
  background: var(--bej-lt); transform: translateY(-1px);
  color: var(--vrd-dk) !important; text-decoration: none !important;
}
.btn-contur {
  display: inline-block;
  background: transparent; border: 2px solid var(--bej);
  color: var(--bej) !important;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700; font-size: .87rem;
  letter-spacing: .07em;
  padding: .85rem 2rem; border-radius: var(--raza);
  transition: background .2s, color .2s, transform .15s;
  text-decoration: none !important; cursor: pointer;
}
.btn-contur:hover {
  background: var(--bej); color: var(--vrd-dk) !important;
  transform: translateY(-1px); text-decoration: none !important;
}

/* ── LAYOUT ── */
.cutie-pagina { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ── SECȚIUNI CONȚINUT ── */
.sectiune-articol {
  padding: 3rem 0; border-bottom: 1px solid var(--nisip);
}
.sectiune-articol:last-child { border-bottom: none; }

.sectiune-articol h2 {
  font-family: 'Spectral', serif;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem);
  font-weight: 600; color: var(--vrd);
  margin-bottom: 1.2rem; padding-bottom: .5rem;
  border-bottom: 2px solid var(--bej); display: inline-block;
}
.sectiune-articol h3 {
  font-family: 'Spectral', serif;
  font-size: 1.15rem; color: var(--bej);
  margin: 1.4rem 0 .7rem;
}
.sectiune-articol p { margin-bottom: 1rem; color: var(--text-2); }
.sectiune-articol p:last-child { margin-bottom: 0; }
.sectiune-articol strong { color: var(--text); font-weight: 700; }

.poza-sectiune {
  width: 100%; height: 270px;
  object-fit: cover; border-radius: var(--raza);
  margin: 1.4rem 0; box-shadow: 0 4px 18px var(--umbra); display: block;
}
.zona-widget { margin: 1.6rem 0; }

/* ── LISTE ── */
.lista-punct {
  list-style: none; margin: 1rem 0 1.2rem; padding: 0;
}
.lista-punct li {
  padding: .35rem 0 .35rem 1.8rem;
  position: relative; color: var(--text-2);
}
.lista-punct li::before {
  content: '▶'; position: absolute; left: 0;
  color: var(--bej); font-size: .72rem; line-height: 2;
}

.lista-numerotata {
  list-style: none; counter-reset: ln;
  margin: 1rem 0 1.2rem; padding: 0;
}
.lista-numerotata li {
  counter-increment: ln;
  padding: .45rem 0 .45rem 2.6rem;
  position: relative; color: var(--text-2);
}
.lista-numerotata li::before {
  content: counter(ln);
  position: absolute; left: 0; top: .6rem;
  background: var(--vrd); color: var(--crem);
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 700;
}

/* ── TABELE ── */
.tabel-container { overflow-x: auto; margin: 1rem 0 1.2rem; }
.tabel-date {
  width: 100%; border-collapse: collapse; font-size: .93rem;
}
.tabel-date th {
  background: var(--vrd); color: var(--crem);
  padding: .75rem 1rem; text-align: left;
  font-weight: 700; font-size: .79rem; letter-spacing: .05em;
}
.tabel-date td {
  padding: .65rem 1rem; border-bottom: 1px solid var(--nisip);
  color: var(--text-2); vertical-align: top;
}
.tabel-date tr:last-child td { border-bottom: none; }
.tabel-date tr:nth-child(even) td { background: var(--crem-2); }
.celula-pret { font-weight: 700; color: var(--vrd); white-space: nowrap; }

@media (max-width: 600px) {
  .tabel-date thead { display: none; }
  .tabel-date tr {
    display: block; background: var(--crem-2);
    border: 1px solid var(--nisip);
    border-radius: var(--raza); margin-bottom: .7rem; padding: .8rem;
  }
  .tabel-date td { display: block; border: none; padding: .2rem 0; }
  .tabel-date td::before {
    content: attr(data-label) ': ';
    font-weight: 700; color: var(--text); font-size: .76rem;
  }
}

/* ── CUTIE PARTENER ── */
.cutie-partener {
  background: var(--crem-2); border: 1px solid var(--nisip);
  border-left: 4px solid var(--bej);
  border-radius: var(--raza); padding: 1.5rem 1.8rem; margin: 1.5rem 0;
}
.cutie-partener h3 { margin: 0 0 .8rem; font-size: 1.1rem; color: var(--vrd); }
.cutie-partener ul { list-style: none; padding: 0; margin: .7rem 0 1.2rem; }
.cutie-partener ul li { padding: .3rem 0 .3rem 1.6rem; position: relative; color: var(--text-2); font-size: .94rem; }
.cutie-partener ul li::before { content: '✓'; position: absolute; left: 0; color: var(--bej); font-weight: 700; }

.cutie-tiqets {
  background: var(--alb); border: 2px solid var(--bej);
  border-radius: var(--raza); padding: 1.5rem 1.8rem; margin: 1.5rem 0;
}
.cutie-tiqets h3 { margin: 0 0 .8rem; font-size: 1.1rem; color: var(--vrd); }
.cutie-tiqets ul { list-style: none; padding: 0; margin: .7rem 0 1.2rem; }
.cutie-tiqets ul li { padding: .3rem 0 .3rem 1.6rem; position: relative; color: var(--text-2); font-size: .94rem; }
.cutie-tiqets ul li::before { content: '✓'; position: absolute; left: 0; color: var(--bej); font-weight: 700; }

/* ── INFO BOX ── */
.caseta-info {
  background: var(--alb); border: 1px solid var(--nisip);
  border-radius: var(--raza); padding: 1.4rem; margin: 1rem 0;
  box-shadow: 0 2px 8px var(--umbra);
}
.caseta-info h4 {
  font-family: 'Spectral', serif; color: var(--vrd);
  font-size: .9rem; letter-spacing: .04em; margin-bottom: .7rem;
}
.caseta-info dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.caseta-info dt { font-weight: 700; color: var(--text); font-size: .88rem; }
.caseta-info dd { color: var(--text-2); font-size: .88rem; }

/* ── FAQ ACORDEON v2.2 ── */
.lista-faq-ro { margin: 1.5rem 0; }

.element-faq {
  background: var(--alb); border: 1px solid var(--nisip);
  border-radius: 6px; margin-bottom: .9rem; overflow: hidden;
  transition: box-shadow .22s, border-color .22s;
}
.element-faq:hover { box-shadow: 0 2px 10px var(--umbra); }
.element-faq.deschis {
  border-color: var(--bej);
  box-shadow: 0 3px 14px rgba(30,61,47,.14);
}

.declansator-faq {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer; user-select: none; transition: background .18s;
}
.declansator-faq:hover { background: var(--crem-2); }
.element-faq.deschis .declansator-faq { background: var(--crem-2); }

h2.intrebare-faq {
  font-family: 'Open Sans', sans-serif;
  font-size: .98rem; font-weight: 700;
  color: var(--text); margin: 0;
  border: none !important; padding: 0 !important;
  display: inline !important; line-height: 1.6;
}

.icona-faq {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--crem-2); border: 1.5px solid var(--nisip);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 300;
  color: var(--bej); line-height: 1;
  transition: transform .25s, background .2s, border-color .2s;
  margin-top: .05rem;
}
.element-faq.deschis .icona-faq {
  transform: rotate(45deg);
  background: var(--bej); border-color: var(--bej);
  color: var(--alb);
}

.raspuns-faq {
  display: none; padding: 0 1.4rem 1.4rem;
  border-top: 1px solid var(--nisip);
}
.element-faq.deschis .raspuns-faq { display: block; }
.raspuns-faq p { margin-top: 1rem; color: var(--text-2); font-size: .96rem; line-height: 1.8; }

/* ── HERO INTERIOR ── */
.hero-interior {
  background: var(--crem-2); padding: 2.4rem 0 2rem;
  border-bottom: 1px solid var(--nisip);
}
.hero-interior h1 {
  font-family: 'Spectral', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  color: var(--vrd); margin-bottom: .6rem; font-weight: 700;
}
.hero-interior p { color: var(--text-2); max-width: 660px; }

/* FIRIMITURI */
.firimituri { font-size: .8rem; color: var(--text-2); padding: .7rem 0; margin-bottom: .5rem; }
.firimituri a { color: var(--bej); }
.firimituri a:hover { color: var(--vrd); text-decoration: none; }
.firimituri .sep { margin: 0 .4rem; color: var(--nisip); }

/* ── PAGINI LEGALE ── */
.corp-legal h2 {
  font-family: 'Spectral', serif; font-size: 1.35rem; color: var(--vrd);
  margin: 2rem 0 .75rem; padding-bottom: .4rem;
  border-bottom: 1px solid var(--nisip);
}
.corp-legal h3 { font-size: 1.05rem; font-weight: 700; color: var(--bej); margin: 1.4rem 0 .5rem; }
.corp-legal p { color: var(--text-2); margin-bottom: 1rem; }
.corp-legal ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.corp-legal ul li { color: var(--text-2); margin-bottom: .35rem; }

/* ── SUBSOL ── */
.subsol-site {
  background: var(--vrd-dk); color: rgba(255,255,255,.68);
  padding: 3rem 0 2rem; margin-top: 4rem;
}
.grila-subsol {
  max-width: 1120px; margin: 0 auto; padding: 0 1.5rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem;
}
.marca-subsol {
  font-family: 'Spectral', serif;
  font-size: 1.15rem; color: var(--bej); margin-bottom: .8rem; font-weight: 700;
}
.subsol-site p { font-size: .86rem; line-height: 1.65; margin-bottom: .5rem; }
.subsol-site a { color: rgba(255,255,255,.5); font-size: .86rem; transition: color .2s; }
.subsol-site a:hover { color: var(--bej); text-decoration: none; }
.subsol-site h4 { color: var(--alb); font-size: .78rem; letter-spacing: .07em; margin-bottom: .75rem; }
.subsol-site ul { list-style: none; }
.subsol-site ul li { margin-bottom: .4rem; }
.subsol-site ul a { color: rgba(255,255,255,.55); font-size: .86rem; }
.subsol-site ul a:hover { color: var(--bej); }

.fund-subsol {
  max-width: 1120px; margin: 1.8rem auto 0;
  padding: 1.4rem 1.5rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem; color: rgba(255,255,255,.38); font-style: italic;
}

/* ── RESPONSIV ── */
@media (max-width: 768px) {
  .nav-versailles { display: none; flex-direction: column; gap: 0; }
  .nav-versailles.nav-deschisa {
    display: flex; position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--vrd); 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;
  }
  .nav-versailles.nav-deschisa a {
    padding: .65rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
    font-size: .9rem; color: rgba(255,255,255,.82);
  }
  .nav-versailles.nav-deschisa .btn-bilet { margin-top: .5rem; display: inline-block; }
  .buton-meniu { display: flex; }
  .antet-site { position: relative; }
  .grila-subsol { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-palat { height: 60vw; min-height: 300px; }
  .hero-bilete { height: 55vw; min-height: 320px; }
  .sectiune-articol { padding: 2.2rem 0; }
  .poza-sectiune { height: 200px; }
}
@media (max-width: 480px) {
  .antet-interior, .cutie-pagina { padding: 0 1rem; }
  .hero-text { padding: 0 1rem 2rem; }
}
