/* ============================================================
   Aliança Manutenções Prediais — estilos
   Base visual: paleta navy + laranja, Raleway/Inter
   ============================================================ */
:root {
  --navy: #1F3A5F;
  --navy-dark: #16293F;
  --dark: #252B37;
  --ink: #13171A;
  --text: #3D3F43;
  --muted: #6B7280;
  --orange: #EF8619;
  --orange-dark: #D97510;
  --bg: #FAFAFA;
  --bg-alt: #F5F5F5;
  --white: #FFFFFF;
  --line: #E3E6EA;
  --radius: 0px; /* linguagem angular: cantos vivos, sem arredondamento */
  --shadow: 0 8px 28px rgba(19, 23, 26, .08);
  --wa: #25D366;
  --chanfro: 14px; /* corte diagonal dos botões */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px; line-height: 1.65; color: var(--text); background: var(--bg);
}
h1, h2 { font-family: 'Raleway', 'Inter', sans-serif; font-weight: 700; color: var(--ink); line-height: 1.25; }
h3 { font-family: 'Raleway', 'Inter', sans-serif; font-weight: 600; color: var(--ink); line-height: 1.25; }
.kicker { font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 10px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-dark); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar .container { display: flex; justify-content: center; align-items: center; padding-top: 7px; padding-bottom: 7px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }

/* ---------- Header ---------- */
.header { background: var(--white); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 72px; width: auto; }
.nav { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--text); }
.nav a:hover { color: var(--navy); }

/* ---------- Botões ---------- */
.btn { display: inline-block; font-weight: 600; font-size: 15.5px; border-radius: 0;
  clip-path: polygon(0 0, calc(100% - var(--chanfro)) 0, 100% var(--chanfro), 100% 100%, 0 100%);
  padding: 13px 24px; text-decoration: none; text-align: center; transition: all .18s ease; border: 2px solid transparent; }
.btn-wa { background: var(--orange); color: #fff; }
.btn-wa:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-outline { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-dark); }
.header .btn { padding: 10px 18px; font-size: 14.5px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(115deg, rgba(22,41,63,.93) 0%, rgba(31,58,95,.88) 55%, rgba(42,74,120,.82) 100%), url('assets/pintura-predial-fachada-condominio-florianopolis.jpg') center/cover no-repeat;
  clip-path: polygon(0 84px, 84px 0, 100% 0, 100% 100%, 0 100%); } /* canto chanfrado estilo Latitud */
.hero::after { content: ""; position: absolute; right: -120px; top: -40%; width: 55%; height: 180%;
  background: rgba(255,255,255,.045); transform: rotate(14deg); pointer-events: none; }
.hero .container { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 96px; max-width: 1140px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 3.6rem); max-width: 640px; }
.hero p.sub { margin: 20px 0 30px; max-width: 560px; font-size: 17.5px; color: rgba(255,255,255,.85); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .micro { margin-top: 16px; font-size: 13.5px; color: rgba(255,255,255,.6); }
/* espaço reservado para foto de fundo do hero (trocar quando chegarem as fotos) */
.hero.has-photo { background-blend-mode: multiply; background-size: cover; background-position: center; }

/* ---------- Barra de confiança ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 34px; padding-bottom: 34px; }
.trust .container > div { border-left: 3px solid var(--orange); padding-left: 18px; }
.trust h3 { font-size: 16.5px; margin-bottom: 6px; color: var(--navy); }
.trust p { font-size: 14.5px; }

/* ---------- Seções genéricas ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 16.5px; }

/* ---------- Dores ---------- */
.dores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dor { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); padding: 26px; box-shadow: var(--shadow); }
.dor h3 { font-size: 17px; margin-bottom: 8px; }
.dor p { font-size: 14.8px; }
.dores-fecho { text-align: center; margin-top: 36px; font-size: 17px; color: var(--ink); font-weight: 500; max-width: 640px; margin-left: auto; margin-right: auto; }

/* ---------- Serviços ---------- */
.serv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.serv-card { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--orange); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.serv-card .ph { height: 190px; }
.serv-img { height: 190px; width: 100%; object-fit: cover; display: block; }
.prova-img { width: 100%; display: block; border: 1px solid var(--line); background: #fff; }
.serv-body { padding: 24px 26px 28px; }
.serv-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--navy); }
.serv-card ul { list-style: none; }
.serv-card li { font-size: 14.6px; padding: 5px 0 5px 26px; position: relative; }
.serv-card li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.serv-fecho { text-align: center; margin-top: 40px; }
.serv-fecho p { font-size: 16.5px; margin-bottom: 20px; color: var(--ink); max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------- Placeholder de foto ---------- */
.ph { background: repeating-linear-gradient(45deg, #E9EDF2, #E9EDF2 12px, #F2F5F8 12px, #F2F5F8 24px);
  display: flex; align-items: center; justify-content: center; color: #8A94A3; font-size: 13px; font-weight: 500;
  text-align: center; padding: 12px; min-height: 120px; }
.ph::before { content: "📷 "; margin-right: 6px; }

/* ---------- Por que a Aliança ---------- */
.origem { background: linear-gradient(115deg, var(--navy-dark), var(--navy)); color: rgba(255,255,255,.88);
  clip-path: polygon(0 0, calc(100% - 84px) 0, 100% 84px, 100% 100%, 0 100%); }
.origem h2 { color: #fff; }
.origem .lead { font-size: 18.5px; font-weight: 600; color: #fff; margin-bottom: 18px; font-family: 'Raleway', sans-serif; }
.origem-texto { max-width: 700px; margin: 0 auto; }
.origem-texto p { margin-bottom: 16px; font-size: 16.2px; }
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.pilar { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-left: 3px solid var(--orange); padding: 24px; }
.pilar h3 { color: var(--orange); font-size: 16.5px; margin-bottom: 8px; }
.pilar p { font-size: 14.6px; }

/* ---------- Como funciona ---------- */
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: passo; }
.passo { background: var(--white); border: 1px solid var(--line); padding: 26px 22px; box-shadow: var(--shadow); position: relative; }
.passo::before { counter-increment: passo; content: counter(passo);
  display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  background: var(--navy); color: #fff; font-weight: 700; font-family: 'Raleway', sans-serif; margin-bottom: 14px; }
.passo h3 { font-size: 16px; margin-bottom: 8px; }
.passo p { font-size: 14.3px; }
.passos-cta { text-align: center; margin-top: 40px; }

/* ---------- Prova social ---------- */
.prova-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prova-grid .ph { border: 1px solid var(--line); min-height: 170px; }
.prova-apoio { text-align: center; margin-top: 28px; color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--navy); margin-bottom: 12px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); font-size: 15.8px; list-style: none; position: relative; padding-right: 46px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--orange); font-size: 22px; font-weight: 600; }
.faq details[open] summary::after { content: "−"; }
.faq .resposta { padding: 0 22px 20px; font-size: 15px; }

/* ---------- CTA final ---------- */
.final { background: linear-gradient(115deg, var(--navy-dark), var(--navy)); color: rgba(255,255,255,.85); text-align: center;
  clip-path: polygon(0 64px, 64px 0, 100% 0, 100% 100%, 0 100%); }
.final h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.final p { max-width: 560px; margin: 16px auto 28px; font-size: 16.5px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); font-size: 13.5px; padding: 34px 0; }
.footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .nav { display: none; }
  /* mobile: reposiciona o fundo do hero pra manter os pintores visíveis */
  .hero { background-position: 64% center; }
  .trust .container, .dores-grid, .pilares, .prova-grid { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr; }
  .passos { grid-template-columns: repeat(2, 1fr); }
  .hero .container { padding-top: 60px; padding-bottom: 68px; }
}
@media (max-width: 560px) {
  .passos { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
}

/* ---------- Localização ---------- */
.local-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: stretch; }
.local-info { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.local-info h3 { color: var(--navy); font-size: 18px; margin-top: 4px; }
.local-info p { font-size: 15px; }
.local-info .btn { margin-top: 10px; align-self: flex-start; }
.local-mapa iframe { width: 100%; height: 100%; min-height: 380px; border: 1px solid var(--line); display: block; }
@media (max-width: 900px) {
  .local-grid { grid-template-columns: 1fr; }
  .local-mapa iframe { min-height: 300px; }
}
.local-foto { width: 100%; height: 430px; object-fit: cover; object-position: center 22%; border: 1px solid var(--line); display: block; }
@media (max-width: 900px) { .local-foto { height: 300px; } }
.hero-solucao { font-family: 'Raleway', sans-serif; font-weight: 600; font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: rgba(255,255,255,.95); margin-top: 10px; }
.serv-img-portao { height: 300px; object-position: center; }
