/* ===== Variables ===== */
:root {
  --navy-950: #051025;
  --navy-900: #0a1628;
  --navy-800: #0f2038;
  --navy-700: #152a45;
  --gold-300: #f0d078;
  --gold-400: #e8b84a;
  --gold-500: #d4a044;
  --gold-600: #b8860b;
  --gold-gradient: linear-gradient(135deg, #f0d078 0%, #d4a044 50%, #b8860b 100%);
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #f1f3f6;
  --gray-200: #e5e8ed;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --text-dark: #1a2332;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --hover-border: rgba(212,160,68,0.45);
  --hover-shadow: 0 8px 24px rgba(0,0,0,0.08);
  --container: 1280px;
  --radius: 1rem;
  --radius-lg: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.page-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  /* sem overflow aqui: no mobile ele clipa position:fixed (WhatsApp) */
}

main {
  flex: 1;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  box-sizing: border-box;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-text-light {
  background: linear-gradient(135deg, #f0d078, #e8b84a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-center { text-align: center; }
.section { padding: 3.5rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }
.section-white { background: var(--white); }
.section-light { background: var(--gray-50); }
.section-dark { background: var(--navy-900); color: #fff; }

.label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

.label-dark { color: var(--gold-600); }

.divider {
  width: 4rem; height: 3px;
  background: var(--gold-gradient);
  border-radius: 999px;
  margin: 1.25rem 0;
}

.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; }
.section-title-dark { color: var(--text-dark); }
.section-desc { max-width: 640px; margin: 1rem auto 0; color: var(--text-muted); font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; border: 2px solid transparent;
  cursor: pointer; transition: all 0.2s; font-family: inherit;
}

.btn-lg { padding: 0.9rem 2rem; font-size: 0.9375rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8125rem; }
.btn-primary { background: var(--gold-gradient); color: var(--navy-950); box-shadow: var(--shadow-sm); }
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-dark { background: transparent; border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline-dark:hover { background: var(--navy-800); color: #fff; }
.btn-group { display: flex; flex-direction: column; gap: 0.75rem; flex-wrap: wrap; width: 100%; }
.btn-group .btn { width: 100%; max-width: 100%; }
@media (min-width: 640px) {
  .btn-group { flex-direction: row; align-items: center; width: auto; }
  .btn-group .btn { width: auto; }
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--navy-950);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  padding: 0.55rem 0;
  text-align: center;
  overflow: hidden;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.top-bar-inner span {
  display: block;
  width: 100%;
  text-align: center;
  line-height: 1.4;
}

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  gap: 0.75rem;
  min-width: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.logo {
  height: 2.75rem;
  width: auto;
  max-width: min(220px, 68vw);
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 1px 2px rgba(11, 28, 51, 0.12));
}

@media (min-width: 640px) {
  .logo { height: 3.35rem; max-width: 280px; }
}

.nav-desktop { display: none; gap: 0.125rem; }

.nav-link {
  padding: 0.5rem 0.875rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: var(--gray-600);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover { color: var(--navy-900); }
.nav-link.active { color: var(--gold-600); background: rgba(212,160,68,0.1); }

.btn-header { display: none; }
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 0.5rem;
  border: 1px solid var(--gray-200); background: var(--white);
  color: var(--navy-800); cursor: pointer;
}

.menu-toggle .icon-close { display: none; }
.menu-toggle.is-open .icon-menu { display: none; }
.menu-toggle.is-open .icon-close { display: block; }

.nav-mobile {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid var(--gray-200);
  display: flex; flex-direction: column; gap: 0.25rem;
  background: var(--white);
}

.nav-mobile[hidden] { display: none; }

.nav-link-mobile {
  padding: 0.625rem 0.75rem; border-radius: 0.5rem;
  font-size: 0.875rem; font-weight: 500; color: var(--gray-600);
}

.nav-link-mobile:hover { background: var(--gray-50); color: var(--navy-900); }
.btn-mobile { margin-top: 0.5rem; text-align: center; }

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .btn-header { display: inline-flex; }
  .menu-toggle { display: none; }
  .nav-mobile { display: none !important; }
}

/* ===== Hero Banner ===== */
.hero-banner {
  position: relative; min-height: 520px;
  background-size: cover; background-position: center;
  display: flex; align-items: center;
  width: 100%;
  overflow: hidden;
}

.hero-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(5,16,37,0.92) 0%, rgba(5,16,37,0.75) 45%, rgba(5,16,37,0.4) 100%);
}

.hero-banner-content {
  position: relative; z-index: 2;
  max-width: 680px; width: 100%;
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  color: #fff;
}

.hero-banner-content h1 {
  font-size: clamp(1.75rem, 7vw, 3.25rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 1rem;
}

.hero-banner-content p {
  font-size: 1rem; color: rgba(255,255,255,0.82);
  margin-bottom: 1.75rem; line-height: 1.7;
}

.hero-banner-shape {
  position: absolute; bottom: -1px; left: 0; right: 0; height: 48px;
  background: var(--white);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

@media (min-width: 768px) {
  .hero-banner { min-height: 620px; }
  .hero-banner-content {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .hero-banner-content h1 { margin-bottom: 1.25rem; }
  .hero-banner-content p { font-size: 1.0625rem; margin-bottom: 2rem; line-height: 1.75; }
  .hero-banner-shape { height: 80px; }
}

/* ===== Info Bar ===== */
.info-bar {
  background: var(--white);
  margin-top: -1px;
  border-bottom: 1px solid var(--gray-200);
}

.info-bar-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) { .info-bar-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .info-bar-grid { grid-template-columns: repeat(4, 1fr); } }

.info-bar-item {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
  background: var(--white);
  color: var(--text-dark);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

@media (min-width: 768px) {
  .info-bar-item { padding: 2rem 1.5rem; }
}

@media (min-width: 1024px) {
  .info-bar-item { border-bottom: none; border-right: 1px solid var(--gray-200); }
  .info-bar-item:last-child { border-right: none; }
}

.info-bar-icon {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  background: rgba(212,160,68,0.1); color: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.info-bar-item h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem;
  transition: color 0.25s ease;
}

.info-bar-item p {
  font-size: 0.875rem; color: var(--text-muted); line-height: 1.6;
}

.info-bar-item:hover {
  background: var(--gray-50);
}

.info-bar-item:hover .info-bar-icon {
  background: rgba(212,160,68,0.18);
  color: var(--gold-600);
  transform: translateY(-2px);
}

.info-bar-item:hover h3 {
  color: var(--gold-600);
}

/* ===== Services Showcase ===== */
.services-showcase {
  display: grid; gap: 2.5rem; align-items: center;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  .services-showcase { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; }
}

.services-carousel-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.services-carousel {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.75rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
}

.services-carousel::-webkit-scrollbar { display: none; }

.services-carousel .service-card-img {
  flex: 0 0 calc(100% - 1.75rem);
  max-width: calc(100% - 1.75rem);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 640px) {
  .services-carousel {
    gap: 1.25rem;
  }

  .services-carousel .service-card-img {
    flex: 0 0 calc(50% - 0.625rem);
    max-width: calc(50% - 0.625rem);
  }
}

.services-carousel .service-card-img:hover {
  transform: translateY(-3px);
  border-color: var(--hover-border);
  box-shadow: var(--hover-shadow);
}

.service-card-img-photo {
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .service-card-img-photo { height: 240px; }
}

@media (min-width: 1024px) {
  .service-card-img-photo { height: 260px; }
}

.service-card-img-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.service-card-img-body {
  padding: 1.15rem 1.15rem 1.25rem;
  background: var(--white);
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (min-width: 640px) {
  .service-card-img-body { padding: 1.5rem; }
}

.service-card-img-body h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
  transition: color 0.25s ease;
}

.service-card-img-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
  flex: 1;
}

.services-carousel .service-card-img:hover .service-card-img-body h3 { color: var(--gold-600); }

/* Botão só visual — sem hover próprio, igual aos outros cards */
.services-carousel .service-card-img .btn,
.services-carousel .service-card-img:hover .btn,
.services-carousel .service-card-img .btn:hover {
  pointer-events: none;
  transform: none !important;
  opacity: 1 !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08) !important;
  filter: none;
}

.carousel-controls {
  display: flex; gap: 0.5rem; margin-top: 1.25rem;
}

.carousel-btn {
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--gray-200); background: var(--white);
  color: var(--navy-800); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; box-shadow: var(--shadow-sm);
}

.carousel-btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

.services-showcase-text .section-title { margin-bottom: 1rem; }
.services-showcase-text .section-desc { margin: 0 0 1.75rem; text-align: left; }

/* ===== Feature Cards (light) ===== */
.cards-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) {
  .cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.feature-card-light {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  background: rgba(212,160,68,0.12); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.feature-card-light h3 {
  font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.625rem;
  color: var(--text-dark); transition: color 0.25s ease;
}

.feature-card-light p {
  font-size: 0.875rem; color: var(--text-muted);
}

.feature-card-light:hover {
  border-color: var(--hover-border);
  box-shadow: var(--hover-shadow);
  transform: translateY(-3px);
}

.feature-card-light:hover .feature-icon {
  background: rgba(212,160,68,0.2);
  transform: translateY(-2px);
}

.feature-card-light:hover h3 {
  color: var(--gold-600);
}

/* ===== CTA Image Banner ===== */
.cta-image {
  position: relative; padding: 4.5rem 0;
  background-size: cover; background-position: center; background-attachment: scroll;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .cta-image {
    padding: 6rem 0;
    background-attachment: fixed;
  }
}

.cta-image-overlay {
  position: absolute; inset: 0;
  background: rgba(5,16,37,0.82);
}

.cta-image-content {
  position: relative; z-index: 1; text-align: center;
  max-width: 720px; color: #fff;
}

.cta-image-content h2 {
  font-size: clamp(1.625rem, 3vw, 2.25rem);
  font-weight: 700; margin-bottom: 1rem;
}

.cta-image-content p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.0625rem; }

/* ===== Partners ===== */
.partners-section { border-top: 1px solid var(--gray-200); }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}
@media (min-width: 1024px) { .partners-grid { grid-template-columns: repeat(4, 1fr); } }
.partners-grid-1 {
  grid-template-columns: 1fr;
  max-width: 280px;
  margin: 0 auto;
}
@media (min-width: 640px) { .partners-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partners-grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 720px; margin: 0 auto; } }

.partner-logo {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 96px;
  min-height: 96px;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 640px) {
  .partner-logo {
    padding: 1.25rem 1.35rem;
    height: 112px;
    min-height: 112px;
  }
}

.partner-logo:hover {
  border-color: var(--hover-border);
  box-shadow: var(--hover-shadow);
  transform: translateY(-2px);
}

.partner-logo img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (min-width: 640px) {
  .partner-logo img {
    max-height: 60px;
    max-width: 150px;
  }
}

@media (min-width: 1024px) {
  .partner-logo img {
    max-height: 68px;
    max-width: 168px;
  }
}

/* ===== Quick Links ===== */
.quick-link-light {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.quick-link-icon {
  width: 2.75rem; height: 2.75rem; border-radius: 0.75rem;
  background: rgba(212,160,68,0.1); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  transition: background 0.25s ease, transform 0.25s ease;
}

.quick-link-light h3 {
  font-weight: 600; margin-bottom: 0.375rem;
  color: var(--text-dark); transition: color 0.25s ease;
}

.quick-link-light p {
  font-size: 0.875rem; color: var(--text-muted);
}

.quick-link-light:hover {
  border-color: var(--hover-border);
  box-shadow: var(--hover-shadow);
  transform: translateY(-3px);
}

.quick-link-light:hover .quick-link-icon {
  background: rgba(212,160,68,0.2);
  transform: translateY(-2px);
}

.quick-link-light:hover h3 {
  color: var(--gold-600);
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  position: relative; overflow: hidden;
  padding: 5rem 0; color: #fff;
  min-height: 420px;
  display: flex; align-items: center;
}

.page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}

.page-hero-pet .page-hero-bg {
  object-position: center 35%;
}

.pet-cards .service-card-with-img .service-card-img {
  height: 280px;
}

.pet-cards .service-card-with-img .service-card-img img {
  object-fit: cover;
  transform-origin: center top;
}

.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(5,16,37,0.88), rgba(5,16,37,0.65));
  z-index: 1;
}

.page-hero-content { position: relative; z-index: 2; max-width: 720px; width: 100%; }
.page-hero-content h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); font-weight: 700; line-height: 1.2; }
.page-hero-subtitle { font-size: 1.0625rem; color: rgba(255,255,255,0.8); margin-top: 0.5rem; }

@media (min-width: 1024px) { .page-hero { padding: 6rem 0; } }

/* ===== Service Cards (inner pages) ===== */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card-with-img { padding: 0; overflow: hidden; }
.service-card-with-img .service-card-img {
  flex: none;
  width: 100%;
  height: 260px;
  overflow: hidden;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.service-card-with-img .service-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}
.service-card-with-img .service-card-body {
  padding: 1.75rem;
  background: var(--white);
}

.service-number { display: inline-block; font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.service-card h3 {
  font-size: 1.2rem; font-weight: 600; margin-bottom: 0.625rem;
  color: var(--text-dark); transition: color 0.25s ease;
}
.service-card p { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.7; }

.service-card:hover,
.service-card-with-img:hover {
  border-color: var(--hover-border);
  box-shadow: var(--hover-shadow);
  transform: translateY(-3px);
}

.service-card-with-img:hover .service-card-img img { transform: scale(1.04); }
.service-card:hover h3,
.service-card-with-img:hover h3 { color: var(--gold-600); }

/* ===== Value Cards ===== */
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem; text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.value-card h3 {
  font-size: 1.2rem; font-weight: 600; margin-bottom: 0.875rem;
  transition: color 0.25s ease;
}

.value-card p {
  color: var(--text-muted);
}

.value-card:hover {
  border-color: var(--hover-border);
  box-shadow: var(--hover-shadow);
  transform: translateY(-3px);
}

.value-card:hover h3 {
  color: var(--gold-600);
}

/* ===== Content ===== */
.content-narrow { max-width: 48rem; margin: 0 auto; }
.content-text { font-size: 1.0625rem; color: var(--text-muted); line-height: 1.85; }
.content-text p + p { margin-top: 1.25rem; }

.cta-inline {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 4rem 0; text-align: center;
}

.cta-inline h2 { font-size: clamp(1.375rem, 2.5vw, 1.75rem); font-weight: 700; margin-bottom: 0.75rem; color: var(--text-dark); }
.cta-inline p { color: var(--text-muted); margin-bottom: 1.5rem; }

.services-narrow { max-width: 56rem; margin: 0 auto; }

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 2fr 3fr; gap: 3rem; }
}

.contact-col-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.3;
  min-height: 1.3em;
}

.contact-items { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; border-radius: var(--radius);
  border: 1px solid var(--gray-200); background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-item-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: rgba(212,160,68,0.1); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.contact-item-label { font-size: 0.75rem; color: var(--text-muted); }
.contact-item-value { font-weight: 500; color: var(--text-dark); }

a.contact-item:hover,
.contact-item:hover {
  border-color: var(--hover-border);
  box-shadow: var(--hover-shadow);
  transform: translateY(-2px);
}

a.contact-item:hover .contact-item-icon,
.contact-item:hover .contact-item-icon {
  background: rgba(212,160,68,0.2);
  transform: translateY(-1px);
}

.contact-form-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem 1.25rem;
  box-shadow: var(--shadow-md);
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .form-card {
    padding: 1.75rem 1.75rem 1.5rem;
  }
}

.contact-form-col .form-card #cotacao-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  flex: 1;
}

.contact-form-col .form-grid {
  gap: 1.35rem;
}

.contact-form-col .form-group {
  margin: 0;
}

.contact-form-col .form-group-message {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-col .form-group-message textarea {
  min-height: 180px;
  flex: 1;
}

.contact-form-col .form-actions {
  margin-top: auto;
  padding-top: 0.25rem;
}

.form-card h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; color: var(--text-dark); }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-grid-2 { grid-template-columns: 1fr 1fr; } }

.form-group label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--gray-600); margin-bottom: 0.375rem; }

.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem;
  border: 1px solid var(--gray-200); background: var(--gray-50);
  color: var(--text-dark); font-family: inherit; font-size: 1rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,160,68,0.15); background: var(--white);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-honeypot {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
}

.form-error {
  color: #b42318;
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.form-captcha {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 400;
  cursor: text;
}

.form-captcha-label {
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.form-captcha-input {
  width: 2.5rem;
  padding: 0.35rem 0.4rem;
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  background: var(--gray-50);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.85rem;
  text-align: center;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-captcha-input:focus {
  border-color: var(--gray-400);
  box-shadow: 0 0 0 2px rgba(100, 116, 139, 0.12);
  background: var(--white);
  color: var(--text-dark);
}

.form-submit {
  margin-top: 0;
}

.form-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-success { text-align: center; padding: 2rem; }
.form-success-icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(212,160,68,0.1); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}

.form-success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text-dark); }
.form-success p { color: var(--text-muted); }
.form-success-btn { margin-top: 1rem; background: none; border: none; color: var(--gold-600); font-size: 0.875rem; cursor: pointer; font-family: inherit; }
.form-success-btn:hover { text-decoration: underline; }

/* ===== Footer ===== */
.footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 0;
  width: 100%;
  max-width: 100%;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2.5rem;
  min-width: 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

.footer-logo {
  height: 3.75rem;
  width: auto;
  max-width: min(280px, 82vw);
  margin-bottom: 0;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  filter: none;
  image-rendering: auto;
}

@media (min-width: 768px) {
  .footer-logo { height: 4.75rem; max-width: 340px; }
}

.footer-broker-access {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gold-400);
  transition: color 0.2s;
}

.footer-broker-access:hover {
  color: #fff;
}

.footer-tagline { font-size: 0.875rem; color: rgba(255,255,255,0.55); }

.footer-title {
  font-size: 0.8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--gold-400); margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-400); }

.footer-contact li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  margin-bottom: 0.75rem; font-size: 0.875rem; color: rgba(255,255,255,0.55);
}

.footer-contact svg { flex-shrink: 0; color: var(--gold-500); margin-top: 2px; }
.footer-contact a:hover { color: var(--gold-400); }
.footer-hours { font-size: 0.875rem; color: rgba(255,255,255,0.55); margin-bottom: 1.5rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
}

/* ===== WhatsApp Float + Chat Widget ===== */
.wa-widget {
  position: fixed !important;
  /* Mobile: meio da altura, à direita — evita corte no rodapé em qualquer aparelho */
  top: 50% !important;
  bottom: auto !important;
  right: calc(1.25rem + env(safe-area-inset-right, 0px)) !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  z-index: 2147483646 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 0.75rem !important;
  width: max-content !important;
  max-width: calc(100% - 2rem) !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  background: transparent !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

.wa-widget > * {
  pointer-events: auto !important;
}

.whatsapp-float {
  position: relative !important;
  width: 3.5rem !important;
  height: 3.5rem !important;
  min-width: 3.5rem !important;
  min-height: 3.5rem !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #25d366 !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5) !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0 !important;
  transform: none !important;
}

.whatsapp-float:hover {
  background: #20bd5a !important;
}

.whatsapp-float .wa-icon-close { display: none !important; }
.whatsapp-float.is-open .wa-icon-open { display: none !important; }
.whatsapp-float.is-open .wa-icon-close { display: block !important; }

.wa-chat[hidden] { display: none !important; }

.wa-chat {
  width: 100%;
  max-width: 22.5rem;
  background: #efeae2;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(5, 16, 37, 0.28);
  display: flex;
  flex-direction: column;
  animation: waChatIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: bottom right;
  box-sizing: border-box;
}

@keyframes waChatIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wa-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.9rem;
  background: #075e54;
  color: #fff;
}

.wa-chat-identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.wa-chat-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: contain;
  background: #0b1c33;
  padding: 0.2rem;
  flex-shrink: 0;
}

.wa-chat-name {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.wa-chat-status {
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 0.1rem;
}

.wa-chat-close {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.85;
}

.wa-chat-close:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.wa-chat-body {
  padding: 1.15rem 1rem 1rem;
  min-height: 280px;
  max-height: 420px;
  overflow-y: auto;
  background-image:
    radial-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
}

.wa-chat-time {
  text-align: center;
  font-size: 0.7rem;
  color: #667781;
  background: rgba(255, 255, 255, 0.7);
  width: fit-content;
  margin: 0 auto 0.85rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.wa-bubble {
  max-width: 88%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  font-size: 0.875rem;
  line-height: 1.45;
  margin-bottom: 0.45rem;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.wa-bubble-in {
  background: #fff;
  color: #111b21;
  border-top-left-radius: 0.15rem;
}

.wa-chat-form {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem 0.85rem;
  background: #f0f2f5;
}

.wa-chat-input {
  flex: 1;
  min-height: 5.5rem;
  max-height: 10rem;
  resize: vertical;
  border: 0;
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.45;
  background: #fff;
  color: #111b21;
  outline: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.wa-chat-send {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}

.wa-chat-send:hover {
  background: #20bd5a;
  transform: scale(1.05);
}

.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;
}

@media (min-width: 1024px) {
  .wa-widget {
    top: auto !important;
    right: calc(1.75rem + env(safe-area-inset-right, 0px)) !important;
    bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px)) !important;
    transform: none !important;
    align-items: flex-end !important;
    max-width: 25rem !important;
  }

  .whatsapp-float {
    width: 3.75rem !important;
    height: 3.75rem !important;
    min-width: 3.75rem !important;
    min-height: 3.75rem !important;
  }

  .wa-chat {
    max-width: 25rem;
    transform-origin: bottom right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-chat {
    animation: none;
  }
}

/* ===== Quote modal + Segfy form ===== */
.quote-modal[hidden] { display: none !important; }
.quote-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 0.85rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.quote-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5,16,37,0.72);
}

.quote-modal-dialog {
  position: relative; z-index: 1;
  width: min(640px, 100%);
  max-width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.15rem 1.5rem;
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
}

.quote-modal-close {
  position: absolute; top: 0.85rem; right: 0.85rem;
  width: 2.25rem; height: 2.25rem;
  border: 0; background: transparent;
  color: var(--text-muted); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}

.quote-modal-close:hover { color: var(--navy-900); background: var(--gray-100); }

.quote-modal-dialog h2 {
  font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.quote-modal-desc {
  color: var(--text-muted); margin-bottom: 1.5rem;
}

.quote-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .quote-modal-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-modal-dialog { padding: 2.25rem; }
}

.quote-option {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  font: inherit;
  font-weight: 600;
  color: var(--navy-900);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, color 0.2s;
}

.quote-option:hover {
  border-color: var(--hover-border);
  box-shadow: var(--hover-shadow);
  color: var(--gold-600);
  transform: translateY(-2px);
}

.quote-form-modal {
  z-index: 210;
  align-items: flex-start;
  padding: 1rem;
  overflow-y: auto;
}

.quote-form-dialog {
  width: min(920px, 100%);
  margin: auto;
  max-height: none;
  padding-top: 2.75rem;
}

.quote-form-back {
  position: absolute;
  top: 0.9rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius);
}

.quote-form-back:hover {
  color: var(--navy-900);
  background: var(--gray-100);
}

.quote-form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.quote-form-header-text {
  flex: 1;
  min-width: 0;
}

.quote-form-header-text .quote-modal-desc {
  margin-bottom: 0;
}

.quote-form-logo {
  flex-shrink: 0;
  width: auto;
  height: 52px;
  object-fit: contain;
  margin-top: 0.15rem;
  background: transparent;
}

.quote-form-dialog .quote-modal-desc {
  margin-bottom: 1rem;
}

.quote-page-grid { max-width: 36rem; margin: 0 auto; }

.quote-iframe-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
}

.segfy-iframe {
  display: block;
  width: 100%;
  border: 0;
  height: 720px;
  min-height: 720px;
}

@media (max-width: 640px) {
  .quote-form-dialog {
    padding: 2.5rem 1rem 1.25rem;
  }

  .quote-form-header {
    gap: 1rem;
  }

  .quote-form-logo {
    height: 40px;
  }

  .segfy-iframe {
    height: 640px;
    min-height: 640px;
  }
}

/* ===== Scroll reveal (sobe + aparece) ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-hero > * {
  opacity: 0;
  transform: translateY(18px);
  animation: revealHeroIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-hero > *:nth-child(1) { animation-delay: 0.05s; }
.reveal-hero > *:nth-child(2) { animation-delay: 0.15s; }
.reveal-hero > *:nth-child(3) { animation-delay: 0.28s; }
.reveal-hero > *:nth-child(4) { animation-delay: 0.4s; }
.reveal-hero > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes revealHeroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-hero > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ===== 404 Error Page ===== */
.error-page {
  min-height: min(70vh, 640px);
  display: flex;
  align-items: center;
}

.error-page-inner {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
  position: relative;
}

.error-code {
  font-size: clamp(6rem, 18vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  margin-bottom: 0.75rem;
  user-select: none;
}

.error-page-inner .label {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.error-page-desc {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
}

.error-page-actions {
  justify-content: center;
}
