:root {
  --navy: #0a1f44;
  --navy-deep: #06142e;
  --blue: #1a4fc4;
  --blue-bright: #2f6bff;
  --blue-light: #e8effc;
  --yellow: #ffcc00;
  --yellow-light: #ffdb4d;
  --white: #ffffff;
  --text: #16213a;
  --text-muted: #45506a;
}

body {
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand-text {
  font-family: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
}

a {
  color: var(--blue);
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
.btn:focus-visible,
.gallery-thumb:focus-visible,
.navbar-toggler:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  box-shadow: none;
}

.text-muted-strong {
  color: var(--text-muted);
}

/* Navbar */
.navbar-custom {
  background-color: var(--navy);
  border-bottom: 4px solid var(--yellow);
}

.navbar-brand-text {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.navbar-brand-text:hover,
.navbar-brand-text:focus {
  color: var(--white);
}

.navbar-brand-text .brand-accent {
  color: var(--yellow);
}

.navbar-brand-text small {
  display: block;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: #dbe4f7;
  margin-top: 0.2rem;
}

.navbar-custom .nav-link {
  color: var(--white);
  font-weight: 600;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--yellow);
}

.navbar-custom .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.6);
}

.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Buttons */
.btn-cta {
  background-color: var(--yellow);
  color: var(--navy);
  border: 2px solid var(--yellow);
  font-weight: 800;
}

.btn-cta:hover,
.btn-cta:focus {
  background-color: var(--yellow-light);
  border-color: var(--yellow-light);
  color: var(--navy);
}

.btn-navy {
  background-color: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
  font-weight: 800;
}

.btn-navy:hover,
.btn-navy:focus {
  background-color: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

/* Hero */
.hero-section {
  background:
    radial-gradient(circle at 85% 20%, rgba(47, 107, 255, 0.45) 0%, rgba(47, 107, 255, 0) 55%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--blue) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-kicker {
  display: inline-block;
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  border-left: 4px solid var(--yellow);
  padding-left: 0.75rem;
}

.hero-slogan {
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.hero-slogan span {
  color: var(--yellow);
}

.hero-subtitle {
  font-weight: 700;
  font-size: 1.25rem;
  color: #dbe4f7;
}

.hero-name {
  display: block;
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.35rem);
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.15;
}

.hero-section .lead {
  color: #e6ecfa;
}

.hero-photo {
  width: min(100%, 440px);
  border-radius: 50%;
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.5);
}

/* Section titles */
.section-title {
  font-weight: 800;
  color: var(--navy);
}

.section-title::after {
  content: "";
  display: block;
  width: 70px;
  height: 5px;
  background-color: var(--yellow);
  margin-top: 0.5rem;
  border-radius: 3px;
}

.text-center .section-title::after,
.section-title.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-dark {
  background-color: var(--navy);
  color: var(--white);
}

.section-dark .section-title {
  color: var(--white);
}

.subheading {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-info-pill {
  background-color: var(--blue-light);
  color: var(--navy);
  border: 1px solid rgba(26, 79, 196, 0.3);
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: 50px;
}

.badge-info-pill i {
  color: var(--blue);
}

.quote-box {
  border-left: 5px solid var(--yellow);
  background-color: var(--blue-light);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.15rem;
  padding: 1rem 1.25rem;
  border-radius: 0 0.75rem 0.75rem 0;
}

/* Galeria */
.gallery-thumb {
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 3px solid var(--yellow);
  aspect-ratio: 4 / 5;
  display: block;
  width: 100%;
  padding: 0;
  background: var(--navy-deep);
}

.gallery-thumb img {
  transition: transform 0.35s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.gallery-thumb:hover img,
.gallery-thumb:focus-visible img {
  transform: scale(1.06);
}

.modal-backdrop.show {
  opacity: 0.85;
}

#imgModalSrc {
  max-height: 85vh;
  width: auto;
  margin: 0 auto;
}

/* CTA */
.cta-section {
  background-color: var(--yellow);
  color: var(--navy);
}

.cta-headline {
  font-family: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
}

.cta-section .lead {
  color: var(--navy);
  font-weight: 500;
}

/* Footer */
footer.site-footer {
  background-color: var(--navy);
  color: #dbe4f7;
  border-top: 5px solid var(--yellow);
}

footer.site-footer a {
  color: #dbe4f7;
  text-decoration: none;
}

footer.site-footer a:hover {
  color: var(--yellow);
  text-decoration: underline;
}

footer.site-footer h6 {
  color: var(--yellow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.footer-bottom {
  background-color: var(--navy-deep);
  color: #b9c6e4;
  font-size: 0.85rem;
  padding-bottom: 1rem;
}

/* Páginas legais */
.legal-page main {
  min-height: 60vh;
}

.legal-page h1 {
  color: var(--navy);
  font-weight: 800;
}

.legal-page h1::after {
  content: "";
  display: block;
  width: 70px;
  height: 5px;
  background-color: var(--yellow);
  margin-top: 0.5rem;
  border-radius: 3px;
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-top: 2rem;
}

.back-to-home {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}

.back-to-home:hover {
  color: var(--navy);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-thumb img {
    transition: none;
  }

  .gallery-thumb:hover img,
  .gallery-thumb:focus-visible img {
    transform: none;
  }
}
