/* =========================================================
   Páginas internas (Quem somos, Coberturas, Contato)
   Mesmo visual da Home: usa secoes.css + hero-a.css e acrescenta
   só o que é próprio destas páginas.
   ========================================================= */

/* menu: página atual sublinhada */
.head__nav a[aria-current="page"]::after { transform: scaleX(1); }
.head__mobile a[aria-current="page"] { color: var(--turquesa-escuro); }
[id] { scroll-margin-top: 90px; }

/* ---------- topo da página: foto com título, mais baixo que o da Home ---------- */
.hero-a--page { min-height: min(82svh, 820px); padding-top: 120px; }
.hero-a--page h1 { font-size: clamp(2.7rem, 1.1rem + 5.4vw, 6.4rem); }
.crumb { display: flex; align-items: center; gap: 10px; margin: 0 0 -20px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.crumb a:hover { color: #fff; }
.crumb span[aria-hidden] { opacity: .5; }

/* títulos de seção com a segunda linha em cursiva, como na Home */
.t-sec { font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.4rem); margin-bottom: 22px; }
.t-sec .script { display: block; font-size: 1.15em; line-height: 1.1; color: var(--turquesa-escuro); }
.dark .t-sec { color: #fff; }
.dark .t-sec .script { color: var(--turquesa); }
.lead { font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.45; letter-spacing: -0.01em; }
.muted { color: var(--ink-soft); }

/* ---------- Quem somos: abertura ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 110px); align-items: start; padding-block: clamp(80px, 10vw, 150px); }
.intro__text { display: grid; gap: 22px; }
.intro__text p { margin: 0; }

/* ---------- Quem somos: linha do tempo com foto fixa ---------- */
.hist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; padding-bottom: clamp(90px, 11vw, 160px); }
.hist__media { position: sticky; top: 110px; }
.hist__ph { overflow: hidden; }
.hist__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hist__media figcaption { margin-top: 14px; font-size: .95rem; color: var(--ink-soft); max-width: 40ch; }
.tl { border-top: 1px solid var(--ink); }
.tl li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding-block: clamp(24px, 2.6vw, 34px); border-bottom: 1px solid var(--line); }
.tl__when { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); line-height: 1; color: var(--turquesa-escuro); }
.tl h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); line-height: 1.15; margin-bottom: 8px; }
.tl p { color: var(--ink-soft); max-width: 46ch; }

/* ---------- Quem somos: fala do fundador (bloco escuro) ---------- */
.founder { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding-block: clamp(90px, 11vw, 160px); }
.founder__ph { overflow: hidden; }
.founder__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.founder blockquote { margin: 0; }
.founder blockquote p { font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); line-height: 1.28; letter-spacing: -0.01em; color: #fff; margin-bottom: 28px; }
.founder cite { font-style: normal; color: #B9B2A8; font-size: .95rem; }
.founder cite strong { display: block; color: #fff; font-weight: 400; font-family: var(--script); font-size: 2.4rem; line-height: 1.1; margin-bottom: 2px; }

/* ---------- Quem somos: pilares ---------- */
.pillars { padding-block: clamp(90px, 11vw, 160px); }
.pillars__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 60px; margin-bottom: clamp(36px, 5vw, 64px); }
.pillars__head p { max-width: 42ch; color: var(--ink-soft); margin: 0; }
.pillars__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 36px); }
.pillar__ph { overflow: hidden; margin-bottom: 22px; }
.pillar__ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1s var(--ease); }
.pillar:hover .pillar__ph img { transform: scale(1.05); }
.pillar__n { display: block; font-size: .85rem; letter-spacing: .14em; color: var(--turquesa-escuro); margin-bottom: 8px; }
.pillar h3 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.9rem); margin-bottom: 10px; }
.pillar p { color: var(--ink-soft); max-width: 36ch; }
.pillar:nth-child(2) { margin-top: clamp(0px, 5vw, 70px); }

/* ---------- Coberturas: serviços em detalhe ---------- */
.svcd { padding-block: clamp(80px, 10vw, 150px); }
.svcd__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 90px); }
.svcd__head .t-sec { margin: 0; }
.svcd__head p { color: var(--ink-soft); max-width: 44ch; margin: 0; }
.svcd__item { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.svcd__item + .svcd__item { margin-top: clamp(72px, 9vw, 140px); }
.svcd__item:nth-child(even) .svcd__ph { order: 2; }
.svcd__ph { overflow: hidden; }
.svcd__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svcd__text h3 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.8rem); margin: 10px 0 16px; }
.svcd__text > p { color: var(--ink-soft); max-width: 44ch; }
.svcd__text .checks { margin-bottom: 0; }
.svcd__text .svc__n { color: var(--turquesa-escuro); }

/* ---------- Coberturas: portfólio com filtros (bloco escuro) ---------- */
.pf { padding-block: clamp(80px, 10vw, 140px); }
.pf__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px 60px; margin-bottom: clamp(28px, 3vw, 44px); }
.pf__head .t-sec { margin: 0; }
.pf__head p { color: #B9B2A8; max-width: 40ch; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 3vw, 44px); }
.filter { min-height: 46px; padding: 0 20px; border: 1px solid var(--dark-line); border-radius: 999px; background: transparent; color: #EDE8E1; font: 500 .95rem/1 var(--sans); cursor: pointer; transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.filter:hover { border-color: #EDE8E1; transform: translateY(-2px); }
.filter[aria-pressed="true"] { background: var(--turquesa); border-color: var(--turquesa); color: #fff; }
.gallery { columns: 3; column-gap: clamp(12px, 1.6vw, 22px); }
.gallery__item { break-inside: avoid; display: block; width: 100%; margin: 0 0 clamp(12px, 1.6vw, 22px); padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.gallery__item img { width: 100%; transition: transform 1s var(--ease), filter .5s; filter: saturate(.9); }
.gallery__item:hover img { transform: scale(1.05); filter: saturate(1.05); }
.gallery__item[hidden] { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: clamp(16px, 4vw, 64px); background: rgba(15, 17, 18, .95); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 86svh; width: auto; height: auto; }
.lightbox .round { position: absolute; color: #fff; border-color: rgba(255,255,255,.4); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }

/* ---------- Contato ---------- */
.cpage { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; padding-block: clamp(80px, 10vw, 140px); }
.cpage__form { background: var(--paper); padding: clamp(28px, 4.4vw, 64px); }
.cpage__form .t-sec { margin-bottom: 12px; }
.cpage__form > p { color: var(--ink-soft); margin-bottom: 32px; }
.fl label { display: block; }
.fl small { color: #9A9188; }
.fl select { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 8px 0 10px; font: 400 1rem/1.4 var(--sans); color: var(--ink); border-radius: 0; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%2323201D' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; background-size: 18px; }
.fl select:focus { outline: none; border-color: var(--turquesa); }
.fl input::placeholder, .fl textarea::placeholder { color: #B4ABA0; }
.fl .error { color: #B3261E; font-size: .85rem; }
.fl.has-error input, .fl.has-error textarea, .fl.has-error select { border-color: #B3261E; }
.alert { padding: 16px 20px; border-radius: 14px; margin-bottom: 28px; font-size: .98rem; }
.alert--ok { background: #DDF5F3; color: #0B4F4C; }
.alert--err { background: #FDE7E4; color: #8A1F14; }
.cpage__aside { display: grid; gap: clamp(20px, 2.4vw, 28px); position: sticky; top: 110px; }
.cpage__wa { background: #0F2827; color: #C9D8D5; border-radius: 22px; padding: clamp(26px, 3vw, 38px); }
.cpage__wa h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); margin-bottom: 10px; }
.cpage__wa p { margin-bottom: 24px; }
.cpage__wa .btn { width: 100%; }
.channels { display: grid; gap: 18px; padding: 4px 4px 0; }
.channels li { display: flex; align-items: center; gap: 14px; }
.channels .ico-box { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(11,178,173,.12); color: var(--turquesa-escuro); flex: none; }
.channels .ico-box svg { width: 20px; height: 20px; }
.channels small { display: block; font-size: .78rem; color: var(--ink-soft); line-height: 1.3; }
.channels a, .channels b { font-weight: 500; overflow-wrap: anywhere; }
.channels a:hover { color: var(--turquesa-escuro); }
.cpage__ph { overflow: hidden; }
.cpage__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- tablet e celular ---------- */
@media (max-width: 1080px) {
  .intro, .hist, .founder, .svcd__head, .svcd__item, .cpage { grid-template-columns: 1fr; }
  .hist__media, .cpage__aside { position: relative; top: 0; }
  .hist__ph img { aspect-ratio: 4 / 3; }
  .founder__ph { max-width: 520px; }
  .svcd__item:nth-child(even) .svcd__ph { order: 0; }
  .gallery { columns: 2; }
}
@media (max-width: 760px) {
  .pillars__list { grid-template-columns: 1fr; }
  .pillar:nth-child(2) { margin-top: 0; }
  .tl li { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 640px) {
  .hero-a--page { min-height: 72svh; }
  .hero-a--page h1 { font-size: 11vw; }
  .gallery { column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .lightbox .round { width: 46px; height: 46px; }
  .cpage__form .btn { width: 100%; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; translate: none; }
}

/* ---------- Política de privacidade ---------- */
.legal { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 110px); align-items: start; padding-block: clamp(150px, 16vw, 210px) clamp(80px, 10vw, 140px); }
.legal__head { position: sticky; top: 120px; }
.crumb--ink { color: var(--ink-soft); margin: 0 0 18px; }
.crumb--ink a:hover { color: var(--ink); }
.legal__body { max-width: 68ch; }
.legal__body .lead { margin-bottom: 36px; }
.legal__body h2 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); margin: 40px 0 12px; }
.legal__body p, .legal__body li { color: var(--ink-soft); }
.legal__body ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }
.legal__body li + li { margin-top: 6px; }
.legal__body a { color: var(--turquesa-escuro); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .legal { grid-template-columns: 1fr; } .legal__head { position: relative; top: 0; } }


/* ---------- Coberturas: case em destaque (casamento Hang) ---------- */
.case { padding-block: clamp(80px, 10vw, 140px) 0; }
.case__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.case__head .t-sec { margin: 0; }
.case__text .lead { margin-bottom: 18px; }
.case__text .checks { margin: 0; }
.case__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 250px); gap: clamp(8px, 1vw, 14px); }
.case__grid .gallery__item { margin: 0; height: 100%; }
.case__grid .gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.case__grid .gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.case__grid .gallery__item:nth-child(6), .case__grid .gallery__item:nth-child(7), .case__grid .gallery__item:nth-child(10) { grid-column: span 2; }
.case__credit { margin: 14px 0 0; font-size: .85rem; color: var(--ink-soft); text-align: right; }
@media (max-width: 1080px) { .case__head { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .case__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
  .case__grid .gallery__item:nth-child(6), .case__grid .gallery__item:nth-child(7) { grid-column: auto; }
}
