/* ==========================================================================
   Alpes Esquadrias de PVC — estilos
   ========================================================================== */

:root {
  --dark: #37423c;
  --dark-soft: #4a564e;
  --bronze: #b08a5c;
  --bronze-light: #cca878;
  --bronze-dark: #8f6c42;
  --cream: #f3efe6;
  --cream-dark: #e8e0cf;
  --white: #ffffff;
  --text: #2c332e;
  --text-soft: #5c655f;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(55, 66, 60, 0.1);
  --shadow-strong: 0 20px 45px rgba(55, 66, 60, 0.18);
  --container: 1160px;
  --ff-serif: "Playfair Display", Georgia, serif;
  --ff-sans: "Jost", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; }

h1, h2, h3, h4 { font-family: var(--ff-serif); font-weight: 600; color: var(--dark); }

.eyebrow {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  font-weight: 500;
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-head p { color: var(--text-soft); font-size: 1.05rem; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--ff-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--dark);
  color: var(--cream);
}
.btn-primary:hover { background: var(--dark-soft); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-whats {
  background: #2f6b4f;
  color: #fff;
}
.btn-whats:hover { background: #285d44; transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover { background: var(--dark); color: var(--cream); transform: translateY(-2px); }

.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(243, 239, 230, 0.5);
}
.btn-outline-light:hover { background: rgba(243, 239, 230, 0.12); border-color: var(--cream); }

/* ---------- Logo mark ---------- */

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text { font-family: var(--ff-serif); line-height: 1.05; }
.logo-text .name { display: block; font-size: 1.25rem; letter-spacing: 0.06em; color: var(--dark); font-weight: 600; }
.logo-text .tag { display: block; font-family: var(--ff-sans); font-size: 0.56rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bronze-dark); margin-top: 2px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(243, 239, 230, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(55, 66, 60, 0.08);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(55,66,60,0.08); }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--bronze);
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--dark); display: block; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding: 170px 0 120px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content .eyebrow { display: flex; align-items: center; gap: 10px; }
.hero-content .eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--bronze-dark); }

.hero-content h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  line-height: 1.15;
  margin-bottom: 22px;
}
.hero-content h1 em { font-style: normal; color: var(--bronze-dark); }

.hero-content p.lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero-badges {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-badges .badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--text-soft);
}
.hero-badges .badge svg { width: 22px; height: 22px; color: var(--bronze-dark); flex-shrink: 0; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual svg, .hero-visual img { width: 100%; max-width: 420px; }

/* ---------- Marquee tira de confiança ---------- */

.trust-strip {
  background: var(--dark);
  color: var(--cream);
  padding: 18px 0;
}
.trust-strip .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
}
.trust-strip span {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-dark);
  font-weight: 500;
}
.trust-strip strong { color: var(--bronze-light); }

/* ---------- Sobre ---------- */

.about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 70px;
  align-items: center;
}
.about-visual {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-visual svg, .about-visual img { width: 100%; max-width: 280px; }

.about-text .eyebrow { }
.about-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 20px; line-height: 1.25; }
.about-text p { color: var(--text-soft); margin-bottom: 18px; font-size: 1.02rem; }

.about-points {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--text);
}
.about-points svg { width: 18px; height: 18px; color: var(--bronze-dark); flex-shrink: 0; margin-top: 3px; }

/* ---------- Diferenciais ---------- */

.features { background: var(--cream); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.feature-card {
  background: var(--white);
  padding: 38px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.feature-icon {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.feature-icon svg { width: 26px; height: 26px; color: var(--bronze-dark); }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Produtos ---------- */

.products { background: var(--white); }
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px 26px 26px;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid transparent;
}
.product-card:hover { transform: translateY(-6px); background: var(--white); border-color: var(--cream-dark); box-shadow: var(--shadow); }
.product-icon {
  width: 100%;
  height: 92px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.product-icon svg { width: 68px; height: 68px; color: var(--dark); }
.product-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.product-card p { color: var(--text-soft); font-size: 0.86rem; }

.products-cta { text-align: center; margin-top: 46px; }

/* ---------- Por que a Alpes ---------- */

.why { background: var(--dark); color: var(--cream); position: relative; overflow: hidden; }
.why .section-head h2 { color: var(--cream); }
.why .section-head p { color: rgba(243,239,230,0.72); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.why-card {
  text-align: center;
  padding: 34px 20px;
  border: 1px solid rgba(243,239,230,0.14);
  border-radius: var(--radius);
  background: rgba(243,239,230,0.04);
}
.why-card .num {
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  color: var(--bronze-light);
  margin-bottom: 14px;
  display: block;
}
.why-card h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { color: rgba(243,239,230,0.68); font-size: 0.88rem; }

/* ---------- FAQ ---------- */

.faq { background: var(--cream); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(55,66,60,0.06);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
}
.faq-question .icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
}
.faq-question .icon::before, .faq-question .icon::after {
  content: "";
  position: absolute;
  background: var(--bronze-dark);
  transition: transform 0.3s ease;
}
.faq-question .icon::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-question .icon::after { left: 50%; top: 0; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-question .icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-answer p { padding: 0 26px 24px; color: var(--text-soft); font-size: 0.95rem; }

/* ---------- Contato ---------- */

.contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info { background: var(--dark); color: var(--cream); border-radius: var(--radius); padding: 46px 42px; }
.contact-info h2 { color: var(--cream); font-size: 1.9rem; margin-bottom: 14px; }
.contact-info > p { color: rgba(243,239,230,0.72); margin-bottom: 32px; }

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-top: 1px solid rgba(243,239,230,0.14);
}
.contact-item:first-of-type { border-top: none; }
.contact-item svg { width: 22px; height: 22px; color: var(--bronze-light); flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bronze-light); margin-bottom: 4px; }
.contact-item a, .contact-item span { color: var(--cream); font-size: 0.98rem; }

.contact-info .btn { margin-top: 30px; width: 100%; justify-content: center; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 340px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Footer ---------- */

.site-footer { background: #2a332d; color: rgba(243,239,230,0.7); padding: 60px 0 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(243,239,230,0.1);
}
.site-footer .logo-text .name { color: var(--cream); }
.footer-about p { margin-top: 16px; font-size: 0.92rem; max-width: 320px; }
.footer-col h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 18px; letter-spacing: 0.04em; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--bronze-light); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}

/* ---------- WhatsApp flutuante ---------- */

.whats-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 600;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #2f6b4f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(47,107,79,0.4);
  transition: transform 0.25s ease;
}
.whats-float:hover { transform: scale(1.08); }
.whats-float svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Responsivo ---------- */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto 20px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; max-width: 360px; margin: 0 auto; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .main-nav { position: fixed; top: 84px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; border-bottom: 1px solid rgba(55,66,60,0.1); transform: translateY(-130%); transition: transform 0.3s ease; }
  .main-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .header-actions .btn span { display: none; }
  .header-actions .btn { padding: 13px; }
}

@media (max-width: 760px) {
  section { padding: 70px 0; }
  .hero { padding: 130px 0 80px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-badges { flex-direction: column; gap: 14px; }
  .about-points { grid-template-columns: 1fr; }
  .features-grid, .products-grid, .why-grid { grid-template-columns: 1fr 1fr; }
  .contact-info { padding: 34px 26px; }
}

@media (max-width: 480px) {
  .features-grid, .why-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
}
