/* Nicolai Jardins — site.css */

:root {
  --forest: #16261d;
  --forest-2: #1f3529;
  --green: #2f5d43;
  --leaf: #6f9a6a;
  --sand: #f6f1e7;
  --sand-2: #ece4d3;
  --paper: #fffdf8;
  --ink: #1d241f;
  --muted: #5d675f;
  --line: rgba(22, 38, 29, .12);
  --pink: #d81e5b;
  --wa: #1faa59;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --shadow: 0 24px 60px -24px rgba(22, 38, 29, .35);
  --header-h: 84px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.45rem; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--green); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--pink); }
.eyebrow--light { color: #dfe9dc; }

.lead { font-size: 1.2rem; color: var(--forest-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 12px 28px -12px rgba(31, 170, 89, .8); }
.btn--wa:hover { background: #17934b; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .06); }
.btn--ghost:hover { background: #fff; color: var(--forest); }
.btn--light { background: var(--sand); color: var(--forest); }
.btn--light:hover { background: #fff; }
.btn--outline { border-color: var(--forest); color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--green); border-bottom: 1.5px solid currentColor; padding-bottom: 4px; }
.link-arrow::after { content: "→"; transition: transform .25s ease; }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background .35s ease, box-shadow .35s ease, height .35s ease;
}
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; height: 70px; transition: height .35s ease; }
.brand img { height: 100%; width: auto; }
.brand__dark { display: none; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  position: relative; color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 8px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--pink);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav a:not(.btn):hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 12px 22px; font-size: .85rem; }

.header.is-solid { height: 70px; background: rgba(255, 253, 248, .94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(22, 38, 29, .3); }
.header.is-solid .brand { height: 52px; }
.header.is-solid .brand__light { display: none; }
.header.is-solid .brand__dark { display: block; }
.header.is-solid .nav a:not(.btn) { color: var(--forest); }

.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; padding: 12px 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease, background .3s ease; }
.burger span + span { margin-top: 7px; }
.header.is-solid .burger span { background: var(--forest); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: var(--forest); overflow: hidden; }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 8s ease-out; }
.hero__slide.is-on { opacity: 1; transform: scale(1); }
.hero__shade {
  background:
    linear-gradient(180deg, rgba(12, 22, 16, .62) 0%, rgba(12, 22, 16, .12) 28%, rgba(12, 22, 16, .3) 55%, rgba(12, 22, 16, .88) 100%),
    linear-gradient(90deg, rgba(12, 22, 16, .55) 0%, rgba(12, 22, 16, 0) 65%);
}
.hero__in { position: relative; padding: calc(var(--header-h) + 60px) 0 120px; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 4.7rem); max-width: 20ch; font-weight: 300; }
.hero h1 em { font-style: italic; color: #e6efd9; }
.hero__lead { margin-top: 26px; max-width: 56ch; font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, .88); }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__in > * { opacity: 0; transform: translateY(24px); animation: rise .9s cubic-bezier(.2, .7, .2, 1) forwards; }
.hero__in > :nth-child(2) { animation-delay: .12s; }
.hero__in > :nth-child(3) { animation-delay: .24s; }
.hero__in > :nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero__dots { position: absolute; right: max(24px, calc((100vw - 1200px) / 2)); bottom: 48px; display: flex; gap: 10px; z-index: 2; }
.hero__dots button { width: 34px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: background .3s ease, width .3s ease; }
.hero__dots button.is-on { background: #fff; width: 56px; }

.hero__scroll { position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 20px; z-index: 2; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Facts ---------- */
.facts { background: var(--forest); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.2; color: #e6efd9; }
.fact span { display: block; margin-top: 6px; font-size: .9rem; color: rgba(255, 255, 255, .66); line-height: 1.5; }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section__head { max-width: 720px; margin: 0 auto clamp(44px, 6vw, 72px); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head .eyebrow::after { content: ""; width: 32px; height: 2px; background: var(--pink); }
.section__head p:not(.eyebrow) { margin-top: 16px; color: var(--muted); }

/* ---------- About ---------- */
.about__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; padding: 0 56px 72px 0; }
.about__img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); }
.about__img--a { width: 100%; aspect-ratio: 4 / 5; }
.about__img--b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 8px solid var(--paper); }
.about__badge {
  position: absolute; left: -18px; top: 36px; display: flex; align-items: center; gap: 12px;
  background: var(--forest); color: #fff; padding: 16px 22px; border-radius: 14px; box-shadow: var(--shadow);
}
.about__badge strong { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; color: #e6efd9; }
.about__badge span { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4; }
.about__text p + p { margin-top: 16px; }
.about__text h2 { margin-bottom: 22px; }
.about__text > p:not(.lead):not(.eyebrow) { color: var(--muted); }
.about__sign { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--green) !important; margin-top: 26px !important; }
.about .link-arrow { margin-top: 30px; }

/* ---------- Services ---------- */
.services { background: var(--sand); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .4s ease, box-shadow .4s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card figure { aspect-ratio: 4 / 3; overflow: hidden; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.card:hover img { transform: scale(1.06); }
.card__body { position: relative; padding: 34px 32px 38px; }
.card__n { position: absolute; right: 28px; top: -26px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: #e6efd9; font-family: var(--serif); font-size: 1.05rem; border: 4px solid var(--paper); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Process ---------- */
.process { padding-bottom: clamp(40px, 5vw, 70px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: repeating-linear-gradient(90deg, var(--leaf) 0 6px, transparent 6px 14px); }
.steps li { position: relative; }
.steps span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--green); color: var(--green); font-family: var(--serif); font-size: 1.3rem; margin-bottom: 22px; position: relative; }
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 16px; grid-auto-flow: dense; }
.tile { position: relative; overflow: hidden; border-radius: 14px; background: var(--sand-2); cursor: zoom-in; }
.tile--wide { grid-column: span 2; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(12, 22, 16, .78)); opacity: .75; transition: opacity .4s ease; }
.tile span { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; color: #fff; font-family: var(--serif); font-size: 1.2rem; transform: translateY(4px); transition: transform .4s ease; }
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { opacity: 1; }
.tile:hover span { transform: none; }

/* ---------- Partner ---------- */
.partner { background: var(--forest); color: #fff; position: relative; overflow: hidden; }
.partner::before { content: ""; position: absolute; width: 620px; height: 620px; right: -200px; top: -240px; border-radius: 50%; background: radial-gradient(circle, rgba(111, 154, 106, .28), transparent 65%); }
.partner__in { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.partner__role { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: #c9d9c3; margin: 8px 0 26px; }
.partner__text p:not(.eyebrow):not(.partner__role) { color: rgba(255, 255, 255, .78); }
.partner__text p + p { margin-top: 16px; }
.partner .btn { margin-top: 36px; }
.partner__media { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 560px; }
.partner__fig { position: relative; overflow: hidden; border-radius: 14px; }
.partner__fig--1 { grid-row: span 2; }
.partner__fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.partner__fig:hover img { transform: scale(1.05); }
.partner__fig figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px; background: rgba(12, 22, 16, .6); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 600; letter-spacing: .06em; }

/* ---------- Contact ---------- */
.contact { background: var(--sand); }
.contact__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.contact h2 { margin-bottom: 18px; }
.info { margin-top: 38px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.info li { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info svg { width: 26px; height: 26px; flex: none; color: var(--green); margin-top: 3px; }
.info li > div { flex: 1; }
.info span { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info a { font-size: 1.1rem; font-weight: 600; color: var(--forest); }
.info a:hover { color: var(--green); }
.hours div { display: flex; justify-content: space-between; gap: 20px; max-width: 320px; font-size: 1rem; }
.hours dt { color: var(--ink); }
.hours dd { font-weight: 600; color: var(--forest); }
.contact__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.contact__map { min-height: 460px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--sand-2); }
.contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: saturate(.85); }

/* ---------- Footer ---------- */
.footer { background: #0f1b14; color: rgba(255, 255, 255, .7); }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding: 64px 0 48px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 28px; max-width: 520px; }
.footer__brand img { width: 130px; flex: none; }
.footer__brand p { font-size: .95rem; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 30px; }
.footer__nav a { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; transition: color .25s ease; }
.footer__nav a:hover { color: #fff; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.powered { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .75); transition: border-color .25s ease, color .25s ease, background .25s ease; }
.powered strong { color: #fff; font-weight: 700; letter-spacing: .02em; }
.powered:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); color: #fff; }

/* ---------- Floating WhatsApp ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 14px 34px -10px rgba(31, 170, 89, .9); transition: transform .3s ease, opacity .3s ease; opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none; }
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(8, 14, 10, .94); padding: 24px; animation: fade .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { margin-top: 16px; color: #fff; font-family: var(--serif); font-size: 1.25rem; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; transition: background .25s ease; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox__nav--next { right: 20px; top: 50%; margin-top: -26px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav { gap: 22px; }
  .facts__in { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 26px 24px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }
  body { font-size: 16px; }
  .burger { display: block; position: relative; z-index: 2; }
  .brand { height: 52px; position: relative; z-index: 2; }

  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px;
    background: var(--forest); opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
  }
  .nav a:not(.btn), .header.is-solid .nav a:not(.btn) { color: #fff; font-size: 1.05rem; }
  .nav__cta { margin-top: 10px; padding: 16px 30px; font-size: 1rem; }
  .menu-open { overflow: hidden; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
  .menu-open .brand__light { display: block !important; }
  .menu-open .brand__dark { display: none !important; }
  .menu-open .burger span { background: #fff !important; }
  .menu-open .burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .hero__in { padding-bottom: 110px; }
  .hero__scroll { display: none; }
  .hero__dots { right: auto; left: 24px; bottom: 44px; }

  .about__in, .partner__in, .contact__in { grid-template-columns: 1fr; }
  .about__media { padding: 0 40px 56px 0; max-width: 560px; }
  .about__badge { left: -8px; }
  .partner__media { height: 440px; }
  .footer__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .hero h1 { font-size: 2.1rem; }
  .eyebrow { font-size: .68rem; letter-spacing: .14em; gap: 10px; }
  .eyebrow::before, .section__head .eyebrow::after { width: 22px; }
  .hero__cta .btn, .contact__cta .btn { width: 100%; }
  .facts__in { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(odd) { padding: 20px 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .fact:first-child { border-top: 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .tile--wide { grid-column: auto; }
  .partner__media { height: 380px; }
  .footer__brand { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  .contact__map, .contact__map iframe { min-height: 340px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .fab { right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

:root { --x-dark: var(--forest); --x-soft: var(--sand); --x-link: var(--green); --x-on-dark: #e6efd9; --x-radius: 18px; --x-radius-sm: 10px; }
.contact__map { margin-top: clamp(40px, 5vw, 64px); }
@media (max-width: 1200px) and (min-width: 861px) { .nav { gap: 20px; } .nav a:not(.btn) { font-size: .74rem; letter-spacing: .1em; } }

/* ==========================================================================
   Formulário de orçamento, blog e páginas internas
   (usa os apelidos --x-* definidos logo acima, para cada site manter a sua cara)
   ========================================================================== */

.wrap--narrow { width: min(820px, 100% - 48px); }
.section--soft { background: var(--x-soft); }

/* ---------- Form ---------- */
.form { background: var(--paper); border-radius: var(--x-radius); padding: clamp(26px, 3.4vw, 44px); box-shadow: var(--shadow); color: var(--ink); align-self: start; }
.form h3 { font-size: 1.8rem; margin-bottom: 6px; }
.form__intro { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 7px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--x-radius-sm);
  background: #fff; color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; letter-spacing: 0; text-transform: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form textarea { resize: vertical; min-height: 90px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--x-link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--x-link) 18%, transparent); }
.form [aria-invalid="true"] { border-color: #c0392b; }
.form__hp { position: absolute !important; left: -9999px; }
.form__erro { color: #c0392b; font-size: .92rem; font-weight: 600; margin-bottom: 14px; }
.form .btn { width: 100%; }
.form__nota { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }
.form__nota a, .form__ok a:not(.btn) { text-decoration: underline; }
.form__ok p { margin: 10px 0 22px; color: var(--muted); }
.form__ref { color: var(--ink); white-space: nowrap; }
.contact__in { align-items: start; }

/* ---------- Cards de artigo ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.posts--2 { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--x-radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .4s ease, box-shadow .4s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 28px 32px; flex: 1; }
.post-card__meta { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--x-link); }
.post-card h3 { font-size: 1.4rem; line-height: 1.2; }
.post-card h3 a:hover { color: var(--x-link); }
.post-card__body > p:not(.post-card__meta) { color: var(--muted); font-size: .96rem; flex: 1; }
.blog__more { margin-top: 44px; text-align: center; }

/* ---------- Topo das páginas internas ---------- */
.page main { padding-top: 72px; }
.page-hero { background: var(--x-dark); color: #fff; padding: clamp(56px, 8vw, 100px) 0 clamp(48px, 7vw, 84px); }
.page-hero--full { min-height: 70vh; display: grid; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 22ch; }
.page-hero__lead { margin-top: 18px; max-width: 62ch; color: rgba(255, 255, 255, .78); font-size: 1.08rem; }
.page-hero__meta { margin-top: 22px; font-size: .9rem; color: rgba(255, 255, 255, .65); }
.page-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.crumbs { font-size: .8rem; letter-spacing: .06em; color: rgba(255, 255, 255, .55); margin-bottom: 26px; }
.crumbs a { color: rgba(255, 255, 255, .8); }
.crumbs a:hover { color: var(--x-on-dark); }
.crumbs span { margin: 0 6px; }

/* ---------- Artigo ---------- */
.article__cover { margin-top: clamp(-44px, -4vw, -28px); border-radius: var(--x-radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { padding: clamp(36px, 5vw, 60px) 0 10px; font-size: 1.08rem; line-height: 1.85; }
.prose--page { padding-bottom: clamp(60px, 8vw, 100px); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); margin-top: 1.9em; }
.prose h2 + * { margin-top: .7em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .55em; }
.prose li::marker { color: var(--x-link); font-weight: 700; }
.prose a { color: var(--x-link); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; }

.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin: clamp(36px, 5vw, 60px) 0 clamp(64px, 8vw, 110px); padding: clamp(28px, 4vw, 46px); background: var(--x-dark); color: #fff; border-radius: var(--x-radius); }
.cta-box h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.cta-box p { margin-top: 8px; color: rgba(255, 255, 255, .75); max-width: 48ch; }
.cta-box > div { flex: 1 1 320px; }

@media (max-width: 1024px) {
  .posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .posts, .posts--2, .form__row { grid-template-columns: 1fr; }
  .form__row { gap: 0; }
  .wrap--narrow { width: calc(100% - 36px); }
  .cta-box .btn { width: 100%; }
}

/* ---------- Parceiros ---------- */
.partners { padding: clamp(64px, 8vw, 110px) 0; border-top: 1px solid var(--line); }
.partners__head { margin-bottom: clamp(30px, 4vw, 48px); }
.partners__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.partners__list { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.partner-card { display: flex; align-items: center; gap: 24px; padding: 24px; background: var(--paper); border-radius: var(--x-radius); box-shadow: 0 0 0 1px var(--line); transition: transform .35s ease, box-shadow .35s ease; }
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partner-card img { width: 104px; height: 104px; flex: none; object-fit: cover; border-radius: var(--x-radius-sm); }
.partner-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.partner-card p { color: var(--muted); font-size: .95rem; line-height: 1.55; }
.partner-card__link { display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; color: var(--x-link); }
.partner-card__link::after { content: " →"; }
@media (max-width: 860px) { .partners__list { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .partner-card { gap: 16px; padding: 18px; } .partner-card img { width: 76px; height: 76px; } }
