/* ===================== CSS RESET & NORMALIZATION ===================== */
html {
  box-sizing: border-box;
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  background: #1a232d;
  color: #e1e3e6;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1em;
}
a {
  color: #5BA17F;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #F2EAE4;
  outline: none;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #F2EAE4;
  margin-bottom: 0.4em;
  letter-spacing: 0.02em;
  line-height: 1.18;
}
h1 { font-size: 2.25rem; }
h2 { font-size: 1.625rem; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.125rem; }
blockquote {
  margin: 0 0 0.5em 0;
  padding-left: 0.7em;
  border-left: 4px solid #5BA17F;
  color: #e7e9ea;
  font-style: italic;
  opacity: 0.95;
}
cite {
  display: block;
  font-size: 1em;
  letter-spacing: 0.05em;
  color: #5BA17F;
  font-style: normal;
}
p {
  margin-bottom: 1.2em;
}

/* ================== BRAND & METALLIC ACCENT COLORS ================== */
:root {
  --primary: #23436B;
  --secondary: #5BA17F;
  --accent: #F2EAE4;
  --metal-dark: #292f36;
  --metal-light: #7f8b99;
  --steel-gradient: linear-gradient(90deg, #22272e 0%, #4E5661 100%);
  --danger: #e45454;
  --background: #1a232d;
  --card-bg: #232d3b;
  --testimonial-bg: #F2EAE4;
  --testimonial-text: #22272e;
  --focus-outline: 2px solid #5BA17F;
}

/* =========================== LAYOUT CONTAINERS ========================= */
.container {
  width: 100%;
  max-width: 1160px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}
.section, .features-section, .about-section, .services-section, .listings-section,
.content-section, .team-section, .about-preview, .services-list, .cta-section, .testimonials, .contact-section, .location-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 768px) {
  .section, .features-section, .about-section, .services-section, .listings-section,
  .content-section, .team-section, .about-preview, .services-list, .cta-section, .testimonials, .contact-section, .location-section {
    padding: 32px 8px;
    margin-bottom: 40px;
  }
}
.content-wrapper, .text-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ============== FLEXBOX CARD & GRID CONTAINERS ================== */
.card-container, .feature-grid, .service-grid, .roteiro-list, .tips-list, .team-bios, .testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card, .feature-card, .service-card, .roteiro-item, .tip-item, .team-member {
  margin-bottom: 20px;
  position: relative;
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(30,40,55,0.10);
  transition: box-shadow 0.2s, background 0.2s;
}
.card:hover, .feature-card:hover, .service-card:hover, .roteiro-item:hover, .tip-item:hover {
  box-shadow: 0 2px 24px 2px rgba(91,161,127,0.18), 0 0 0 1px var(--secondary);
  background: #253243;
  z-index: 1;
}
.content-grid, .footer-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
  border-radius: 10px;
  box-shadow: 0 2px 12px 2px rgba(34,39,46,0.13);
  min-width: 280px;
  max-width: 350px;
  flex: 1 1 270px;
}
@media (max-width: 768px) {
  .testimonial-slider,
  .card-container,
  .feature-grid,
  .service-grid,
  .roteiro-list,
  .tips-list,
  .team-bios {
    flex-direction: column;
    gap: 20px;
  }
  .content-grid, .footer-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .testimonial-card {
    min-width: 100%;
    max-width: none;
  }
}

/* =============== HEADER & NAVIGATION MENUS ==================== */
header {
  background: var(--metal-dark);
  box-shadow: 0 3px 10px rgba(20,25,34,0.12);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  flex-wrap: wrap;
}
.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  align-items: center;
  margin: 0;
}
.main-nav li { display: flex; }
.logo-link {
  margin-right: 36px;
  display: flex;
  align-items: center;
}
.main-nav a, .mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #F2EAE4;
  transition: color 0.16s;
  padding: 6px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
}
.main-nav a:hover, .main-nav a:focus, .mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--secondary);
  background: #2d3641;
  outline: none;
}
.main-nav .btn-primary {
  margin-left: 30px;
  padding: 10px 22px;
}
@media (max-width: 1000px) {
  .main-nav .btn-primary {
    margin-left: 10px;
    padding: 10px 16px;
  }
  .main-nav ul {
    gap: 14px;
  }
}
@media (max-width: 900px) {
  .main-nav ul {
    gap: 10px;
  }
}
@media (max-width: 850px) {
  .main-nav .btn-primary {
    display: none;
  }
}

/* ------------- MOBILE MENU (BURGER MENU) ------------- */
.mobile-menu-toggle {
  display: none;
  background: transparent;
  color: var(--accent);
  font-size: 2.1rem;
  border: none;
  cursor: pointer;
  padding: 5px 10px;
  margin-left: 10px;
  z-index: 1100;
  transition: color 0.2s;
}
.mobile-menu-toggle:focus {
  outline: var(--focus-outline);
}
@media (max-width: 860px) {
  .mobile-menu-toggle {
    display: block;
  }
  .main-nav ul {
    display: none;
  }
  .main-nav .btn-primary {
    display: none;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 92vw;
  height: 100vh;
  background: #232b35;
  box-shadow: -8px 0 38px 4px rgba(35,67,107,0.29);
  transform: translateX(110%);
  transition: transform 0.36s cubic-bezier(0.77,0.2,0.05,1);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  padding: 30px 25px;
  opacity: 0.985;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  color: #727D89;
  font-size: 2.3rem;
  cursor: pointer;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--danger);
  outline: none;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  font-size: 1.13rem;
  color: var(--accent);
  background: transparent;
  padding: 8px 2px;
  font-weight: 600;
  border-radius: 3px;
  letter-spacing: 0.04em;
}
.mobile-nav a:active {
  background: #314053;
}

/* Overlay (when menu open) */
.mobile-menu-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 35, 45, 0.74);
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.28s;
}
.mobile-menu.open + .mobile-menu-backdrop {
  pointer-events: all;
  opacity: 1;
}

/* ============================== BUTTONS ============================== */
.btn-primary, .btn-secondary {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 7px;
  letter-spacing: 0.02em;
  transition: all 0.16s cubic-bezier(0.5,0,0.2,1);
  box-shadow: 0 1.6px 8px 1.2px rgba(35,67,107, 0.13);
  cursor: pointer;
  text-align: center;
  min-width: 130px;
}
.btn-primary {
  background: var(--secondary);
  color: #181f24;
  padding: 13px 34px;
  outline: none;
  border: 2px solid var(--secondary);
}
.btn-primary:hover, .btn-primary:focus {
  background: #417760;
  color: #F2EAE4;
  border: 2px solid #417760;
  outline: var(--focus-outline);
}
.btn-secondary {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
  padding: 11px 26px;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--secondary);
  color: #181f24;
  border-color: var(--secondary);
  outline: var(--focus-outline);
}

/* ==================== HERO, CTA & FEATURE SECTIONS ==================== */
.hero-section {
  background: var(--steel-gradient);
  border-bottom: 5px solid #232d3b;
  box-shadow: 0 7px 40px 0px rgba(35,67,107,0.17);
  padding-top: 54px;
  padding-bottom: 54px;
}
.hero-section .content-wrapper h1 {
  font-size: 2.5rem;
  color: var(--accent);
  text-shadow: 0 3px 14px #0008;
}
.hero-section .content-wrapper p {
  color: #e1e3e6;
  font-size: 1.19rem;
  margin-bottom: 28px;
  opacity: 0.96;
  max-width: 640px;
}
@media (max-width: 700px) {
  .hero-section {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero-section .content-wrapper h1 {
    font-size: 1.4rem;
  }
}
.features-section .feature-grid, .features-section .content-wrapper {
  margin-top: 20px;
}
.feature-card {
  flex: 1 1 240px;
  background: var(--card-bg);
  border-radius: 8px;
  padding: 26px 18px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 16px 0 rgba(35,67,107,0.09);
  border: 1.5px solid #232d3b;
  min-width: 215px;
  transition: box-shadow 0.2s, border 0.18s, background 0.2s;
}
.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
}
.feature-card h3 {
  font-size: 1.13rem;
  margin-bottom: 0.3em;
  color: var(--accent);
}
.feature-card p {
  font-size: 1rem;
  color: #c4c8cc;
}
@media (max-width: 800px) {
  .feature-card {
    min-width: 170px;
    padding: 18px 9px 16px 14px;
  }
}

/* -- About preview, about & text blocks -- */
.about-preview, .about-section, .cta-section {
  background: #22272e;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(45,53,65,0.07);
}
.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta-section {
  background: var(--primary);
  text-align: center;
}
.cta-section h2 {
  color: var(--accent);
}
.cta-section p {
  color: #e1e3e6;
}

/* =============== SERVICES AND LISTINGS LAYOUTS =============== */
.services-list .service-grid {
  margin: 25px 0 30px 0;
}
.service-card {
  flex: 1 1 240px;
  background: var(--card-bg);
  border-radius: 8px;
  padding: 26px 18px 22px 21px;
  box-shadow: 0 2px 13px 1px rgba(35,67,107,0.11);
  border: 1.2px solid #232d3b;
  min-width: 215px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-card h3 {
  color: var(--accent);
}
.service-card .price {
  background: #334056;
  color: var(--secondary);
  padding: 3px 14px;
  border-radius: 18px;
  font-size: 0.98rem;
  font-weight: 600;
  margin-top: 6px;
  align-self: flex-start;
}
.roteiro-list, .tips-list {
  gap: 20px;
}
.roteiro-item, .tip-item {
  flex: 1 1 260px;
  background: var(--card-bg);
  border-radius: 8px;
  padding: 22px 18px 16px 18px;
  box-shadow: 0 2px 10px 1px rgba(35,67,107,0.08);
  border: 1.2px solid #232d3b;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tip-item .category {
  margin-top: 10px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--secondary);
  background: #2b333c;
  padding: 2px 12px;
  border-radius: 14px;
  align-self: flex-start;
}

/* =============== TESTIMONIALS =============== */
.testimonials {
  background: #232b35;
  border-radius: 14px;
  box-shadow: 0 2px 16px 0 rgba(45,53,65,0.09);
}
.testimonials h2 {
  color: var(--accent);
  margin-bottom: 24px;
}
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.testimonial-card {
  background: var(--testimonial-bg);
  color: var(--testimonial-text);
  flex-direction: column;
  box-shadow: 0 3px 14px 1.2px rgba(34,39,46,0.10);
  border: 1.2px solid #eee7db;
}
.testimonial-card blockquote {
  color: #2d3641;
  border-color: var(--secondary);
  margin-bottom: 12px;
}
.testimonial-card cite {
  color: #45977e;
  font-style: normal;
  letter-spacing: 0.07em;
  font-size: 1em;
}
@media (max-width: 600px) {
  .testimonial-slider {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card {
    min-width: 100%;
  }
}

/* ============ TEAM & ABOUT SECTIONS ============ */
.team-bios {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 18px;
}
.team-member {
  background: #283140;
  border-radius: 8px;
  box-shadow: 0 2px 8px 1px #21293619;
  padding: 16px 14px;
  flex: 1 1 200px;
  min-width: 180px;
  margin-bottom: 12px;
  color: #daede7;
  font-size: 1rem;
}
.team-member h3 {
  color: var(--secondary);
  margin-bottom: 0.3em;
  font-size: 1.09rem;
}
.team-section blockquote {
  color: var(--accent);
  font-size: 1.03em;
  border-left: 4px solid #5BA17F;
  margin-top: 12px;
}

/* ================ FOOTER ================= */
footer {
  background: #181f24;
  color: #c0c5ca;
  border-top: 4px solid #22272e;
  padding: 0 0 24px 0;
  margin-top: 0;
}
.footer-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 32px 0 12px 0;
  flex-wrap: wrap;
}
.footer-navigation nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-navigation nav a {
  color: #7f8b99;
  font-size: 0.95em;
  transition: color 0.2s;
}
.footer-navigation nav a:hover, .footer-navigation nav a:focus {
  color: var(--secondary);
}
.footer-contact {
  font-size: 0.96em;
  margin-top: 5px;
}
.footer-contact a { color: var(--secondary); }
@media (max-width: 800px) {
  .footer-navigation {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 22px 0 12px 0;
  }
  .footer-navigation nav {
    gap: 12px;
  }
}

/* ============= TYPOGRAPHY & UTILITIES ============= */
.text-center { text-align: center; }
.m-b-20 { margin-bottom: 20px; }
.m-b-24 { margin-bottom: 24px; }
strong { font-weight: bold; }

/* ============= FORMS (if present) ============= */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  background: #232d3b;
  border: 1.2px solid #39445a;
  border-radius: 6px;
  padding: 10px 13px;
  color: #F2EAE4;
  font-size: 1em;
  margin-bottom: 13px;
  transition: border 0.17s, box-shadow 0.18s;
  box-shadow: 0 1px 4px 0 rgba(35,67,107,0.07);
}
input:focus, textarea:focus, select:focus {
  outline: var(--focus-outline);
  border-color: var(--secondary);
  background: #283140;
}

/* ============= LIST STYLES ============= */
ul li, ol li {
  margin-bottom: 8px;
  color: #d6dbe0;
}
ul li::marker { color: var(--secondary); }

/* ============ COOKIE CONSENT BANNER & MODAL ============ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #222a31;
  color: #F2EAE4;
  padding: 20px 16px;
  box-shadow: 0 -6px 26px -5px #15191e50;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2400;
  animation: slideUpBanner 0.44s cubic-bezier(0.57,0.02,0.5,1.01);
}
@keyframes slideUpBanner {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 8px;
}
.cookie-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 7px 22px;
  border-radius: 6px;
  border: 0;
  margin: 0 4px;
  cursor: pointer;
  transition: background 0.13s, color 0.13s, border 0.13s;
}
.cookie-btn.accept {
  background: var(--secondary);
  color: #222a31;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #417760;
  color: var(--accent);
}
.cookie-btn.reject {
  background: var(--danger);
  color: var(--accent);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #c93434;
  color: #fff;
}
.cookie-btn.settings {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--secondary);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--secondary);
  color: #181f24;
}

.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 35, 45, 0.74);
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInModalBg 0.25s;
}
@keyframes fadeInModalBg {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #222a31;
  color: #F2EAE4;
  border-radius: 9px;
  box-shadow: 0 4px 34px 2px #1a232d88;
  padding: 34px 26px 26px 26px;
  max-width: 410px;
  width: 92vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: popInModal 0.22s cubic-bezier(0.76, 0.01, 0.33, 0.99);
}
@keyframes popInModal {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: var(--secondary);
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cookie-category-row label {
  font-size: 1rem;
  color: #e1e3e6;
}
.cookie-category-row input[type="checkbox"] {
  accent-color: var(--secondary);
  width: 22px;
  height: 22px;
}
.cookie-category-row input[disabled] {
  opacity: 0.65;
}
.cookie-modal-actions {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie-modal .cookie-btn {
  min-width: 100px;
}
.cookie-modal-close {
  position: absolute;
  top: 11.5px;
  right: 15px;
  background: transparent;
  border: none;
  color: #7f8b99;
  font-size: 2.1rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.18s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--danger);
  outline: none;
}

/* ============ ACCESSIBILITY: FOCUS STATES ============ */
a:focus, button:focus, input:focus, textarea:focus, .btn-primary:focus, .btn-secondary:focus, .cookie-btn:focus {
  outline: var(--focus-outline);
  outline-offset: 2px;
  box-shadow: 0 0 2px 1.5px var(--secondary) !important;
}

/* ======= Z-INDEX Layering for Menus, Banner, Modals ======= */
header { z-index: 1000; }
.mobile-menu, .mobile-menu-backdrop { z-index: 2000; }
.cookie-banner { z-index: 2400; }
.cookie-modal-overlay { z-index: 3000; }

/* ===================== RESPONSIVE ADJUSTMENTS ===================== */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.18rem; }
}
@media (max-width: 700px) {
  .container { padding-left: 10px; padding-right: 10px; }
  h1, h2, h3, h4, h5, h6 { line-height: 1.23; }
}
@media (max-width: 420px) {
  .hero-section .content-wrapper h1 { font-size: 1.15rem; }
  .footer-contact, .footer-navigation nav a, .team-member, .service-card {
    font-size: 0.96rem;
  }
  .cookie-modal h2 { font-size: 1.06rem; }
}

/* =========== ANIMATIONS, MICRO-INTERACTIONS & HOVER =========== */
.feature-card, .service-card, .roteiro-item, .tip-item, .team-member {
  transition: box-shadow 0.2s, background 0.17s, border 0.16s;
}
.btn-primary, .btn-secondary, .cookie-btn {
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.13s;
}
.btn-primary:active, .btn-secondary:active, .cookie-btn:active {
  transform: translateY(2px) scale(0.98);
}
.card:hover .btn-primary, .feature-card:hover .btn-primary {
  background: #1a232d;
  color: var(--secondary);
  border-color: var(--secondary);
}

/* ===================== PRINT =============== */
@media print {
  header, footer, .cookie-banner, .cookie-modal-overlay, .mobile-menu, .mobile-menu-toggle { display: none !important; }
  .container { padding: 0 !important; }
}
