/* Ira Gobato — PASS-1 visual fidelity (Elementor post-17/45/25) */
:root {
  --gold: #f8b51b;
  --gold-hot: #ffab00;
  --green: #1ca622;
  --wa: #25d366;
  --ink: #1c1c1c;
  --ink-2: #212121;
  --muted: #515151;
  --muted-2: #757575;
  --line: #efefef;
  --white: #ffffff;
  --navy: #000080;
  --font-display: "Cormorant Garamond", "Cormorant", "Cormorant Infant", Georgia, serif;
  --font-cormorant: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --font-infant: "Cormorant Infant", "Cormorant Garamond", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;
  --font-serif: "Noto Serif", Georgia, serif;
  --container: 1140px;
  --header-h: 92px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hot); text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink-2);
  margin: 0 0 0.75rem;
}
p { margin: 0 0 1rem; }
ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  max-width: 100%;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: 0; font-family: var(--font-serif);
  font-weight: 800; letter-spacing: 1.3px; text-transform: none;
  font-size: 15px; border: 2px solid transparent; transition: 0.2s ease;
  cursor: pointer; text-decoration: none;
}
.btn-gold {
  background: var(--gold); color: #000 !important; border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-hot); color: #000 !important; }
.btn-accent {
  border-style: solid;
  border-width: 0 0 0 5px;
  border-color: #515151;
  padding: 18px 46px;
  letter-spacing: 1.3px;
}
.btn-accent:hover {
  background: var(--green);
  color: #fff !important;
  border-color: transparent;
}
.btn-outline {
  background: transparent; color: var(--white); border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--ink); }
.btn-outline-gold {
  background: transparent;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
  font-family: Roboto, var(--font-body), sans-serif;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.7rem 1.4rem;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff !important;
  border-color: var(--gold);
}
.btn-outline-gold-solid {
  background: #fff;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
  font-family: Roboto, var(--font-body), sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
}
.btn-outline-gold-solid:hover {
  background: var(--gold);
  color: #fff !important;
}
.btn-wa {
  background: var(--wa); color: #fff !important; border-color: var(--wa);
}
.btn-wa:hover { filter: brightness(1.05); color: #fff !important; }
.btn-dark {
  background: var(--ink); color: #fff; border-color: var(--ink);
}
.btn-dark:hover { background: #000; color: #fff; }

/* ========== Header (post-45 / 18a5e3c) ========== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 0;
  min-height: var(--header-h);
  width: 100%;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.site-logo img {
  width: auto;
  max-width: 69%;
  height: auto;
  max-height: 72px;
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  flex-direction: column; justify-content: center; gap: 6px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 24px; background: var(--gold); margin-inline: auto;
}
.main-nav > ul {
  list-style: none; display: flex; align-items: center; gap: 0;
  margin: 0; padding: 0;
}
.main-nav a, .main-nav .nav-parent {
  display: block;
  padding: 0.65rem 13px;
  color: var(--gold);
  font-family: var(--font-cormorant);
  font-size: 20px;
  font-weight: 700;
  background: none; border: 0;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.main-nav a:hover,
.main-nav a:focus,
.main-nav a.active,
.main-nav .nav-parent:hover,
.main-nav .nav-parent.active {
  color: #fff;
}
.has-children { position: relative; }
.sub-menu {
  display: none;
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--navy);
  border: 0;
  box-shadow: none;
  list-style: none; margin: 0; padding: 0; z-index: 20;
}
.has-children:hover > .sub-menu,
.has-children.open > .sub-menu { display: block; }
.sub-menu li:not(:last-child) {
  border-bottom: 1px solid #fff;
}
.sub-menu a {
  padding: 0.7rem 1rem;
  white-space: nowrap;
  font-family: var(--font-cormorant);
  font-size: 20px;
  font-weight: 600;
  color: var(--gold);
}
.sub-menu a:hover,
.sub-menu a:focus,
.sub-menu a.active {
  color: #fff;
  background: var(--navy);
}

/* ========== Hero slides (post-17) ========== */
.hero {
  position: relative;
  height: 600px;
  min-height: 600px;
  background: #000 center/cover no-repeat;
  color: #fff;
  overflow: hidden;
  max-width: 100%;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease;
  background: center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero-slide::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 47%;
  padding: 0 1rem 0 150px;
  width: 100%;
}
.hero-content h1,
.hero-content .hero-title {
  font-family: "Cormorant Garamond", var(--font-display);
  font-size: 1.5em;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2em;
  letter-spacing: 10px;
  margin-bottom: 1.25rem;
}
.hero-content hr {
  width: 80px;
  border: 0;
  border-top: 1px solid var(--gold);
  margin: 0 0 1.5rem;
}
.hero-content .btn {
  text-transform: none;
}
.hero-dots {
  position: absolute; z-index: 3; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.5rem;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45);
  cursor: pointer;
}
.hero-dots button.is-active { background: var(--gold); }

/* ========== Sections ========== */
.section { padding: 4rem 0; }
.section-tight { padding-top: 0.5rem; }
.section-alt { background: #f7f5f0; }
.section-title {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}
.section-title.left { text-align: left; }
.section-title-gold {
  font-family: var(--font-cormorant);
  font-size: 29px;
  font-weight: 600;
  color: var(--gold);
}

/* Bio intro — light band: huge gold title LEFT (~69%) + photo RIGHT (~31%) */
.section-bio-intro {
  background: #fff;
  color: inherit;
  padding: 0;
  min-height: 20vh;
}
.split-bio-intro {
  grid-template-columns: 69fr 31fr;
  gap: 1.5rem;
  align-items: center;
}
.bio-title-col {
  display: flex;
  align-items: center;
}
.bio-name {
  font-family: var(--font-infant);
  font-size: clamp(2.2rem, 6vw, 6.2rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -0.6px;
  color: var(--gold) !important;
  margin: 0;
  text-transform: capitalize;
}
.bio-photo img {
  width: 100%;
  box-shadow: 0 0 56px 0 rgba(0, 0, 0, 0.5);
  border-radius: 0;
}

/* Bio copy — navy gradient band */
.section-bio {
  background-color: transparent;
  background-image: linear-gradient(160deg, #000080 100%, rgba(255,255,255,0) 51%);
  background-color: var(--navy);
  color: #efefef;
  padding: 40px 0 5px;
}
.section-bio .bio-copy {
  max-width: 700px;
  margin-inline: auto;
}
.section-bio .bio-copy p {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.5em;
  color: #efefef;
  text-align: justify;
}
.bio-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 26px;
  letter-spacing: 10px;
  color: #efefef !important;
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  text-align: center;
}
.section-bio .btn {
  margin-top: 0.5rem;
}
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}
.split img { width: 100%; object-fit: cover; }
.split.reverse { grid-template-columns: 0.95fr 1.05fr; }
.split.reverse .split-media { order: 2; }

/* Services cards */
.section-services {
  background: #f7f5f0;
}
.service-card {
  position: relative;
  background: url("/assets/img/fundo.jpg") center/cover no-repeat;
  border: 2px solid rgba(255, 171, 0, 0.62);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: none;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 4px;
  background: var(--gold);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  line-height: 1;
}
.service-card h3 {
  font-size: 1.5em;
  color: #212121;
  margin-bottom: 0.5rem;
}
.gold-rule {
  width: 60px;
  border: 0;
  border-top: 3px solid var(--gold);
  margin: 0.5rem auto 1rem;
}
.service-card p {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7em;
  color: #757575;
  text-align: center;
}
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.75rem;
}

/* Projetos CTA band */
.section-projetos-cta {
  position: relative;
  background-color: var(--navy);
  background-image: url("/assets/img/bg.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 0;
}
.section-projetos-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(28, 28, 28, 0.38);
}
.section-projetos-cta > * { position: relative; z-index: 1; }
.projetos-cta-title {
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1em;
  color: #fff !important;
  font-size: clamp(1.5rem, 3.5vw, 48px);
  margin-bottom: 1.5rem;
}
.icon-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.icon-list li {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
}
.icon-list li::before {
  content: "✦";
  color: var(--gold);
  flex-shrink: 0;
}
.icon-list-light li {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.icon-list-light li::before {
  color: var(--navy);
}
.section:not(.section-projetos-cta) .icon-list:not(.icon-list-light) li {
  color: var(--ink);
  border-bottom-color: var(--line);
}
.gold-shadow {
  border-radius: 10px;
  box-shadow: 15px 15px 0 0 #F8B51B;
}
.projetos-cta-media { padding-bottom: 15px; padding-right: 15px; }

/* Trabalhos teaser */
.section-trabalhos .works-teaser {
  grid-template-columns: repeat(3, 1fr);
}
.work-teaser {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}
.work-teaser img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* Gallery — Elementor masonry (natural image heights) */
.gallery {
  column-count: 3;
  column-gap: 1rem;
}
.gallery a, .gallery figure, .gallery-item {
  margin: 0 0 1rem;
  position: relative;
  overflow: hidden;
  display: block;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  width: 100%;
}
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .35s ease;
}
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption, .gallery .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.65rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; font-size: 0.82rem;
}
/* Home trabalhos teaser stays equal-row grid */
.section-trabalhos .works-teaser {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  column-count: auto;
}
.section-trabalhos .works-teaser .work-teaser {
  margin: 0;
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.gallery-item:hover .gallery-overlay,
.gallery-item:focus .gallery-overlay {
  opacity: 1;
}
.gallery-overlay-title {
  font-family: var(--font-cormorant);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.gallery-overlay-cap {
  font-size: 0.8rem;
  margin-top: 0.4rem;
  opacity: 0.9;
}

/* Filters — Elementor gallery titles */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 1.75rem;
}
.filters button {
  border: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.55rem 0.95rem;
  font-family: var(--font-cormorant);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 5px;
}
.filters button.is-active,
.filters button:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* Simple page title (single template / post-286) — NO dark hero */
.page-title-section {
  padding: 2rem 0 0.5rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
}
.page-title {
  font-family: var(--font-cormorant);
  font-size: 2rem;
  font-weight: 700;
  color: #000;
  margin: 0;
  text-align: left;
}

/* Prose */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-family: "Cormorant Garamond", var(--font-display);
  font-weight: 800;
  color: #000;
}
.prose.wide { max-width: 960px; }

/* Radiestesia graphs */
.graphs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.graph {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem;
}
.graph img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 0.75rem;
}
.graph h3 { font-size: 1.1rem; margin: 0; }

/* Works */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.work-card {
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}
.work-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
}
.work-card h3 {
  padding: 1rem 1.1rem 1.2rem;
  font-size: 1.25rem;
  margin: 0;
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--navy);
  color: #fff;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  margin-bottom: 1.25rem;
}

/* Magazine */
.mag-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.mag-grid img { width: 100%; height: auto; }

/* Footer */
.site-footer {
  background: #000080;
  color: #ddd;
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-col h3 {
  color: var(--gold);
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}
.footer-col a { color: #eee; }
.footer-col a:hover { color: var(--gold); }
.social-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-bar {
  background: #000080;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1rem 0;
  font-size: 0.88rem;
  color: #aaa;
}
.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-bar a { color: #ccc; }
.footer-policies { display: flex; gap: 0.5rem; align-items: center; }

/* Floating WA */
.float-wa {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--wa);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.float-wa:hover { transform: scale(1.06); }
.float-wa img { width: 28px; height: 28px; }

/* Misc */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.08rem; color: var(--muted); }

/* Legacy page-hero disabled (invented dark heroes removed) */
.page-hero {
  padding: 2rem 0 0.5rem;
  background: #fff;
  color: #000;
  text-align: left;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.page-hero::before { display: none; }
.page-hero h1 {
  color: #000;
  font-family: var(--font-cormorant);
  font-size: 2rem;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .hero-content {
    padding-left: 2rem;
    max-width: 70%;
  }
  .bio-name { font-size: 52px; }
  .bio-copy p, .bio-eyebrow { text-align: center; }
  .section-bio-intro { padding: 1em; }
  .section-bio { padding: 1em; }
  .section-bio .btn { margin-inline: auto; }
  .bio-eyebrow { letter-spacing: 1px; }
}

@media (max-width: 960px) {
  .split, .split.reverse, .split-bio-intro { grid-template-columns: 1fr; }
  .split-bio-intro { text-align: center; justify-items: center; }
  .split.reverse .split-media { order: 0; }
  .cards-2, .works-grid, .mag-grid { grid-template-columns: 1fr; }
  .gallery { column-count: 2; }
  .section-trabalhos .works-teaser { grid-template-columns: repeat(2, 1fr); }
  .graphs { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .projetos-cta-title { text-align: center; }
  .section-projetos-cta .icon-list { text-align: left; }
  .gold-shadow { box-shadow: 10px 10px 0 0 #F8B51B; }
}

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: var(--navy);
    padding: 1rem;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow: auto;
    border-top: 1px solid rgba(255,255,255,.15);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; }
  .sub-menu {
    position: static;
    box-shadow: none;
    border: 0;
    display: none;
    padding-left: 0.75rem;
    background: var(--navy);
  }
  .has-children.open > .sub-menu { display: block; }
  .gallery { column-count: 1; }
  .section-trabalhos .works-teaser { grid-template-columns: 1fr; }
  .hero {
    height: auto;
    min-height: 420px;
  }
  .hero-slide { min-height: 420px; }
  .hero-content {
    max-width: 100%;
    padding: 2rem 1.25rem;
  }
  .hero-content .hero-title {
    letter-spacing: 4px;
    font-size: 1.15em;
  }
  .bio-name {
    font-size: 33px;
    line-height: 50px;
  }
  .container {
    width: min(100% - 1.5rem, var(--container));
  }
  .section-projetos-cta .split {
    gap: 2rem;
  }
  .projetos-cta-media {
    padding-right: 10px;
    padding-bottom: 10px;
  }
  .filters button {
    font-size: 12px;
    padding: 0.5rem 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-content .hero-title {
    letter-spacing: 2px;
  }
  .btn-accent {
    padding: 14px 28px;
  }
  .graphs { grid-template-columns: 1fr 1fr; }
}
