/* ===== Alfaia Design — LP Orçamento ===== */

:root{
  --navy: #241F3D;
  --navy-deep: #16132A;
  --navy-soft: #322A57;
  --gold: #D9A06A;
  --gold-light: #E8C49A;
  --gold-deep: #B97F49;
  --cream: #F7F3EC;
  --cream-2: #EFE6D6;
  --ink: #1C1830;
  --white: #FFFFFF;
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.16,.84,.32,1);
}

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

html{ scroll-behavior:smooth; }

body{
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container{
  width:100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
.container.narrow{ max-width: 760px; }
.container.center{ text-align:center; }

h1,h2,h3,h4{
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h2{ font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; font-weight: 450; }
h3{ font-size: 1.3rem; font-weight: 500; }
.h2-light{ color: var(--cream); }

em{ font-style: italic; color: var(--gold-deep); }

.eyebrow{
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 1rem;
  display:block;
}
.eyebrow--light{ color: var(--gold-light); }

.lead{
  font-size: 1.15rem;
  color: #4a4458;
  max-width: 620px;
}
.lead--light{ color: #C9C3DC; }

.section{ padding: 7rem 0; position: relative; }
.section--cream{ background: var(--cream); }
.section--navy{ background: var(--navy); }
.section--dark{ background: var(--navy-deep); padding-top:0; }

/* ===== Reveal animation ===== */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ===== Progress bar ===== */
.progress-bar{
  position: fixed;
  top:0; left:0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 999;
  transition: width .1s linear;
}

/* ===== Header ===== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 500;
  padding: 22px 0;
  transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled{
  background: rgba(247,243,236,0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
}
.brand{ display:block; height: 26px; }
.brand-logo{ height: 26px; width:auto; }
.brand-logo--dark{ display:none; }
.site-header.is-scrolled .brand-logo--dark{ display:block; }
.site-header.is-scrolled .brand-logo--light{ display:none; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration:none;
  position: relative;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  white-space: nowrap;
}
.btn svg{ transition: transform .4s var(--ease); position: relative; z-index: 2; }
.btn span{ position: relative; z-index: 2; }
.btn:hover svg{ transform: translateX(4px); }
.btn:active{ transform: scale(.97); }

.btn-primary{
  background: var(--gold);
  color: var(--navy-deep);
}
.btn-primary::before{
  content:"";
  position:absolute; inset:0;
  background: var(--gold-light);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index:1;
}
.btn-primary:hover::before{ transform: translateY(0); }
.btn-primary:hover{ box-shadow: 0 10px 30px rgba(217,160,106,0.35); }

.btn-header{
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  padding: 11px 24px;
  font-size: 0.85rem;
}
.site-header.is-scrolled .btn-header{ color: var(--gold-deep); border-color: var(--gold-deep); }
.btn-header:hover{ background: var(--gold); color: var(--navy-deep); }

.btn-ghost-light{
  background: transparent;
  border: 1.5px solid rgba(247,243,236,0.5);
  color: var(--cream);
  padding: 14.5px 26px;
}
.btn-ghost-light:hover{ border-color: var(--cream); background: rgba(247,243,236,0.1); }

.btn-full{ width: 100%; justify-content: center; margin-top: 0.5rem; }

/* ===== Hero ===== */
.hero{
  position: relative;
  height: 100vh;
  min-height: 640px;
  display:flex;
  align-items:center;
  overflow:hidden;
}
.hero-media{ position:absolute; inset:0; z-index:0; }
.hero-media img{
  width:100%; height:100%; object-fit:cover; object-position: center 35%;
  transform: scale(1.06);
  animation: heroZoom 18s ease-in-out forwards;
}
@keyframes heroZoom{ from{ transform: scale(1.06); } to{ transform: scale(1); } }
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(22,19,42,0.55) 0%, rgba(22,19,42,0.35) 45%, rgba(22,19,42,0.85) 100%);
}
.hero-content{
  position: relative; z-index: 2;
  color: var(--cream);
  padding-top: 60px;
}
.hero h1{
  color: var(--cream);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 450;
  line-height: 1.08;
  margin-bottom: 1.4rem;
  max-width: 760px;
}
.hero-sub{
  font-size: 1.15rem;
  color: #DCD8E8;
  max-width: 480px;
  margin-bottom: 2.4rem;
}
.hero-actions{ display:flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll{
  position:absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display:flex; flex-direction:column; align-items:center; gap:10px;
  z-index:2; color: rgba(247,243,236,0.7);
}
.hero-scroll span{
  width:1px; height: 40px;
  background: rgba(247,243,236,0.5);
  position: relative;
  overflow:hidden;
}
.hero-scroll span::after{
  content:"";
  position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: var(--gold);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine{ 0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; } }
.hero-scroll small{ font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== Stats ===== */
.stats-row{
  display:flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(28,24,48,0.1);
}
.stat{ display:flex; flex-direction:column; gap: 0.3rem; }
.stat-number{
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold-deep);
  font-weight: 500;
}
.stat-label{
  font-size: 0.85rem;
  color: #6a6378;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== Diferenciais ===== */
.diff-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 3.5rem;
  background: rgba(247,243,236,0.08);
}
.diff-card{
  background: var(--navy);
  padding: 2.6rem 2.4rem;
  transition: background .4s var(--ease);
}
.diff-card:hover{ background: var(--navy-soft); }
.diff-index{
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  display:block;
  margin-bottom: 1rem;
}
.diff-card h3{ color: var(--cream); margin-bottom: 0.7rem; }
.diff-card p{ color: #C9C3DC; font-size: 0.96rem; }

/* ===== Full image ===== */
.full-image{
  position: relative;
  height: 78vh;
  min-height: 460px;
  overflow:hidden;
}
.full-image img{
  width:100%; height:100%; object-fit:cover;
  transition: transform 1.4s var(--ease);
}
.full-image:hover img{ transform: scale(1.04); }
.full-image-caption{
  position:absolute;
  left: 6%; bottom: 10%;
  max-width: 460px;
  color: var(--cream);
  z-index: 2;
}
.full-image-caption--right{ left:auto; right:6%; text-align:right; }
.full-image-caption p{
  font-family: var(--serif);
  font-size: 1.7rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.full-image-caption span{ font-size: 0.85rem; color: #D8D2E6; letter-spacing: 0.03em; }
.full-image::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(22,19,42,0.75) 100%);
}

/* ===== Formatos ===== */
.formatos-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-top: 3rem;
}
.formato-card{
  background: var(--white);
  border: 1px solid rgba(28,24,48,0.08);
  border-radius: 18px;
  padding: 2.2rem 1.4rem;
  text-align:center;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.formato-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 24px 40px rgba(36,31,61,0.1);
  border-color: var(--gold-light);
}
.formato-shape{
  width: 56px; height: 56px;
  margin: 0 auto 1.4rem;
  background: var(--cream-2);
  border: 1.5px solid var(--gold);
  transition: background .4s var(--ease);
}
.formato-card:hover .formato-shape{ background: var(--gold-light); }
.formato-shape--quadrada{ border-radius: 4px; }
.formato-shape--retangular{ width:72px; height:44px; border-radius: 4px; }
.formato-shape--redonda{ border-radius: 50%; }
.formato-shape--oval{ width:72px; height:44px; border-radius: 50%; }
.formato-shape--organica{ border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%; }
.formato-shape--castanha{ border-radius: 50% 50% 50% 10%; }
.formato-shape--gota{ border-radius: 50% 50% 50% 0; }
.formato-shape--retarredondada{ width:72px; height:44px; border-radius: 20px; }
.formato-card h4{
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.formato-card span{ font-size: 0.8rem; color: #6a6378; }

/* ===== Pedras ===== */
.pedra-visual{ height: 50vh; min-height: 320px; overflow:hidden; }
.pedra-visual img{ width:100%; height:100%; object-fit:cover; }
.section--dark .container{ padding-top: 4.5rem; padding-bottom: 5rem; }
.pedras-list{
  display:flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.pedras-list span{
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--cream);
  border: 1px solid rgba(217,160,106,0.4);
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pedras-list span:hover{
  background: var(--gold);
  color: var(--navy-deep);
  border-color: var(--gold);
}

/* ===== Acabamentos ===== */
.acabamentos-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.acabamento-group h4{
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6a6378;
  margin-bottom: 1.2rem;
  font-family: var(--sans);
  font-weight: 600;
}
.swatch-row{ display:flex; flex-wrap:wrap; gap: 0.7rem; }
.swatch{
  font-size: 0.78rem;
  padding: 0.9rem 1rem 0.7rem;
  border-radius: 10px;
  min-width: 90px;
  display:flex; align-items:flex-end;
  font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  transition: transform .35s var(--ease);
}
.swatch:hover{ transform: translateY(-4px); }

/* ===== Processo ===== */
.processo-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.processo-num{
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.6rem;
  display:block;
  margin-bottom: 1rem;
}
.processo-item h3{ color: var(--cream); margin-bottom: 0.6rem; font-size: 1.1rem; }
.processo-item p{ color: #C9C3DC; font-size: 0.92rem; }

/* ===== Duo image ===== */
.duo-image{ display:grid; grid-template-columns: 1fr 1fr; }
.duo-image-item{ position:relative; height: 56vh; min-height: 380px; overflow:hidden; }
.duo-image-item img{ width:100%; height:100%; object-fit:cover; transition: transform 1.2s var(--ease); }
.duo-image-item:hover img{ transform: scale(1.06); }
.duo-image-item span{
  position:absolute; left: 1.6rem; bottom: 1.6rem;
  color: var(--cream); font-size: 0.85rem; letter-spacing: 0.03em;
  background: rgba(22,19,42,0.5);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* ===== Orçamento ===== */
.orcamento-layout{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.orcamento-intro h2{ margin-bottom: 1.2rem; }
.orcamento-list{
  list-style:none;
  margin-top: 2rem;
  display:flex; flex-direction:column; gap: 0.9rem;
}
.orcamento-list li{
  padding-left: 1.8rem;
  position: relative;
  font-size: 0.95rem;
  color: #4a4458;
}
.orcamento-list li::before{
  content:"";
  position:absolute; left:0; top: 0.45rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.orcamento-form{
  background: var(--white);
  padding: 2.6rem;
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(36,31,61,0.08);
  display:flex; flex-direction:column; gap: 1.4rem;
}
.field{ display:flex; flex-direction:column; gap: 0.5rem; }
.field label{ font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea{
  font-family: var(--sans);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid #E2DCCC;
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
  resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color: var(--gold);
  background: var(--white);
}
.form-note{ font-size: 0.78rem; color: #8a8294; text-align:center; }

/* ===== FAQ ===== */
.faq-list{ margin-top: 2.5rem; display:flex; flex-direction:column; gap: 0.8rem; }
.faq-item{
  background: var(--white);
  border: 1px solid rgba(28,24,48,0.08);
  border-radius: 14px;
  padding: 1.3rem 1.6rem;
}
.faq-item summary{
  cursor:pointer;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  list-style: none;
  display:flex; justify-content:space-between; align-items:center;
}
.faq-item summary::after{
  content: "+";
  font-size: 1.4rem;
  color: var(--gold-deep);
  transition: transform .35s var(--ease);
  margin-left: 1rem;
}
.faq-item[open] summary::after{ transform: rotate(45deg); }
.faq-item p{ margin-top: 1rem; color: #5a5468; font-size: 0.92rem; }

/* ===== CTA final ===== */
.cta-final{ position: relative; height: 70vh; min-height: 480px; overflow:hidden; }
.cta-final img{ width:100%; height:100%; object-fit:cover; }
.cta-final-overlay{
  position:absolute; inset:0;
  background: rgba(22,19,42,0.55);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 2.2rem;
  text-align:center; padding: 0 2rem;
}
.cta-final-overlay h2{ color: var(--cream); max-width: 640px; }

/* ===== Footer ===== */
.site-footer{ background: var(--navy-deep); padding: 3.5rem 0; }
.footer-inner{ display:flex; flex-direction:column; align-items:center; gap: 1rem; text-align:center; }
.footer-logo{ height: 22px; opacity: 0.9; }
.footer-inner p{ color: #9b94ab; font-size: 0.85rem; }
.footer-inner a{ color: var(--gold); font-size: 0.88rem; text-decoration:none; }
.footer-inner a:hover{ text-decoration: underline; }

/* ===== WhatsApp float ===== */
.whatsapp-float{
  position: fixed;
  bottom: 26px; right: 26px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 400;
  transition: transform .35s var(--ease);
}
.whatsapp-float:hover{ transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 980px){
  .diff-grid{ grid-template-columns: 1fr; }
  .formatos-grid{ grid-template-columns: repeat(2, 1fr); }
  .processo-grid{ grid-template-columns: repeat(2, 1fr); }
  .acabamentos-grid{ grid-template-columns: 1fr; gap: 2rem; }
  .orcamento-layout{ grid-template-columns: 1fr; gap: 2.5rem; }
  .duo-image{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .container{ padding: 0 20px; }
  .section{ padding: 4.5rem 0; }
  .formatos-grid{ grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stats-row{ gap: 1.6rem; }
  .hero h1{ font-size: 2.4rem; }
  .hero-content{ padding-top: 130px; }
  .hero .eyebrow{ margin-bottom: 1.6rem; text-shadow: 0 1px 12px rgba(22,19,42,0.8); }
  .full-image-caption, .full-image-caption--right{ left: 6%; right:6%; text-align:left; }
  .btn-header{ padding: 10px 18px; font-size: 0.78rem; }
}
