:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --surface: #f8f8f8;
  --primary: #f39c12;
  --primary-dark: #d98200;
  --text: #1f2937;
  --muted: #596273;
  --dark: #111827;
  --line: #e5e7eb;
  --success: #1b9c6c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f4f6f8 0%, #eef2f7 100%);
  line-height: 1.6;
}

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 24, 39, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 50px;
  width: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.nav a[href="#matricula"] {
  background: var(--primary);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(243, 156, 18, 0.35);
}

.nav a[href="#matricula"]:hover,
.nav a[href="#matricula"]:focus-visible {
  background: var(--primary-dark);
  color: #ffffff;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 72px 0 48px;
}

.eyebrow {
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--primary-dark);
}

h1,
h2,
h3 {
  color: var(--dark);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  margin-bottom: 18px;
}

.hero-content p,
.section-intro {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

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

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--line);
}

.hero-card,
.form-matricula {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06);
}

.hero-card {
  padding: 28px 24px;
}

.beneficios-lista {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.beneficios-lista li {
  position: relative;
  padding-left: 24px;
  color: var(--text);
}

.beneficios-lista li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.section-space {
  padding: 46px 0;
}

.carousel-section {
    width: 100%;
    padding: 40px 0;
    background-color: #f4f6f8;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track-wrapper {
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    padding: 0;
    margin: 0;
    list-style: none;
    transition: transform 0.5s ease-in-out;
    align-items: center;
}

.carousel-slide {
    min-width: 60%;
    height: 400px;
    margin: 0 15px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    opacity: 0.5; 
    transform: scale(0.9);
    transition: all 0.5s ease-in-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 2px solid #222;
    color: #222;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.carousel-btn.prev { left: 5%; }
.carousel-btn.next { right: 5%; }

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 12px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #222;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary); 
    border-color: var(--primary);
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--dark);
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.social-btn:hover,
.social-btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

@media (max-width: 768px) {
    .carousel-slide { min-width: 85%; height: 250px; }
    .carousel-btn { width: 40px; height: 40px; font-size: 14px; }
    .carousel-btn.prev { left: 2%; }
    .carousel-btn.next { right: 2%; }
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 22px;
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(17, 24, 39, 0.06);
}

th,
td {
  border: 1px solid var(--line);
  padding: 14px 12px;
  text-align: center;
}

th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

tr:nth-child(even) {
  background: var(--surface);
}

.form-matricula {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  margin-top: 22px;
}

.form-matricula label,
.form-matricula legend {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: var(--text);
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(243, 156, 18, 0.25);
  border-color: var(--primary);
}

.radio-group {
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.radio-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 400;
}

.radio-group input {
  accent-color: var(--primary);
}

.btn-submit {
  width: fit-content;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 13px 22px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.mensagem {
  min-height: 24px;
  font-weight: 700;
  color: var(--success);
  margin-top: 4px;
}

.localizacao {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 36px;
}

.localizacao-texto h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  margin-bottom: 14px;
  color: var(--dark);
  font-weight: 800;
}

.localizacao-linha {
  width: 120px;
  height: 4px;
  background: var(--primary);
  border-radius: 999px;
  margin-bottom: 26px;
}

.localizacao-texto p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 22px;
}

.localizacao-lista {
  list-style: none;
  display: grid;
  gap: 14px;
  color: var(--text);
  font-size: 1.02rem;
}

.localizacao-lista li {
  position: relative;
  padding-left: 22px;
  line-height: 1.7;
}

.localizacao-lista li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}

.mapa-card {
  width: 100%;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background: #dfeaf1;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
  border: 1px solid rgba(17, 24, 39, 0.06);
}

.mapa-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 24px 16px;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .localizacao {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mapa-card {
    height: 320px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 52px;
  }

  .nav {
    gap: 14px;
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .form-matricula {
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn,
  .btn-submit {
    width: 100%;
  }

  table,
  th,
  td {
    font-size: 0.92rem;
  }
}

.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
  }
  .whatsapp-btn:hover {
    transform: scale(1.1);
  }
.logo-texto {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-texto::first-letter {
  color: var(--primary);
}
