/* about-media fill v2 1779925093 */
:root {
  --navy-950: #0f2746;
  --navy-900: #17365f;
  --navy-800: #244a78;
  --slate-900: #1d2733;
  --slate-700: #445466;
  --slate-500: #708195;
  --slate-300: #c8d2dc;
  --slate-200: #dce4eb;
  --slate-100: #edf2f6;
  --white: #ffffff;
  --teal-500: #4db8bb;
  --teal-100: #dff3f1;
  --sand-100: #f6f3ef;
  --shadow-sm: 0 10px 30px rgba(15, 39, 70, 0.08);
  --shadow-md: 0 24px 60px rgba(15, 39, 70, 0.12);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--slate-900);
  background:
    radial-gradient(circle at top left, rgba(77, 184, 187, 0.08), transparent 35%),
    linear-gradient(180deg, #f9fbfc 0%, #ffffff 30%);
  line-height: 1.6;
}

.elementor-template-full-width .elementor-section.elementor-section-boxed > .elementor-container,
.elementor-template-full-width .elementor-section.elementor-section-boxed > .e-con,
.elementor-page .elementor-widget-html,
.elementor-page .elementor-widget-html .elementor-widget-container {
  max-width: 100% !important;
  width: 100% !important;
}

.elementor-page .elementor-widget-html .elementor-widget-container {
  padding: 0;
}

main {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
}

.section-muted {
  background: var(--sand-100);
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 40%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900));
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--teal-500);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Merriweather", serif;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0;
  color: var(--slate-700);
}

.section-dark p,
.section-dark li {
  color: rgba(255, 255, 255, 0.82);
}

.lead {
  font-size: 1.08rem;
}

.text-accent {
  color: var(--teal-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
}

.btn-secondary {
  color: var(--navy-900);
  background: var(--white);
  border-color: var(--slate-300);
}

.btn-secondary:hover {
  border-color: var(--teal-500);
  color: var(--teal-500);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--teal-500);
  color: var(--teal-500);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(9, 24, 43, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(7, 19, 35, 0.16);
  transition: background-color var(--transition), backdrop-filter var(--transition), border-color var(--transition), box-shadow var(--transition);
}

/* Quando o JS está carregado e funcionando, o header começa transparente
   sobre o hero e ganha o glass dark ao rolar (.is-scrolled) */
.js-loaded body:not(.home-page) .site-header,
.js-loaded.home-loaded .home-page .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.js-loaded body:not(.home-page) .site-header.is-scrolled {
  background: rgba(9, 24, 43, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(7, 19, 35, 0.16);
}

body:not(.home-page) .brand,
body:not(.home-page) .nav-link,
body:not(.home-page) .nav-toggle,
body:not(.home-page) .menu-button {
  color: var(--white);
}

body:not(.home-page) .site-header.is-scrolled .brand,
body:not(.home-page) .site-header.is-scrolled .nav-link,
body:not(.home-page) .site-header.is-scrolled .nav-toggle,
body:not(.home-page) .site-header.is-scrolled .menu-button {
  color: var(--white);
}

body:not(.home-page) .brand img {
  width: 132px;
}

body:not(.home-page) .nav-link:hover,
body:not(.home-page) .nav-link.active,
body:not(.home-page) .nav-toggle:hover,
body:not(.home-page) .nav-toggle.active,
body:not(.home-page) .nav-item.open > .nav-toggle {
  color: var(--teal-100);
}

body:not(.home-page) .site-header.is-scrolled .nav-link:hover,
body:not(.home-page) .site-header.is-scrolled .nav-link.active,
body:not(.home-page) .site-header.is-scrolled .nav-toggle:hover,
body:not(.home-page) .site-header.is-scrolled .nav-toggle.active,
body:not(.home-page) .site-header.is-scrolled .nav-item.open > .nav-toggle {
  color: var(--teal-100);
}

body:not(.home-page) .menu-button {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
}

body:not(.home-page) .site-header.is-scrolled .menu-button {
  border-color: rgba(255, 255, 255, 0.18);
}

.js-loaded .home-page .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom: 0;
  box-shadow: none;
}

.js-loaded .home-page .site-header.is-scrolled {
  background: rgba(9, 24, 43, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(7, 19, 35, 0.16);
}

.home-page .header-inner {
  min-height: 92px;
  padding-top: 10px;
}

.home-page .brand,
.home-page .nav-link,
.home-page .nav-toggle {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(7, 19, 35, 0.35);
}

.home-page .nav-link:hover,
.home-page .nav-link.active,
.home-page .nav-toggle:hover,
.home-page .nav-toggle.active,
.home-page .nav-item.open > .nav-toggle {
  color: var(--teal-100);
}

.home-page .menu-button {
  border-color: rgba(255, 255, 255, 0.18);
  background: transparent;
  color: var(--white);
}

.home-page .header-cta .btn-primary {
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy-950);
  box-shadow: none;
}

.home-page .header-cta .btn-primary:hover {
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 0.55rem;
  padding-bottom: 0.1rem;
  font-weight: 800;
  color: var(--navy-950);
  flex-shrink: 0;
}

.brand img {
  width: 185px;
  max-width: none;
}

.home-page .brand img {
  width: 118px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link,
.nav-toggle {
  color: var(--slate-700);
  font-size: 1.05rem;
  font-weight: 800;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.nav-caret {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  color: inherit;
  cursor: pointer;
  font-size: 0.85rem;
}

.nav-link:hover,
.nav-link.active,
.nav-toggle:hover,
.nav-toggle.active,
.nav-item.open > .nav-toggle {
  color: var(--navy-900);
}

.nav-item {
  position: relative;
}

.nav-toggle i {
  margin-left: 0.35rem;
  font-size: 0.75rem;
}

.dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 0.4rem);
  min-width: 240px;
  display: grid;
  gap: 0;
  padding: 0.4rem;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 39, 70, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.dropdown a {
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  color: var(--slate-700);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition), background var(--transition);
}

.dropdown a:hover,
.dropdown a.active {
  color: var(--navy-900);
  background: var(--slate-100);
}

.dropdown .dropdown-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.7rem;
  margin-bottom: 0.4rem;
  border-radius: 0;
  border-bottom: 1px solid var(--slate-200);
  color: var(--navy-900);
  background: transparent;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
}

.dropdown .dropdown-all i {
  font-size: 0.78rem;
  color: var(--teal-500);
}

.dropdown .dropdown-all:hover,
.dropdown .dropdown-all.active {
  color: var(--teal-500);
  background: transparent;
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--slate-300);
  background: var(--white);
  color: var(--navy-900);
}

.hero {
  padding: 0;
}

/* ===== Hero slider de serviços (home) ===== */
.hero-slider {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(77, 184, 187, 0.28), transparent 26%),
    radial-gradient(circle at 85% 82%, rgba(77, 184, 187, 0.16), transparent 30%),
    linear-gradient(155deg, var(--navy-950), var(--navy-800));
}

.hero-slides {
  position: relative;
  min-height: 100svh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
  padding: calc(96px + 3.25rem) 1rem 6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hero-slide-inner {
  max-width: 900px;
  margin: 0 auto;
}

.hero-slide .hero-tag {
  margin-bottom: 1.4rem;
}

.hero-slide .hero-tag i {
  font-size: 0.95rem;
  color: var(--teal-500);
}

.hero-slide h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--white);
  text-wrap: balance;
}

.hero-slide .lead {
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
  margin: 0 auto 1.8rem;
}

.hero-slide .hero-actions {
  justify-content: center;
}

.hero-slide .btn-primary {
  background: #ffffff;
  color: var(--navy-950);
  border-color: #ffffff;
  box-shadow: 0 12px 26px rgba(15, 39, 70, 0.28);
}

.hero-slide .btn-primary:hover {
  background: var(--teal-100);
  color: var(--navy-950);
  border-color: var(--teal-100);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-prev {
  left: 1.3rem;
}

.hero-next {
  right: 1.3rem;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.8rem;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 0.25s ease;
}

.hero-dots button.is-active {
  width: 30px;
  background: var(--teal-500);
}

@media (max-width: 768px) {
  .hero-slide {
    padding: calc(88px + 2.5rem) 1rem 5rem;
  }
  .hero-nav {
    width: 42px;
    height: 42px;
    font-size: 0.95rem;
  }
  .hero-prev {
    left: 0.6rem;
  }
  .hero-next {
    right: 0.6rem;
  }
}

.hero-stage {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  height: 100svh;
  background: #102743;
}

.hero-stage-media,
.hero-stage-overlay {
  position: absolute;
  inset: 0;
}

.hero-stage-media {
  overflow: hidden;
  background: #102743;
}

.hero-stage-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 82%;
  display: block;
}

.hero-stage-overlay {
  background:
    linear-gradient(90deg, rgba(10, 26, 47, 0.88) 0%, rgba(10, 26, 47, 0.72) 36%, rgba(10, 26, 47, 0.28) 66%, rgba(10, 26, 47, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 17, 31, 0.08) 0%, rgba(6, 17, 31, 0.3) 100%),
    radial-gradient(circle at 20% 18%, rgba(77, 184, 187, 0.18), transparent 18%),
    radial-gradient(circle at 82% 70%, rgba(255, 255, 255, 0.08), transparent 16%);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: calc(96px + 3.25rem) 1rem 5.5rem;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: heroScrollFloat 1.8s ease-in-out infinite;
}

.hero-scroll-indicator i {
  font-size: 0.95rem;
}

@keyframes heroScrollFloat {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.hero-copy {
  max-width: 620px;
  color: var(--white);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 15ch;
  margin: 1.4rem 0 1.1rem;
  color: var(--white);
  font-size: clamp(2.55rem, 4.8vw, 4.15rem);
  line-height: 1.05;
}

.hero-copy p {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions,
.hero-quick-links,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions {
  margin-top: 2rem;
}

.hero-badge,
.stat-card,
.feature-card,
.service-card,
.detail-card,
.blog-card,
.quote-card,
.contact-card,
.timeline-card,
.faq-item,
.form-shell,
.map-card,
.notice,
.split-card {
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.stats-grid,
.services-grid,
.features-grid,
.detail-grid,
.blog-grid,
.contact-grid,
.timeline-grid,
.split-grid,
.cards-3,
.cards-4 {
  display: grid;
  gap: 1.25rem;
}

.stats-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 2.25rem;
}

.stat-card {
  padding: 1.5rem;
}

.stat-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--navy-950);
  font-size: 1.8rem;
  font-family: "Merriweather", serif;
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-card,
.detail-card,
.blog-card,
.contact-card,
.quote-card,
.timeline-card {
  padding: 1.7rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover,
.feature-card:hover,
.detail-card:hover,
.blog-card:hover,
.contact-card:hover,
.quote-card:hover,
.timeline-card:hover,
.stat-card:hover {
  transform: translateY(-4px);
  border-color: #b7c6d4;
  box-shadow: 0 22px 50px rgba(15, 39, 70, 0.11);
}

.card-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  margin-bottom: 1rem;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--teal-100), #f3fbfb);
}

.service-card ul,
.detail-card ul,
.split-card ul,
.check-list {
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.service-card li,
.detail-card li,
.split-card li,
.check-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-top: 0.55rem;
}

.service-card li::before,
.detail-card li::before,
.split-card li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
}

.split-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
}

.split-copy,
.split-aside {
  padding: 2rem;
}

.split-aside {
  color: var(--white);
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
}

.split-aside .eyebrow {
  color: var(--teal-100);
}

.split-aside h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 0.9rem;
}

.split-aside-text {
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 1.4rem;
}

.story-panel {
  display: grid;
  gap: 1.6rem;
  padding: 2.2rem;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 254, 0.96));
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.story-copy {
  max-width: 760px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.story-card {
  padding: 1.35rem 1.4rem;
  border-radius: 22px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: 0 14px 30px rgba(15, 39, 70, 0.06);
}

.story-card h3 {
  margin-bottom: 0.55rem;
  color: var(--navy-950);
  font-size: 1.18rem;
}

.story-card p {
  color: var(--slate-700);
}

.story-card-accent {
  color: var(--white);
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.story-card-accent h3,
.story-card-accent p {
  color: var(--white);
}

.about-media-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  gap: 0;
  overflow: hidden;
  border-radius: 30px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.about-media-figure {
  position: relative;
  height: 100%;
  min-height: 420px;
  background-color: #dfe7ee;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Quando o JS define a imagem como background (preenche em qualquer navegador),
   escondemos a <img> mantida para SEO/acessibilidade. */
.about-media-figure.has-bg img {
  opacity: 0;
}

.about-media-figure img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-media-copy {
  padding: 2.3rem;
  display: grid;
  align-content: center;
  gap: 1rem;
}

.about-media-copy h2 {
  max-width: 12ch;
}

.about-media-copy .lead {
  color: var(--slate-900);
}

.split-highlight-list {
  display: grid;
  gap: 0.9rem;
}

.split-highlight-item {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.split-highlight-item strong {
  color: var(--white);
  font-size: 1rem;
}

.split-highlight-item span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.process-panel {
  padding: 2.5rem;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(77, 184, 187, 0.08), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.process-panel-header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.process-panel-header h2 {
  margin-bottom: 0.9rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.process-card {
  padding: 1.6rem;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: 0 16px 34px rgba(15, 39, 70, 0.06);
}

.process-step {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 50%;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--teal-100), #f1fbfb);
  font-weight: 800;
}

.process-card h3 {
  margin-bottom: 0.65rem;
  color: var(--navy-950);
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-dark .feature-card,
.section-dark .quote-card,
.section-dark .timeline-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section-dark .card-icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  padding: 2rem;
  align-items: center;
  color: var(--white);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #40afb1, #1c7f9a);
}

.page-hero {
  position: relative;
  margin-top: -82px;
  padding: calc(82px + 6.6rem) 0 5.5rem;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 15%, rgba(77, 184, 187, 0.28), transparent 24%),
    linear-gradient(155deg, var(--navy-950), var(--navy-800));
}

.page-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 3.2rem;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 65%);
}

.page-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  margin-bottom: 1rem;
  text-wrap: balance;
}

.page-hero h1 br {
  display: block;
}

.page-hero h1.title-two-lines {
  max-width: 22ch;
}

.page-hero .lead {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--white);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 2rem;
  align-items: start;
}

.blog-main {
  min-width: 0;
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
}

.post-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  min-height: 0;
  background: linear-gradient(135deg, #dde7ef, #f4f7fb);
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-media-fallback {
  width: 100%;
  min-height: 100%;
  display: grid;
  place-items: center;
  color: var(--navy-800);
  font-size: 2rem;
}

.post-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
}

.post-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
  color: var(--slate-500);
  font-size: 0.9rem;
  font-weight: 700;
}

.post-card-cat {
  color: var(--teal-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.post-card-title {
  font-size: 1.45rem;
  color: var(--navy-950);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-title a:hover,
.sidebar-post-title:hover,
.sidebar-archive-list a:hover {
  color: var(--teal-500);
}

.post-card-excerpt {
  color: var(--slate-700);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: auto;
  color: var(--navy-900);
  font-weight: 800;
}

.blog-sidebar {
  display: grid;
  gap: 1.25rem;
  position: sticky;
  top: 110px;
}

.sidebar-widget,
.post-single-card,
.blog-empty {
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget {
  padding: 1.4rem;
}

.sidebar-widget h2 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: var(--navy-950);
}

.blog-search-form {
  display: grid;
  gap: 0.85rem;
}

.blog-search-input {
  position: relative;
}

.blog-search-input i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--slate-500);
}

.blog-search-input input {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1rem 0.9rem 2.85rem;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: var(--white);
}

.sidebar-post-list,
.sidebar-archive-list {
  display: grid;
  gap: 0.9rem;
}

.sidebar-post-link {
  display: grid;
  gap: 0.35rem;
}

.sidebar-post-title {
  color: var(--navy-950);
  font-weight: 800;
  line-height: 1.35;
}

.sidebar-post-link time,
.sidebar-archive-list a {
  color: var(--slate-700);
}

.sidebar-archive-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-single-card {
  padding: 2rem;
}

.post-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin-bottom: 1.25rem;
  color: var(--slate-500);
  font-weight: 700;
  font-size: 0.92rem;
}

.post-single-meta a {
  color: var(--teal-500);
}

.post-single-cover {
  margin: 0 0 1.5rem;
  overflow: hidden;
  border-radius: 24px;
}

.post-single-cover img {
  width: 100%;
  height: auto;
}

.post-content {
  color: var(--slate-700);
}

.post-content > * + * {
  margin-top: 1.15rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2rem;
  color: var(--navy-950);
}

.post-content ul,
.post-content ol {
  padding-left: 1.2rem;
}

.post-content a {
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.navigation.pagination {
  margin-top: 2rem;
}

.navigation.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.navigation.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 700;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover {
  border-color: var(--teal-500);
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: -2.8rem;
  position: relative;
  z-index: 2;
}

.info-strip .stat-card {
  min-height: 156px;
  background: rgba(255, 255, 255, 0.98);
}

.info-strip .stat-card strong {
  font-size: 1.2rem;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.form-shell {
  padding: 2.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.form-group label,
fieldset legend {
  font-weight: 700;
  color: var(--navy-950);
}

.form-control {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--slate-300);
  border-radius: 14px;
  background: #fbfdff;
  color: var(--slate-900);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(77, 184, 187, 0.14);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

fieldset {
  margin: 1.8rem 0 0;
  padding: 0;
  border: 0;
}

.form-row-tight {
  grid-template-columns: 3fr 1fr;
}

.form-row-3 {
  grid-template-columns: 1.5fr 1.5fr 1fr;
}

@media (max-width: 640px) {
  .form-row-tight,
  .form-row-3 {
    grid-template-columns: 1fr;
  }
}

.form-help {
  display: block;
  margin-top: 0.35rem;
  color: var(--slate-500);
  font-size: 0.86rem;
  line-height: 1.4;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.radio-option,
.check-option {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--slate-300);
  border-radius: 14px;
  background: #fbfdff;
  font-weight: 600;
  color: var(--navy-950);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.radio-option input,
.check-option input {
  margin: 0;
  accent-color: var(--teal-500);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.radio-option:hover,
.check-option:hover {
  border-color: var(--teal-500);
}

.radio-option:has(input:checked),
.check-option:has(input:checked) {
  border-color: var(--teal-500);
  background: var(--teal-100);
}

.form-group-check .check-option {
  display: flex;
  font-weight: 500;
  line-height: 1.5;
}

.check-option a {
  color: var(--navy-900);
  text-decoration: underline;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  overflow: hidden;
}

/* Remove default disclosure marker do <details>/<summary> */
.faq-item > summary {
  list-style: none;
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item > summary::marker {
  display: none;
  content: "";
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border: 0;
  background: transparent;
  color: var(--navy-950);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  user-select: none;
}

.faq-question:hover {
  background: rgba(15, 39, 70, 0.02);
}

.faq-answer-content {
  padding: 0 1.4rem 1.3rem;
}

.faq-item[open] .faq-question i {
  transform: rotate(180deg);
}

.faq-question i {
  transition: transform var(--transition);
}

/* Animação suave ao abrir o details (modern browsers) */
.faq-item[open] .faq-answer {
  animation: faqAnswerOpen 0.3s ease;
}

@keyframes faqAnswerOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.blog-card p,
.detail-card p,
.service-card p,
.contact-card p {
  flex: 1;
}

.blog-cover {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  background: #dfe7ee;
}

.blog-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.blog-meta {
  color: var(--slate-500);
  font-size: 0.92rem;
  font-weight: 700;
}

.blog-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
  color: var(--navy-900);
  font-weight: 800;
}

.contact-grid {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: inherit;
}

.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-card small {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--teal-500);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.quote-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--navy-950);
}

.cta-panel {
  padding: 2.3rem;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(140deg, var(--navy-950), var(--navy-800));
}

.footer {
  padding: 4rem 0 2rem;
  color: rgba(255, 255, 255, 0.9);
  background: #0f2340;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}

.footer h4 {
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 1rem;
}

.footer a,
.footer p,
.footer li {
  color: rgba(255, 255, 255, 0.84);
}

.footer a:hover {
  color: var(--white);
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li,
.footer p + p {
  margin-top: 0.6rem;
}

.footer p:has(> i) {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer p > i {
  flex-shrink: 0;
  width: 1.1rem;
  margin-top: 0.3rem;
  text-align: center;
  color: var(--teal-100);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-bottom-links a:hover {
  color: var(--teal-100);
}

/* .reveal — conteúdo sempre visível imediatamente, sem depender de JS */
.reveal {
  opacity: 1;
  transform: none;
}

/* ============================================================
   SEO Refactor — novos componentes
   ============================================================ */

/* Hero — bullets e CTAs duplos */
.hero-bullets {
  display: grid;
  gap: 0.6rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  max-width: 540px;
}

.hero-bullets li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.hero-bullets li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--teal-500);
}

.hero-actions .btn-whatsapp {
  color: var(--white);
  background: #25d366;
  box-shadow: var(--shadow-sm);
}

.hero-actions .btn-whatsapp:hover {
  background: #1faa54;
}

/* Selo flutuante no hero da home */
.hero-content {
  position: relative;
}

.hero-seal {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  max-width: 32vw;
  z-index: 2;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.45));
  animation: heroSealFloat 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.hero-seal:hover {
  transform: translateY(-50%) scale(1.04);
}

.hero-seal img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes heroSealFloat {
  0%, 100% { transform: translateY(-50%) rotate(-2deg); }
  50% { transform: translateY(calc(-50% - 6px)) rotate(2deg); }
}

@media (max-width: 1080px) {
  .hero-seal {
    width: 160px;
    top: auto;
    bottom: 6.5rem;
    right: 1.2rem;
    transform: none;
    animation: heroSealFloatMobile 4s ease-in-out infinite;
  }
  .hero-seal:hover { transform: scale(1.04); }
  @keyframes heroSealFloatMobile {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: translateY(-5px) rotate(2deg); }
  }
}

@media (max-width: 640px) {
  .hero-seal {
    width: 120px;
    bottom: 5.5rem;
    right: 1rem;
  }
}

/* Banner de Casamento (carro-chefe) */
.wedding-banner {
  position: relative;
  margin: 5rem auto;
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: #102743;
  box-shadow: var(--shadow-md);
}

.wedding-banner-media,
.wedding-banner-overlay {
  position: absolute;
  inset: 0;
}

.wedding-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wedding-banner-overlay {
  background:
    linear-gradient(90deg, rgba(10, 26, 47, 0.85) 0%, rgba(10, 26, 47, 0.65) 45%, rgba(10, 26, 47, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 17, 31, 0.05) 0%, rgba(6, 17, 31, 0.35) 100%);
}

.wedding-banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 1.2rem;
  padding: 4rem 3rem;
  max-width: 640px;
}

.wedding-banner-content .eyebrow {
  color: var(--teal-100);
}

.wedding-banner-content h2 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.wedding-banner-content p {
  color: rgba(255, 255, 255, 0.86);
}

.wedding-banner-content .hero-bullets li {
  color: rgba(255, 255, 255, 0.92);
}

.wedding-banner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.wedding-banner-cta .btn-primary {
  background: var(--white);
  color: var(--navy-950);
  box-shadow: var(--shadow-sm);
}

.wedding-banner-cta .btn-primary:hover {
  background: var(--teal-100);
}

.wedding-banner-cta .btn-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.wedding-banner-cta .btn-secondary:hover {
  border-color: var(--teal-500);
  color: var(--teal-100);
}

/* Bloco de destaque — Apostila de Haia */
.apostila-highlight {
  position: relative;
  overflow: hidden;
  padding: 3.2rem;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 80% 20%, rgba(77, 184, 187, 0.28), transparent 40%),
    linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.apostila-highlight::after {
  content: "\f0ac";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: -40px;
  bottom: -60px;
  font-size: 22rem;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.apostila-highlight .eyebrow {
  color: var(--teal-100);
}

.apostila-highlight h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.apostila-highlight p {
  color: rgba(255, 255, 255, 0.85);
}

.apostila-highlight ul.check-list {
  margin-top: 1.5rem;
}

.apostila-highlight ul.check-list li {
  color: rgba(255, 255, 255, 0.92);
}

.apostila-highlight ul.check-list li::before {
  background: var(--teal-500);
}

.apostila-highlight .btn-primary {
  background: var(--white);
  color: var(--navy-950);
}

.apostila-highlight .btn-primary:hover {
  background: var(--teal-100);
}

.apostila-highlight-art {
  display: grid;
  gap: 0.9rem;
}

.apostila-highlight-art .apostila-stat {
  padding: 1.2rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.3rem;
}

.apostila-highlight-art strong {
  color: var(--white);
  font-family: "Merriweather", serif;
  font-size: 1.6rem;
}

.apostila-highlight-art span {
  color: rgba(255, 255, 255, 0.78);
}

/* Selos abaixo do hero */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 3.5rem 0 1rem;
}

.trust-card {
  padding: 1.6rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0.45rem;
}

.trust-card strong {
  color: var(--navy-950);
  font-family: "Merriweather", serif;
  font-size: 1.85rem;
  line-height: 1.1;
}

.trust-card span {
  color: var(--slate-700);
}

/* FAQ da home (e demais) — versão sem JS necessário também funciona */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1080px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA final */
.cta-final {
  display: grid;
  gap: 1.5rem;
  padding: 3rem;
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  color: var(--white);
}

.cta-final h2 {
  color: var(--white);
}

.cta-final p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin: 0 auto;
}

.cta-final .cta-actions {
  justify-content: center;
}

.cta-final .btn-primary {
  background: var(--white);
  color: var(--navy-950);
}

.cta-final .btn-secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Documento legal (Política de Privacidade, Termos) */
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.legal-meta {
  padding: 0.75rem 1rem;
  margin-bottom: 2rem;
  border-radius: 12px;
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.92rem;
}

.legal-doc h2 {
  margin: 2.4rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--slate-200);
  font-size: 1.55rem;
  color: var(--navy-950);
}

.legal-doc h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.legal-doc h3 {
  margin: 1.6rem 0 0.8rem;
  font-size: 1.2rem;
  color: var(--navy-900);
}

.legal-doc p {
  margin: 0 0 1rem;
  line-height: 1.75;
  color: var(--slate-700);
}

.legal-doc ul.check-list {
  margin-bottom: 1.4rem;
}

.legal-doc a {
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-doc a:hover {
  color: var(--teal-500);
}

.cartorio-form-notice {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.4rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 24px;
  border: 1px solid transparent;
  box-shadow: 0 18px 40px rgba(15, 39, 70, 0.08);
}

.cartorio-form-notice-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}

.cartorio-form-notice-content h3 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}

.cartorio-form-notice-content p {
  margin: 0;
}

.cartorio-form-notice-content p + p {
  margin-top: 0.75rem;
}

.cartorio-form-notice-protocol {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 1rem 0 0.25rem;
  padding: 0.9rem 1rem;
  min-width: min(100%, 320px);
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px dashed rgba(15,39,70,0.18);
}

.cartorio-form-notice-protocol span {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-700);
}

.cartorio-form-notice-protocol strong {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  color: var(--navy-950);
  word-break: break-word;
}

.cartorio-form-notice-success {
  background: linear-gradient(135deg, rgba(223, 243, 241, 0.98), rgba(255, 255, 255, 0.98));
  border-color: rgba(77, 184, 187, 0.32);
}

.cartorio-form-notice-success .cartorio-form-notice-icon {
  background: linear-gradient(135deg, #1db26b, #4db8bb);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(29, 178, 107, 0.25);
}

.cartorio-form-notice-success h3 {
  color: #0f6a57;
}

.cartorio-form-notice-success p {
  color: #24564d;
}

.cartorio-form-notice-error {
  grid-template-columns: 1fr;
  background: linear-gradient(135deg, #fff5f6, #fffefe);
  color: #9f1239;
  border-color: #fecdd3;
}

.legal-contact {
  margin: 1rem 0 1.6rem;
  padding: 1.2rem 1.4rem;
  border-left: 3px solid var(--teal-500);
  background: rgba(77, 184, 187, 0.06);
  border-radius: 4px 12px 12px 4px;
}

.legal-contact p {
  margin: 0.25rem 0;
}

@media (max-width: 640px) {
  .legal-doc {
    padding: 1.6rem;
  }
}

/* Galeria de fotos (página Sobre) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  background-color: var(--white);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item.has-bg img {
  opacity: 0;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(15, 39, 70, 0.14);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1080px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Botão flutuante de WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: #25d366;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float i {
  font-size: 1.4rem;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 48px rgba(37, 211, 102, 0.5);
  color: var(--white);
}

@media (max-width: 640px) {
  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    padding: 0.85rem 1rem;
  }
  .whatsapp-float-label {
    display: none;
  }
}

/* Footer expandido */
.footer-grid {
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.footer-brand .brand-footer img {
  width: 165px;
}

.footer-brand p {
  margin-top: 1rem;
}

.footer-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-nav a:hover {
  color: var(--teal-100);
}

.footer-social {
  display: inline-flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.1rem;
  transition: background var(--transition), color var(--transition);
}

.footer-social a:hover {
  background: var(--teal-500);
  color: var(--white);
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wedding-banner-content {
    padding: 3rem 2rem;
  }
  .apostila-highlight {
    grid-template-columns: 1fr;
    padding: 2.4rem;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .wedding-banner {
    min-height: 460px;
    margin: 3rem auto;
  }
  .wedding-banner-content {
    padding: 2.2rem 1.4rem;
  }
  .cta-final {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 1080px) {
  .contact-grid,
  .split-card,
  .banner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .about-media-card {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .cards-4,
  .blog-grid,
  .quote-grid,
  .timeline-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-grid,
  .info-strip,
  .cards-3 {
    grid-template-columns: 1fr;
  }

  .page-hero {
    margin-top: -76px;
    padding: calc(76px + 5rem) 0 4.5rem;
  }

  .page-hero .container {
    padding-top: 2rem;
  }

  .info-strip {
    margin-top: -1.9rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .hero-copy h1 {
    max-width: 100%;
  }
}

@media (max-width: 860px) {
  .home-page .site-header {
    position: fixed;
    background: transparent;
    border-bottom: 0;
  }

  body:not(.home-page) .site-header {
    position: fixed;
    background: transparent;
    border-bottom: 0;
  }

  .home-page .brand,
  .home-page .nav-link,
  .home-page .nav-toggle,
  .home-page .menu-button {
    color: var(--navy-950);
  }

  .header-inner {
    min-height: 76px;
  }

  .home-page .header-inner {
    min-height: 76px;
    padding-top: 0;
  }

  .brand img {
    width: 120px;
  }

  .brand {
    padding-top: 0;
    padding-bottom: 0;
  }

  .home-page .brand img {
    width: 108px;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--slate-200);
  }

  .nav.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-link,
  .nav-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--slate-100);
  }

  .nav-item {
    position: relative;
  }

  .nav-item .nav-toggle {
    padding-right: 3rem;
  }

  .nav-item .nav-toggle .fa-chevron-down {
    display: none;
  }

  .nav-caret {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 56px;
    border-bottom: 1px solid var(--slate-100);
    transition: transform 0.2s ease;
  }

  .nav-item.open .nav-caret {
    transform: rotate(180deg);
  }

  .dropdown {
    position: static;
    min-width: unset;
    margin: 0.25rem 0 0.75rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
  }

  .nav-item.open .dropdown {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .page-hero {
    margin-top: -76px;
    padding: calc(76px + 4.2rem) 0 4.2rem;
  }

  .page-hero h1 {
    max-width: 18ch;
  }

  .page-hero .container {
    padding-top: 1.4rem;
  }

  .hero-content {
    min-height: calc(100svh - 76px);
    padding: 6.5rem 2rem 4rem;
  }

  .hero-scroll-indicator {
    bottom: 1.1rem;
  }

  .about-media-figure {
    min-height: 320px;
  }

  .blog-cover {
    min-height: 190px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 640px) {
  .cartorio-form-notice {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .cartorio-form-notice-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    font-size: 1.25rem;
  }

  .cartorio-form-notice-content h3 {
    font-size: 1.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .services-grid,
  .cards-4,
  .cards-3,
  .blog-grid,
  .quote-grid,
  .timeline-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .brand img {
    width: 104px;
  }

  .home-page .brand img {
    width: 94px;
  }

  .hero-content {
    min-height: calc(100svh - 76px);
    padding: 6rem 1.35rem 3rem;
  }

  .hero-scroll-indicator {
    bottom: 0.9rem;
    font-size: 0.72rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.3rem, 11vw, 3.5rem);
  }

  .hero-tag {
    font-size: 0.75rem;
    letter-spacing: 0.09em;
  }

  .info-strip {
    margin-top: -1.5rem;
  }

  .form-shell,
  .split-copy,
  .split-aside,
  .process-panel,
  .story-panel {
    padding: 1.5rem;
  }

  .about-media-copy {
    padding: 1.5rem;
  }

  .about-media-figure {
    min-height: 240px;
  }

  .blog-cover {
    min-height: 170px;
  }

  .post-single-card,
  .sidebar-widget {
    padding: 1.25rem;
  }

  .post-single-cover {
    border-radius: 18px;
  }
}
