:root {
  --primary: #2f5ea6;
  --accent: #d97706;
  --dark: #1f2328;
  --light: #f7f9fc;
  --text: #2b2f36;
  --muted: #4b5563;
  --shadow: 0 14px 40px rgba(31, 35, 40, 0.12);
  --shadowWhatsapp: 0 14px 40px rgba(30, 190, 93, 0.12);
  --radius: 16px;
  --whatsapp: #0f7a3a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto Slab", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ffffff;
  color: #000000;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
  z-index: 1000;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

a:focus-visible,
a:hover {
  color: #1f3f73;
}

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--dark);
}

.section-title p {
  color: var(--muted);
  margin-top: 0.75rem;
}

.form-hint {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.5rem 0 0.75rem;
}

.form-status {
  min-height: 1.25rem;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: var(--dark);
}

.form-status.is-error {
  color: #b42318;
}

.form-status.is-success {
  color: #067647;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(100, 150, 219, 0.35);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  box-shadow: var(--shadowWhatsapp);
}

.btn-light {
  background: #ffffff;
  color: var(--dark);
  box-shadow: var(--shadow);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eef1f5;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  width: 180px;
}

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

.nav a {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
}

.nav a:hover {
  color: var(--primary);
}

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

.nav .btn-primary:hover {
  transform: translateY(-2px);
  color: #ffffff;
}

.nav-toggle {
  display: none;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  cursor: pointer;
}

.hero {
  background: linear-gradient(120deg, rgba(20, 30, 48, 0.75), rgba(36, 59, 85, 0.6)), url("../img/header-bg.jpg") center/cover no-repeat;
  color: #ffffff;
  padding: 6rem 0 5rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  margin-bottom: 1rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card h3 {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin-bottom: 1rem;
}

.hero-stats {
  display: grid;
  gap: 1rem;
}

.hero-stats div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card img.icon {
  width: 52px;
}

.card h3 {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.2rem;
}

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

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.4rem;
  align-items: center;
}

.logo-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.about-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.about-card ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
}

.about-card li {
  list-style: none;
}

.about-card li i {
  color: var(--primary);
  margin-right: 0.4rem;
}

.news-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.embed-frame {
  width: 100%;
  min-height: 220px;
  border: none;
  border-radius: 12px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 1rem;
}

.form-label {
  font-weight: 600;
  color: var(--text);
  margin-top: 0.4rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #d9e0ea;
  font-family: inherit;
}

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

.footer {
  background: var(--dark);
  color: #ffffff;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.footer-brand-logo {
  max-width: 160px;
  height: auto;
  margin: auto;
  align-self: center;
}

.links-utils {
  width: fit-content;
  margin: auto;
}

.footer-section h3 {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.75);
}

.footer-links,
.footer-contact {
  list-style: none;
  margin-top: 0.8rem;
  display: grid;
  gap: 0.6rem;
}

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.8);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
  color: #ffffff;
}

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

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 860px;
  width: calc(100% - 2rem);
  padding: 1.5rem;
  display: none;
  z-index: 200;
}

.cookie-content {
  display: grid;
  gap: 1rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-cookie {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--primary);
  background: #ffffff;
  color: var(--dark);
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie.primary {
  background: var(--primary);
  color: #ffffff;
}

.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 150;
}

.btn-whatsapp,
.btn-top {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--whatsapp);
  box-shadow: var(--shadowWhatsapp);
  border: none;
  cursor: pointer;
}

.btn-whatsapp-auto {
  width: auto;
  height: auto;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(30, 190, 93, 0.35);
  display: flex;
}
.btn-top {
  background: var(--primary);
}

.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* =====================
   reCAPTCHA v3 BADGE
===================== */

/* Aviso de privacidade do reCAPTCHA */
.recaptcha-notice {
  font-size: 0.75rem;
  color: #666;
  margin: 0.75rem 0;
  text-align: center;
  line-height: 1.4;
  padding: 0.5rem;
  background-color: #f9f9f9;
  border-radius: 4px;
  border-left: 3px solid #69066d;
}

.recaptcha-notice a {
  color: #69066d;
  font-weight: 500;
  text-decoration: underline;
}

.recaptcha-notice a:hover {
  opacity: 0.8;
}

/* Estilizar a badge do reCAPTCHA */
.grecaptcha-badge {
  visibility: visible !important;
  bottom: 10px !important;
  left: -186px !important;
  right: auto !important;
  position: fixed !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: row-reverse !important;
  transition: left 0.2s ease !important;
}

.grecaptcha-badge:hover {
  left: 10px !important;
}

/* Badge light theme (padrão) */
.grecaptcha-badge iframe {
  max-width: 100%;
  border-radius: 4px;
  backface-visibility: hidden;
}

/* Adicionar sombra sutil à badge */
.grecaptcha-badge {
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}


/* Tablet e acima */
@media (max-width: 1024px) {
  .grecaptcha-badge {
    bottom: 10px !important;
    flex-direction: row-reverse !important;
  }
}

/* Em dispositivos móveis, reduzir tamanho se necessário */
@media (max-width: 600px) {
  .grecaptcha-badge {
    bottom: 5px;
    left: -186px !important;
    right: auto !important;
    font-size: 10px;
  }

  .grecaptcha-badge:hover {
    left: 5px !important;
  }
}
@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 72px;
    right: 4%;
    background: #ffffff;
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .brand img {
    width: 150px;
  }

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

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

  .logo-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .section-title {
    margin-bottom: 2rem;
  }

  .container {
    width: 95%;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
  }

  .hero-card {
    padding: 1.5rem;
  }

  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
  }

  .card {
    padding: 1.5rem;
  }

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

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
  }

  .cookie-banner {
    bottom: 16px;
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 3rem 0 2rem;
  }

  .btn {
    width: 100%;
    padding: 0.85rem 1.2rem;
  }

  .nav {
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    max-width: none;
    border-radius: 0;
    flex-direction: column;
    padding: 1.5rem;
  }

  .brand img {
    width: 130px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .section-title h2 {
    font-size: clamp(1.6rem, 5vw, 2rem);
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .card {
    padding: 1.2rem;
  }

  .card h3 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.9rem;
  }

  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .logo-card {
    min-height: 100px;
    padding: 0.75rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .news-card {
    padding: 1.5rem;
  }

  .floating-actions {
    right: 12px;
    bottom: 12px;
  }

  .btn-whatsapp,
  .btn-top {
    width: 48px;
    height: 48px;
  }

  .btn-whatsapp-auto {
    width: 100%;
    height: auto;
  }

  form {
    gap: 0.8rem;
  }

  input,
  select,
  textarea {
    padding: 0.8rem 0.9rem;
    font-size: 16px;
  }

  textarea {
    min-height: 120px;
  }

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

@media (max-width: 400px) {
  .container {
    width: 96%;
  }

  .section {
    padding: 2rem 0;
  }

  .hero {
    padding: 2.5rem 0 1.5rem;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .section-title h2 {
    font-size: 1.4rem;
  }

  .section-title p {
    font-size: 0.85rem;
  }

  .card {
    padding: 1rem;
    gap: 0.8rem;
  }

  .card h3 {
    font-size: 0.95rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .about-card {
    padding: 1.2rem;
  }

  .news-card {
    padding: 1.2rem;
  }

  .btn {
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
  }

  .floating-actions {
    right: 8px;
    bottom: 8px;
    gap: 0.5rem;
  }
}


