@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&family=Inter:wght@300;400;500&display=swap');

:root {
  --primary: #0A1423; /* Deep Navy, very dark */
  --primary-light: #16263B;
  --accent: #C4A464; /* Soft Premium Gold */
  --accent-hover: #b08d4b;
  --text-dark: #1A1A1A;
  --text-light: #F9F9F9;
  --text-muted: #666666;
  --bg-white: #FFFFFF;
  --bg-offwhite: #F9FAFB;
  --bg-gray: #F2F4F8;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.4s ease-out;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--primary);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  background: transparent;
  border-radius: 6px; /* Retirado o aspecto quadrado demais */
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: #A98C51;
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

.btn-outline-light {
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.btn-outline-light:hover {
  background-color: var(--bg-white);
  color: var(--primary);
}

/* Fixed WhatsApp Button */
.whatsapp-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-fixed:hover {
  transform: scale(1.1) translateY(-5px);
  background-color: #128C7E;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 15px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo img {
  width: auto;
  max-width: 300px;
  max-height: 85px;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
}

.navbar.scrolled .logo img {
  max-height: 65px;
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links li a {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  padding: 5px 0;
  opacity: 0.8;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  bottom: -2px;
  left: 0;
  transition: var(--transition);
}

.nav-links li a:hover,
.nav-links li a.active {
  opacity: 1;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  min-height: 85vh; /* Evita cortar em monitores pequenos */
  display: flex;
  align-items: center;
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(10, 20, 35, 0.95) 0%, rgba(10, 20, 35, 0.7) 100%), url('../img/image-1.jpeg') center/cover no-repeat;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

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

.hero-content h1 {
  font-size: 3.8rem;
  color: var(--bg-white);
  margin-bottom: 25px;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.2rem;
  color: #DDE2E8;
  margin-bottom: 40px;
  font-weight: 300;
  max-width: 650px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Sections */
.section {
  padding: 90px 0; /* Espaço branco reduzido */
}

.section-bg-light {
  background-color: var(--bg-offwhite);
}

.section-bg-dark {
  background-color: var(--primary);
  color: var(--bg-white);
}

.section-bg-dark h2, .section-bg-dark h3 {
  color: var(--bg-white);
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
  font-weight: 500;
}

/* Minimalist Cards / Blocks */
.feature-block {
  padding: 40px 30px;
  background: var(--bg-white);
  border: 1px solid #EAEAEA;
  border-radius: 8px; /* Cantos arredondados suaves */
  transition: var(--transition);
  height: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.feature-block:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.feature-block i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 25px;
}

.feature-block h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.feature-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Contact Modern Form */
.form-wrapper {
  background: var(--bg-gray); /* Agora não está mais super branco */
  padding: 40px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 1px solid #D1D5DB;
  border-radius: 6px; /* Cantos arredondados */
  background: var(--bg-white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  color: var(--text-dark);
  margin-bottom: 20px;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 164, 100, 0.2);
}

/* Footer */
footer {
  background-color: var(--primary);
  color: #c9d1d9;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 colunas fixas no desktop para alinhamento perfeito */
  gap: 60px;
  margin-bottom: 80px;
  align-items: start;
}

.footer-logo-text {
  color: var(--bg-white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 25px;
  display: block;
}

.footer-col h3 {
  color: var(--bg-white);
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-family: var(--font-body); /* Sans-serif conforme a imagem */
  font-weight: 600;
}

.footer-col p {
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
  font-weight: 300;
  color: #c9d1d9;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #c9d1d9;
  font-weight: 300;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--bg-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Para telas pequenas */
}

/* WhatsApp Modal */
/* WhatsApp Modal */
.modal-overlay {
  position: fixed;
  inset: 0;

  background: rgba(10, 20, 35, 0.82);
  backdrop-filter: blur(6px);

  z-index: 2000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  opacity: 0;
  visibility: hidden;

  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-white);

  width: 100%;
  max-width: 480px;

  border-radius: 16px;

  padding: 28px;

  position: relative;

  transform: translateY(20px) scale(0.96);

  transition: var(--transition);

  box-shadow: 0 25px 60px rgba(0,0,0,0.18);

  max-height: 90vh;

  overflow-y: auto;

  overflow-x: hidden;

  scrollbar-width: thin;

  box-sizing: border-box;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;

  top: 12px;
  right: 14px;

  background: none;
  border: none;

  font-size: 2rem;

  color: var(--text-muted);

  cursor: pointer;

  transition: var(--transition);

  line-height: 1;
}

.modal-close:hover {
  color: var(--primary);
  transform: scale(1.08);
}

.modal-header {
  margin-bottom: 18px;
  text-align: center;
}

.modal-header i {
  font-size: 2.2rem;
  color: #25D366;
  margin-bottom: 10px;
}

.modal-header h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-form label {
  display: block;

  font-size: 0.84rem;

  margin-bottom: 6px;

  color: var(--primary);

  font-weight: 600;
}

.modal-form .form-control {
  width: 100%;

  padding: 11px 14px;

  margin-bottom: 0;

  font-size: 0.95rem;

  border-radius: 10px;

  box-sizing: border-box;
}

.modal-form textarea.form-control {
  min-height: 90px;
  max-height: 180px;
  resize: vertical;
}

.modal-form button {
  margin-top: 8px;
}

/* MOBILE */
@media (max-width: 768px) {

  .modal-overlay {
    padding: 14px;
  }

  .modal-content {

    width: 100%;

    max-width: 100%;

    padding: 22px;

    border-radius: 14px;

    max-height: 92vh;
  }

  .modal-header h3 {
    font-size: 1.5rem;
  }

  .modal-header p {
    font-size: 0.88rem;
  }

  .modal-form .form-control {
    padding: 10px 12px;
    font-size: 0.92rem;
  }

  .modal-close {
    top: 10px;
    right: 12px;
    font-size: 1.8rem;
  }

}






/* Base Desktop Utilities */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.responsive-grid-1-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}

.responsive-grid-2-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.responsive-flex-wrap {
  display: flex;
  gap: 30px;
}

.title-group-inline {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 20px;
}

.title-group-inline .section-subtitle {
  margin-bottom: 0;
  white-space: nowrap;
}

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .responsive-grid-2,
  .responsive-grid-1-2 {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .navbar .container {
    padding: 0 20px;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; /* Da Direita para a Esquerda */
    left: auto;
    width: 80%; /* Não ocupa 100% para dar aspecto de gaveta */
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s ease;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    margin: 15px 0;
    width: 100%;
  }
  .nav-links li a {
    font-size: 1.2rem;
    display: block;
    border-bottom: 1px solid #EEE;
    padding-bottom: 10px;
  }
  .hamburger {
    display: flex;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 30px;
  }

  .responsive-flex-wrap {
    flex-direction: column;
    gap: 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Adjust decorative block for mobile */
  .responsive-grid-2 > div:last-child {
    margin-top: 40px;
  }

  .title-group-inline {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}
