/* ============================================================
   RECANTO MELHOR IDADE — Design System
   Extracted from Claude Design export, production-ready CSS
   ============================================================ */

/* --- Custom Properties (Paleta §1 do handoff) --- */
:root {
  --verde-profundo: #2D3F2A;
  --verde-salvia: #4A6741;
  --verde-hover: #3c5635;
  --verde-claro: #A8BFA1;
  --verde-bg: #EBF0E6;
  --terracota: #C97B5F;
  --fundo-creme: #FAF7F0;
  --areia: #EBE3D4;
  --areia-clara: #F3EFE5;
  --borda: #E4DCCB;
  --borda-escura: #d8cfbd;
  --borda-input: #ddd2bd;
  --texto: #2C2620;
  --texto-sec: #7a7264;
  --texto-body: #574f42;
  --texto-muted: #6f6757;
  --texto-dark-sec: #cdd6c8;
  --texto-dark-muted: #869180;
  --texto-card: #3f3a30;
  --branco: #fff;
  --wa-green: #25D366;
  --wa-hover: #1fb855;

  --fh: 'Fraunces', serif;
  --fb: 'Inter', sans-serif;

  --header-h: 74px;
  --scroll-offset: 90px;
  --max-w: 1280px;
  --max-w-narrow: 1180px;
  --max-w-tight: 1140px;
  --radius-sm: 11px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 20px;
  --radius-pill: 30px;
  --radius-full: 50%;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--fb);
  color: var(--texto);
  background-color: var(--fundo-creme);
  background-image:
    radial-gradient(1100px 620px at 12% -8%, rgba(168,191,161,0.18), transparent 62%),
    radial-gradient(1000px 560px at 108% 4%, rgba(201,123,95,0.09), transparent 58%),
    radial-gradient(950px 720px at 50% 118%, rgba(74,103,65,0.08), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-attachment: fixed, fixed, fixed, scroll;
  background-size: auto, auto, auto, 160px 160px;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
input, textarea, select, button { font-family: inherit; font-size: inherit; }
::placeholder { color: #9b9384; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }

/* Scroll offset for anchor navigation with sticky header */
[id] { scroll-margin-top: var(--scroll-offset); }

/* Focus visible for accessibility */
:focus-visible {
  outline: 2.5px solid var(--verde-salvia);
  outline-offset: 2px;
}

/* --- Animations --- */
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(250,247,240,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--borda);
  font-family: var(--fb);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 22px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.header-logo-name {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 20px;
  color: var(--verde-profundo);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.header-logo-sub {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--verde-salvia);
  margin-top: 3px;
}

/* Desktop Nav */
.header-nav {
  display: flex;
  align-items: center;
  gap: 1px;
}
.nav-link {
  position: relative;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--texto);
  transition: background .15s, color .15s;
}
.nav-link:hover {
  background: var(--areia);
  color: var(--verde-profundo);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--verde-salvia);
}

/* Dropdown */
.dropdown { position: relative; }
.dropdown > .nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
}
.dropdown > .nav-link.active::after { right: 22px; }
.dropdown-chevron { transition: transform .2s; }
.dropdown:hover .dropdown-chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: 42px;
  left: 0;
  min-width: 250px;
  background: var(--branco);
  border: 1px solid var(--borda);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px rgba(45,63,42,0.16);
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 310;
}
.dropdown:hover > .dropdown-menu { display: flex; }
.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 13px;
  border-radius: 9px;
  transition: background .12s;
}
.dropdown-item:hover { background: var(--areia-clara); }
.dropdown-item-title {
  font-weight: 600;
  color: var(--verde-profundo);
  font-size: 15px;
}
.dropdown-item-desc {
  font-size: 13px;
  color: var(--texto-sec);
}
.dropdown-item-simple {
  padding: 10px 13px;
  border-radius: 9px;
  font-weight: 500;
  color: var(--texto);
  transition: background .12s, color .12s;
}
.dropdown-item-simple:hover {
  background: var(--areia-clara);
  color: var(--verde-profundo);
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--verde-salvia);
  color: var(--branco);
  padding: 11px 19px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(74,103,65,0.30);
  transition: background .15s;
}
.header-cta:hover { background: var(--verde-hover); }
.header-cta-text { /* hidden on mobile via media query */ }

/* Hamburger */
.header-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--borda-escura);
  border-radius: 11px;
  background: var(--branco);
  cursor: pointer;
  color: var(--verde-profundo);
  padding: 0;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  border-top: 1px solid var(--borda);
  background: var(--fundo-creme);
  padding: 12px 18px 22px;
}
.mobile-menu.open { display: block; }
.mobile-menu-links {
  display: flex;
  flex-direction: column;
}
.mobile-link {
  padding: 14px 6px;
  font-weight: 600;
  font-size: 17px;
  color: var(--verde-profundo);
  border-bottom: 1px solid var(--areia);
}
.mobile-link:last-child { border-bottom: none; }
.mobile-submenu {
  display: none;
  padding-left: 18px;
  flex-direction: column;
}
.mobile-submenu.open { display: flex; }
.mobile-submenu a {
  padding: 10px 6px;
  font-weight: 500;
  font-size: 15px;
  color: var(--texto-body);
}
.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 18px;
  background: var(--verde-salvia);
  color: var(--branco);
  padding: 15px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--verde-profundo);
  color: var(--texto-dark-sec);
  padding: 60px 22px 0;
  font-family: var(--fb);
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
}
.footer-logo-desc {
  font-size: 14.5px;
  color: var(--verde-claro);
  margin: 0 0 20px;
  line-height: 1.55;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(168,191,161,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  transition: background .15s;
}
.footer-social-icon:hover { background: rgba(168,191,161,0.28); }
.footer-heading {
  display: block;
  font-weight: 600;
  color: var(--branco);
  font-size: 15px;
  margin-bottom: 14px;
}
.footer-nav-link {
  font-size: 14.5px;
  color: var(--verde-claro);
  transition: color .15s;
}
.footer-nav-link:hover { color: var(--branco); }
.footer-nav { display: flex; flex-direction: column; gap: 9px; }
.footer-addr {
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0 0 14px;
  color: var(--verde-claro);
}
.footer-addr strong, .footer-addr span.white { color: var(--branco); }
.footer-bottom {
  max-width: var(--max-w);
  margin: 36px auto 0;
  border-top: 1px solid rgba(168,191,161,0.2);
  padding: 22px 0;
  text-align: center;
  font-size: 13.5px;
  color: var(--texto-dark-muted);
}

/* ============================================================
   SECTIONS & LAYOUT
   ============================================================ */
.section { padding: 88px 28px; }
/* Creme sections are transparent so the textured ambient canvas (body) shows through */
.section--creme { background: transparent; }
/* Alt sections fade in/out at the edges for a fluid, seamless blend with neighbours */
.section--alt {
  background: linear-gradient(180deg,
    rgba(235,227,212,0) 0%,
    rgba(235,227,212,0.94) 12%,
    rgba(235,227,212,0.94) 88%,
    rgba(235,227,212,0) 100%);
}
.section--dark {
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(74,103,65,0.55), transparent 60%),
    linear-gradient(180deg, #32462e 0%, var(--verde-profundo) 55%, #243520 100%);
}
.section-hero-band {
  background:
    radial-gradient(820px 420px at 86% -25%, rgba(74,103,65,0.5), transparent 60%),
    linear-gradient(160deg, #33472f 0%, var(--verde-profundo) 60%, #223019 100%);
  padding: 62px 28px 58px;
}
.container { max-width: var(--max-w); margin: 0 auto; }
.container--narrow { max-width: var(--max-w-narrow); margin: 0 auto; }
.container--tight { max-width: var(--max-w-tight); margin: 0 auto; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 50px;
}
.section-eyebrow {
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde-salvia);
}
.section--dark .section-eyebrow { color: var(--verde-claro); }
.section-title {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 38px;
  color: var(--verde-profundo);
  margin: 12px 0 14px;
  letter-spacing: -0.01em;
}
.section--dark .section-title { color: var(--branco); }
.section-desc {
  font-size: 18px;
  color: var(--texto-muted);
  margin: 0;
}
.section--dark .section-desc { color: var(--texto-dark-sec); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  border-radius: 32px;
  transition: background .15s, transform .15s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--verde-salvia);
  color: var(--branco);
  padding: 16px 28px;
  font-size: 17px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
}
.btn--primary:hover { background: var(--verde-hover); }
.btn--dark {
  background: var(--verde-profundo);
  color: var(--branco);
  padding: 14px 26px;
  font-size: 16px;
}
.btn--dark:hover { background: #1f2c1d; }
.btn--outline {
  background: rgba(255,255,255,0.10);
  color: var(--branco);
  padding: 16px 28px;
  font-size: 17px;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--outline:hover { background: rgba(255,255,255,0.20); }
.btn--sm {
  padding: 13px 24px;
  font-size: 15.5px;
}
.btn--submit {
  width: 100%;
  background: var(--verde-salvia);
  color: var(--branco);
  padding: 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(74,103,65,0.28);
  border: none;
  transition: background .15s;
}
.btn--submit:hover { background: var(--verde-hover); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--branco);
  border: 1px solid var(--areia);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(45,63,42,0.07);
}
.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-body { padding: 28px; }
.card-hover {
  transition: transform .18s, box-shadow .18s;
}
.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(45,63,42,0.12);
}

/* Icon box */
.icon-box {
  flex: none;
  border-radius: var(--radius-md);
  background: var(--verde-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-salvia);
}
.icon-box--sm { width: 50px; height: 50px; border-radius: 13px; }
.icon-box--md { width: 52px; height: 52px; border-radius: 14px; }
.icon-box--lg { width: 64px; height: 64px; border-radius: 16px; }
.icon-box--dark {
  background: rgba(168,191,161,0.16);
  color: var(--verde-claro);
}

/* Tag */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--verde-salvia);
  background: var(--verde-bg);
  padding: 5px 12px;
  border-radius: 20px;
}
.chip {
  font-size: 14px;
  color: var(--verde-salvia);
  background: var(--verde-bg);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 500;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-card {
  background: var(--branco);
  border: 1px solid var(--areia);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: 0 10px 28px rgba(45,63,42,0.07);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--texto-card);
}
.form-label--full { grid-column: span 2; }
.form-input,
.form-select,
.form-textarea {
  padding: 13px 15px;
  border: 1.5px solid var(--borda-input);
  border-radius: var(--radius-sm);
  background: var(--fundo-creme);
  font-weight: 400;
  color: var(--texto);
  transition: border-color .15s;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--verde-salvia);
  outline: none;
}
.form-textarea { resize: vertical; }
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--texto-sec);
  margin-top: 14px;
  grid-column: span 2;
}
.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--verde-salvia);
  width: 18px;
  height: 18px;
  flex: none;
}
.form-error {
  font-size: 13px;
  color: #c0392b;
  margin-top: 4px;
  display: none;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success.show { display: block; }
.form-success h3 {
  font-family: var(--fh);
  font-weight: 600;
  font-size: 24px;
  color: var(--verde-profundo);
  margin-bottom: 12px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--fundo-creme);
  border: 1px solid #ddd2bd;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
  font-family: var(--fh);
  font-weight: 600;
  font-size: 18.5px;
  color: var(--verde-profundo);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }
.faq-icon-plus,
.faq-icon-minus { flex: none; }
details .faq-icon-minus { display: none; }
details .faq-icon-plus { display: block; }
details[open] .faq-icon-minus { display: block; }
details[open] .faq-icon-plus { display: none; }
.faq-answer {
  font-size: 16.5px;
  color: var(--texto-body);
  padding: 0 24px 24px;
  line-height: 1.6;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--wa-green);
  color: var(--branco);
  padding: 14px 22px 14px 16px;
  border-radius: 34px;
  font-weight: 600;
  font-size: 15.5px;
  box-shadow: 0 10px 26px rgba(37,211,102,0.4);
  animation: waPulse 2.6s infinite;
  transition: background .15s;
}
.wa-float:hover { background: var(--wa-hover); }

/* ============================================================
   CONTACT CARD
   ============================================================ */
.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--branco);
  border: 1px solid var(--areia);
  border-radius: 16px;
  padding: 20px;
  transition: border-color .15s;
}
.contact-card:hover { border-color: var(--verde-salvia); }
.contact-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon--wa { background: var(--wa-green); color: var(--branco); }
.contact-icon--email { background: var(--verde-bg); color: var(--verde-salvia); }
.contact-label {
  display: block;
  font-size: 13px;
  color: var(--texto-sec);
  font-weight: 500;
}
.contact-value {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--verde-profundo);
}

/* ============================================================
   DARK CARD (differentials, etc.)
   ============================================================ */
.dark-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(168,191,161,0.22);
  border-radius: var(--radius-lg);
  padding: 28px;
}

/* ============================================================
   STEP CARDS (how visit works)
   ============================================================ */
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--verde-profundo);
  color: var(--branco);
  font-family: var(--fh);
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 18px;
}
.step-number--accent { background: var(--terracota); }

/* ============================================================
   MAP IFRAME
   ============================================================ */
.map-iframe {
  width: 100%;
  height: 250px;
  border: 0;
  border-radius: var(--radius-xl);
}

/* ============================================================
   CHECK LIST (unit features)
   ============================================================ */
.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15.5px;
  color: var(--texto-card);
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.testimonial-card {
  background: var(--branco);
  border: 1px solid var(--areia);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--areia);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1020px) {
  .header-nav { display: none !important; }
  .header-cta-text { display: none !important; }
  .header-cta { padding: 11px !important; }
  .header-burger { display: flex !important; }
}

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr !important; }
  .grid-2-unit { grid-template-columns: 1fr !important; }
  .grid-form { grid-template-columns: 1fr !important; }
  .section { padding-left: 20px !important; padding-right: 20px !important; }
  .section-hero-band { padding-left: 20px !important; padding-right: 20px !important; }
}

@media (max-width: 760px) {
  .grid-4 { grid-template-columns: 1fr !important; }
  .section-title { font-size: 27px !important; }
  .hero-title { font-size: 33px !important; }
  .hero-band-title { font-size: 31px !important; }
  .form-grid { grid-template-columns: 1fr; }
  .form-label--full { grid-column: span 1; }
  .form-checkbox { grid-column: span 1; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .wa-float span:not(.wa-float-icon) { display: none; }
  .wa-float { padding: 14px 16px; border-radius: 50%; }
}

/* ============================================================
   GALERIA DE FOTOS
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #cdbfa6;
  box-shadow: 0 10px 26px rgba(45,63,42,0.10);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .gallery-grid { grid-template-columns: 1fr; } }
