/*
Theme Name: Golden Houses
Theme URI: https://goldenhouses.pt
Author: Golden Houses
Description: Tema personalizado para Golden Houses - Gestão de Alojamento Local nos Açores
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: golden-houses
Tags: accommodation, property-management, azores
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --color-navy:       #1a2e4a;
  --color-navy-light: #243d63;
  --color-navy-dark:  #111e30;
  --color-gold:       #c9a84c;
  --color-gold-light: #dfc074;
  --color-sand:       #f5f0e8;
  --color-sand-dark:  #ede6d8;
  --color-white:      #ffffff;
  --color-text:       #2c2c2c;
  --color-muted:      #6b7280;
  --color-border:     #e5e0d8;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 2px 8px rgba(26,46,74,0.07);
  --shadow-md:  0 8px 32px rgba(26,46,74,0.12);
  --shadow-lg:  0 20px 60px rgba(26,46,74,0.16);

  --max-width:  1160px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 7rem;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-navy);
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: var(--spacing-sm); }
p:last-child { margin-bottom: 0; }

.text-muted { color: var(--color-muted); }
.text-gold  { color: var(--color-gold); }
.text-navy  { color: var(--color-navy); }
.text-center { text-align: center; }

/* =========================================================
   LAYOUT
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section { padding-block: var(--spacing-xl); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn-navy:hover {
  background: var(--color-navy-light);
  border-color: var(--color-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* =========================================================
   SECTION LABELS & HEADINGS
   ========================================================= */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.75rem;
}

.section-heading {
  margin-bottom: 1.25rem;
}

.section-subtext {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 620px;
}

.section-header {
  margin-bottom: var(--spacing-lg);
}

.section-header.centered {
  text-align: center;
}
.section-header.centered .section-subtext {
  margin-inline: auto;
}

/* =========================================================
   DIVIDER
   ========================================================= */
.gold-divider {
  width: 50px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.centered .gold-divider {
  margin-inline: auto;
}

/* =========================================================
   HEADER / NAVIGATION
   ========================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding-block: 1.25rem;
}

.site-header.scrolled {
  background: var(--color-navy);
  box-shadow: var(--shadow-md);
  padding-block: 0.85rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo — styles moved to bottom of file (image logo) */

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2rem; }

.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--color-gold); }

.header-cta { white-space: nowrap; }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.35rem;
  line-height: 1;
  transition: transform 0.18s ease, opacity 0.18s ease;
  opacity: 0.8;
}

.lang-btn:hover {
  opacity: 1;
  transform: scale(1.15);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-navy-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 0;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 0.75rem 1.5rem;
    width: 100%;
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.75);
  padding-block: var(--spacing-lg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-main {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-white);
  display: block;
  margin-bottom: 0.25rem;
}
.footer-brand .logo-sub {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.footer-contact h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.6rem;
}
.footer-contact a:hover { color: var(--color-gold); }

.footer-links h4 {
  color: var(--color-white);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--color-gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--spacing-md);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   UTILITIES
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.bg-sand  { background: var(--color-sand); }
.bg-navy  { background: var(--color-navy); }
.bg-white { background: var(--color-white); }

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;     /* universal fallback */
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 0;
}

/* ── Hero slideshow ── */
.hero-slides {
  position: absolute;
  inset: 0;              /* simple fill — no overflow tricks */
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.hero-slide.active {
  opacity: 1;
  animation: heroBurns 9s ease-out forwards;
}

@keyframes heroBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17, 30, 48, 0.82) 0%,
    rgba(26, 46, 74, 0.65) 55%,
    rgba(17, 30, 48, 0.45) 100%
  );
  z-index: 1;
}


.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.hero-content { max-width: 640px; }

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.18);
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--color-gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero-heading {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--color-white);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}
.hero-heading em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}
.hero-trust-icon {
  display: flex;
  align-items: center;
  color: var(--color-gold);
}

/* Stats card */
.hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 0.5rem;
  min-width: 180px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 2rem;
}
.hero-stat + .hero-stat {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  line-height: 1.4;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-scroll-hint span {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { top: 6px; opacity: 1; }
  100% { top: 18px; opacity: 0; }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 11rem;
    padding-bottom: 4rem;
  }
  .hero-stats {
    flex-direction: row;
    min-width: unset;
    width: 100%;
  }
  .hero-stat { flex: 1; }
  .hero-stat + .hero-stat {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: column; }
  .hero-stat + .hero-stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* =========================================================
   PEACE OF MIND SECTION
   ========================================================= */
.peace { background: var(--color-white); }

.peace-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.peace-intro {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

/* Pain scenarios */
.pain-scenarios { display: flex; flex-direction: column; gap: 1.5rem; }

.pain-scenario {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--color-sand);
  border-radius: var(--radius-md);
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--color-gold);
}
.pain-scenario-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  margin-top: 0.1rem;
}
.pain-scenario strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}
.pain-scenario p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

/* Solution card */
.peace-card {
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  margin-top: 3.5rem;
  padding: 2.75rem;
  position: sticky;
  top: 7rem;
  box-shadow: var(--shadow-lg);
}
.peace-card-icon {
  width: 64px;
  height: 64px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}
.peace-card h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.peace-card p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.peace-card strong { color: var(--color-white); }

.peace-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.5rem;
}
.peace-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.85);
}
.peace-checklist svg { color: var(--color-gold); flex-shrink: 0; }

@media (max-width: 900px) {
  .peace-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .peace-card { position: static; }
}

/* =========================================================
   LOGO IMAGE
   ========================================================= */

/* Header logo — branco version, no background needed */
.site-logo {
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.site-logo:hover { opacity: 0.85; }

.site-logo-img {
  height: 130px;
  width: auto;
  display: block;
}

/* Footer logo — branco version on dark background */
.footer-logo-link {
  display: inline-flex;
  margin-bottom: 1.25rem;
  transition: opacity 0.2s;
}
.footer-logo-link:hover { opacity: 0.85; }
.footer-logo-img {
  height: 82px;
  width: auto;
  display: block;
}

/* Light-background logo helper (use .logo-light class for white sections) */
.logo-light {
  background: transparent;
}

@media (max-width: 900px) {
  .site-logo-img { height: 80px; }
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */
.services { background: var(--color-sand); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1.75rem;
  align-items: stretch;
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid var(--color-border);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--color-sand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  transition: background 0.25s, color 0.25s;
}
.service-card:hover .service-icon {
  background: var(--color-navy);
  color: var(--color-gold);
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--color-navy);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   PACKAGES SECTION
   ========================================================= */
.packages { background: var(--color-white); }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.package-card {
  background: var(--color-sand);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 2px solid transparent;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.package-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Featured / Silver */
.package-featured {
  background: var(--color-navy);
  border-color: var(--color-gold);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.package-featured:hover { transform: scale(1.04) translateY(-4px); }

.package-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 1.1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.package-tier {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.5rem;
}
.package-featured .package-tier { color: var(--color-gold); }

.package-tier-gold { color: var(--color-gold) !important; }

.package-name {
  font-size: 1.4rem;
  margin-bottom: 0.6rem;
  color: var(--color-navy);
}
.package-featured .package-name { color: var(--color-white); }

.package-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.package-featured .package-desc { color: rgba(255,255,255,0.65); }

.package-features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.package-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--color-text);
}
.package-features svg { color: var(--color-gold); flex-shrink: 0; }
.package-featured .package-features li { color: rgba(255,255,255,0.85); }

.feature-disabled {
  opacity: 0.4;
  text-decoration: line-through;
}
.feature-disabled svg { color: var(--color-muted) !important; }

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}

.packages-note {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}
.packages-note a {
  color: var(--color-navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.packages-note a:hover { color: var(--color-gold); }

@media (max-width: 900px) {
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }
  .package-featured { transform: scale(1); }
  .package-featured:hover { transform: translateY(-4px); }
}

/* =========================================================
   WHY CHOOSE SECTION
   ========================================================= */
.why { background: var(--color-sand); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}
.why-card-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 1.25rem;
  align-items: start;
}
.why-card-wide .why-icon { grid-row: span 2; }
.why-card-wide h3 { margin-bottom: 0.4rem; }

.why-icon {
  width: 56px;
  height: 56px;
  background: var(--color-sand);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  margin-bottom: 1.25rem;
  transition: background 0.25s, color 0.25s;
}
.why-card:hover .why-icon {
  background: var(--color-navy);
  color: var(--color-gold);
}
.why-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  color: var(--color-navy);
}
.why-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card-wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .why-card-wide .why-icon { grid-row: auto; }
}

/* =========================================================
   HOW IT WORKS SECTION
   ========================================================= */
.how { background: var(--color-navy); padding-block: var(--spacing-xl); }

.how-label  { color: var(--color-gold); }
.how-heading { color: var(--color-white); }
.how-subtext { color: rgba(255,255,255,0.65); }

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
}

.step-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}
.step-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,168,76,0.4);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1;
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: rgba(201,168,76,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.step-card h3 {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}
.step-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.step-tag {
  display: inline-block;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--color-gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,168,76,0.4);
  padding: 0 1rem;
  margin-top: 5rem;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .step-connector {
    display: none;
  }
}

/* =========================================================
   OWNER CTA SECTION
   ========================================================= */
.owner-cta {
  position: relative;
  padding-block: var(--spacing-xl);
  overflow: hidden;
}
.owner-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.owner-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,30,48,0.90) 0%,
    rgba(26,46,74,0.80) 100%
  );
}
.owner-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.owner-cta-content {
  text-align: center;
  max-width: 680px;
}
.owner-cta-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
}
.owner-cta-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.owner-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 480px) {
  .owner-cta-actions { flex-direction: column; align-items: center; }
  .owner-cta-actions .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact { background: var(--color-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

/* Info side */
.contact-intro {
  font-size: 1.05rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.contact-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.contact-highlight {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-highlight-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(201,168,76,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-top: 0.1rem;
}
.contact-highlight strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
}
.contact-highlight p {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin: 0;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-navy);
  transition: color 0.2s;
}
.contact-direct-link:hover { color: var(--color-gold); }
.contact-direct-icon {
  width: 36px;
  height: 36px;
  background: var(--color-sand);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form side */
.contact-form-wrap {
  background: var(--color-sand);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  border: 1px solid var(--color-border);
}

.form-feedback {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}
.form-feedback strong { display: block; margin-bottom: 0.2rem; }
.form-feedback p { font-size: 0.88rem; margin: 0; }
.form-feedback svg { flex-shrink: 0; margin-top: 0.1rem; }

.form-feedback-ok {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}
.form-feedback-erro {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.45rem; }

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
}
.form-group label span { color: var(--color-gold); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0aaa0;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(26,46,74,0.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.form-note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
  margin-bottom: 0;
}
.form-note svg { flex-shrink: 0; }

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
}

/* =========================================================
   ACTIVE NAV LINK
   ========================================================= */
.main-nav a.active { color: var(--color-gold); }

/* =========================================================
   MOBILE POLISH — global fixes
   ========================================================= */
@media (max-width: 768px) {
  :root {
    --spacing-xl: 4.5rem;
    --spacing-lg: 2.5rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

  .section-subtext { font-size: 1rem; }

  /* Hero */
  .hero-heading { font-size: 2rem; }
  .hero-sub { font-size: 0.97rem; }
  .hero-badge { font-size: 0.72rem; }
  .hero-trust { flex-direction: column; gap: 0.75rem; }

  /* Peace section */
  .peace-card { padding: 2rem 1.5rem; }

  /* Steps */
  .step-card { padding: 1.75rem 1.5rem; }
  .step-number { font-size: 2.5rem; }

  /* Packages */
  .package-card { padding: 2rem 1.5rem; }

  /* Owner CTA */
  .owner-cta-heading { font-size: 1.7rem; }

  /* Footer */
  .footer-inner { gap: 1.75rem; }
}

@media (max-width: 480px) {
  :root { --spacing-xl: 3.5rem; }

  .hero-actions .btn,
  .owner-cta-actions .btn { font-size: 0.97rem; padding: 0.9rem 1.5rem; }

  .hero-stat-number { font-size: 1.7rem; }

  .service-card,
  .why-card { padding: 1.5rem; }

  .packages-grid { gap: 1.25rem; }
}

/* =========================================================
   PAGE TEMPLATE (legal pages)
   ========================================================= */
.page-content {
  padding-top: calc(var(--spacing-xl) + 4rem);
  padding-bottom: var(--spacing-xl);
  min-height: 70vh;
}
.page-content .container { max-width: 780px; }
.page-content h1 { margin-bottom: 0.5rem; }
.page-content .page-meta {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 2.5rem;
}
.page-content h2 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.page-content p, .page-content li {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.8;
}
.page-content ul { list-style: disc; padding-left: 1.5rem; }

/* =========================================================
   404 PAGE
   ========================================================= */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding-top: 6rem;
}
.page-404-number {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  color: var(--color-sand-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.page-404 h1 { margin-bottom: 1rem; }
.page-404 p  { color: var(--color-muted); margin-bottom: 2rem; }

/* =========================================================
   PRINT
   ========================================================= */
@media print {
  .site-header, .site-footer, .btn, .hero-scroll-hint { display: none !important; }
  body { font-size: 12pt; color: #000; }
}

/* =========================================================
   LEGAL PAGES — extra polish
   ========================================================= */
.page-body a {
  color: var(--color-navy);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.page-body a:hover { color: var(--color-gold); }

.page-body h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-navy);
}

.page-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.page-body ul li {
  font-size: 0.97rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 0.25rem;
}

/* =========================================================
   FORCE NAVY HEADER ON ALL NON-HOMEPAGE PAGES
   (WordPress adds .home class to body only on front page)
   ========================================================= */
body:not(.home) .site-header {
  background: var(--color-navy) !important;
  box-shadow: var(--shadow-md) !important;
  padding-block: 0.85rem !important;
}
