/* ===== BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9A96E;
  --gold-dark: #a8803d;
  --gold-light: #e8d5b0;
  --cream: #FBF8F4;
  --white: #FFFFFF;
  --dark: #1C1C1C;
  --text: #3A3A3A;
  --muted: #888;
  --border: #E8E0D5;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
  --shadow: 0 8px 40px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.12);
  --radius: 4px;
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--text); background: var(--white); line-height: 1.7; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section { padding: 110px 0; }
.section-cream { background: var(--cream); }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.section-pretitle {
  font-size: 11px; font-weight: 500; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block;
}
.section-title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; color: var(--dark); line-height: 1.2; margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc { color: var(--muted); font-size: 16px; font-weight: 300; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px; border-radius: 50px;
  font-size: 13px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; transition: var(--transition); white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--white); box-shadow: 0 4px 20px rgba(201,169,110,.3); }
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,169,110,.45); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* ===== HEADER ===== */
#header {
  position: fixed; inset: 0 0 auto; z-index: 1000;
  padding: 22px 0; transition: all .4s ease;
}
#header.scrolled {
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  padding: 14px 0; box-shadow: 0 2px 20px rgba(0,0,0,.07);
}
.header-inner { display: flex; align-items: center; gap: 40px; }

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-img { height: 110px; width: auto; max-width: 260px; object-fit: contain; filter: brightness(0) invert(1); transition: height .4s; }
#header.scrolled .logo-img { height: 70px; filter: none; }
.logo-footer { height: 80px; filter: brightness(0) invert(1); }

#nav { flex: 1; }
#nav ul { display: flex; align-items: center; justify-content: center; gap: 40px; }
#nav a { font-size: 15px; font-weight: 400; letter-spacing: .5px; color: rgba(255,255,255,.85); transition: color var(--transition); position: relative; }
#nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform var(--transition); }
#nav a:hover { color: var(--white); }
#nav a:hover::after { transform: scaleX(1); }
#header.scrolled #nav a { color: var(--text); font-size: 14px; }
#header.scrolled #nav a:hover { color: var(--gold); }

.header-cta { margin-left: auto; flex-shrink: 0; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: var(--transition); }
#header.scrolled .nav-toggle span { background: var(--dark); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05); transition: transform 8s ease;
}
.hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(20,20,20,.85) 40%, rgba(20,20,20,.35)); }
.hero-content { position: relative; z-index: 2; max-width: 680px; }

.hero-pretitle {
  font-size: 11px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.hero-pretitle::before { content: ''; width: 36px; height: 1px; background: var(--gold); }

.hero-title { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.2rem); font-weight: 300; color: var(--white); line-height: 1.08; margin-bottom: 24px; }
.hero-title em { font-style: italic; color: var(--gold-light); }
.hero-tagline { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.6rem); font-weight: 300; font-style: italic; color: var(--gold-light); margin-bottom: 28px; letter-spacing: 1px; }
.hero-sub { font-size: 17px; font-weight: 300; color: rgba(255,255,255,.75); margin-bottom: 40px; line-height: 1.8; max-width: 500px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }

.hero-stats { display: flex; align-items: center; gap: 32px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: var(--white); line-height: 1; }
.stat-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.55); }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

.hero-scroll { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll span { display: block; width: 1px; height: 56px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,.5)); animation: scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ===== HERO FADE UP ===== */
.fade-up { opacity: 0; transform: translateY(28px); animation: fadeUp .9s forwards; }
.delay-1 { animation-delay: .2s; } .delay-2 { animation-delay: .4s; }
.delay-3 { animation-delay: .6s; } .delay-4 { animation-delay: .8s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ===== SOBRE ===== */
.sobre { background: var(--white); }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.sobre-images { position: relative; height: 540px; }
.img-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.img-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.img-main { position: absolute; top: 0; left: 0; width: 73%; height: 73%; }
.img-sec { position: absolute; bottom: 0; right: 0; width: 53%; height: 53%; border: 5px solid var(--white); }

/* slide from right */
.sobre-images .img-card,
.sobre-images .sobre-badge {
  opacity: 0; transform: translateX(70px);
  transition: opacity .75s ease, transform .75s ease;
}
.sobre-images.slide-in .img-main       { opacity: 1; transform: translateX(0); transition-delay: 0s; }
.sobre-images.slide-in .img-sec        { opacity: 1; transform: translateX(0); transition-delay: .18s; }
.sobre-images.slide-in .sobre-badge    { opacity: 1; transform: translateX(0); transition-delay: .32s; }

.sobre-badge {
  position: absolute; bottom: 30%; left: -18px;
  background: var(--gold); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow); text-align: center;
}
.badge-num { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 300; line-height: 1; }
.badge-label { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: .9; line-height: 1.5; }


.sobre-text .section-pretitle { text-align: left; }
.sobre-text .section-title { text-align: left; }
.sobre-text p { font-size: 15px; color: var(--muted); font-weight: 300; line-height: 1.85; margin-bottom: 18px; }
.sobre-text p strong { color: var(--dark); font-weight: 500; }

.diferenciais { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 16px; }
.diferenciais li { display: flex; gap: 14px; align-items: flex-start; }
.diferenciais li span { color: var(--gold); font-size: 12px; flex-shrink: 0; margin-top: 3px; }
.diferenciais li strong { display: block; font-size: 14px; color: var(--dark); margin-bottom: 2px; }
.diferenciais li small { font-size: 13px; color: var(--muted); }

/* ===== SERVIÇOS ===== */
.tabs {
  display: flex; justify-content: center;
  background: var(--white); border-radius: 50px;
  padding: 5px; width: fit-content; margin: 0 auto 48px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.tab-btn { padding: 11px 28px; border-radius: 50px; font-size: 13px; font-weight: 400; color: var(--muted); transition: var(--transition); letter-spacing: .5px; }
.tab-btn.active { background: var(--gold); color: var(--white); box-shadow: 0 4px 16px rgba(201,169,110,.35); }
.tab-btn:hover:not(.active) { color: var(--dark); }

.servicos-lista { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.servicos-lista.hidden { display: none; }

.s-item { display: flex; gap: 28px; align-items: flex-start; padding: 36px 0; border-bottom: 1px solid var(--border); transition: opacity var(--transition); }
.s-item:hover { opacity: .65; }
.s-item:nth-child(odd)  { padding-right: 56px; border-right: 1px solid var(--border); }
.s-item:nth-child(even) { padding-left: 56px; }
.s-item:nth-last-child(-n+2) { border-bottom: none; }

.s-num { font-family: var(--serif); font-size: 1.5rem; font-weight: 300; color: var(--gold); flex-shrink: 0; line-height: 1.3; }
.s-item h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; color: var(--dark); margin-bottom: 6px; }
.s-item p { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.7; }

/* ===== EQUIPE ===== */
.equipe { background: var(--cream); }
.equipe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.dr-card { background: var(--white); border-radius: var(--radius); overflow: hidden; transition: transform .4s, box-shadow .4s; }
.dr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dr-foto { height: 440px; overflow: hidden; }
.dr-foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.dr-card:hover .dr-foto img { transform: scale(1.04); }
.dr-info { padding: 28px 32px; border-top: 2px solid var(--gold); }
.dr-info h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--dark); margin-bottom: 6px; }
.dr-info p { font-size: 12px; color: var(--gold); letter-spacing: 1.5px; text-transform: uppercase; font-weight: 400; }

/* ===== FAQ ===== */
.faq-lista { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; font-size: 15px; font-weight: 400; color: var(--dark); text-align: left; gap: 16px; transition: color var(--transition); }
.faq-q:hover { color: var(--gold); }
.faq-q span { font-size: 22px; color: var(--gold); flex-shrink: 0; transition: transform .3s; line-height: 1; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-a { max-height: 160px; }
.faq-a p { font-size: 14px; color: var(--muted); font-weight: 300; line-height: 1.8; padding-bottom: 20px; }

/* ===== CONTATO ===== */
.contato-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.contato-texto .section-pretitle { text-align: left; }
.contato-texto .section-title { text-align: left; font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 16px; }
.contato-texto > p { font-size: 15px; color: var(--muted); font-weight: 300; margin-bottom: 28px; line-height: 1.8; }
.btn-wa { margin-bottom: 36px; }

.contato-infos { display: flex; flex-direction: column; gap: 0; }
.ci { padding: 18px 0; border-bottom: 1px solid var(--border); }
.ci:first-child { border-top: 1px solid var(--border); }
.ci span { display: block; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 5px; }
.ci p { font-size: 14px; color: var(--dark); font-weight: 300; line-height: 1.6; }

.contato-form { background: var(--cream); border-radius: 12px; padding: 44px 40px; border: 1px solid var(--border); }
.contato-form h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 400; color: var(--dark); margin-bottom: 28px; }
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 8px;
  font-family: var(--sans); font-size: 14px; color: var(--dark); background: var(--white);
  transition: border-color var(--transition); outline: none; appearance: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #bbb; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,169,110,.1); }
.form-group textarea { resize: none; }

/* ===== FOOTER ===== */
.footer { background: #1a1a1a; padding-top: 72px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.07); }
.footer-brand .logo-white .logo-text { color: var(--white); }
.footer-brand .logo-white .logo-text small { color: var(--gold); }
.footer-brand p { font-family: var(--serif); font-size: 15px; font-style: italic; color: rgba(255,255,255,.4); margin: 20px 0 24px; line-height: 1.7; }
.social-links { display: flex; gap: 10px; }
.social-links a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); transition: var(--transition); }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.footer-links h4 { font-size: 10px; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.45); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { padding: 22px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.25); }

/* ===== WHATSAPP ===== */
.wa-float { position: fixed; bottom: 28px; right: 28px; z-index: 99; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: transform .3s, box-shadow .3s; animation: waPulse 2.5s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.1); animation: none; }
@keyframes waPulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.4)} 50%{box-shadow:0 4px 36px rgba(37,211,102,.65), 0 0 0 10px rgba(37,211,102,.07)} }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .22s; }
.reveal.delay-3 { transition-delay: .34s; }

/* ===== MOBILE NAV ===== */
#nav.open { position: fixed; inset: 0; background: var(--dark); display: flex !important; flex-direction: column; align-items: center; justify-content: center; z-index: 999; }
#nav.open ul { flex-direction: column; gap: 36px; text-align: center; }
#nav.open a { font-size: 1.8rem; color: var(--white) !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 40px; }
  .sobre-images { height: 340px; }
  .sobre-badge { left: 0; }
  .servicos-lista { grid-template-columns: 1fr; }
  .s-item:nth-child(odd) { border-right: none; padding-right: 0; }
  .s-item:nth-child(even) { padding-left: 0; }
  .s-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .s-item:last-child { border-bottom: none; }
  .equipe-grid { grid-template-columns: 1fr; gap: 24px; }
  .dr-foto { height: 340px; }
  .contato-grid { grid-template-columns: 1fr; gap: 56px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  #nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 80px 0; }
  .hero-stats { flex-direction: row; align-items: center; gap: 20px; flex-wrap: nowrap; }
  .stat-divider { width: 1px; height: 36px; }
  .stat-num { font-size: 1.6rem; }
  .stat-label { font-size: 9px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contato-form { padding: 32px 24px; }
}
