/* Layout: hero fotográfico em tela cheia, seções em faixas alternadas (creme / sálvia / oliva) separadas por ondas orgânicas; fotos em arco. */
:root {
  /* Marcela Nobrega */
  --cream: #f7f1e8;
  --cream-2: #efe5d6;
  --sage: #a9b48f;
  --sage-soft: #dfe3d0;
  --olive: #4f5a2e;
  --olive-deep: #343d1c;
  --blush: #e9c7bb;
  --blush-deep: #c98d7c;
  --ink: #2c2a24;
  --ink-soft: #5d5a4f;
  --white: #fffdf9;

  /* Basalto Webdesign (brandbook) */
  --bs-dark: #004840;
  --bs-mid: #28635b;
  --bs-light: #7a9e97;
  --bs-grey: #e9e8e9;
  --bs-ink: #1a1a1a;

  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Jost", "Segoe UI", system-ui, sans-serif;
  --f-bs-title: "Playfair Display", Georgia, serif;
  --f-bs-text: "Montserrat", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blush-deep); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "SOFT" 100, "WONK" 0;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--blush-deep); }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 40px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}

/* ---------- Faixa Basalto (aviso de site modelo) ---------- */
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 22px;
  background: var(--bs-dark);
  color: var(--bs-grey);
  text-decoration: none;
  font-family: var(--f-bs-text);
  font-size: 0.82rem;
  line-height: 1.45;
  text-align: center;
  padding-block: 10px;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
  transition: background .25s ease;
}
.demo-bar:hover { background: var(--bs-mid); }
.demo-logo { width: 110px; height: auto; flex: none; }
.demo-txt { min-width: 0; }
.demo-txt strong { font-family: var(--f-bs-title); font-weight: 700; }
.demo-cta {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--bs-grey);
  color: var(--bs-dark);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .04em;
  white-space: nowrap;
  transition: background .25s, color .25s;
}
.demo-cta span { transition: transform .25s; }
.demo-bar:hover .demo-cta { background: var(--white); }
.demo-bar:hover .demo-cta span { transform: translateX(3px); }
.demo-bar-foot { padding-block: 16px; border-top: 1px solid var(--bs-mid); }

/* ---------- Navegação ---------- */
.site-top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 30;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 31; background: var(--bs-dark); }
.nav {
  position: relative;
  z-index: 20;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--olive) 14%, transparent);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { text-decoration: none; display: grid; line-height: 1.1; }
.brand-name { font-family: var(--f-display); font-size: 1.55rem; font-weight: 300; color: var(--olive-deep); }
.brand-name em { font-style: italic; }
.brand-sub { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.menu { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: .92rem; }
.menu a { text-decoration: none; color: var(--ink); }
.menu a:not(.btn):hover { color: var(--blush-deep); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-olive { background: var(--olive); color: var(--cream); }
.btn-olive:hover { background: var(--olive-deep); }
.btn-blush { background: var(--blush); color: var(--olive-deep); }
.btn-blush:hover { background: var(--white); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: var(--white); color: var(--olive-deep); border-color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: .74rem; }

.menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 86vh, 860px);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  z-index: -2;
  animation: heroZoom 14s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(40,46,20,.78) 0%, rgba(40,46,20,.45) 38%, rgba(40,46,20,0) 65%),
    linear-gradient(0deg, rgba(40,46,20,.55) 0%, rgba(40,46,20,0) 45%);
}
.hero .wrap { padding-block: 0 150px; }
.hero-copy { max-width: 600px; display: grid; gap: 22px; }
.hero .eyebrow { color: var(--blush); }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 5.4rem); }
.hero h1 em { color: var(--blush); }
.hero p { font-size: 1.12rem; max-width: 470px; color: color-mix(in srgb, var(--white) 88%, transparent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(50px, 7vw, 110px); display: block; }

/* ---------- Pilares ---------- */
.pillars { padding-block: 40px 100px; text-align: center; }
.pillars .lead { max-width: 760px; margin: 18px auto 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.3; color: var(--olive-deep); }
.pillars .lead em { color: var(--blush-deep); }
.pillar-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; margin: 64px auto 0; max-width: 980px; padding: 0; list-style: none; }
.pillar-list li { display: grid; justify-items: center; gap: 12px; }
.pillar-list svg { width: 52px; height: 52px; color: var(--olive); }
.pillar-list h3 { font-size: 1.45rem; color: var(--olive-deep); }
.pillar-list p { font-size: .98rem; color: var(--ink-soft); max-width: 280px; }

/* ---------- Sobre ---------- */
.about { background: var(--sage-soft); position: relative; padding-block: 120px; }
.about .wave-top, .about .wave-bottom { position: absolute; left: 0; width: 100%; height: clamp(40px, 5vw, 80px); }
.about .wave-top { top: -1px; }
.about .wave-bottom { bottom: -1px; }
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.arch {
  border-radius: 999px 999px 14px 14px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  background: var(--cream-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.about-photo { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.about-photo .arch img { object-position: 66% 50%; }
.about-photo .badge {
  position: absolute; right: -18px; bottom: 46px;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--blush); color: var(--olive-deep);
  display: grid; place-content: center; text-align: center;
  font-family: var(--f-display); font-size: 1.05rem; line-height: 1.15;
  box-shadow: 0 10px 30px rgba(52,61,28,.15);
  transform: rotate(-8deg);
}
.about-photo .badge strong { display: block; font-size: 2.1rem; font-weight: 300; }
.about-copy { display: grid; gap: 22px; min-width: 0; }
.about-copy h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); color: var(--olive-deep); }
.about-copy p { color: var(--ink-soft); max-width: 58ch; }
.signature { font-family: var(--f-display); font-style: italic; font-weight: 300; font-size: 2rem; color: var(--olive); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 4px 0 0; list-style: none; }
.facts li { padding: 6px 14px; border-radius: 999px; background: var(--white); font-size: .85rem; color: var(--olive-deep); }

/* ---------- Serviços ---------- */
.services { padding-block: 120px 110px; }
.section-head { display: grid; gap: 14px; text-align: center; justify-items: center; margin-bottom: 64px; }
.section-head h2 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); color: var(--olive-deep); }
.section-head p { max-width: 560px; color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(22px, 3vw, 40px); }
.card { display: grid; grid-template-rows: auto 1fr; gap: 26px; text-align: center; }
.card .arch { aspect-ratio: 3 / 4; border: 10px solid var(--white); box-shadow: 0 14px 40px rgba(52,61,28,.10); }
.card:nth-child(2) .arch { background: var(--sage); }
.card-body { display: grid; gap: 12px; justify-items: center; align-content: start; }
.card .tag { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blush-deep); font-weight: 500; }
.card h3 { font-size: 1.9rem; color: var(--olive-deep); }
.card p { color: var(--ink-soft); font-size: .98rem; max-width: 34ch; }
.card .btn { margin-top: 8px; }
.img-pepino { object-position: 72% 50%; }
.img-suco { object-position: 42% 50%; }
.img-supl { object-position: 64% 50%; }

/* ---------- Como funciona ---------- */
.steps-band { background: var(--olive); color: var(--cream); position: relative; padding-block: 140px 130px; }
.steps-band .wave-top, .steps-band .wave-bottom { position: absolute; left: 0; width: 100%; height: clamp(40px, 5vw, 80px); }
.steps-band .wave-top { top: -1px; }
.steps-band .wave-bottom { bottom: -1px; }
.steps-band .section-head h2 { color: var(--cream); }
.steps-band .section-head p { color: color-mix(in srgb, var(--cream) 80%, transparent); }
.steps-band .eyebrow { color: var(--blush); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 34px; counter-reset: step; }
.steps li { display: grid; gap: 12px; align-content: start; padding-top: 26px; border-top: 1px solid color-mix(in srgb, var(--cream) 30%, transparent); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--f-display); font-style: italic; font-size: 2.6rem; font-weight: 300; color: var(--blush); line-height: 1; }
.steps h3 { font-size: 1.45rem; }
.steps p { font-size: .96rem; color: color-mix(in srgb, var(--cream) 80%, transparent); }

/* ---------- Destaque com foto ---------- */
.split { padding-block: 120px; }
.split-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-copy { display: grid; gap: 22px; min-width: 0; }
.split-copy h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); color: var(--olive-deep); }
.split-copy p { color: var(--ink-soft); max-width: 56ch; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 22px; height: 22px; color: var(--blush-deep); margin-top: 3px; }
.split-photo { position: relative; }
.split-photo .frame { border-radius: 14px 14px 999px 999px; overflow: hidden; aspect-ratio: 4/5; max-width: 100%; }
.split-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.split-photo::before { content: ""; position: absolute; inset: 28px -22px -22px 28px; border: 1px solid var(--sage); border-radius: 14px 14px 999px 999px; z-index: -1; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream-2); padding-block: 110px; }
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 0; }
.faq details { border-bottom: 1px solid color-mix(in srgb, var(--olive) 22%, transparent); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 24px; font-family: var(--f-display); font-size: 1.35rem; font-weight: 300; color: var(--olive-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-body); font-size: 1.6rem; color: var(--blush-deep); transition: transform .25s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--ink-soft); max-width: 66ch; }

/* ---------- Contato ---------- */
.contact { background: var(--blush); position: relative; padding-block: 120px 110px; overflow: hidden; }
.contact .wave-top { position: absolute; left: 0; top: -1px; width: 100%; height: clamp(40px, 5vw, 80px); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.contact h2 { font-size: clamp(2.4rem, 5vw, 4rem); color: var(--olive-deep); }
.contact h2 em { color: var(--white); }
.contact-copy { display: grid; gap: 22px; min-width: 0; }
.contact-copy p { color: var(--olive-deep); max-width: 48ch; }
.contact-card { background: var(--white); border-radius: 22px; padding: clamp(26px, 4vw, 44px); display: grid; gap: 22px; box-shadow: 0 20px 50px rgba(52,61,28,.12); min-width: 0; }
.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blush-deep); font-weight: 500; }
.contact-card dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 1.25rem; font-weight: 300; color: var(--olive-deep); line-height: 1.35; }

/* ---------- Rodapé ---------- */
.footer { background: var(--olive-deep); color: color-mix(in srgb, var(--cream) 82%, transparent); padding-block: 70px 40px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand-name { color: var(--cream); font-size: 1.8rem; }
.footer .brand-sub { color: var(--sage); }
.footer h4 { margin: 0 0 12px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--blush); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--blush); }
.footer-bottom { margin-top: 50px; padding-top: 22px; border-top: 1px solid color-mix(in srgb, var(--cream) 18%, transparent); font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .menu { display: none; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--olive) 30%, transparent);
    background: transparent; color: var(--olive-deep); cursor: pointer;
  }
  .nav.open .menu {
    display: grid; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 16px var(--gutter-r) 24px var(--gutter-l);
    border-bottom: 1px solid color-mix(in srgb, var(--olive) 14%, transparent);
  }
  .nav.open .menu a:not(.btn) { display: block; padding: 10px 0; font-size: 1.05rem; }
  .nav.open .menu .btn { margin-top: 8px; }
  .about-grid, .split-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-photo { order: -1; max-width: 460px; justify-self: center; width: 100%; }
  .cards { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; gap: 60px; }
  .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
  body { font-size: 1rem; }
  .hero { min-height: 640px; }
  .hero-img { object-position: 46% 30%; }
  .hero::before { background: linear-gradient(0deg, rgba(40,46,20,.88) 0%, rgba(40,46,20,.55) 45%, rgba(40,46,20,.05) 75%); }
  .hero .wrap { padding-block: 0 90px; }
  .pillar-list { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .about, .services, .split, .faq, .contact { padding-block: 90px; }
  .steps-band { padding-block: 110px 100px; }
  .about-photo .badge { right: 0; width: 108px; height: 108px; font-size: .92rem; }
  .about-photo .badge strong { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .demo-bar { flex-direction: column; gap: 8px; padding-block: 12px; }
  .site-top .demo-bar { flex-direction: row; gap: 6px 12px; padding-block: 8px; font-size: .74rem; line-height: 1.35; }
  .site-top .demo-logo { display: none; }
  .site-top .demo-cta { padding: 4px 12px; font-size: .7rem; }
}

/* ---------- Ajustes ---------- */
.card-body { display: flex; flex-direction: column; align-items: center; }
.card-body p { flex: 1 0 auto; }
.split { overflow-x: clip; }
.split-photo .frame img { object-position: 82% 62%; }
@media (max-width: 620px) {
  .hero { display: block; min-height: 0; background: var(--olive-deep); }
  .hero-img { position: relative; inset: auto; height: 62vh; min-height: 380px; max-height: 520px; object-position: 38% 20%; animation: none; }
  .hero::before { display: none; }
  .hero .wrap { padding-block: 34px 110px; }
  .hero h1 { font-size: 2.55rem; }
}
