/*
  LAR & ELEGÂNCIA - BANNER EM CONSTRUÇÃO
  Estilos para página de site em construção
  Paleta: Azul Profundo, Dourado, Branco
*/

/* Reset e Variáveis Globais */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #0f3460;
  --dark-blue: #16213e;
  --gold: #c9a961;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --dark-text: #1a1a1a;
  --light-text: #666666;
  --border-color: #e0e0e0;
  --focus-ring: rgba(201, 169, 97, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark-text);
  background-color: var(--white);
  line-height: 1.6;
  /*overflow-x: hidden;  desativa barra horizontal*/
  overflow: hidden; /*desativar qualquer tipo de barra de roalgem e o conteudo tbm o footer some*/
}

button,
input {
  font: inherit;
}

/* Utilitário para texto acessível apenas a leitores de tela */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* HERO SECTION */
/* ========================================
HERO SECTION
======================================== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    /*background: linear-gradient(135deg, rgba(15, 52, 96, 0.55) 0%, rgba(22, 33, 62, 0.6) 100%),*/
    background:
linear-gradient(90deg,rgba(10,15,25,.65) 0%,rgba(10,15,25,.35) 45%,rgba(10,15,25,.15) 100%),
                url('pratomarea.jpg') center/cover no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {

    position:absolute;
    left:8%;
    top:50%;
    transform:translateY(-50%);
    max-width:700px;

    /* --aqui fica centralizado--
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px;
    animation: fadeInUp 1s ease-out;*/
}

.logo-section {
  margin-bottom: 40px;
  animation: slideDown 0.8s ease-out 0.2s both;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.content-wrapper {
  animation: slideUp 0.8s ease-out 0.4s both;
}

.subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.description {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  line-height: 1.8;
  font-weight: 300;
  text-align: justify;
}

/* Progress Bar */
.progress-container {
  margin: 40px 0;
  animation: slideUp 0.8s ease-out 0.6s both;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-fill {
  height: 100%;
  width: 68%;
  background: linear-gradient(90deg, var(--gold), #e8c547);
  border-radius: 10px;
  animation: fillProgress 2s ease-out 1s both;
}

.progress-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold), #d4a574);
  color: var(--primary-blue);
  border: none;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
  animation: slideUp 0.8s ease-out 0.8s both;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

.cta-button:active,
.cta-button.active {
  transform: translateY(-1px);
}

.cta-button:focus-visible,
.close:focus-visible,
.modal-button:focus-visible,
.modal-content input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.button-arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .button-arrow {
  transform: translateX(5px);
}

/* Floating Elements */
.floating-element {
  position: absolute;
  font-size: 40px;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.element-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  top: 60%;
  right: 10%;
  animation-delay: 1s;
}

.element-3 {
  bottom: 20%;
  left: 20%;
  animation-delay: 2s;
}
/* ========================================
FOOTER SECTION
======================================== */

.footer-section {
  position: relative;
  width: 100%;
  min-height: 400px;

  /* Mantido igual ao seu visual original:
     mesma imagem, mesma posição e mesma transparência do overlay */
  background:
    linear-gradient(
      180deg,
      rgba(15, 52, 96, 0.7) 0%,
      rgba(22, 33, 62, 0.75) 100%
    ),
    url('pratomarea.jpg') center/cover no-repeat;

  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 60px 40px;
}

.footer-content {
  max-width: 800px;
  text-align: center;
  color: var(--white);
  animation: fadeIn 1s ease-out;
}

.footer-content h3,
.footer-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  text-align: justify;
}

.footer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center !important;
}
/* MODAL */
/* ========================================
MODAL - Mantido para uso futuro.
Atualmente o HTML do formulário está comentado.
======================================== */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 24px;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal.is-open {
  display: block;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--white);
  margin: 10vh auto;
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  width: min(100%, 500px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-content h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.modal-content p {
  color: var(--light-text);
  margin-bottom: 25px;
  font-size: 0.875rem;
}

.close {
  color: var(--light-text);
  float: right;
  font-size: 1.75rem;
  font-weight: bold;
  cursor: pointer;
  border: 0;
  background: transparent;
  line-height: 1;
}

.close:hover {
  color: var(--primary-blue);
}

.modal-content form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-content input {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 0.875rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modal-content input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.1);
}

.form-message {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.875rem;
}

.form-message[data-type='error'] {
  color: #b00020;
}

.form-message[data-type='success'] {
  color: #1b7f3a;
}

.modal-button {
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--gold), #d4a574);
  color: var(--primary-blue);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.modal-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 169, 97, 0.3);
}

/* Animações */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fillProgress {
  from {
    width: 0;
  }
  to {
    width: 68%;
  }
}

/* Animação opcional para elementos observados via JS */
.animate-on-scroll.is-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsividade */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 40px 20px;
  }

  .hero,
  .footer-section {
    background-attachment: scroll;
  }

  .hero-content {
    padding: 24px;
  }

  .description,
  .footer-content p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .cta-button {
    width: 100%;
    justify-content: center;
    padding-inline: 24px;
  }

  .modal-content {
    padding: 28px;
    margin-top: 8vh;
  }
}

/* Acessibilidade: respeita usuários que reduzem animações */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}