/* =========================================================
   Scaramboni Retífica de Cabeçotes - estilos
   ========================================================= */

:root {
  --green-900: #0b2416;
  --green-800: #0f3a22;
  --green-700: #137a3e;
  --green-500: #22a35a;
  --red: #c8102e;
  --maroon: #7a1f2b;
  --ink: #0e1512;
  --text: #2b3631;
  --muted: #6b7a72;
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --line: #e2e9e5;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(11, 36, 22, .35);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: "Montserrat", "Inter", sans-serif; color: var(--ink); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }

.container { width: min(var(--container), 92%); margin-inline: auto; }
.text-accent { color: #4ade80; }
.muted { color: var(--muted); }
.link { color: var(--green-700); font-weight: 600; border-bottom: 2px solid transparent; transition: border-color .2s; }
.link:hover { border-color: var(--green-700); }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 999; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .95rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem; font-family: "Montserrat", sans-serif;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  color: #fff; box-shadow: 0 12px 28px -10px rgba(34, 163, 90, .8);
}
.btn--primary:hover { box-shadow: 0 16px 34px -10px rgba(34, 163, 90, .9); }
.btn--ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--green-800); }
.cta__buttons .btn--ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.cta__buttons .btn--ghost:hover { background: var(--green-700); color: #fff; }

.eyebrow {
  display: inline-block; font-family: "Montserrat", sans-serif; font-size: .78rem;
  font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-700); margin-bottom: .9rem;
  padding-left: 2.2rem; position: relative;
}
.eyebrow::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 1.6rem; height: 2px;
  background: var(--red); transform: translateY(-50%);
}
.section--dark .eyebrow, .hero .eyebrow { color: #86efac; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 36, 22, .92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 74px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 1.35rem; color: #fff; letter-spacing: .04em; }
.logo__sub { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #86efac; margin-top: 3px; }
.nav { display: flex; gap: 1.8rem; }
.nav a { color: rgba(255, 255, 255, .8); font-weight: 500; font-size: .95rem; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--red); transition: width .25s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__phone {
  color: #fff; font-weight: 700; font-family: "Montserrat", sans-serif; font-size: .92rem;
  padding: .6rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15); white-space: nowrap;
}
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin-inline: auto; transition: transform .3s, opacity .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--green-900); padding: 5.5rem 0 6rem;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 36, 22, .97) 0%, rgba(11, 36, 22, .86) 45%, rgba(11, 36, 22, .55) 100%),
    radial-gradient(700px 500px at 0% 100%, rgba(200, 16, 46, .18), transparent 60%),
    url("../assets/img/proprietario.jpg") center 30% / cover no-repeat;
  background-color: var(--green-900);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; opacity: .06;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 4rem; align-items: center; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .82); max-width: 36rem; }
.hero__lead strong { color: #fff; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 2rem 0; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; }
.hero__badges li {
  font-size: .85rem; padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
}
.hero__badges li::before { content: "✓ "; color: #4ade80; font-weight: 800; }

.hero__media { position: relative; display: flex; justify-content: flex-end; align-items: flex-end; min-height: 220px; }
.hero__photo {
  border-radius: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  transform: rotate(-1.5deg);
}
.hero__photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.hero__stat {
  background: #fff; color: var(--ink); padding: 1rem 1.3rem; border-radius: 16px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 180px;
  border-left: 5px solid var(--red);
}
.hero__stat strong { font-family: "Montserrat", sans-serif; font-size: 2rem; color: var(--green-700); line-height: 1; }
.hero__stat span { font-size: .85rem; color: var(--muted); margin-top: .3rem; }

/* ---------- Seções ---------- */
.section { padding: 6rem 0; }
.section--dark { background: var(--green-900); color: rgba(255, 255, 255, .8); }
.section--dark h2 { color: #fff; }
.section--dark .section__head p { color: rgba(255, 255, 255, .7); }
.section--brand { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 700px; margin: 0 auto 3.5rem; }
.section__head .eyebrow { padding-left: 0; }
.section__head .eyebrow::before { display: none; }
.section__head p { color: var(--muted); font-size: 1.05rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.split--reverse .split__content { order: 2; }
.split--reverse .split__media { order: 1; }
.split__media { position: relative; display: grid; grid-template-columns: 1fr; gap: 1rem; }
.split__media .rounded:first-child { width: 100%; height: 300px; object-fit: cover; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.split__float { width: 72%; height: auto; margin-left: auto; margin-top: -90px; border: 6px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.split__content h2 { margin-bottom: 1.2rem; }
.split__content p { color: var(--text); }

.checklist { list-style: none; margin-top: 1.5rem; display: grid; gap: .6rem; }
.checklist li { padding-left: 2rem; position: relative; font-weight: 600; color: var(--ink); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-700) 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/12px no-repeat;
}

.tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.tags span {
  background: #fff; border: 1px solid var(--line); padding: .55rem 1rem; border-radius: 10px;
  font-weight: 600; font-size: .92rem; color: var(--ink); box-shadow: 0 4px 10px -6px rgba(0, 0, 0, .15);
}

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--radius); padding: 2rem 1.6rem; transition: transform .3s, background .3s, border-color .3s;
}
.card:hover { transform: translateY(-6px); background: rgba(255, 255, 255, .07); border-color: rgba(134, 239, 172, .45); }
.card h3 { color: #fff; }
.card p { color: rgba(255, 255, 255, .72); font-size: .95rem; margin: 0; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.3rem;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  display: grid; place-items: center; box-shadow: 0 10px 22px -10px rgba(34, 163, 90, .9);
}
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.gallery__item {
  position: relative; border: 0; padding: 0; background: var(--bg-soft); cursor: zoom-in;
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow);
}
.gallery__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__label {
  position: absolute; left: 1rem; bottom: 1rem; background: #fff; color: var(--ink);
  font-family: "Montserrat", sans-serif; font-weight: 700; font-size: .8rem;
  padding: .4rem .9rem; border-radius: 999px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4);
}

/* ---------- Passos ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: none; }
.steps li {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.5rem; box-shadow: 0 10px 24px -20px rgba(0, 0, 0, .3);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 3.3rem; right: -1.1rem; width: 1.1rem; height: 2px; background: var(--red);
}
.steps__num {
  display: inline-block; font-family: "Montserrat", sans-serif; font-weight: 900; font-size: 1.8rem;
  color: var(--green-700); margin-bottom: .6rem; line-height: 1;
}
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--green-700), var(--green-900)); color: #fff; padding: 4rem 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; background: rgba(200, 16, 46, .18);
}
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .4rem; }
.cta p { color: rgba(255, 255, 255, .85); margin: 0; }
.cta__buttons { display: flex; gap: .9rem; flex-wrap: wrap; }
.cta .btn--primary { background: #fff; color: var(--green-800); box-shadow: none; }
.cta .btn--primary:hover { background: var(--bg-soft); }
.cta .btn--ghost { color: #fff; border-color: #fff; background: transparent; }
.cta .btn--ghost:hover { background: #fff; color: var(--green-800); }

/* ---------- Contato ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: stretch; }
.contact h2 { margin-bottom: 2rem; }
.info-block { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.info-block h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .15em; color: var(--green-700); font-family: "Montserrat", sans-serif; }
.info-block address { font-style: normal; font-size: 1.05rem; color: var(--ink); margin-bottom: .8rem; }
.info-block p { font-size: 1.05rem; color: var(--ink); margin-bottom: .4rem; }
.contact__map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; border: 1px solid var(--line); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 3.5rem 0 2rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.footer .logo__name { display: block; margin-bottom: .4rem; }
.footer nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: flex-end; }
.footer nav a:hover { color: #fff; }
.footer__copy { grid-column: 1 / -1; text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 1.5rem; margin: 0; font-size: .88rem; }

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

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5, 15, 10, .92);
  display: grid; place-items: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(960px, 100%); text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; margin-top: 1rem; font-weight: 500; }
.lightbox__close {
  position: absolute; top: 1rem; right: 1.2rem; background: none; border: 0;
  color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2)::after { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .header__phone { display: none; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--green-900); padding: .5rem 0; transform: translateY(-120%); transition: transform .35s;
    border-bottom: 1px solid rgba(255, 255, 255, .08); z-index: 99;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 1rem 5%; font-size: 1rem; }
  .nav a::after { display: none; }
  .menu-toggle { display: flex; }

  .hero__grid, .split, .contact { grid-template-columns: minmax(0, 1fr); gap: 3rem; }
  .split > * , .contact > * , .hero__grid > * { min-width: 0; }
  .split--reverse .split__content, .split--reverse .split__media { order: initial; }
  .hero { padding: 4rem 0; }
  .hero__media { justify-content: flex-start; }
  .split__float { margin-top: -60px; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; }
  .footer nav { justify-content: center; }
  .cta__inner { text-align: center; justify-content: center; }
  .cta__buttons { justify-content: center; }
}

@media (max-width: 560px) {
  .btn { white-space: normal; text-align: center; }
  .hero__badges li { font-size: .8rem; }
  .split__media { padding-right: 0; }
  .split__float { margin-right: 0; }
  .cards, .steps, .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: auto; }
  .section { padding: 4.5rem 0; }
  .hero__cta .btn, .cta__buttons .btn { width: 100%; }
  .steps li:not(:last-child)::after { display: none; }
  .split__float { width: 80%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
