/* Infinito da Ilha */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-bold.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --black: #15100d;
  --brown: #221a15;
  --brown-2: #2e241e;
  --gold: #c9a45c;
  --gold-soft: #dcc08a;
  --gold-text: #86672b;
  --cream: #f2e8d8;
  --paper: #faf6ef;
  --ink: #1d1612;
  --gray: #6a5f57;
  --line: #e1d5c2;
  --header: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body {
  margin: 0;
  font: 400 16px/1.7 "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .6rem; letter-spacing: -.01em; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap--mid { width: min(900px, 100% - 40px); }

.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 1.5px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: var(--black);
  font: 500 .95rem/1 "Poppins", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.btn--line { background: transparent; color: var(--cream); border-color: rgba(242,232,216,.45); }
.btn--line:hover { background: transparent; border-color: var(--cream); }
.btn--full { width: 100%; padding: 16px; }
.text-link { color: var(--gold-text); font-weight: 500; text-underline-offset: 4px; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 20; height: var(--header);
  background: var(--black);
  border-bottom: 1px solid rgba(201,164,92,.18);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--cream); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase; }
.brand span { color: var(--gold); font-weight: 400; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--cream); text-decoration: none; font-size: .9rem; }
.nav a:hover { color: var(--gold-soft); }
.nav .nav__cta { color: var(--gold); border: 1.5px solid var(--gold); padding: 8px 16px; border-radius: 6px; }
.nav .nav__cta:hover { background: var(--gold); color: var(--black); }
.menu-btn { display: none; background: none; border: 1.5px solid rgba(242,232,216,.4); color: var(--cream); font: 500 .85rem "Poppins", sans-serif; padding: 7px 14px; border-radius: 6px; cursor: pointer; }

/* Photo placeholder */
.photo {
  display: block; position: relative; border: 0; padding: 0;
  background: var(--brown-2) center / cover no-repeat;
  border-radius: 10px; overflow: hidden;
}
.photo.is-empty { background-image: linear-gradient(160deg, #3a2e25, #231b16); }
.photo.is-empty::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 0 0; padding: 10px 14px;
  font-size: .75rem; color: rgba(242,232,216,.55);
}

/* Hero */
.hero {
  position: relative; min-height: min(92svh, 860px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--black); color: var(--cream);
  padding: calc(var(--header) + 40px) 0 0;
  overflow: hidden;
}
.hero__photo {
  position: absolute; inset: var(--header) 0 0 38%; border-radius: 0;
  background-position: center 45%;
}
.hero__photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--black) 0%, rgba(21,16,13,.6) 22%, rgba(21,16,13,0) 50%),
              linear-gradient(0deg, var(--black) 0%, rgba(21,16,13,0) 30%);
}
.hero__content { position: relative; padding-bottom: 56px; }
.hero__kicker { font-size: .95rem; color: var(--gold-soft); margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(3rem, 8.5vw, 6.6rem);
  line-height: .98; letter-spacing: -.03em; text-transform: uppercase;
  color: var(--cream);
}
.hero__lead { max-width: 30rem; font-size: 1.1rem; color: rgba(242,232,216,.8); margin: 22px 0 30px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts {
  position: relative; list-style: none; margin: 0; padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; gap: 10px 40px;
  border-top: 1px solid rgba(201,164,92,.35);
  font-size: .9rem; color: rgba(242,232,216,.7);
}
.hero__facts b { color: var(--cream); font-weight: 500; }

/* Blocks */
.block { padding: 96px 0; }
.block--dark { background: var(--black); color: var(--cream); }
.block--cream { background: var(--cream); }
.intro { color: var(--gray); max-width: 36rem; margin-bottom: 40px; }
.lead { font-size: 1.2rem; font-weight: 500; line-height: 1.5; }
.muted-light { color: rgba(242,232,216,.7); }
.title-caps { text-transform: uppercase; letter-spacing: .01em; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about__photos { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; height: 520px; }
.about__main { height: 100%; }
.about__side { height: 62%; align-self: end; }
.about__text > p:not(.lead) { color: var(--gray); }
.specs { margin: 28px 0 0; border-top: 1px solid var(--line); }
.specs > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .85rem; color: var(--gray); }
.specs dd { margin: 0; font-weight: 500; }
.specs a { text-decoration: none; }
.specs a:hover { color: var(--gold-text); }

/* Prices (layout da arte de valores) */
.prices {
  margin: 32px 0 56px;
  background: var(--cream); border-radius: 18px; padding: 12px;
  display: grid; gap: 8px;
}
.price {
  display: grid; grid-template-columns: 88px 1fr 38%;
  min-height: 88px; border-radius: 10px; overflow: hidden;
  text-decoration: none; color: inherit;
}
.price:hover .price__value { background: var(--gold); color: var(--black); }
.price:hover .price__label { background: #fffaf1; }
.price__icon { display: grid; place-items: center; background: linear-gradient(180deg, #d6b36e, #b08a42); }
.price__icon svg { width: 40px; height: 40px; fill: none; stroke: #fff8ea; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.price__label {
  display: flex; align-items: center; padding: 0 28px;
  background: #f8f1e5; color: var(--black);
  font-weight: 500; font-size: 1.15rem; text-transform: uppercase;
}
.price__value {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: var(--brown); color: #fff;
  font-weight: 500; font-size: 1.05rem; padding: 8px 12px;
  flex-direction: row; gap: 10px; text-transform: uppercase; letter-spacing: .02em;
  transition: background .15s, color .15s;
}

.info-title {
  display: flex; align-items: center; gap: 14px;
  color: var(--gold); font-size: 1.3rem; text-transform: uppercase; margin-bottom: 8px;
}
.info-title span { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); display: grid; place-items: center; }
.info-title svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.info { list-style: none; margin: 0 0 40px; padding: 0; }
.info li { display: flex; gap: 20px; padding: 18px 0 18px 4px; border-bottom: 1px solid rgba(201,164,92,.35); }
.info li:last-child { border-bottom: 0; }
.info svg { flex: none; width: 34px; height: 34px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.info p { margin: 0; color: rgba(242,232,216,.88); }
.info b { color: #fff; }

.weekday {
  display: flex; align-items: center; gap: 28px;
  background: var(--cream); color: var(--ink);
  border-radius: 16px; padding: 24px 32px;
}
.weekday__icon { flex: none; width: 110px; height: 110px; border-radius: 50%; background: var(--brown); display: grid; place-items: center; }
.weekday__icon svg { width: 50px; height: 50px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.weekday__text { border-left: 1.5px solid var(--gold); padding-left: 28px; }
.weekday h3 { font-size: 1.3rem; text-transform: uppercase; margin-bottom: 6px; }
.weekday p { color: #4d433c; font-size: .95rem; margin-bottom: 6px; }
.weekday a { color: var(--gold-text); font-weight: 700; text-transform: uppercase; font-size: .88rem; text-decoration: none; }
.weekday a:hover { text-decoration: underline; }

/* Estrutura */
.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.col { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px 32px; }
.col h3 { margin-bottom: 14px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid #efe7da; }
.list li:first-child { border-top: 0; }
.list li::before { position: absolute; left: 0; top: 9px; font-weight: 700; }
.list--yes li::before { content: "✓"; color: #5b7d3a; }
.list--no li::before { content: "—"; color: var(--gold-text); }
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.rule h4 { font-size: .95rem; margin-bottom: 6px; }
.rule p { color: var(--gray); margin: 0; font-size: .95rem; }

/* Fotos */
.row-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 10px; }
.gallery .photo { cursor: zoom-in; }
.gallery .photo.is-empty { cursor: default; }
.gallery .photo:nth-child(1) { grid-row: span 2; }
.gallery .photo:nth-child(4),
.gallery .photo:nth-child(6) { grid-column: span 2; }

.lightbox { border: 0; padding: 0; background: none; max-width: 94vw; }
.lightbox::backdrop { background: rgba(10,8,6,.92); }
.lightbox img { max-height: 88vh; border-radius: 6px; }
.lightbox__close { position: fixed; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--cream); font-size: 1.6rem; cursor: pointer; }

/* FAQ */
.faq { margin-top: 24px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--gold-text); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--gray); padding-right: 40px; }

/* Contato */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.specs--contact { margin-top: 0; }
.form { background: #fff; border-radius: 12px; padding: 32px; border: 1px solid var(--line); }
.form label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 16px; }
.form input:not([type=radio]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px;
  font: 400 1rem "Poppins", sans-serif; color: var(--ink);
  padding: 11px 12px; border: 1px solid #d6c9b4; border-radius: 6px; background: #fff;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.2); }
.form .invalid { border-color: #b3261e !important; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 16px; }
.form legend { font-size: .88rem; font-weight: 500; margin-bottom: 6px; padding: 0; }
.form .radio { display: inline-flex; align-items: center; gap: 6px; margin: 0 18px 0 0; font-weight: 400; cursor: pointer; }
.form .radio input { accent-color: var(--gold-text); width: 17px; height: 17px; }
.opt { color: var(--gray); font-weight: 400; }
.note { background: var(--cream); border-left: 3px solid var(--gold); border-radius: 4px; padding: 10px 14px; margin: 0 0 14px; font-size: .88rem; color: #4d433c; }
.form__error { color: #a3261e; font-size: .88rem; min-height: 1px; margin: 0 0 8px; }
.map { margin-top: 56px; border-radius: 12px; overflow: hidden; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; }

/* Footer */
.footer { background: var(--black); color: rgba(242,232,216,.6); padding: 32px 0; font-size: .88rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer p { margin: 0; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 15; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Responsivo */
@media (max-width: 960px) {
  .menu-btn { display: block; position: relative; z-index: 30; }
  .nav {
    position: fixed; inset: 0; z-index: 25;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px;
    padding: 0 28px; background: var(--black);
    visibility: hidden; opacity: 0; transition: opacity .2s, visibility .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; }
  .nav a { font-size: 1.4rem; font-weight: 500; }
  .nav .nav__cta { font-size: 1.1rem; margin-top: 8px; }
  .header:has(.nav.is-open) .brand { position: relative; z-index: 30; }

  .hero__photo { inset: var(--header) 0 0 0; background-position: 40% 75%; }
  .hero__photo::before { background: linear-gradient(0deg, var(--black) 10%, rgba(21,16,13,.7) 50%, rgba(21,16,13,.15) 100%); }
  .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .about__photos { height: 380px; }
  .rules { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 640px) {
  :root { --header: 64px; }
  body { font-size: 15px; }
  .block { padding: 64px 0; }
  .brand { font-size: .98rem; }
  .hero__facts { gap: 6px 24px; }
  .hero__actions .btn { flex: 1; text-align: center; padding-inline: 12px; }
  .hero { min-height: 100svh; }
  .about__photos { height: 300px; }
  .columns { grid-template-columns: 1fr; }
  .col { padding: 22px; }

  .prices { padding: 8px; margin-bottom: 44px; }
  .price { grid-template-columns: 60px 1fr; min-height: 0; }
  .price__icon { grid-row: span 2; }
  .price__icon svg { width: 30px; height: 30px; }
  .price__label { padding: 12px 16px; font-size: .92rem; }
  .price__value { justify-content: space-between; font-size: .85rem; padding: 10px 16px; }
  .info-title { font-size: 1.1rem; }
  .info li { gap: 14px; }
  .info svg { width: 28px; height: 28px; }
  .weekday { flex-direction: column; align-items: flex-start; gap: 18px; padding: 24px; }
  .weekday__icon { width: 68px; height: 68px; }
  .weekday__icon svg { width: 32px; height: 32px; }
  .weekday__text { border-left: 0; padding-left: 0; }
  .weekday h3 { font-size: 1.05rem; }

  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .gallery .photo:nth-child(4) { grid-column: auto; }
  .gallery .photo:nth-child(6) { grid-column: span 2; }
  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .specs > div { grid-template-columns: 100px 1fr; }
  .wa-float { width: 52px; height: 52px; }
}
