/* ============ Tokens ============ */
:root {
  --navy: #12194F;
  --navy-dark: #0D1338;
  --gold: #E3B23C;
  --gold-dark: #C99A2E;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --bg-light: #F5F6FA;
  --text-body: #4A5070;
  --text-review: #333A57;
  --white: #FFFFFF;
  --radius-photo: 24px;
  --border-gold: 5px solid var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Karla', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-body);
  background: var(--white);
}

h1, h2, h3 {
  font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  margin: 0;
  color: var(--navy);
}

p { margin: 0; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.kicker-navy { color: var(--navy); }
.kicker-light { color: var(--gold); }

/* ============ Buttons (com animação de hover) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px rgba(18, 25, 79, 0.22);
}
.btn:active { transform: translateY(-1px) scale(1.01); }

.btn-small { padding: 11px 20px; font-size: 14px; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
  color: var(--white);
}

.btn-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }

.link-arrow {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold-dark);
  display: inline-block;
  transition: transform 0.2s ease, color 0.2s ease;
}
.link-arrow:hover { color: var(--navy); transform: translateX(4px); }

/* ============ Header (fixo ao rolar) ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(18, 25, 79, 0.10);
}
.header-inner {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 48px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.main-nav a {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.main-nav a:hover { color: var(--gold-dark); }
.main-nav a:hover::after { right: 0; }

/* ============ Menu sanduíche (mobile) ============ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-active .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-active .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Layout helpers ============ */
/* .container define o MESMO limite de borda (esquerda/direita) usado no
   cabeçalho (logo à esquerda, botão do WhatsApp à direita) em toda a página. */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
}
.section { width: 100%; padding: 96px 0; }
.section-light { background: var(--bg-light); }
.section-gold { background: var(--gold); }
.section-navy {
  background: var(--navy);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.section-navy .bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}
.contact-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 700px; margin-bottom: 48px; }
.lead { font-size: 16px; line-height: 1.65; color: var(--text-body); }
.lead-dark { color: #3A2E0C; }
.lead-light { color: #C7CCE6; max-width: 560px; }
h2.light { color: var(--white); max-width: 640px; }

/* ============ Hero ============ */
.hero {
  position: relative;
  width: 100%;
  height: 640px;
  overflow: hidden;
  background: #D8DBE3;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(18,25,79,0.94) 0%, rgba(18,25,79,0.86) 38%, rgba(18,25,79,0.45) 68%, rgba(18,25,79,0.12) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.hero-content h1 { font-size: 44px; line-height: 1.18; font-weight: 700; color: var(--white); }
.hero-content p { font-size: 17px; line-height: 1.6; color: #DCE0F0; font-weight: 500; }

/* ============ Reforma / Fabricação ============ */
.feature-row { display: flex; align-items: center; gap: 64px; margin-top: 64px; }
.feature-row-reverse { flex-direction: row-reverse; }
.feature-photo {
  width: 460px;
  height: 340px;
  flex-shrink: 0;
  border-radius: 32px;
  border: var(--border-gold);
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(18,25,79,0.14);
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.feature-text h3 { font-size: 26px; font-weight: 700; }
.feature-text p { font-size: 15.5px; line-height: 1.7; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.tag {
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
}

/* ============ Avaliações ============ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.review-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  box-shadow: 0 10px 28px rgba(18,25,79,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(18,25,79,0.16); }
.stars { color: var(--gold-dark); font-size: 16px; letter-spacing: 2px; }
.review-card p { font-size: 15px; line-height: 1.65; color: var(--text-review); text-align: left; }
.review-name { font-size: 14.5px; font-weight: 700; color: var(--navy); }

/* ============ Sobre Nós ============ */
.about-section { display: flex; align-items: flex-start; gap: 64px; flex-wrap: wrap; }
.about-text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 600px; flex: 1 1 360px; }
.about-text p { font-size: 15.5px; line-height: 1.75; }
.info-card {
  flex-shrink: 0;
  width: 420px;
  max-width: 100%;
  background: var(--navy);
  border-radius: 24px;
  padding: 40px;
}
.info-card h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 22px; }
.info-card dl { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.info-row dt {
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold);
}
.info-row dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; color: var(--white); }

/* ============ 5 Benefícios ============ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.benefit-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; }
.benefit-icon {
  width: 56px; height: 56px; border-radius: 16px; background: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.benefit-card h3 { font-size: 17px; font-weight: 700; text-align: left; }
.benefit-card p { font-size: 14.5px; line-height: 1.65; text-align: left; }

/* ============ Galeria ============ */
.gallery-tabs { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.tab-btn {
  padding: 13px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  font-family: inherit;
  background: transparent;
  color: var(--navy);
  border: 2px solid #DADFEE;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.tab-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(18,25,79,0.14); }
.tab-btn.is-active { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.gallery-grid[hidden] { display: none; }
.gallery-photo {
  border-radius: var(--radius-photo);
  border: var(--border-gold);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-photo:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(18,25,79,0.18); }
.gallery-photo img { width: 100%; height: auto; }

/* ============ Contato ============ */
.contact-info-row {
  display: flex;
  gap: 56px;
  margin-top: 8px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
  flex-wrap: wrap;
}
.info-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold);
}
.info-value { display: block; font-size: 15px; font-weight: 600; color: var(--white); margin-top: 6px; max-width: 320px; }

/* ============ Footer ============ */
.site-footer {
  width: 100%;
  padding: 44px 0;
  background: var(--navy-dark);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 14px; color: var(--white); }
.footer-sep { color: #5B6280; }
.footer-tag { font-size: 13px; color: #8A90AD; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: #C7CCE6; }
.footer-nav a:hover { color: var(--gold); }
.footer-copy { font-size: 12.5px; color: #5B6280; }

/* ============ Botão flutuante do WhatsApp ============ */
.fab-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0,0,0,0.28);
  z-index: 998;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 36px rgba(0,0,0,0.34);
  background: var(--whatsapp-dark);
  color: var(--white);
}

/* ============ Responsivo ============ */
@media (max-width: 960px) {
  .container { padding: 0 20px; }
  .header-inner { flex-wrap: nowrap; height: 72px; padding-top: 0; padding-bottom: 0; }
  .header-inner .btn-whatsapp.btn-small { display: none; }
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 18px 30px rgba(18, 25, 79, 0.14);
    transition: max-height 0.3s ease;
  }
  .main-nav.is-open { max-height: 420px; }
  .main-nav a {
    width: 100%;
    padding: 16px 20px;
    border-top: 1px solid rgba(18, 25, 79, 0.08);
  }
  .main-nav a::after { display: none; }
  .hero-content { max-width: 90%; }
  .hero-content h1 { font-size: 32px; }
  .feature-row, .feature-row-reverse { flex-direction: column; }
  .feature-photo { width: 100%; }
  .reviews-grid, .benefits-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section { flex-direction: column; }
  .info-card { width: 100%; }
  .section { padding: 64px 0; }
  .section-navy { padding: 64px 0; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
