/* ============================================
   GRUPO ATALAIA — Design tokens
   ============================================ */
:root{
  --maroon:        #580d27;
  --maroon-dark:    #3a0819;
  --maroon-light:   #7a1836;
  --rosa:          #ebafbc;
  --black:         #0d0d0d;
  --offwhite:      #f7f3ec;
  --offwhite-2:    #d9d9d9;
  --gold-1:        #a97e2f;
  --gold-2:        #f3d888;
  --gold-3:        #7c5a1e;

  --font-body: 'Quicksand', sans-serif;
  --font-script: 'Alex Brush', cursive;

  --gold-grad: linear-gradient(120deg, var(--gold-3) 0%, var(--gold-2) 35%, var(--gold-1) 60%, var(--gold-2) 85%, var(--gold-3) 100%);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--black);
  background: var(--offwhite);
  font-weight: 500;
  overflow-x: hidden;
}

h1, h2, h3, h4{
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: -0.01em;
}

a{ text-decoration: none; }

.script{
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.25em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 .05em;
}

.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gold-3);
  margin-bottom: .75rem;
}
.eyebrow-light{ color: var(--gold-2); }

.section-title{
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  margin-bottom: 1.25rem;
}
.section-title.text-light{ color: var(--offwhite); }

.lead-text{
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3a3a3a;
  font-weight: 500;
}
.text-light-70{ color: rgba(247,243,236,.78); }

/* ============================================
   NAV
   ============================================ */
#mainNav{
  background: rgba(247,243,236,0);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 1.35rem 0;
}
#mainNav.scrolled{
  background: rgba(247,243,236,.96);
  box-shadow: 0 4px 24px rgba(13,13,13,.08);
  padding: .7rem 0;
  backdrop-filter: blur(6px);
}
#navLogo{ height: 46px; transition: height .35s ease; }
#mainNav.scrolled #navLogo{ height: 38px; }

.navbar-nav .nav-link{
  color: var(--offwhite);
  font-weight: 600;
  font-size: .95rem;
  margin: 0 .6rem;
  position: relative;
  transition: color .25s ease;
}
#mainNav.scrolled .nav-link{ color: var(--maroon); }
.navbar-nav .nav-link::after{
  content:"";
  position:absolute; left:0; bottom:-4px;
  width:0; height:2px;
  background: var(--gold-1);
  transition: width .25s ease;
}
.navbar-nav .nav-link:hover::after{ width:100%; }
.navbar-toggler{ border:none; }
#mainNav .navbar-toggler .navbar-toggler-icon{
  filter: none;
}
#mainNav:not(.scrolled) .navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%23f7f3ec' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.btn-cta{
  background: var(--maroon);
  color: var(--offwhite) !important;
  border: 1px solid var(--maroon);
  border-radius: 999px;
  padding: .65rem 1.5rem;
  font-weight: 700;
  font-size: .92rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn-cta:hover{
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(88,13,39,.28);
  color: var(--offwhite);
}
.btn-ghost{
  border: 1.5px solid rgba(247,243,236,.7);
  color: var(--offwhite);
  border-radius: 999px;
  padding: .65rem 1.5rem;
  font-weight: 700;
  font-size: .92rem;
  transition: all .25s ease;
}
.btn-ghost:hover{
  background: rgba(247,243,236,.12);
  color: var(--offwhite);
  border-color: var(--offwhite);
}

/* ============================================
   HERO
   ============================================ */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(169,126,47,.25), transparent 55%),
    linear-gradient(160deg, #4a0d20 0%, #2c0714 60%, #1a0410 100%);
  overflow: hidden;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image: url('../images/icon-gold.png');
  background-repeat:no-repeat;
  background-position: 108% 12%;
  background-size: 620px;
  opacity: .16;
  transform: rotate(8deg);
  pointer-events:none;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background-image: url('../images/icon-gold.png');
  background-repeat:no-repeat;
  background-position: -10% 105%;
  background-size: 480px;
  opacity: .12;
  transform: rotate(-12deg);
  pointer-events:none;
}
.hero-overlay{ position:absolute; inset:0; background: rgba(10,3,7,.15); }
.hero-content{
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 1.5rem;
}
.hero-title{
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  color: var(--offwhite);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.4rem;
}
.hero-title span{
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.3em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub{
  color: rgba(247,243,236,.82);
  font-size: 1.12rem;
  max-width: 560px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
}
.hero-actions{ display:flex; gap: 1rem; justify-content:center; flex-wrap: wrap; }

.scroll-cue{
  position:absolute; bottom: 2rem; left:50%; transform: translateX(-50%);
  color: rgba(247,243,236,.75);
  font-size: 1.2rem;
  animation: bob 2.2s ease-in-out infinite;
  z-index: 2;
}
@keyframes bob{
  0%,100%{ transform: translateX(-50%) translateY(0); }
  50%{ transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   PLACEHOLDER PHOTOS
   ============================================ */
.ph-photo{
  position: relative;
  border-radius: 14px;
  overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, #e7ded0, #cbb98f 45%, #e7ded0);
  color: rgba(88,13,39,.55);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .05em;
  text-align:center;
  min-height: 220px;
}
.ph-photo::before{
  content: "\f03e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position:absolute;
  font-size: 1.8rem;
  opacity:.35;
  top: 14px; left: 16px;
}
.ph-photo span{ padding: 0 1.5rem; margin-top: 1.6rem; opacity:.85; }

/* ============================================
   SOBRE
   ============================================ */
.section-sobre{ padding: 7rem 0; }
.sobre-frame{
  position: relative;
}
.sobre-frame .ph-1{ min-height: 460px; border-radius: 18px; }
.sobre-emblem{
  position:absolute;
  width: 130px;
  bottom: -34px;
  right: -30px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}
.sobre-pills{
  display:flex; flex-wrap:wrap; gap: .8rem 1.4rem;
  margin-top: 1.8rem;
}
.sobre-pills span{
  font-weight: 700;
  font-size: .92rem;
  color: var(--maroon);
  display:inline-flex; align-items:center; gap:.5rem;
}
.sobre-pills i{ color: var(--gold-1); }

/* ============================================
   SERVIÇOS
   ============================================ */
.section-servicos{
  padding: 6rem 0;
  background: var(--offwhite-2);
  position: relative;
}
.servico-card{
  background: var(--offwhite);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 18px 40px rgba(13,13,13,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.servico-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(88,13,39,.14);
}
.servico-card .ph-photo{ min-height: 240px; border-radius:0; }
.servico-body{ padding: 2rem; }
.servico-icon{
  font-size: 1.6rem;
  color: var(--gold-1);
  margin-bottom: .9rem;
  display:block;
}
.servico-body h3{ font-size: 1.35rem; margin-bottom: .7rem; }
.servico-body p{ color:#4a4a4a; line-height: 1.7; margin-bottom: 1.2rem; }
.servico-link{
  color: var(--maroon);
  font-weight: 700;
  font-size: .92rem;
  display:inline-flex; align-items:center; gap:.5rem;
  transition: gap .25s ease;
}
.servico-link:hover{ gap: .85rem; color: var(--maroon-dark); }

/* ============================================
   GALERIA
   ============================================ */
.section-galeria{ padding: 6rem 0; }
.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.gallery-grid .ph-photo{ min-height: 260px; }
.gallery-grid .g-1{ grid-row: span 2; min-height: 100%; }
.gallery-grid .g-4{ grid-row: span 2; min-height: 100%; }
@media(max-width: 767px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
  .gallery-grid .g-1, .gallery-grid .g-4{ grid-row: span 1; }
}

/* ============================================
   CONTATO
   ============================================ */
.section-contato{
  padding: 7rem 0;
  background: linear-gradient(165deg, #430a1c 0%, #2c0714 100%);
  position: relative;
}
.contato-lista{ list-style:none; padding:0; margin: 2rem 0 0; display:flex; flex-direction:column; gap: 1.1rem; }
.contato-lista a{
  color: var(--offwhite);
  display:flex; align-items:center; gap: .9rem;
  font-weight: 600;
  font-size: 1.02rem;
  transition: color .25s ease, transform .25s ease;
}
.contato-lista a:hover{ color: var(--gold-2); transform: translateX(4px); }
.contato-lista i{
  width: 40px; height: 40px;
  display:flex; align-items:center; justify-content:center;
  border: 1.5px solid rgba(247,243,236,.3);
  border-radius: 50%;
  font-size: 1rem;
  flex-shrink:0;
}
.contato-lista .regiao{
  display:flex; align-items:center; gap:.9rem;
  color: rgba(247,243,236,.75);
  font-weight: 600;
}

.contato-form{
  background: var(--offwhite);
  border-radius: 22px;
  padding: 2.4rem;
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
}
.contato-form .form-label{
  font-weight: 700;
  font-size: .85rem;
  color: var(--maroon);
  margin-bottom: .4rem;
}
.contato-form .form-control,
.contato-form .form-select{
  border: 1.5px solid #e3dccf;
  border-radius: 10px;
  padding: .65rem .9rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--black);
}
.contato-form .form-control:focus,
.contato-form .form-select:focus{
  border-color: var(--gold-1);
  box-shadow: 0 0 0 3px rgba(169,126,47,.15);
}
.form-note{
  font-size: .82rem;
  color: #6b6b6b;
  margin: .9rem 0 0;
  text-align: center;
}
.form-note a{ color: var(--maroon); font-weight:700; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer{
  background: var(--black);
  padding: 3rem 0 1.6rem;
}
.footer-top{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1.5rem;
}
#footerLogo{ height: 42px; }
.footer-social{ display:flex; gap: .9rem; }
.footer-social a{
  width: 42px; height:42px;
  border-radius:50%;
  border: 1px solid rgba(247,243,236,.25);
  display:flex; align-items:center; justify-content:center;
  color: var(--offwhite);
  transition: all .25s ease;
}
.footer-social a:hover{ background: var(--gold-1); border-color: var(--gold-1); color: var(--black); }
.site-footer hr{ border-color: rgba(247,243,236,.15); margin: 2rem 0 1.4rem; }
.footer-bottom{
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:.6rem;
  color: rgba(247,243,236,.55);
  font-size: .85rem;
  font-weight: 600;
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float{
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height:58px;
  background: var(--maroon);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color: var(--offwhite); font-size: 1.6rem;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  z-index: 999;
  transition: transform .25s ease, background .25s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); background: var(--maroon-dark); color: var(--offwhite); }

/* ============================================
   REVEAL ANIMATION
   ============================================ */
[data-aos]{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-aos].in-view{
  opacity: 1;
  transform: translateY(0);
}

@media(prefers-reduced-motion: reduce){
  [data-aos]{ opacity:1; transform:none; transition:none; }
  .scroll-cue{ animation: none; }
}
