/* ============================================================
   ESPAÇO ELION — CSS Global
   Fontes: Playfair Display (títulos), Dancing Script (destaque),
   Raleway (corpo de texto)
   Paleta: vinho profundo, preto, dourado
   ============================================================ */

:root {
  --wine:        #350b0d;
  --wine-dark:   #200708;
  --wine-darker: #120505;
  --black:       #080707;
  --gold:        #b78332;
  --gold-light:  #d9a64d;
  --cream:       #f7f1e6;
  --text-body:   rgba(247,241,230,.82);
  --text-muted:  rgba(247,241,230,.60);
  --line:        rgba(201,164,92,.28);
  --radius-sm:   6px;
  --radius-md:   5px;
  --radius-lg:   9px;
  --radius-xl:   12px;
  --shadow-md:   0 14px 40px rgba(0,0,0,.35);
  --font-head:   'Playfair Display', Georgia, serif;
  --font-script: 'Dancing Script', cursive;
  --font-body:   'Raleway', -apple-system, sans-serif;
  --ease:        .25s ease;
  --max-w:       1120px;
  --nav-h:       132px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--black);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

section {
  position: relative;
  padding: 62px 0;
  scroll-margin-top: var(--nav-h);
}
.section-full { min-height: calc(100vh - var(--nav-h)); display: flex; align-items: center; }

h1, h2, h3, h4 { font-family: var(--font-head); color: #fff; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.3rem, 5vw, 3.65rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p, li { font-size: .97rem; line-height: 1.8; }

.script { font-family: var(--font-script); color: var(--gold-light); font-weight: 500; }

.eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.centered { text-align: center; }
.centered .eyebrow { position: relative; margin-bottom: 12px; }
.centered .eyebrow::after {
  content: "";
  display: block;
  width: 46px; height: 1px;
  margin: 14px auto 0;
  background: var(--gold);
}
.centered .subtitle { max-width: 560px; margin: 14px auto 0; color: var(--text-muted); }

/* ── Botões ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 24px;
  border-radius: 3px;
  font-size: .75rem;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(110deg, #b6863a, var(--gold-light));
  color: #201007;
  border-color: var(--gold-light);
  box-shadow: 0 8px 24px rgba(201,164,92,.22);
}
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--gold-light);
  border-color: var(--gold);
}
.btn-outline:hover { background: rgba(201,164,92,.12); color: #fff; border-color: var(--gold-light); }

/* ── Navbar ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(10,7,6,.48);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  border-bottom: 1px solid var(--line);
  transition: background var(--ease);
}
.nav.scrolled { background: rgba(10,7,6,.88); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo-full { width: 260px; height: 124px; object-fit: contain; object-position: left center; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 10px;
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(247,241,230,.72);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); background: rgba(201,164,92,.09); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold-light); border-radius: 2px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--wine-darker);
    padding: 14px 28px 24px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
}
@media (max-width: 700px) {
  :root { --nav-h: 112px; }
  .brand-logo-full { width: 190px; height: 105px; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: var(--nav-h);
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(180deg, rgba(8,7,7,.38) 0%, rgba(8,7,7,.28) 35%, rgba(25,5,6,.82) 100%),
    url('../img/hero-lago.jpg');
  background-size: cover;
  background-position: center 62%;
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-logo-full { display: block; width: 530px; height: 350px; margin: 0 auto 4px; object-fit: contain; }
.hero h1 { max-width: 780px; margin: 0 auto 22px; text-shadow: 0 6px 30px rgba(0,0,0,.5); }
.hero p.lead { max-width: 460px; margin: 0 auto 24px; font-size: .92rem; color: rgba(247,241,230,.86); }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 1; width: 26px; height: 42px;
  border: 2px solid rgba(247,241,230,.5); border-radius: 20px;
}
.scroll-cue::before {
  content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px;
  background: var(--gold-light); border-radius: 2px; transform: translateX(-50%);
  animation: cue 1.6s infinite ease;
}
@keyframes cue { 0%{opacity:1; top:7px;} 70%{opacity:0; top:20px;} 100%{opacity:0; top:7px;} }

@media (max-width: 700px) {
  .hero-logo-full { width: 340px; height: 230px; }
}

/* ── Sobre ── */
.sobre { background: linear-gradient(160deg, var(--wine) 0%, var(--wine-dark) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sobre-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.sobre-txt p { margin-bottom: 16px; color: var(--text-body); }
.sobre-destaque { color: var(--gold-light); font-family: var(--font-head); font-style: italic; font-size: 1.15rem; margin-top: 22px; }

.framed { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gold); box-shadow: var(--shadow-md); }
.framed::after { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(217,166,77,.65); border-radius: 5px; pointer-events: none; }
.framed img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.sobre .framed::after { display: none; }
.sobre-grid .framed img { object-position: center; }

/* ── Eventos ── */
.eventos { background: var(--black); }
.eventos-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 34px; }
.evento-card {
  position: relative; min-height: 320px; border-radius: 6px;
  overflow: hidden; background-size: cover; background-position: center;
  border: 1px solid rgba(217,166,77,.52); transition: transform var(--ease), box-shadow var(--ease);
}
.evento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.evento-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: 60%;
  background: linear-gradient(155deg, rgba(54,9,11,.98), rgba(18,5,6,.99));
  clip-path: polygon(0 11%, 12% 4%, 24% 9%, 38% 2%, 53% 8%, 68% 2%, 83% 8%, 100% 0, 100% 100%, 0 100%);
  transition: top .45s ease;
}
.evento-card:hover::after { top: 100%; }
.evento-icon {
  position: absolute; z-index: 2; top: 57%; left: 50%; transform: translateX(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
  color: var(--gold-light); background: var(--wine-darker);
  transition: opacity .3s ease;
}
.evento-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.evento-meta { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 15px; text-align: center; transition: opacity .3s ease; }
.evento-meta h3 { color: #fff; margin-bottom: 5px; font-size: 1rem; }
.evento-meta p { color: rgba(247,241,230,.75); font-size: .7rem; line-height: 1.45; }
.evento-card:hover .evento-icon, .evento-card:hover .evento-meta { opacity: 0; }

@media (max-width: 640px) { .evento-card { min-height: 280px; } }

/* ── Estrutura ── */
.estrutura { background: linear-gradient(160deg, var(--wine-dark) 0%, var(--wine) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.estrutura-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.estrutura-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 10px; margin-top: 28px; }
.estrutura-item { text-align: center; }
.estrutura-item .ico {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; margin: 0 auto 10px;
  color: var(--gold); text-shadow: 0 0 12px rgba(183,131,50,.18);
}
.estrutura-item .ico svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.estrutura-item .ico-estacionamento { font-family: Georgia, serif; font-size: 1.55rem; font-weight: 700; line-height: 1; }
.estrutura-item span:last-child { display: block; font-size: .76rem; color: rgba(247,241,230,.8); line-height: 1.4; }

/* ── Galeria ── */
.galeria { background: var(--black); }
.galeria-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 30px; }
.galeria-item { position: relative; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; border: 1px solid var(--line); }
.galeria-item img { aspect-ratio: 1.24 / 1; object-fit: cover; width: 100%; transition: transform .5s ease; }
.galeria-item:hover img { transform: scale(1.08); }
.galeria-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12,6,5,.88) 100%); }
.galeria-item span { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 7px; text-align: center; font-size: .58rem; letter-spacing: .05em; text-transform: uppercase; color: #fff; font-weight: 700; }
.galeria-cta { text-align: center; margin-top: 18px; }

@media (max-width: 980px) { .galeria-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .galeria-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Lightbox (zoom de uma única foto) ── */
.lightbox { position: fixed; inset: 0; z-index: 1002; background: rgba(8,4,3,.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-md); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 24px; right: 30px; color: var(--gold-light); font-size: 2rem; cursor: pointer; line-height: 1; }

/* ── Galeria completa (modal "Ver Mais Fotos") ── */
.gallery-modal { position: fixed; inset: 0; z-index: 1001; display: none; overflow-y: auto; padding: 58px 24px; background: rgba(8,4,3,.96); }
.gallery-modal.open { display: block; }
.gallery-modal-content { width: min(1100px, 100%); margin: 0 auto; text-align: center; }
.gallery-modal-content h2 { margin-bottom: 30px; }
.gallery-modal-close { position: fixed; top: 18px; right: 24px; border: 1px solid var(--gold); background: rgba(30,8,8,.8); color: var(--gold-light); width: 42px; height: 42px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; }
.more-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.more-gallery-grid img { width: 100%; aspect-ratio: 1.05 / 1; object-fit: cover; border: 1px solid rgba(217,166,77,.52); border-radius: 5px; cursor: zoom-in; }
body.gallery-modal-open { overflow: hidden; }
@media (max-width: 700px) { .more-gallery-grid { grid-template-columns: repeat(2, 1fr); } .gallery-modal { padding: 58px 16px 30px; } }

/* ── Depoimentos ── */
.depoimentos { background: linear-gradient(160deg, var(--wine) 0%, var(--wine-dark) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.testi-wrap { position: relative; max-width: 980px; margin: 30px auto 0; display: flex; align-items: center; gap: 12px; }
.testi-track { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 6px; width: 100%; }
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  scroll-snap-align: start; flex: 0 0 100%;
  background: rgba(12,6,5,.35); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px 20px; text-align: center;
}
@media (min-width: 820px) { .testi-card { flex: 0 0 calc(33.333% - 16px); } }
.testi-quote { font-family: var(--font-head); font-style: italic; color: #fff; font-size: 1.05rem; margin-bottom: 18px; line-height: 1.6; }
.testi-stars { color: var(--gold-light); letter-spacing: 3px; margin-bottom: 10px; font-size: .9rem; }
.testi-name { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-light); font-weight: 700; }
.testi-arrow {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--ease);
}
.testi-arrow:hover { background: rgba(201,164,92,.14); }

/* ── Localização + Contato ── */
.contato { background: var(--black); }
.contato-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; margin-top: 0; }
.local-info > .eyebrow, .contato-card > .eyebrow { color: var(--gold-light); margin-bottom: 8px; }
.local-info > h2, .contato-card > h2 { margin-bottom: 28px; }
.local-info h3 { font-family: var(--font-body); font-size: .71rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; }
.local-addr { display: flex; gap: 12px; margin-bottom: 22px; }
.local-addr strong { color: #fff; display: block; margin-bottom: 4px; }
.local-addr p { color: var(--text-muted); font-size: .9rem; }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-bottom: 22px; }
.map-frame iframe { width: 100%; height: 230px; border: 0; display: block; filter: grayscale(.3) sepia(.15); }
.map-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.contato-card {
  background: rgba(201,164,92,.06); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 32px 36px 38px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: .92rem; font-family: var(--font-body);
  color: var(--cream); background: rgba(12,6,5,.55); border: 1px solid var(--line);
  border-radius: var(--radius-md); transition: border-color var(--ease), background var(--ease);
}
.field select { color: var(--cream); }
.field select option { background: var(--wine-darker); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: rgba(247,241,230,.4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: rgba(12,6,5,.75); }
.field textarea { resize: vertical; min-height: 96px; }
.field-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.btn-submit { width: 100%; justify-content: center; }
.btn-submit:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.form-msg { margin-top: 16px; font-size: .86rem; line-height: 1.55; display: none; padding: 14px 16px; border-radius: var(--radius-md); }
.form-msg.ok  { display: block; background: rgba(60,140,100,.16); color: #a9e6c6; border: 1px solid rgba(60,140,100,.4); }
.form-msg.err { display: block; background: rgba(160,50,50,.16); color: #f3b6b6; border: 1px solid rgba(160,50,50,.4); }

@media (max-width: 720px) { .form-row { grid-template-columns: 1fr; } }

/* ── Footer ── */
.footer { background: var(--wine-darker); padding: 44px 0 22px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; min-height: 175px; }
.footer-logo-full { width: 360px; height: 175px; object-fit: contain; object-position: left center; }
.footer-col p { color: var(--text-muted); font-size: .85rem; max-width: 280px; }
.footer-col h5 { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--gold-light); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: .84rem; color: var(--text-muted); transition: color var(--ease); }
.footer-col ul a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold-light); transition: background var(--ease); }
.footer-social a:hover { background: rgba(201,164,92,.14); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--text-muted); }

@media (max-width: 700px) {
  .footer-logo-full { width: 260px; height: 126px; }
  .footer-brand { min-height: 126px; }
}
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ── WhatsApp flutuante ── */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 998;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.3); transition: transform var(--ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.05); }
.wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ── Responsivo geral ── */
@media (max-width: 980px) {
  .sobre-grid, .estrutura-grid { grid-template-columns: 1fr; gap: 40px; }
  .estrutura-grid .framed { order: -1; }
  .eventos-grid { grid-template-columns: repeat(2, 1fr); }
  .contato-grid { grid-template-columns: 1fr; }
  .estrutura-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  section { padding: 58px 0; }
  .wrap { padding: 0 22px; }
  .eventos-grid { grid-template-columns: 1fr; }
  .estrutura-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { display: flex; flex-direction: column; gap: 30px; }
}
