/* ============================================================
   VANOIA — shared styles
   Soft, warm, minimal. Light palette.
   ============================================================ */

@import url('fonts.css');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:     #faf8f3;   /* page background */
  --sand:      #f1ece2;   /* soft sections / cards */
  --warm:      #e7dfd1;   /* subtle borders */
  --ink:       #34322d;   /* main text (soft black) */
  --ink-soft:  #5d5a52;   /* body copy */
  --muted:     #908b80;   /* secondary text */
  --sage:      #8ba07e;   /* primary accent (brand green) */
  --sage-deep: #6f8765;   /* accent hover */
  --green-deep:#5c7253;   /* footer (deep sage) */
  --clay:      #c2a98c;   /* warm secondary accent */
  --radius:    14px;
  --maxw:      1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── HEADINGS ── */
h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 400; line-height: 1.12; }
em { font-style: italic; color: var(--sage); }

/* ── NAV ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2.5rem;
  background: rgba(250,248,243,.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--warm); box-shadow: 0 4px 24px rgba(52,50,45,.04); }
.nav-logo { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.nav-word { height: 17px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .04em;
  text-decoration: none; color: var(--ink-soft); transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--sage-deep); }
.nav-cta {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink); color: var(--cream) !important;
  padding: .6rem 1.3rem; border-radius: 999px; font-size: .82rem; font-weight: 500;
  letter-spacing: .02em; transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--sage-deep); transform: translateY(-1px); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 30px; height: 22px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink);
  border-radius: 2px; transition: .3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

/* ── LAYOUT ── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 2.5rem; }
section { padding: 6rem 0; }
.section-label {
  font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sage); margin-bottom: .8rem;
}
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); color: var(--ink); }
.divider { width: 46px; height: 2px; background: var(--clay); margin: 1.4rem 0; border: none; }
.lead { font-size: 1.05rem; color: var(--ink-soft); font-weight: 300; line-height: 1.85; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.8rem; border-radius: 999px; font-size: .9rem; font-weight: 500;
  letter-spacing: .02em; cursor: pointer; text-decoration: none; border: 1px solid transparent;
  transition: all .22s; font-family: 'DM Sans', sans-serif;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--sage-deep); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--warm); }
.btn-outline:hover { border-color: var(--sage); color: var(--sage-deep); }

/* ── HERO ── */
.hero { padding: 4rem 0 5rem; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center;
}
.hero-tag {
  display: inline-block; font-size: .72rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sage-deep);
  background: var(--sand); padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-title { font-size: clamp(2.6rem, 5.4vw, 4.4rem); color: var(--ink); }
.hero-sub { margin-top: 1.5rem; max-width: 440px; font-size: 1.08rem; color: var(--ink-soft); font-weight: 300; }
.hero-cta { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius);
}
.hero-badge {
  position: absolute; bottom: -1.4rem; left: -1.4rem;
  background: var(--cream); border-radius: var(--radius); padding: 1.1rem 1.4rem;
  box-shadow: 0 16px 40px rgba(52,50,45,.1); border: 1px solid var(--warm);
}
.hero-badge-kick {
  font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sage); margin-bottom: .1rem;
}
.hero-badge .num { font-family: 'Fraunces', serif; font-size: 1.9rem; color: var(--ink); line-height: 1; }
.hero-badge .num span { font-family: 'DM Sans', sans-serif; font-size: .9rem; color: var(--muted); }
.hero-badge .lbl { font-size: .76rem; color: var(--muted); margin-top: .25rem; }

/* ── ABOUT ── */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text p { margin-bottom: 1.1rem; color: var(--ink-soft); font-weight: 300; line-height: 1.85; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.stat { padding: 1.3rem 1.4rem; background: var(--sand); border-radius: var(--radius); }
.stat-num { font-family: 'Fraunces', serif; font-size: 1.35rem; color: var(--ink); white-space: nowrap; }
.stat-lbl { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.about-visual img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); }

/* ── COMODIDADES ── */
.soft-bg { background: var(--sand); }
.comod-head { max-width: 540px; margin-bottom: 3rem; }
.comod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }
.comod-card {
  background: var(--cream); border: 1px solid var(--warm); border-radius: var(--radius);
  padding: 1.6rem 1.4rem; transition: transform .22s, box-shadow .22s;
}
.comod-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(52,50,45,.07); }
.comod-icon { font-size: 1.6rem; margin-bottom: .7rem; }
.comod-name { font-size: .98rem; font-weight: 500; color: var(--ink); }
.comod-desc { font-size: .85rem; color: var(--muted); margin-top: .3rem; line-height: 1.55; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem; margin-top: 2.5rem;
}
.gallery-grid figure { overflow: hidden; border-radius: var(--radius); background: var(--sand); aspect-ratio: 3 / 4; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.05); }

/* ── PREÇOS ── */
.prices-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 2.5rem; }
.price-card { border-radius: var(--radius); padding: 2rem; border: 1px solid var(--warm); }
.price-card.low { background: var(--cream); }
.price-card.high { background: var(--sage); color: var(--cream); border-color: var(--sage); }
.price-season {
  font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem;
}
.price-card.high .price-season { color: rgba(255,255,255,.85); }
.price-big { font-family: 'Fraunces', serif; font-size: 3rem; line-height: 1; color: var(--ink); }
.price-card.high .price-big { color: var(--cream); }
.price-per { font-size: .85rem; color: var(--muted); margin-top: .3rem; }
.price-card.high .price-per { color: rgba(255,255,255,.85); }
.price-dates {
  font-size: .82rem; color: var(--muted); margin-top: .9rem; padding-top: .9rem;
  border-top: 1px solid var(--warm);
}
.price-card.high .price-dates { color: rgba(255,255,255,.8); border-top-color: rgba(255,255,255,.25); }
.price-note {
  margin-top: 1.4rem; padding: 1.1rem 1.4rem; background: var(--sand);
  border-radius: var(--radius); font-size: .9rem; color: var(--ink-soft);
}
.price-note strong { color: var(--ink); }
.price-note-row { padding: .65rem 0; border-top: 1px solid var(--warm); }
.price-note-row:first-child { padding-top: 0; border-top: none; }
.price-note-row:last-child { padding-bottom: 0; }

/* ── FAQ ── */
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-head { margin-bottom: 2.5rem; }
.faq-item { border-bottom: 1px solid var(--warm); }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.4rem 0; font-size: 1.02rem; font-weight: 500; color: var(--ink);
  font-family: 'DM Sans', sans-serif;
}
.faq-q:hover { color: var(--sage-deep); }
.faq-icon {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--clay);
  display: flex; align-items: center; justify-content: center; color: var(--clay);
  font-size: 1.1rem; transition: transform .3s, background .3s, color .3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--clay); color: var(--cream); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s;
  font-size: .96rem; color: var(--ink-soft); font-weight: 300; line-height: 1.8; }
.faq-item.open .faq-a { max-height: 320px; padding-bottom: 1.4rem; }

/* ── CTA STRIP ── */
.cta-strip { text-align: center; }
.cta-strip .section-title { max-width: 640px; margin: 0 auto 1.4rem; }
.cta-strip .lead { max-width: 520px; margin: 0 auto 2.2rem; }

/* ── CONTACT ── */
.contact-inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 1.3rem; margin-top: 2rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-item .ico { font-size: 1.2rem; flex-shrink: 0; line-height: 1.4; }
.contact-item .k { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-item .v { font-size: .98rem; color: var(--ink); }
.contact-item a { color: var(--sage-deep); text-decoration: none; }
.map { margin-top: 2.2rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--warm); aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── SOCIAL LINKS ── */
.social-links { display: flex; gap: .7rem; }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--warm); color: var(--ink-soft);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.social-links a:hover { background: var(--sage); color: #fff; border-color: var(--sage); transform: translateY(-2px); }
.social-links svg { width: 19px; height: 19px; }

/* ── FORM (light) ── */
.form-card { background: var(--sand); border: 1px solid var(--warm); border-radius: var(--radius); padding: 2.2rem; }
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--cream); border: 1px solid var(--warm); border-radius: 9px;
  padding: .8rem 1rem; color: var(--ink); font-family: 'DM Sans', sans-serif; font-size: .95rem;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: #b3aea3; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--sage); box-shadow: 0 0 0 3px rgba(139,160,126,.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.extras { display: flex; flex-direction: column; gap: .55rem; }
.extra {
  display: flex; align-items: center; gap: .7rem; font-size: .92rem; color: var(--ink-soft);
  cursor: pointer; padding: .55rem .8rem; background: var(--cream); border: 1px solid var(--warm);
  border-radius: 9px;
}
.extra input { width: 16px; height: 16px; accent-color: var(--sage); flex-shrink: 0; }
.extra .price { margin-left: auto; font-size: .82rem; color: var(--clay); font-weight: 500; }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--sage); flex-shrink: 0; margin-top: 3px; }
.check a { color: var(--sage-deep); }
.form-submit {
  margin-top: .4rem; padding: 1rem 2rem; background: var(--ink); color: var(--cream);
  border: none; border-radius: 999px; font-size: .95rem; font-weight: 500; cursor: pointer;
  letter-spacing: .02em; transition: background .22s, transform .2s; font-family: 'DM Sans', sans-serif;
}
.form-submit:hover { background: var(--sage-deep); transform: translateY(-2px); }
.form-submit:disabled { opacity: .6; cursor: default; transform: none; }
.form-foot { font-size: .8rem; color: var(--muted); text-align: center; }
.h-captcha { min-height: 78px; }
.form-success {
  display: none; padding: 2.4rem 2rem; background: rgba(139,160,126,.12);
  border: 1px solid rgba(139,160,126,.4); border-radius: var(--radius);
  text-align: center; color: var(--sage-deep); line-height: 1.7;
}

/* ── LEGAL / DOC PAGES ── */
.page-head { background: var(--sand); padding: 4.5rem 0 3.5rem; border-bottom: 1px solid var(--warm); }
.page-head .section-label { margin-bottom: 1rem; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--ink); }
.page-head .meta { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.doc { max-width: 820px; margin: 0 auto; padding: 4rem 2.5rem 5rem; }
.doc h2 {
  font-size: 1.5rem; color: var(--ink); margin: 2.6rem 0 .9rem;
  padding-top: 1.6rem; border-top: 1px solid var(--warm);
}
.doc h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.doc h3 { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500; color: var(--ink); margin: 1.4rem 0 .5rem; }
.doc p { color: var(--ink-soft); font-weight: 300; margin-bottom: 1rem; line-height: 1.85; }
.doc-justify p, .doc-justify li { text-align: justify; hyphens: auto; }
.doc ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.doc ul li {
  position: relative; padding-left: 1.4rem; margin-bottom: .6rem;
  color: var(--ink-soft); font-weight: 300; line-height: 1.75;
}
.doc ul li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--clay);
}
.doc ul ul { margin: .5rem 0 .5rem; }
.doc ul ul li::before { background: none; border: 1.5px solid var(--clay); width: 5px; height: 5px; top: .6em; }
.doc strong { color: var(--ink); font-weight: 500; }
.doc a { color: var(--sage-deep); }
.doc .note {
  background: var(--sand); border-left: 3px solid var(--sage); border-radius: 8px;
  padding: 1.1rem 1.3rem; margin: 1.4rem 0; font-size: .94rem; color: var(--ink-soft);
}

/* ── FOOTER ── */
.footer { background: var(--green-deep); color: rgba(255,255,255,.8); padding: 3.5rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { height: 60px; width: auto; filter: invert(1) brightness(1.8); margin-bottom: 1rem; }
.footer-brand p { font-size: .9rem; line-height: 1.8; }
.footer-col h4 {
  font-family: 'DM Sans', sans-serif; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.6); margin-bottom: 1rem; font-weight: 500;
}
.footer-col a { display: block; color: rgba(255,255,255,.88); text-decoration: none; font-size: .92rem; margin-bottom: .6rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer .social-links { margin-top: 1.1rem; }
.footer .social-links a { border-color: rgba(255,255,255,.28); color: rgba(255,255,255,.85); }
.footer .social-links a:hover { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); }
.footer-bottom {
  max-width: var(--maxw); margin: 2.5rem auto 0; padding: 1.6rem 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.2); font-size: .82rem; color: rgba(255,255,255,.6);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav { padding: 1rem 1.4rem; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; gap: 1.4rem;
    background: var(--cream); padding: 2rem 1.4rem; border-bottom: 1px solid var(--warm);
    transform: translateY(-120%); transition: transform .3s; align-items: flex-start;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .container { padding: 0 1.4rem; }
  section { padding: 4rem 0; }
  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-badge { left: auto; right: 1rem; }
  .prices-grid, .about-stats { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / 3; }
}
@media (max-width: 540px) {
  .prices-grid { grid-template-columns: 1fr; }
  .doc { padding: 2.5rem 1.4rem 4rem; }
  .form-card { padding: 1.5rem; }
  .about-stats { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .h-captcha { transform: scale(.85); transform-origin: left top; }
}
