:root {
  --vinho: #7e0b0b;
  --vinho-escuro: #3d0a0a;
  --vinho-claro: #920404;
  --texto: #282828;
  --cinza: #666;
  --fundo: #f6f4f3;
  --borda: #e8e8e8;
  --raio: 14px;
  --sombra: 0 10px 30px rgba(40, 10, 10, .08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: "Poppins", system-ui, sans-serif; color: var(--texto); line-height: 1.65; background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Montserrat", sans-serif; line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .6em; }
h3 { font-size: 1.15rem; margin-bottom: .4em; }
.container { width: min(1180px, 92%); margin: 0 auto; }
section { padding: 90px 0; }
.eyebrow { display: inline-block; color: var(--vinho); font-weight: 600; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8em; }
.muted { color: var(--cinza); }
.bg-soft { background: var(--fundo); }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: .6em; padding: .9em 1.8em; border-radius: 50px; font-weight: 600; font-size: .95rem; transition: .25s; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--vinho); color: #fff; }
.btn-primary:hover { background: var(--vinho-escuro); transform: translateY(-2px); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--vinho); }
.btn svg { width: 18px; height: 18px; }

/* Cabeçalho */
.header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: 0 2px 18px rgba(0, 0, 0, .06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; gap: 6px; background: linear-gradient(90deg, var(--vinho), var(--vinho-escuro)); padding: 6px; border-radius: 12px; }
.nav a { color: #fff; padding: .55em 1.3em; border-radius: 8px; font-weight: 500; transition: .2s; }
.nav a:hover, .nav a.active { background: rgba(255, 255, 255, .15); }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--vinho); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: calc(100vh - 84px); display: flex; align-items: center; color: #fff; background: url(hero.jpg) center / cover no-repeat; padding: 120px 0; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 5, 5, .85) 0%, rgba(20, 5, 5, .55) 50%, rgba(20, 5, 5, .1) 100%); }
.hero .container { position: relative; }
.hero-content { max-width: 640px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .5em; }
.hero p { font-size: 1.15rem; opacity: .92; margin-bottom: 2em; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-banner { position: relative; padding: 110px 0 90px; color: #fff; background: center / cover no-repeat; text-align: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(61, 10, 10, .78), rgba(20, 5, 5, .7)); }
.page-banner .container { position: relative; }
.page-banner h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .3em; }
.page-banner p { max-width: 640px; margin: 0 auto; opacity: .9; }

/* Pilares */
.pillars { margin-top: -70px; position: relative; z-index: 2; padding: 0; }
.pillars .grid { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border-radius: var(--raio); box-shadow: var(--sombra); overflow: hidden; }
.pillar { padding: 38px 34px; border-right: 1px solid var(--borda); }
.pillar:last-child { border-right: 0; }
.pillar .icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(126, 11, 11, .08); color: var(--vinho); display: grid; place-items: center; margin-bottom: 18px; }
.pillar .icon svg { width: 26px; height: 26px; }
.pillar p { color: var(--cinza); font-size: .95rem; }

/* Duas colunas */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--raio); box-shadow: var(--sombra); width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.split p { color: var(--cinza); margin-bottom: 1.6em; }

/* Serviços */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: #fff; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); transition: .3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); }
.card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card .body { padding: 24px 26px 28px; }
.card p { color: var(--cinza); font-size: .93rem; }
.center { text-align: center; margin-top: 46px; }

/* Por que confiar */
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 2em; }
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.checks li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--vinho) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Números */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.stat { background: #fff; border-radius: var(--raio); padding: 34px; text-align: center; box-shadow: var(--sombra); }
.stat strong { display: block; font-family: "Montserrat", sans-serif; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--vinho); }
.stat span { color: var(--cinza); }

/* Parceiros */
.partners { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px 50px; }
.partners img { height: 70px; width: auto; filter: grayscale(1); opacity: .75; transition: .3s; }
.partners img:hover { filter: none; opacity: 1; }

/* Projetos */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio); transition: .3s; }
.gallery img:hover { transform: scale(1.02); }

/* Avaliações */
.reviews-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 36px; font-weight: 600; }
.stars { color: #f5b301; letter-spacing: 2px; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.review { background: #fff; border: 1px solid var(--borda); border-radius: var(--raio); padding: 26px; }
.review .who { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--vinho); color: #fff; display: grid; place-items: center; font-weight: 600; }
.review small { display: block; color: var(--cinza); font-size: .78rem; }

/* Serviços (página) */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 50px 0; border-bottom: 1px solid var(--borda); }
.service:last-child { border-bottom: 0; }
.service:nth-child(even) .media { order: 2; }
.service img { border-radius: var(--raio); box-shadow: var(--sombra); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service p { color: var(--cinza); }
.service ul { margin-top: 1em; list-style: none; display: grid; gap: 8px; }
.service ul li { padding-left: 26px; position: relative; color: var(--texto); }
.service ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--vinho); }

/* Valores */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.values div { background: #fff; border-left: 4px solid var(--vinho); border-radius: 10px; padding: 18px 20px; font-weight: 500; box-shadow: var(--sombra); }

/* CTA */
.cta { background: linear-gradient(120deg, var(--vinho), var(--vinho-escuro)); color: #fff; border-radius: 20px; padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h2 { margin: 0; }
.cta .btn-primary { background: #fff; color: var(--vinho); }

/* Rodapé / contato */
.footer { background: #1d0606; color: #ddd; padding: 80px 0 0; }
.footer h2 { color: #fff; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin: 30px 0 60px; }
.contact-item { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--raio); padding: 28px; display: flex; gap: 16px; transition: .25s; }
a.contact-item:hover { background: rgba(255, 255, 255, .1); }
.contact-item svg { flex: 0 0 26px; height: 26px; color: #ff8a8a; }
.contact-item h3 { color: #fff; font-size: 1rem; }
.contact-item p { font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #aaa; }
.footer-bottom a { text-decoration: underline; }

/* WhatsApp flutuante */
.whats { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: .25s; }
.whats:hover { transform: scale(1.08); }
.whats svg { width: 32px; height: 32px; fill: #fff; }

/* Animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  section { padding: 70px 0; }
  .header .btn { display: none; }
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; border-radius: 0; padding: 12px 4%; display: none; }
  .nav.open { display: flex; }
  .hero { background-image: url(hero-mobile.jpg); min-height: 80vh; }
  .hero::before { background: linear-gradient(rgba(20, 5, 5, .55), rgba(20, 5, 5, .85)); }
  .pillars { margin-top: 0; padding-top: 50px; }
  .pillars .grid, .split, .service, .stats, .contact-grid { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--borda); }
  .split { gap: 36px; }
  .service { gap: 26px; }
  .service:nth-child(even) .media { order: 0; }
  .gallery, .cards { grid-template-columns: 1fr 1fr; }
  .cta { padding: 40px 28px; }
}
@media (max-width: 560px) {
  .gallery, .checks, .cards { grid-template-columns: 1fr; }
  .partners img { height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
