/* ==========================================================================
   Guaicurus Gráfica — www.guaicurus.com.br
   Site estático, sem JavaScript. Mobile-first.
   ========================================================================== */

/* Fonte local (Montserrat variável, licença SIL OFL — ver fonts/OFL-Montserrat.txt) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/montserrat-latin-wght-normal.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;
}

:root {
  --red: #d9050f;
  --red-dark: #b0030b;
  --dark: #1d1e22;
  --ink: #1f1f23;
  --text: #3a3a40;
  --line: #e3e3e6;
  --green-top: #14b43b;
  --green-bottom: #03871f;
  --focus: #ffb000;
  --radius: 12px;
  --head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --header-h: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  background: #fff;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--head); color: var(--ink); line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .container { padding-inline: 24px; } }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.red { color: var(--red); }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  padding: 10px 16px; border-radius: 8px;
  background: var(--dark); color: #fff; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn-whats, .btn-cta, .btn-whats-lg {
  color: #fff;
  text-decoration: none;
  font-family: var(--head);
  background: linear-gradient(180deg, var(--green-top), var(--green-bottom));
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-whats:hover, .btn-cta:hover, .btn-whats-lg:hover { filter: brightness(1.06); transform: translateY(-1px); }

.btn-whats {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px 9px 12px;
  border-radius: 999px;
  font-weight: 800; font-size: .95rem; white-space: nowrap;
  box-shadow: 0 6px 14px rgba(3, 135, 31, .3);
}
.btn-whats .icon { width: 22px; height: 22px; }
.btn-whats small, .btn-whats-lg small, .contact-phone small { font-size: .78em; font-weight: 600; }

/* ---------- Cabeçalho ---------- */
.site-header { position: relative; z-index: 3; }
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding-block: 10px 4px;
}
.brand { justify-self: start; grid-row: 1; }
.brand img { width: auto; height: clamp(50px, 15vw, 64px); }
.site-header .btn-whats { grid-row: 1; grid-column: 2; justify-self: end; }

.main-nav { grid-row: 2; grid-column: 1 / -1; margin-inline: -16px; overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav > ul { display: flex; gap: 2px; padding: 2px 16px 8px; white-space: nowrap; }
.main-nav a {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 11px; border-radius: 8px;
  font-family: var(--head); font-weight: 600; font-size: .9rem;
  color: var(--ink); text-decoration: none;
  transition: color .15s, background-color .15s;
}
.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { background: var(--red); color: #fff; box-shadow: 0 4px 10px rgba(217, 5, 15, .28); }
.main-nav a[aria-current="page"]:hover { background: var(--red-dark); }
.caret { display: none; width: 14px; height: 14px; }
.submenu { display: none; }
@media (max-width: 479px) { .main-nav li:first-child { display: none; } }

@media (min-width: 1024px) {
  :root { --header-h: 124px; }
  .header-inner {
    grid-template-columns: auto 1fr auto;
    height: var(--header-h);
    padding-block: 0;
    gap: 24px;
  }
  .brand img { height: 98px; }
  .main-nav { grid-row: 1; grid-column: 2; justify-self: center; margin: 0; overflow: visible; }
  .main-nav > ul { gap: 6px; padding: 0; }
  .main-nav a { padding: 8px 14px; font-size: .95rem; }
  .site-header .btn-whats { grid-column: 3; }
  .caret { display: block; }
  .has-sub { position: relative; }
  .submenu {
    display: block;
    position: absolute; top: 100%; left: 0; z-index: 10;
    min-width: 240px; margin-top: 8px; padding: 8px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
  .submenu a { display: flex; width: 100%; padding: 10px 12px; }
  .submenu a:hover { background: #f5f5f6; }
  .btn-whats { padding: 11px 20px 11px 14px; font-size: 1.12rem; }
  .btn-whats .icon { width: 26px; height: 26px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-inner { position: relative; z-index: 1; padding-block: 14px 0; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.2rem, 11.4vw, 5.25rem);
  letter-spacing: -.025em;
  line-height: .98;
}
.hero h1 .red { display: block; }
.lead { margin-top: 16px; max-width: 23.5em; font-size: clamp(1.02rem, 2.4vw, 1.2rem); line-height: 1.45; color: #2d2d33; }
.lead strong { font-weight: 700; color: var(--ink); }

.badges { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 22px; }
.badges li { display: flex; align-items: center; gap: 8px; font-size: .88rem; line-height: 1.2; color: var(--ink); }
.badges svg { width: 30px; height: 30px; color: var(--red); flex: none; }
@media (min-width: 640px) {
  .badges { gap: 14px 26px; }
  .badges li { gap: 10px; font-size: .95rem; }
  .badges svg { width: 36px; height: 36px; }
}

.btn-cta {
  display: inline-flex; align-items: center; gap: 14px;
  width: 100%; max-width: 400px;
  margin-top: 26px; padding: 9px 9px 9px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(3, 135, 31, .3);
}
.cta-icon { width: 42px; height: 42px; flex: none; }
.cta-text { display: flex; flex-direction: column; line-height: 1.08; }
.cta-text small { font-size: .8rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.cta-text strong { font-size: clamp(1.55rem, 6vw, 1.95rem); font-weight: 900; letter-spacing: .005em; }
.cta-arrow {
  display: grid; place-items: center; flex: none;
  width: 50px; height: 50px; margin-left: auto;
  border-radius: 50%; background: rgba(0, 0, 0, .13);
}
.cta-arrow svg { width: 24px; height: 24px; }

.hero-media { margin-top: 26px; }
.hero-media img {
  width: 100%;
  aspect-ratio: 1600 / 1349;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 22%);
}

@media (min-width: 1024px) {
  .hero { margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
  .hero-inner { padding-block: 26px 74px; }
  .hero-text { max-width: 640px; }
  .hero h1 { font-size: clamp(3.6rem, 5.6vw, 5.25rem); }
  .hero-media {
    position: absolute; top: 0; right: 0; bottom: 0;
    width: min(58%, 1100px);
    margin: 0;
  }
  .hero-media img {
    height: 100%;
    aspect-ratio: auto;
    object-position: 40% 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .6) 22%, #000 38%), linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .55) 10%, #000 22%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0, rgba(0, 0, 0, .6) 22%, #000 38%), linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, .55) 10%, #000 22%);
    mask-composite: intersect;
  }
}

/* ---------- Títulos de seção ---------- */
.section { padding-block: 56px; }
.eyebrow {
  margin: 0 0 10px;
  font-family: var(--head); font-weight: 700; font-size: .76rem;
  letter-spacing: .24em; text-transform: uppercase; text-align: center;
  color: var(--red);
}
@media (min-width: 640px) { .eyebrow { font-size: .78rem; letter-spacing: .36em; } }
.section-title {
  font-weight: 900;
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  letter-spacing: -.02em;
  text-align: center;
}

/* ---------- Serviços ---------- */
.services { padding-top: 48px; }
.cards { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 30px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #e3e3e3 0, #eeeeee 70px, #f3f3f3 150px, #f5f5f5 230px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
}
.card-head {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  min-height: 78px; padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--red); color: #fff;
  box-shadow: 0 8px 16px -8px rgba(0, 0, 0, .45);
}
.card--dark .card-head { background: var(--dark); }
.card-icon { width: 40px; height: 40px; flex: none; }
.card-head h3 { color: #fff; font-size: 1.12rem; font-weight: 800; letter-spacing: -.015em; }
.card-head p { margin-top: 3px; font-size: .82rem; line-height: 1.25; opacity: .92; }
.card-img { width: 100%; aspect-ratio: 880 / 830; object-fit: cover; }

.checklist { padding: 2px 18px 22px; }
.checklist li {
  position: relative;
  margin: 8px 0; padding-left: 30px;
  font-size: .84rem; line-height: 1.3; letter-spacing: .02em;
  text-transform: uppercase; color: #2f2f35;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: -2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--red);
}
.card--dark .checklist li::before { background: var(--dark); }
.checklist li::after {
  content: ""; position: absolute; left: 7px; top: 2px;
  width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ---------- Faixa WhatsApp ---------- */
.whats-band {
  margin-top: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 0 50%, transparent 0 58px, rgba(255, 255, 255, .08) 59px 70px, transparent 71px),
    radial-gradient(circle at 100% 50%, transparent 0 58px, rgba(255, 255, 255, .08) 59px 70px, transparent 71px),
    var(--red);
}
.band-inner { display: grid; justify-items: center; gap: 16px; padding-block: 28px; text-align: center; }
.band-phone { display: none; }
.band-text { font-family: var(--head); line-height: 1.05; }
.band-text span { display: block; font-weight: 700; font-size: clamp(1.15rem, 2.6vw, 1.55rem); }
.band-text strong { display: block; font-weight: 900; font-size: clamp(2rem, 4.8vw, 2.6rem); letter-spacing: -.01em; }

.btn-whats-lg {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 20px 10px 16px;
  border: 3px solid #fff; border-radius: 999px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .22);
}
.btn-whats-lg .icon { width: 38px; height: 38px; flex: none; }
.btn-whats-lg .num { font-size: clamp(1.5rem, 5.4vw, 2rem); font-weight: 900; white-space: nowrap; }
.btn-whats-lg .chev { width: 24px; height: 24px; flex: none; }

@media (min-width: 900px) {
  .whats-band { margin-top: 30px; }
  .band-inner {
    grid-template-columns: auto 1fr auto;
    justify-items: start; align-items: center;
    column-gap: 36px; padding-block: 0; min-height: 132px;
    text-align: left;
  }
  .band-phone { display: block; align-self: end; width: auto; height: 158px; margin-top: -26px; }
  .band-text { padding-block: 24px; }
  .btn-whats-lg { padding: 12px 26px 12px 20px; }
}

/* ---------- Por que escolher ---------- */
.why { padding-block: 44px 0; }
.why-list { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 26px; }
.why-list li { display: flex; align-items: center; gap: 16px; }
.why-icon {
  display: grid; place-items: center; flex: none;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--red); color: #fff;
}
.why-icon svg { width: 32px; height: 32px; }
.why-icon--outline { background: none; color: var(--red); }
.why-icon--outline svg { width: 56px; height: 56px; }
.why-list p { font-size: 1.04rem; line-height: 1.25; color: #4a4a50; }
.why-list strong { display: block; font-weight: 600; color: var(--ink); }

@media (min-width: 640px) { .why-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .why-list { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .why-list li + li { padding-left: 34px; border-left: 1px solid var(--line); }
}

/* ---------- Portfólio ---------- */
.portfolio { padding-top: 52px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.gallery img {
  width: 100%; aspect-ratio: 520 / 560; object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery li:hover img { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0, 0, 0, .18); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--dark); color: #d6d6db; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 30px; padding-block: 40px; }
.footer-brand img { width: 240px; }
.site-footer h2 { margin-bottom: 12px; font-size: 1rem; font-weight: 700; color: #fff; }
.footer-links a { display: inline-block; padding: 3px 0; color: #d6d6db; text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.contact-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.contact-list svg, .hours svg { width: 28px; height: 28px; flex: none; color: #fff; }
.contact-list .wa svg { color: #2fd35c; }
.contact-list a { color: #fff; }
.contact-phone { font-family: var(--head); font-weight: 800; font-size: 1.35rem; text-decoration: none; }
.contact-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.hours { display: flex; align-items: flex-start; gap: 12px; line-height: 1.3; }

.btn-red {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 20px; padding: 14px 20px;
  white-space: nowrap;
  border-radius: 12px;
  background: var(--red); color: #fff;
  font-family: var(--head); font-weight: 800; font-size: .9rem;
  text-transform: uppercase; text-decoration: none; letter-spacing: .01em;
  box-shadow: 0 10px 20px rgba(217, 5, 15, .32);
  transition: background-color .15s ease, transform .15s ease;
}
.btn-red svg { width: 22px; height: 22px; flex: none; }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); background: #17181b; }
.footer-bottom p { padding-block: 14px; font-size: .82rem; text-align: center; color: #a3a3ab; }

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.25fr .75fr 1.35fr 1.25fr; gap: 0; align-items: start; }
  .footer-col { padding-inline: 30px; border-left: 1px solid rgba(255, 255, 255, .22); }
  .footer-brand img { width: 250px; }
}

/* ---------- Página 404 ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 16px; }
.notfound img { margin: 0 auto 28px; width: 220px; }
.notfound h1 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 900; }
.notfound p { margin: 12px auto 26px; max-width: 30rem; }
.notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.notfound .btn-red { margin: 0; }
.btn-outline {
  display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 12px;
  border: 2px solid var(--dark); color: var(--dark);
  font-family: var(--head); font-weight: 800; font-size: .9rem; text-transform: uppercase; text-decoration: none;
}
.btn-outline:hover { background: var(--dark); color: #fff; }

/* ---------- Acessibilidade: menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
