/* Header / navegação */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  transition: background var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
  background: rgba(245, 248, 246, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.utility-bar {
  overflow: hidden;
  max-height: var(--utility-bar-height);
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: max-height var(--transition-med), opacity var(--transition-med);
}

.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--utility-bar-height);
  font-size: 0.68rem;
  font-weight: 500;
}

.utility-address {
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: inherit;
  opacity: 0.78;
}

.utility-instagram {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 0.4rem;
  color: inherit;
  font-weight: 600;
  white-space: nowrap;
}

.utility-instagram:hover {
  color: var(--blue);
}

.site-header.on-color .utility-bar {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

.site-header.on-color .utility-instagram:hover {
  color: var(--green-light);
}

.utility-instagram svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.site-header.scrolled .utility-bar {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

.site-header.scrolled {
  box-shadow: 0 8px 24px rgba(4, 34, 58, 0.12);
  border-color: var(--line);
}

.site-header.on-color {
  background: transparent;
  color: var(--white);
}

.site-header.on-color.scrolled {
  background: rgba(8, 44, 88, 0.95);
}

.nav-shell {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: height var(--transition-med);
}

.site-header.scrolled .nav-shell {
  height: var(--header-height-compact);
}

.brand {
  width: 6.6rem;
  flex: none;
  transition: width var(--transition-med);
}

.brand img {
  width: 100%;
  height: 3.6rem;
  object-fit: contain;
  transition: height var(--transition-med);
}

.site-header.scrolled .brand {
  width: 5.35rem;
}

.site-header.scrolled .brand img {
  height: 2.85rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.85rem;
  transition: gap var(--transition-med);
}

.site-header.scrolled .desktop-nav {
  gap: 1.25rem;
}

.desktop-nav > a,
.nav-drop > button {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.25;
  transition: font-size var(--transition-med), padding var(--transition-med);
}

.nav-icon {
  width: 0.88rem;
  height: 0.88rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.68;
}

.site-header.scrolled .nav-icon {
  width: 0.76rem;
  height: 0.76rem;
}

.nav-drop {
  position: relative;
}

.nav-drop > button {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 2rem 0;
}

.site-header.scrolled .desktop-nav > a,
.site-header.scrolled .nav-drop > button {
  font-size: 0.78rem;
}

.site-header.scrolled .nav-drop > button {
  padding: 1.05rem 0;
}

.desktop-nav > a.nav-cta {
  background: #66162d;
  color: var(--white);
  padding: 0.48rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  line-height: 1;
}

.desktop-nav > a.nav-cta:hover {
  filter: brightness(1.08);
}

.desktop-nav > a.active,
.nav-drop > button.active {
  font-weight: 600;
}

.desktop-nav > a.active .nav-icon,
.nav-drop > button.active .nav-icon,
.mobile-nav > a.active .nav-icon,
.mobile-nav summary.active .nav-icon {
  opacity: 1;
}

.desktop-nav > a.active:not(.nav-cta),
.nav-drop > button.active {
  color: var(--blue);
}

.site-header.on-color .desktop-nav > a.active:not(.nav-cta),
.site-header.on-color .nav-drop > button.active {
  color: var(--green-light);
}

.desktop-nav > a.nav-cta.active {
  box-shadow: 0 0 0 2px rgba(102, 22, 45, 0.22);
  filter: brightness(1.06);
}

.site-header.on-color .desktop-nav > a.nav-cta.active {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

.dropdown a.active {
  background: var(--sky);
  color: var(--blue);
  font-weight: 700;
}

.mobile-nav > a.active,
.mobile-nav summary.active {
  color: var(--blue);
}

.mobile-nav > a.nav-cta.active {
  color: var(--white);
  box-shadow: 0 0 0 2px rgba(102, 22, 45, 0.22);
}

.mobile-nav details a.active {
  color: var(--blue);
  font-weight: 700;
}

.site-header.scrolled .desktop-nav > a.nav-cta {
  padding: 0.36rem 0.85rem;
}

.nav-drop > button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translateY(-1px);
}

.dropdown {
  position: absolute;
  top: calc(100% - 0.5rem);
  left: -1rem;
  width: 16rem;
  padding: 0.55rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}

.nav-drop:hover .dropdown,
.nav-drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.dropdown a {
  display: block;
  padding: 0.8rem;
  font-size: 0.72rem;
}

.dropdown a:hover {
  background: var(--sky);
  color: var(--blue);
}

.menu-toggle {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-content: center;
  gap: 5px;
  transition: width var(--transition-med), height var(--transition-med);
}

.site-header.scrolled .menu-toggle {
  width: 2.6rem;
  height: 2.6rem;
}

.menu-toggle i {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] i:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] i:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 5rem);
  overflow: auto;
  padding: 1rem;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav > a,
.mobile-nav summary {
  display: flex;
  min-height: 3.6rem;
  align-items: center;
  gap: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.85rem;
}

.mobile-nav .nav-icon {
  width: 1.05rem;
  height: 1.05rem;
  opacity: 0.62;
}

.mobile-nav details a {
  display: block;
  padding: 0.7rem 1rem;
  color: #657071;
  font-size: 0.78rem;
}

.mobile-nav > a.nav-cta {
  display: inline-flex;
  width: auto;
  min-height: 2.7rem;
  margin-top: 0.85rem;
  padding: 0 1.05rem;
  border: 0;
  background: #66162d;
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
}

/* Botões */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  min-height: 3.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.9rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 800;
  transition: transform var(--transition), background var(--transition);
}

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

.btn-sun {
  background: var(--green-light);
  color: var(--white);
}

.btn-ghost {
  border: 1px solid currentColor;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.btn-blue {
  background: var(--blue);
  color: var(--white);
}

.text-arrow {
  align-self: center;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 3rem;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 900;
  line-height: 0.9;
}

.section-heading h2 em {
  color: var(--blue);
  font-style: normal;
}

.section-heading > p:last-child {
  max-width: 34rem;
  margin-top: 1.2rem;
  color: #667071;
  line-height: 1.7;
}

.light h2,
.light p {
  color: var(--white);
}

/* Carrossel */
.campaign-carousel {
  position: relative;
  margin-top: calc(var(--header-height) + var(--utility-bar-height));
  background: var(--blue-deep);
  overflow: hidden;
  aspect-ratio: 1920 / 650;
}

.carousel-track {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.carousel-slide a,
.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
}

.carousel-slide img {
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: rgba(8, 44, 88, 0.42);
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
  background: var(--blue);
}

.carousel-arrow.prev {
  left: 1.25rem;
}

.carousel-arrow.next {
  right: 1.25rem;
}

.carousel-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 1.1rem;
  display: flex;
  gap: 0.55rem;
  transform: translateX(-50%);
}

.carousel-dots button {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: transparent;
}

.carousel-dots button.active {
  width: 2.2rem;
  border-radius: 1rem;
  background: var(--white);
}

/* Acessos rápidos */
.services {
  background: var(--paper);
}

.services-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.services-head h2 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  line-height: 1;
}

.services-head > p {
  max-width: 23rem;
  color: #667071;
  line-height: 1.6;
}

.service-grid {
  display: grid;
  gap: 0.75rem;
}

.service-item {
  min-height: 8.5rem;
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  background: var(--blue-soft);
  color: var(--blue-deep);
  border: 1px solid #cbdced;
  border-left: 4px solid var(--blue);
  box-shadow: 0 5px 18px rgba(18, 60, 114, 0.04);
  transition: 0.25s;
}

.service-item:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--blue);
  color: var(--white);
}

.service-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item h3 {
  font-size: 1rem;
}

.service-item p {
  margin-top: 0.3rem;
  font-size: 0.7rem;
  line-height: 1.45;
  opacity: 0.72;
}

.service-item > b {
  font-size: 1.15rem;
}

/* Cartões BEM */
.cards-section {
  --card-bg: var(--blue-deep);
  --card-glow: rgba(130, 201, 191, 0.5);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--card-bg);
  color: var(--white);
  transition: background-color 0.4s ease;
}

.cards-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -14rem;
  top: 3rem;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--card-glow), rgba(40, 94, 163, 0.2) 45%, transparent 70%);
  filter: blur(48px);
  animation: cardGlow 10s ease-in-out infinite alternate;
  transition: background 0.4s ease;
}

.cards-section.card-theme-simple { --card-bg: #0b3564; }
.cards-section.card-theme-school { --card-bg: #174d52; }
.cards-section.card-theme-special { --card-bg: #123c72; }
.cards-section.card-theme-free { --card-bg: #225c61; }
.cards-section.card-theme-transport {
  --card-bg: #66162d;
  --card-glow: rgba(168, 64, 92, 0.7);
}
.cards-section.card-theme-corporate { --card-bg: #164f54; }

@keyframes cardGlow {
  to {
    transform: translate(68vw, 7rem) scale(1.15);
  }
}

.cards-title {
  max-width: 55rem;
}

.cards-title h2 {
  font-size: clamp(3rem, 7vw, 6.2rem);
  line-height: 0.94;
  font-weight: 900;
}

.cards-title h2 em {
  color: var(--green-light);
  font-style: normal;
}

.card-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(9rem, 0.5fr) minmax(20rem, 1.35fr) minmax(16rem, 0.75fr);
  align-items: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.card-tabs {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  overflow: visible;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}

.card-tabs button {
  flex: none;
  text-align: left;
  border: 0;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  padding: 0.8rem 1rem;
  color: #c9daf0;
  font-size: 0.72rem;
  font-weight: 700;
}

.card-tabs button.active {
  background: var(--green-light);
  border-color: var(--green-light);
  color: var(--blue-deep);
  font-weight: 800;
}

.card-object {
  min-height: 22rem;
  display: grid;
  place-items: center;
}

.card-object img {
  width: min(100%, 38rem);
  filter: drop-shadow(0 25px 32px rgba(0, 0, 0, 0.32));
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: none;
}

.card-copy {
  max-width: 28rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.card-copy h3 {
  font-size: 2.3rem;
  margin: 0.4rem 0 0.7rem;
}

.card-copy > p {
  color: #c7dedb;
  line-height: 1.65;
}

.card-copy a {
  display: inline-flex;
  margin-top: 1.4rem;
  color: var(--green-light);
  font-size: 0.75rem;
  font-weight: 800;
}

/* FAQ */
.faq {
  background: var(--paper);
}

.faq-layout {
  display: grid;
  gap: 2rem;
}

.accordion article {
  border-top: 1px solid var(--line);
}

.accordion article:last-child {
  border-bottom: 1px solid var(--line);
}

.accordion button {
  width: 100%;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font: 800 1.05rem var(--display);
}

.accordion button span {
  font-size: 1.5rem;
  transition: var(--transition);
}

.accordion button[aria-expanded="true"] span {
  transform: rotate(45deg);
}

.answer p {
  padding: 0 3rem 1.5rem 0;
  color: #626b6c;
  font-size: 0.82rem;
  line-height: 1.7;
}

.answer a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.answer a:hover {
  color: var(--green);
}

/* Footer */
.site-footer {
  padding-top: 5rem;
  background: var(--blue);
  color: var(--white);
}

.footer-main {
  display: grid;
  gap: 3rem;
}

.footer-brands {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.footer-brands img:first-child {
  width: 6.2rem;
  height: 4rem;
  object-fit: contain;
}

.footer-brands img:last-child {
  width: 12rem;
  height: 3.5rem;
  object-fit: contain;
}

.footer-main p,
.site-footer a {
  color: #d9eeeb;
}

.footer-main > div > p {
  max-width: 24rem;
  margin: 1rem 0;
  font-size: 0.72rem;
  line-height: 1.7;
}

.instagram-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.25rem;
  font-weight: 700;
}

.instagram-link svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-main nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-main nav b {
  display: block;
  margin-bottom: 1rem;
  color: #8ed8d0;
  font-size: 0.65rem;
  text-transform: uppercase;
}

.footer-main nav a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.68rem;
}

.footer-contact {
  display: grid;
  gap: 1.4rem;
  margin-top: 3rem;
  padding: 2rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-contact small {
  display: block;
  color: #8ed8d0;
  font-size: 0.52rem;
  letter-spacing: 0.1em;
}

.footer-contact strong {
  font-size: 0.72rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  padding: 2rem 0;
  color: var(--white);
  font-size: 0.6rem;
}

.footer-bottom > span:last-child {
  font-weight: 600;
}

.whatsapp-float {
  position: fixed;
  z-index: 120;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 3.65rem;
  height: 3.65rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(18, 140, 70, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 32px rgba(18, 140, 70, 0.45);
}

.whatsapp-float svg {
  width: 1.9rem;
  height: 1.9rem;
  display: block;
  fill: currentColor;
}

.whatsapp-float svg path {
  fill: currentColor;
}

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 1rem;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  overflow: auto;
}

.lightbox:not([open]) {
  display: none;
}

.lightbox::backdrop {
  background: rgba(10, 22, 34, 0.86);
}

.lightbox-frame {
  position: relative;
  width: max-content;
  max-width: min(44rem, calc(100vw - 2rem));
}

.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(44rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2.4rem);
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(4, 18, 32, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(4, 18, 32, 0.22);
}

.lightbox-close:hover {
  color: var(--blue);
}

.home-popup .lightbox-frame {
  max-width: min(56rem, calc(100vw - 2rem));
}

.home-popup a {
  display: block;
}

.home-popup img {
  max-width: min(56rem, calc(100vw - 2rem));
}
