/* =========================================================
   AGILIZE — Instalações Elétricas
   Esqueleto v0.2
   - Fonte: Lato (mesma do modelo ENGIE)
   - Cantos retos em tudo; a única curva é a onda do topo
   ========================================================= */

/* ---------- Fontes hospedadas no próprio site (pasta /fonts) ----------
   Mais rápido que buscar no Google e não envia dados do visitante a terceiros.
   Ícones: fonts/icones.woff2 contém SÓ os ícones usados no site.
   Ícone novo? Peça para gerar o arquivo de ícones de novo com o nome dele. */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/lato-900.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Material Symbols Sharp"; font-style: normal; font-weight: 400; font-display: block; src: url("../fonts/icones.woff2") format("woff2"); }

/* ---------- Tokens (cores extraídas da logo) ---------- */
:root {
  --azul: #54B7FA;          /* azul da logo — onda / fundos */
  --azul-forte: #3AA2EC;    /* variação para gradiente */
  --azul-claro: #EAF6FF;
  --azul-escuro: #1C6FA8;   /* ícones e textos azuis sobre fundo branco */
  --amarelo: #F5D149;       /* amarelo da logo — destaques */
  --amarelo-forte: #E9C02E;
  --grafite: #2A2818;       /* texto da logo — títulos/texto */
  --preto: #111111;         /* fundo do rodapé e da faixa de números */
  --whatsapp: #25D366;      /* verde oficial do WhatsApp (ícone) */
  --whatsapp-escuro: #1A9E4B; /* verde do botão (texto branco legível) */
  --texto: #2A2818;
  --texto-suave: #5E5C50;
  --branco: #FFFFFF;
  --fundo: #FFFFFF;         /* fundo geral do site: branco */
  --borda: #E2E8EE;

  --font: "Lato", system-ui, sans-serif;

  --raio-btn: 6px;          /* leve arredondado: botões e controles do topo */
  --sombra: 0 10px 30px rgba(20, 45, 70, .08);
  --container: 1200px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

/* ---------- Ícones ----------
   .ms  = Material Symbols Sharp (Google) — ícones gerais, pontas retas
   .fa-brands = Font Awesome — só logos de redes (Instagram, Facebook, WhatsApp)
   Catálogo: https://fonts.google.com/icons?icon.style=Sharp  */
.ms {
  font-family: "Material Symbols Sharp";
  font-weight: normal; font-style: normal;
  font-size: 1.25em; line-height: 1;
  width: 1em; height: 1em; overflow: hidden;
  display: inline-block; flex-shrink: 0;
  letter-spacing: normal; text-transform: none;
  white-space: nowrap; word-wrap: normal; direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.card-icon .ms { font-size: 36px; }
.link-arrow .dot .ms { font-size: 18px; }
.socials i { font-size: 17px; }
.info-card .card-icon i { font-size: 28px; }

/* Logos das redes sociais (SVG embutido — sem carregar biblioteca externa)
   Ícones: Font Awesome Free 6.5.2 — licença CC BY 4.0 (fontawesome.com/license/free) */
.fa-brands {
  display: inline-block; width: 1em; height: 1em; flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask: var(--icone) center / contain no-repeat;
          mask: var(--icone) center / contain no-repeat;
}
.fa-instagram { --icone: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20d%3D%22M224.1%20141c-63.6%200-114.9%2051.3-114.9%20114.9s51.3%20114.9%20114.9%20114.9S339%20319.5%20339%20255.9%20287.7%20141%20224.1%20141zm0%20189.6c-41.1%200-74.7-33.5-74.7-74.7s33.5-74.7%2074.7-74.7%2074.7%2033.5%2074.7%2074.7-33.6%2074.7-74.7%2074.7zm146.4-194.3c0%2014.9-12%2026.8-26.8%2026.8-14.9%200-26.8-12-26.8-26.8s12-26.8%2026.8-26.8%2026.8%2012%2026.8%2026.8zm76.1%2027.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9%200-35.8%201.7-67.6%209.9-93.9%2036.1s-34.4%2058-36.2%2093.9c-2.1%2037-2.1%20147.9%200%20184.9%201.7%2035.9%209.9%2067.7%2036.2%2093.9s58%2034.4%2093.9%2036.2c37%202.1%20147.9%202.1%20184.9%200%2035.9-1.7%2067.7-9.9%2093.9-36.2%2026.2-26.2%2034.4-58%2036.2-93.9%202.1-37%202.1-147.8%200-184.8zM398.8%20388c-7.8%2019.6-22.9%2034.7-42.6%2042.6-29.5%2011.7-99.5%209-132.1%209s-102.7%202.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7%209-132.1c7.8-19.6%2022.9-34.7%2042.6-42.6%2029.5-11.7%2099.5-9%20132.1-9s102.7-2.6%20132.1%209c19.6%207.8%2034.7%2022.9%2042.6%2042.6%2011.7%2029.5%209%2099.5%209%20132.1s2.7%20102.7-9%20132.1z%22%2F%3E%3C%2Fsvg%3E"); }
.fa-facebook-f { --icone: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20512%22%3E%3Cpath%20d%3D%22M80%20299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7%2020.3-71.5%2072.7-71.5c16.3%200%2029.4%20.4%2037%201.2V7.9C291.4%204%20256.4%200%20236.2%200C129.3%200%2080%2050.5%2080%20159.4v42.1H14v97.8H80z%22%2F%3E%3C%2Fsvg%3E"); }
.fa-whatsapp { --icone: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20d%3D%22M380.9%2097.1C339%2055.1%20283.2%2032%20223.9%2032c-122.4%200-222%2099.6-222%20222%200%2039.1%2010.2%2077.3%2029.6%20111L0%20480l117.7-30.9c32.4%2017.7%2068.9%2027%20106.1%2027h.1c122.3%200%20224.1-99.6%20224.1-222%200-59.3-25.2-115-67.1-157zm-157%20341.6c-33.2%200-65.7-8.9-94-25.7l-6.7-4-69.8%2018.3L72%20359.2l-4.4-7c-18.5-29.4-28.2-63.3-28.2-98.2%200-101.7%2082.8-184.5%20184.6-184.5%2049.3%200%2095.6%2019.2%20130.4%2054.1%2034.8%2034.9%2056.2%2081.2%2056.1%20130.5%200%20101.8-84.9%20184.6-186.6%20184.6zm101.2-138.2c-5.5-2.8-32.8-16.2-37.9-18-5.1-1.9-8.8-2.8-12.5%202.8-3.7%205.6-14.3%2018-17.6%2021.8-3.2%203.7-6.5%204.2-12%201.4-32.6-16.3-54-29.1-75.5-66-5.7-9.8%205.7-9.1%2016.3-30.3%201.8-3.7.9-6.9-.5-9.7-1.4-2.8-12.5-30.1-17.1-41.2-4.5-10.8-9.1-9.3-12.5-9.5-3.2-.2-6.9-.2-10.6-.2-3.7%200-9.7%201.4-14.8%206.9-5.1%205.6-19.4%2019-19.4%2046.3%200%2027.3%2019.9%2053.7%2022.6%2057.4%202.8%203.7%2039.1%2059.7%2094.8%2083.8%2035.2%2015.2%2049%2016.5%2066.6%2013.9%2010.7-1.6%2032.8-13.4%2037.4-26.4%204.6-13%204.6-24.1%203.2-26.4-1.3-2.5-5-3.9-10.5-6.6z%22%2F%3E%3C%2Fsvg%3E"); }

/* ---------- Placeholder de imagem (troca pelas artes depois) ---------- */
.ph {
  display: grid; place-items: center; align-content: center; text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(42, 40, 24, .05) 0 10px, transparent 10px 20px),
    #EDF2F6;
  border: 2px dashed #C6D1DA;
  color: #74808B;
  font-size: .85rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 1rem;
}
.ph--on-blue {
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .12) 0 12px, transparent 12px 24px),
    rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .7);
  color: var(--branco);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem;
  border-radius: var(--raio-btn);
  font-weight: 700; font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn-dark { background: var(--grafite); color: var(--branco); }
.btn-dark:hover { background: #3a3722; }
.btn-yellow { background: var(--amarelo); color: var(--grafite); }
.btn-yellow:hover { background: var(--amarelo-forte); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1.1rem; }

/* ---------- Header / Menu ---------- */
.site-header {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 22px 0;
}
.header-inner { display: flex; align-items: center; gap: 2rem; }

/* Logo original: símbolo + nome (img/logo-*.png) */
.logo { display: inline-flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.logo img { display: block; width: auto; }
.logo-simbolo { height: 52px; }
.logo-nome { height: 46px; }

.nav { display: flex; align-items: center; gap: 2.25rem; margin-left: auto; }
.nav a { font-weight: 700; font-size: 1rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 3px; background: var(--grafite);
  transition: width .2s ease;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { width: 100%; }
.nav .nav-cta-mobile { display: none; }
.header-cta { margin-left: 1rem; }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: var(--raio-btn);
  background: var(--grafite); border: 0; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--branco); transition: transform .2s, opacity .2s; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Onda (a única curva do site) ---------- */
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 190px; z-index: 3; pointer-events: none;
}
.wave svg { display: block; width: 100%; height: 100%; }
.wave--sm { height: 90px; }

/* ---------- HERO (home) ---------- */
/* 3 camadas: imagem de fundo (apagada) → véu azul (destaque) → personagem */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--azul);
  padding-top: 120px;
}
.hero::before {               /* imagem de fundo — notebook/PC (horizontal) */
  content: ""; position: absolute; inset: -12px; z-index: 0;
  background: url("../img/hero-fundo.webp") center center / cover no-repeat;
  filter: grayscale(.35) blur(1px);
}
.hero::after {                /* véu azul tipo "fumaça" sobre a imagem */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 80% at 15% 45%, rgba(84, 183, 250, .55) 0%, transparent 70%),
    linear-gradient(100deg, rgba(84, 183, 250, .92) 0%, rgba(84, 183, 250, .82) 45%, rgba(58, 162, 236, .70) 100%);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr;
  align-items: end; gap: 2rem;
  min-height: 640px;
}
.hero-text { padding-bottom: 170px; align-self: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-weight: 700; font-size: .9rem; letter-spacing: .06em;
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--amarelo); }
.hero .eyebrow::before { display: none; }   /* topo sem o traço fino */
.hero h1 {
  font-weight: 900;                            /* título mais grosso */
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  line-height: 1.1; letter-spacing: -.01em;
  color: var(--grafite);
  margin-bottom: 1.25rem;
}
.hero h1 .destaque { color: var(--branco); }
.hero-lead { max-width: 540px; font-size: 1.3rem; margin-bottom: 1.1rem; }
/* Área de atendimento (visível logo no topo) */
.hero-area {
  display: flex; align-items: flex-start; gap: .45rem;
  max-width: 560px; margin-bottom: 2rem;
  font-size: 1.15rem; line-height: 1.45;
}
.hero-area .ms { font-size: 1.35em; color: var(--branco); margin-top: -.05em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }

.hero-art { position: relative; align-self: stretch; display: flex; align-items: flex-end; justify-content: center; }
.personagem {
  display: block;
  height: 640px; width: auto; max-width: none;
  filter: drop-shadow(0 24px 40px rgba(10, 40, 70, .35));   /* sombra para destacar do fundo */
}

/* ---------- Seções ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.section-head .eyebrow { justify-content: center; }
.section-head .eyebrow::after { content: ""; width: 32px; height: 3px; background: var(--amarelo); }
.section-head--left { text-align: left; margin-left: 0; }
.section-head--left .eyebrow::after { display: none; }
h2 {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); line-height: 1.15; letter-spacing: -.01em;
  margin-bottom: .9rem;
}
h3 { font-size: 1.3rem; font-weight: 700; line-height: 1.25; margin-bottom: .5rem; }
.muted { color: var(--texto-suave); }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }
.section-row .section-head { margin-bottom: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.link-arrow .dot {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--amarelo); color: var(--grafite);
}

/* Sobre nós (home) */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; align-items: stretch; }
.about-grid .ph { min-height: 420px; }
.about-text {
  background: var(--branco);
  padding: 3.5rem 0 3.5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.about-text p + p { margin-top: 1rem; }

/* Cards de serviço (home): foto + fumaça azul na metade + texto na fumaça */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4;          /* mesma proporção nos 3 cards */
  background: var(--azul); color: var(--grafite);
  cursor: pointer;
}
.service-card-img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s ease;
}
.service-card-fumaca {
  position: absolute; inset: 0; z-index: 1;
  background: url("../img/fumaca-lateral.svg") left center / 100% 100% no-repeat;
  transition: transform .7s ease;
}
.service-card-body {
  position: relative; z-index: 2;
  height: 100%; width: 60%;
  padding: 1.75rem;
  display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
}
.service-card-icon { font-size: 40px; color: var(--branco); }
.service-card h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.9rem); font-weight: 900; line-height: 1.05; letter-spacing: -.01em;
  margin: 0;
}
.service-card p { font-size: .95rem; line-height: 1.45; font-weight: 700; min-height: calc(1.45em * 5); } /* alinha os títulos dos 3 cards */
/* Residencial: foto mais escura → fumaça menor e foto um pouco mais clara */
.service-card--residencial .service-card-fumaca { background-size: 86% 100%; }
.service-card--residencial .service-card-img { filter: brightness(1.18); object-position: 70% center; }
/* Ao passar o mouse: a foto aproxima e a fumaça "respira" */
.service-card:hover .service-card-img,
.service-card:focus-visible .service-card-img { transform: scale(1.06); }
.service-card:hover .service-card-fumaca,
.service-card:focus-visible .service-card-fumaca { transform: translateX(-6%); }
.service-card:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 4px; }

/* Ícones soltos (sem quadrado de fundo) — páginas internas */
.card-icon { display: inline-flex; color: var(--azul-escuro); margin-bottom: .75rem; }

/* Números */
.stats { background: var(--preto); color: var(--branco); padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat strong {
  display: block; font-weight: 900;
  font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1.1; color: var(--amarelo);
}
.stat span { font-size: .95rem; opacity: .85; }

/* Projetos / portfólio */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.project-card { display: flex; flex-direction: column; gap: .9rem; }
.project-card .ph,
.project-card img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.tag {
  align-self: flex-start;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .75rem;
  background: var(--azul-claro); color: #1C6FA8;
}
.tag--comercial { background: #FDF5D6; color: #7A6210; }
.tag--predial { background: #EEEDE8; color: var(--grafite); }
.project-card h3 { margin: 0; }

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .65rem 1.4rem; border: 2px solid var(--borda);
  background: var(--branco); font-weight: 700; cursor: pointer;
}
.filter-btn.is-active { background: var(--grafite); border-color: var(--grafite); color: var(--branco); }
.project-card.is-hidden { display: none; }

/* CTA */
.cta-box {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-forte) 100%);
  padding: 56px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.cta-box h2 { margin: 0; color: var(--grafite); }
.cta-box p { margin-top: .5rem; max-width: 520px; }

/* ---------- Banner das páginas internas ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-forte) 100%);
  padding: 170px 0 130px;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-weight: 700;
  font-size: clamp(2.3rem, 4.4vw, 3.6rem); line-height: 1.1; letter-spacing: -.01em; color: var(--grafite);
}
.page-hero p { max-width: 560px; margin-top: .75rem; font-size: 1.15rem; }
.breadcrumb { font-size: .9rem; font-weight: 700; margin-bottom: .75rem; opacity: .85; }
.breadcrumb a:hover { text-decoration: underline; }

/* Serviços (página) */
.service-group + .service-group { margin-top: 4.5rem; }
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
/* Itens só com ícone + nome (sem descrição) */
.service-item {
  background: var(--branco); border: 1px solid var(--borda);
  padding: 1.35rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.service-item .card-icon { margin: 0; flex-shrink: 0; }
.service-item h3 { margin: 0; font-size: 1.15rem; }
.group-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 2.5rem; }
.group-intro .ph,
.group-img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.whats-box {
  background: var(--grafite); color: var(--branco);
  padding: 3.5rem 3rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: 1rem;
}
.whats-box h2 { margin: 0; color: var(--branco); }
.whats-box p { color: rgba(255, 255, 255, .78); max-width: 440px; }
.whats-box .btn { margin-top: 1rem; }
/* Ícone do WhatsApp solto (sem quadrado de fundo), na cor do WhatsApp */
.whats-icon { display: inline-flex; color: var(--whatsapp); }
/* Botão verde do WhatsApp (tom um pouco mais escuro p/ o texto branco ficar legível) */
.btn-whatsapp { background: var(--whatsapp-escuro); color: var(--branco); }
.btn-whatsapp:hover { background: #158A3F; }
.whats-icon i { font-size: 56px; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
  display: flex; gap: 1rem; align-items: center;
  background: var(--branco); border: 1px solid var(--borda); padding: 1.25rem 1.5rem;
}
.info-card .card-icon { margin: 0; flex-shrink: 0; width: 36px; justify-content: center; }
.info-card strong { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--preto); color: rgba(255, 255, 255, .82); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 56px; }
.footer-about { margin-top: 1rem; max-width: 280px; font-size: .95rem; }
.footer-title { color: var(--branco); font-weight: 700; margin-bottom: 1rem; font-size: 1.05rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; }
.footer-links a:hover { color: var(--amarelo); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; min-width: 0; }
.footer-contact a { overflow-wrap: break-word; }   /* e-mail quebra antes do @ (via <wbr>) */
.info-card .muted { overflow-wrap: break-word; }
.legal a { color: var(--azul-escuro); font-weight: 700; overflow-wrap: anywhere; }
a.info-card:hover { border-color: var(--azul); }
.footer-contact .ms { color: var(--amarelo); font-size: 1.2em; margin-top: .1em; }
.socials { display: flex; gap: .6rem; margin-top: 1.25rem; }
.socials a {
  display: grid; place-items: center; width: 40px; height: 40px;
  border: 1.5px solid rgba(255, 255, 255, .5);
}
.socials a:hover { background: var(--amarelo); color: var(--grafite); border-color: var(--amarelo); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0; font-size: .88rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.footer-legal { display: inline-flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-legal a:hover { color: var(--amarelo); }

/* Botão com cara de link (ex.: "Preferências de cookies") */
.link-btn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font: inherit; color: inherit;
}
.link-btn:hover { color: var(--amarelo); }
.link-btn--inline { color: var(--azul-escuro); font-weight: 700; text-decoration: underline; }
.link-btn--inline:hover { color: var(--grafite); }

/* ---------- Página de texto (Política de privacidade) ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.45rem; margin: 2.5rem 0 .75rem; }
.legal p, .legal li { color: var(--texto-suave); }
.legal strong { color: var(--texto); }
.legal p + p { margin-top: .75rem; }
.legal ul { padding-left: 1.25rem; margin: .75rem 0; display: grid; gap: .5rem; }

/* ---------- Aviso de cookies ---------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 760px; margin: 0 auto;
  background: var(--grafite); color: var(--branco);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1.25rem 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
}
.cookie-banner p { font-size: .95rem; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.cookie-banner a { color: var(--amarelo); text-decoration: underline; }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-actions .btn { padding: .7rem 1.3rem; }
.btn-outline-light { background: transparent; color: var(--branco); border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { border-color: var(--branco); background: rgba(255, 255, 255, .08); }

/* ---------- Especialidades: faixa passando (para com o mouse/dedo) ---------- */
.especialidades { background: var(--azul); padding: 2.5rem 0 2.75rem; overflow: hidden; }
.especialidades-titulo {
  text-align: center; margin: 0 0 1.4rem;
  font-size: .95rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
  color: var(--grafite);
}
.marquee {
  display: flex; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-trilho {
  display: flex; align-items: center; flex-shrink: 0;
  gap: 1rem; padding-right: 1rem; list-style: none;
  animation: faixa-passando var(--duracao, 45s) linear infinite;
}
.marquee:hover .marquee-trilho,
.marquee:focus-within .marquee-trilho,
.marquee.is-paused .marquee-trilho { animation-play-state: paused; }
@keyframes faixa-passando { to { transform: translateX(-100%); } }
.marquee-item {
  display: inline-flex; align-items: center; gap: .6rem; white-space: nowrap;
  background: var(--branco); color: var(--grafite);
  font-weight: 700; font-size: 1.05rem; padding: .85rem 1.25rem;
}
.marquee-item .ms { font-size: 1.45em; color: var(--azul-escuro); }

/* ---------- Destaque: drywall ---------- */
.destaque-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.destaque-fotos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.destaque-fotos > * { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.destaque-fotos > :nth-child(2) { margin-top: 3rem; }   /* fotos desencontradas */
.destaque-texto h2 { font-weight: 900; }
.lista-check { list-style: none; display: grid; gap: .75rem; margin: 1.5rem 0 2rem; }
.lista-check li { display: flex; gap: .65rem; align-items: flex-start; font-weight: 700; }
.lista-check .ms { color: var(--branco); background: var(--azul); font-size: 1.15rem; padding: .15rem; margin-top: .1rem; box-sizing: content-box; }

/* ---------- Obras em andamento ---------- */
.obras-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.obra-card { display: flex; flex-direction: column; background: var(--preto); color: var(--branco); }
.obra-foto { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border: 0; object-fit: cover; }
.obra-foto.obra-foto--moai { object-position: center 88%; }   /* foto vertical: enquadra só no prédio */
.about-img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.obra-info { flex: 1; padding: 2rem 2.25rem 2.25rem; display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
.obra-info h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 900; line-height: 1.05; margin: 0; }
.obra-info .tag { margin-top: auto; }
.obra-info p { color: rgba(255, 255, 255, .82); }
.obra-local { display: flex; align-items: center; gap: .4rem; font-weight: 700; }
.obra-local .ms { color: var(--amarelo); }
.obra-status {
  color: var(--amarelo);
  font-size: .85rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase;
}

/* Etiquetas lado a lado (ex.: Predial + Em andamento) */
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag--andamento { background: var(--preto); color: var(--branco); }

@media (max-width: 860px) {
  .especialidades { padding: 2rem 0 2.25rem; }
  .marquee-item { font-size: .95rem; padding: .7rem 1rem; }
  .destaque-grid { grid-template-columns: 1fr; gap: 2rem; }
  .destaque-texto { order: -1; }               /* no celular: texto primeiro, fotos depois */
  .destaque-fotos > :nth-child(2) { margin-top: 1.5rem; }
  .obras-grid { grid-template-columns: 1fr; }
  .about-img { min-height: 0; height: auto; aspect-ratio: 3 / 2; }
  .obra-info { padding: 1.75rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee-trilho { animation: none; }
}

/* Mantém palavras juntas na mesma linha (ex.: NR-10) */
.nowrap { white-space: nowrap; }

/* Seção colada na anterior (sem espaço em cima) */
.section--sem-topo { padding-top: 0; }

/* =========================================================
   ANIMAÇÕES (simples)
   - .reveal: entra suave ao rolar a página (controlado pelo js/main.js)
   - topo: textos e personagem entram ao abrir a página
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--atraso, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes subir { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes personagem-entra { from { transform: translateY(70px); } to { transform: none; } }

.hero-text > *, .page-hero .container > * { animation: subir .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(2), .page-hero .container > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3), .page-hero .container > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; }
.hero-text > :nth-child(5) { animation-delay: .32s; }
.personagem { animation: personagem-entra 1.1s cubic-bezier(.2, .7, .2, 1) both; }

/* Quem prefere menos movimento no celular/computador não vê animações */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-text > *, .page-hero .container > *, .personagem { animation: none; }
  .service-card-img, .service-card-fumaca { transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1024px) {
  .nav { gap: 1.5rem; }
  .header-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .about-text { padding-left: 2.5rem; }
  .service-card-body { width: 68%; padding: 1.25rem; }
  .service-card p { font-size: .88rem; min-height: calc(1.45em * 5); }
}

@media (max-width: 860px) {
  :root { --gutter: 16px; }

  /* logo menor no celular */
  .logo-simbolo { height: 42px; }
  .logo-nome { height: 36px; }

  /* menu mobile */
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: calc(100% - 6px); left: var(--gutter); right: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--branco); box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    padding: .75rem;
    display: none;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a:not(.btn) { padding: .9rem 1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav a.is-active { background: var(--azul-claro); }
  .nav .nav-cta-mobile { display: inline-flex; justify-content: center; margin-top: .5rem; }

  /* hero empilhado */
  .hero { padding-top: 100px; }
  .hero::before {             /* imagem de fundo — celular (vertical) */
    background-image: url("../img/hero-fundo-mobile.webp");
    background-position: center 35%;
  }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 1rem; }
  .hero-text { padding-bottom: 0; }
  .personagem { height: 440px; }
  .wave { height: 110px; }
  .wave--sm { height: 60px; }

  .section { padding: 72px 0; }
  .service-cards, .project-grid, .group-intro, .contact-grid, .about-grid { grid-template-columns: 1fr; }
  /* cards de serviço: no celular a fumaça sobe de baixo e o texto fica embaixo */
  .service-card { aspect-ratio: 4 / 5; }
  .service-card-fumaca { background-image: url("../img/fumaca-baixo.svg"); }
  .service-card--residencial .service-card-fumaca { background-size: 100% 86%; background-position: center bottom; }
  .service-card:hover .service-card-fumaca { transform: none; }
  .service-card-body { width: 100%; padding: 1.75rem; }
  .service-card h3 { font-size: 1.9rem; }
  .service-card p { font-size: .98rem; min-height: 0; }
  .about-grid .ph { min-height: 260px; }
  .about-text { padding: 2rem 0 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .section-row { flex-direction: column; align-items: flex-start; }
  .cta-box { flex-direction: column; align-items: flex-start; padding: 40px 28px; }
  .whats-box { padding: 2.5rem 1.75rem; }
  .page-hero { padding: 130px 0 90px; }
}

@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; left: 8px; right: 8px; bottom: 8px; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
  .service-list, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .whats-box .btn { width: 100%; justify-content: center; }
}
