@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../assets/fonts/barlow-regular.woff2) format('woff2');
  unicode-range: U+20-21, U+25, U+28-29, U+2c-3b, U+3f, U+41-5a, U+61-7a, U+c0-c4, U+c7-cf, U+d1-d6, U+d9-dd, U+e0-e4, U+e7-ef, U+f1-f6, U+f9-fd, U+ff, U+106-109, U+11c-11d, U+122-125, U+128-129, U+134-137, U+139-13c, U+143-146, U+154-157, U+15a-15f, U+162-163, U+168-169, U+174-17a, U+1d7-1d8, U+1db-1dc, U+1f4-1f5, U+1f8-1f9, U+228-229, U+300-303, U+308, U+327, U+1e08-1e09, U+1e10-1e11, U+1e26-1e29, U+1e2e-1e31, U+1e3e-1e3f, U+1e4c-1e4f, U+1e54-1e55, U+1e78-1e79, U+1e7c-1e7d, U+1e80-1e85, U+1e8c-1e8d, U+1e90-1e91, U+1e97, U+1ea4-1ea7, U+1eaa-1eab, U+1ebc-1ec1, U+1ec4-1ec5, U+1ed0-1ed3, U+1ed6-1ed7, U+1ef2-1ef3, U+1ef8-1ef9;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../assets/fonts/barlow-semibold.woff2) format('woff2');
  unicode-range: U+20-21, U+25, U+28-29, U+2c-3b, U+3f, U+41-5a, U+61-7a, U+c0-c4, U+c7-cf, U+d1-d6, U+d9-dd, U+e0-e4, U+e7-ef, U+f1-f6, U+f9-fd, U+ff, U+106-109, U+11c-11d, U+122-125, U+128-129, U+134-137, U+139-13c, U+143-146, U+154-157, U+15a-15f, U+162-163, U+168-169, U+174-17a, U+1d7-1d8, U+1db-1dc, U+1f4-1f5, U+1f8-1f9, U+228-229, U+300-303, U+308, U+327, U+1e08-1e09, U+1e10-1e11, U+1e26-1e29, U+1e2e-1e31, U+1e3e-1e3f, U+1e4c-1e4f, U+1e54-1e55, U+1e78-1e79, U+1e7c-1e7d, U+1e80-1e85, U+1e8c-1e8d, U+1e90-1e91, U+1e97, U+1ea4-1ea7, U+1eaa-1eab, U+1ebc-1ec1, U+1ec4-1ec5, U+1ed0-1ed3, U+1ed6-1ed7, U+1ef2-1ef3, U+1ef8-1ef9;
}
:root {
  --navy: #020913;
  --navy-2: #071526;
  --cyan: #01C5FC;
  --blue: #1565E0;
  --silver: #EFEEEF;
  --white: #FFFFFF;
  --muted-dark: #BFC9D2;
  --muted-light: #3D4C5A;
  --line-dark: #33424F;
  --line-light: #C3C8CE;
  --display: 'Barlow', sans-serif;
  --body: 'Barlow', sans-serif;
  --cut: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; color: var(--navy); background: var(--white); font-family: var(--body); font-size: 17px; line-height: 1.5; }
a { color: inherit; text-underline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: 42px; max-width: 12em; }
h2 { font-size: 32px; margin-bottom: 20px; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
p { max-width: 60ch; text-wrap: pretty; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; }
.section { position: relative; padding: 40px 20px; }
.dark { background: var(--navy); color: var(--silver); }
.silver { background: var(--silver); }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 20px; border: 1px solid transparent; border-radius: 4px; font-size: 17px; font-weight: 600; line-height: 1.35; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .18s, transform .18s, box-shadow .18s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--primary { color: var(--navy); background: var(--cyan); box-shadow: none; }
.btn--primary:hover { background: var(--white); }
.btn--lg { min-height: 60px; padding: 14px 26px; font-size: 19px; }
.btn--outline { color: var(--silver); background: transparent; border-color: var(--line-dark); box-shadow: none; }
.btn--outline:hover { background: var(--line-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; }
.btn--primary:focus-visible { outline-color: var(--white); box-shadow: 0 0 0 7px var(--navy); }
.skip { position: fixed; left: 20px; top: -120px; z-index: 30; padding: 14px 20px; background: var(--silver); color: var(--navy); }
.skip:focus { top: 12px; }

/* topo */
.header { position: relative; z-index: 3; padding: 0 20px; color: var(--silver); background: var(--navy); border-bottom: 1px solid var(--line-dark); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { width: 168px; height: auto; }
.header nav { display: none; }
.header-phone { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; text-decoration: none; }
.header-phone span { display: none; }

/* hero: luz e chapa */
.hero { position: relative; z-index: 2; overflow: hidden; padding: 32px 20px 0; margin-bottom: calc(var(--cut) * -1); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); background: radial-gradient(60% 70% at 85% 30%, rgba(1, 197, 252, .22), transparent 70%), radial-gradient(50% 60% at 0% 100%, rgba(21, 101, 224, .28), transparent 70%), var(--navy); }
.hero::before, .hero::after { content: ""; position: absolute; left: -10%; width: 120%; height: 2px; pointer-events: none; background: linear-gradient(90deg, transparent 0%, transparent 20%, var(--cyan) 55%, rgba(255, 255, 255, .9) 70%, transparent 100%); transform: rotate(-14deg); }
.hero::before { top: 36%; height: 3px; }
.hero::after { top: 62%; opacity: .45; height: 1px; }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 28px; padding-bottom: calc(var(--cut) + 8px); }
.hero-grid > * { min-width: 0; }
.kicker { margin-bottom: 14px; font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.grad { color: var(--cyan); }
.hero-problem { margin-top: 18px; font-size: 23px; line-height: 1.3; font-weight: 600; color: var(--white); }
.hero .hero-service { margin-top: 10px; color: var(--muted-dark); font-size: 18px; }
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin-top: 24px; }
.hero-actions .btn { width: 100%; }
.hero-call { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--silver); text-decoration-thickness: 1px; }
.hero-photo { position: relative; padding: 0 12px 12px 0; }
.hero-photo::before { content: ""; position: absolute; inset: 12px 0 0 12px; background: linear-gradient(135deg, var(--cyan), var(--blue)); clip-path: polygon(0 9%, 9% 0, 100% 0, 100% 91%, 91% 100%, 0 100%); }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; clip-path: polygon(0 9%, 9% 0, 100% 0, 100% 91%, 91% 100%, 0 100%); }
.facts { position: relative; z-index: 1; display: grid; gap: 0; padding-bottom: calc(var(--cut) + 12px); border-top: 1px solid rgba(255, 255, 255, .14); }
.facts li { display: flex; flex-direction: column; padding: 10px 0 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.facts li:last-child { border-bottom: 0; }
.facts strong { font-size: 18px; font-weight: 600; color: var(--white); }
.facts span { font-size: 15px; color: var(--muted-dark); }

/* serviços */
.services { padding-top: calc(var(--cut) + 52px); padding-bottom: calc(var(--cut) + 36px); }
.bento { display: grid; gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; overflow: hidden; color: var(--white); background: var(--navy); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 9, 19, 0) 22%, rgba(2, 9, 19, .78) 58%, rgba(2, 9, 19, .96) 100%); }
.tile-body { position: relative; z-index: 1; padding: 24px 22px 22px; }
.tile-body p { margin-top: 10px; color: var(--silver); }
.tile-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 18px; }
.tile-actions .btn { width: 100%; }
.tile-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; color: var(--cyan); text-decoration-thickness: 1px; }
.tile-tag { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 4px 10px; font-size: 14px; line-height: 1.4; color: var(--navy); background: rgba(239, 238, 239, .92); border-radius: 2px; }
#rufos > img { object-position: center 30%; }
#telhado > img { object-position: center 60%; }

/* contato */
.contact { z-index: 2; margin-top: calc(var(--cut) * -1); padding-top: calc(var(--cut) + 56px); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); background: radial-gradient(50% 60% at 100% 0%, rgba(1, 197, 252, .16), transparent 70%), var(--navy); }
.contact-grid, .faq-grid { display: grid; gap: 28px; }
.contact-grid > *, .faq-grid > * { min-width: 0; }
.steps { display: grid; gap: 14px; }
.steps li { position: relative; padding-left: 22px; }
.steps li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; background: var(--cyan); clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%, 0 70%); }
.contact-number { display: inline-flex; align-items: center; min-height: 48px; margin-top: 20px; font-size: 34px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; text-decoration: none; color: var(--white); }
.contact-hours { color: var(--muted-dark); font-size: 15px; }
.form-box { background: var(--silver); color: var(--navy); padding: 28px 20px 24px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); }
.form-box > p { margin-top: 8px; }
.lead-form { margin-top: 18px; }
.field + .field { margin-top: 14px; }
.field label { display: block; font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px; border: 1px solid var(--muted-light); border-radius: 2px; font: inherit; font-size: 17px; line-height: 1.5; color: var(--navy); background: var(--white); }
.field input::placeholder { color: var(--muted-light); opacity: 1; }
.lead-form button { width: 100%; margin-top: 18px; font-family: inherit; }
.lead-form .form-note { margin-top: 12px; font-size: 14px; color: var(--muted-light); }
.form-status { font-size: 16px; }
.form-status:empty { display: none; }

/* faq */
.faq-section { z-index: 1; }
.faq-list details { border-top: 1px solid var(--line-light); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-light); }
.faq-list summary, .privacy summary { list-style: none; }
.faq-list summary::-webkit-details-marker, .privacy summary::-webkit-details-marker { display: none; }
.faq-list summary { position: relative; min-height: 52px; cursor: pointer; padding: 16px 28px 16px 0; font-size: 18px; font-weight: 600; line-height: 1.4; }
.faq-list summary::after { content: "+"; position: absolute; right: 3px; top: 16px; font-size: 24px; line-height: 1; color: var(--blue); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 18px; color: var(--muted-light); }

/* rodapé e atalhos */
.footer { padding: 28px 20px 112px; border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; gap: 12px; }
.footer .logo { margin-bottom: 12px; }
.footer p { font-size: 15px; color: var(--muted-dark); }
.footer a { display: inline-flex; min-height: 44px; align-items: center; }
.privacy { font-size: 15px; max-width: 540px; }
.privacy summary { min-height: 44px; padding: 10px 0; cursor: pointer; text-decoration: underline; }
.privacy p { margin-top: 12px; }
.whatsapp-float { display: none; }
.mobile-actions { position: fixed; z-index: 20; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 10px; background: var(--navy); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); }
.mobile-actions .btn--primary { box-shadow: none; }

@media (min-width: 768px) {
 :root { --cut: 44px; }
 .container { width: min(100% - 64px, 1160px); }
 .section { padding: 56px 20px; }
 h2 { font-size: 40px; }
 .header nav { display: flex; gap: 24px; margin-left: auto; margin-right: 24px; }
 .header nav a { display: inline-flex; align-items: center; min-height: 48px; text-decoration: none; }
 .logo { width: 200px; }
 .hero { padding-top: 48px; }
 .hero-actions { flex-direction: row; align-items: center; gap: 22px; }
 .hero-actions .btn { width: auto; }
 .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
 .facts li { padding: 18px 0 4px; border-bottom: 0; }
 .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(300px, auto)); gap: 20px; }
 .tile--tall { grid-row: span 2; min-height: 620px; }
 .tile { min-height: 300px; }
 .tile-actions .btn { width: auto; }
 .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
 .faq-grid { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 56px; }
 .mobile-actions { display: none; }
 .whatsapp-float { display: inline-flex; align-items: center; position: fixed; bottom: 24px; right: 24px; z-index: 20; min-height: 52px; padding: 12px 22px; background: var(--cyan); color: var(--navy); border: 1px solid var(--navy); border-radius: 4px; font-weight: 600; text-decoration: none; }
 .footer { padding-bottom: 40px; }
 .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
 .form-box { padding: 34px 30px 30px; }
}
@media (min-width: 1024px) {
 :root { --cut: 56px; }
 .header-inner { min-height: 76px; }
 .header-phone span { display: inline; margin-left: 12px; }
 .hero { padding-top: 64px; }
 .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 64px; padding-bottom: 40px; }
 h1 { font-size: 72px; }
 h2 { font-size: 44px; }
 .hero-problem { font-size: 26px; margin-top: 24px; }
 .hero .hero-service { font-size: 19px; max-width: 40ch; }
 .hero-photo img { aspect-ratio: 1 / 1; object-position: center 35%; }
 .tile-body { padding: 32px 30px 28px; }
 .tile--tall .tile-body h3 { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .btn { transition: none; }
 .btn:hover, .btn:active { transform: none; }
}

/* Consentimento: faixa própria acima dos atalhos, sem cobrir o site. */
:root {
  --contact-dock-height: calc(73px + env(safe-area-inset-bottom, 0px));
  --cookies-dock-height: 300px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner {
  position: fixed;
  z-index: 25;
  left: 12px;
  right: 12px;
  bottom: calc(var(--contact-dock-height) + 12px);
  max-height: calc(100dvh - var(--contact-dock-height) - 100px);
  overflow-y: auto;
  display: grid;
  gap: 12px;
  padding: 16px;
  color: var(--silver);
  background: var(--navy);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--cyan);
  border-radius: 4px;
}
.cookie-banner h2 { margin: 0 0 6px; font-size: 20px; line-height: 1.2; letter-spacing: 0; }
.cookie-banner p { max-width: none; font-size: 16px; line-height: 1.45; }
.cookie-banner a { color: var(--cyan); }
.cookie-banner:focus { outline: 2px solid var(--cyan); outline-offset: 2px; }
.cookie-buttons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cookie-buttons button {
  min-height: 44px;
  padding: 10px 20px;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  color: var(--navy);
  background: var(--silver);
  border: 1px solid var(--silver);
  border-radius: 4px;
  cursor: pointer;
}
.cookie-buttons button:hover { background: var(--cyan); border-color: var(--cyan); }
html.cookies-open { overflow: hidden; }
html.cookies-open, html.cookies-open body { background: var(--navy); }
.cookies-open .site-content {
  height: calc(100dvh - var(--cookies-dock-height));
  overflow-y: auto;
  scroll-padding: 20px;
  scroll-behavior: auto;
}
.footer-privacy-links { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 24px; }
.footer-privacy-links a { min-height: 44px; }

/* Política de privacidade: leitura com a mesma tipografia e cores. */
.privacy-page { background: var(--silver); padding-top: 40px; }
.privacy-page article { max-width: 860px; }
.privacy-page h1 { max-width: none; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
.privacy-page h2 { margin-bottom: 16px; font-size: 28px; line-height: 1.2; }
.privacy-page section { margin-top: 32px; }
.privacy-page p { max-width: none; margin-top: 12px; }
.privacy-page .privacy-date { color: var(--muted-light); font-size: 16px; margin: 16px 0 24px; }
.privacy-page ul { margin-top: 12px; padding-left: 24px; list-style: disc; }
.privacy-page li + li { margin-top: 8px; }
.privacy-page a { text-decoration-thickness: 1px; }
.privacy-page a:focus-visible, .cookie-table-wrap:focus-visible { outline-color: var(--muted-light); }
.privacy-page code { font-size: .95em; overflow-wrap: anywhere; }
.privacy-back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 32px; }
.cookie-table-wrap { margin-top: 20px; overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; }
.cookie-table caption { text-align: left; font-weight: 600; margin-bottom: 12px; }
.cookie-table th, .cookie-table td { padding: 12px 8px; border-bottom: 1px solid var(--line-light); vertical-align: top; }
.cookie-table thead { color: var(--silver); background: var(--navy); }
.cookie-table th { font-weight: 600; }
.cookie-table tbody th { overflow-wrap: anywhere; }
@media (min-width: 768px) {
  :root { --contact-dock-height: 76px; }
  .cookie-banner { left: 24px; right: 24px; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 20px 24px; }
  .cookie-buttons { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .footer-privacy-links { grid-column: 1 / -1; }
  .privacy-page { padding-top: 56px; }
}
