/*
Theme Name: Meu Aluno Protegido
Theme URI: https://meualunoprotegido.com.br
Author: Canadá Corretora de Seguros
Description: Tema WordPress do programa Meu Aluno Protegido - Proteção que viaja junto com o conhecimento.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: meu-aluno-protegido
*/

/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

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

:root {
  --primary: #1a3a4f;
  --primary-light: #1e4460;
  --primary-dark: #142d3d;
  --accent: #d4782a;
  --accent-light: rgba(212, 120, 42, 0.15);
  --foreground: #1a3a4f;
  --muted: #6b7f8e;
  --bg: #f0f2f5;
  --card: #ffffff;
  --border: #dde3e8;
  --radius: 0.75rem;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
.animate-up { animation: fadeInUp 0.7s ease-out both; }
.animate-left { animation: fadeInLeft 0.7s ease-out both; }
.animate-right { animation: fadeInRight 0.7s ease-out 0.2s both; }
.animate-delay-1 { animation-delay: 0.15s; }
.animate-delay-2 { animation-delay: 0.3s; }
.animate-delay-3 { animation-delay: 0.45s; }

/* ===== NAVBAR ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 58, 79, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(26, 58, 79, 0.2);
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-nav .logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a {
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.625rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(212,120,42,0.3);
  transition: all 0.2s;
}
.btn-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(212,120,42,0.4);
}
.btn-cta-lg {
  padding: 1rem 2.5rem;
  font-size: 1rem;
}

/* Mobile menu */
.nav-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 0.5rem; }
.nav-toggle svg { width: 24px; height: 24px; }
.mobile-menu { display: none; background: var(--primary); border-top: 1px solid rgba(255,255,255,0.1); padding: 1.5rem; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 0.75rem 0; color: rgba(255,255,255,0.8); font-weight: 500; }
.mobile-menu a:hover { color: #fff; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 5rem 0 5rem;
  overflow: hidden;
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.hero-text { flex: 0 0 55%; }
.hero-text h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero-text h1 .highlight { color: var(--accent); filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1)); }
.hero-text .subtitle { font-size: 1.125rem; font-weight: 500; margin-top: 1.25rem; }
.hero-text .subtitle .highlight { color: var(--accent); }
.hero-text .desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-top: 1.25rem;
  max-width: 560px;
  line-height: 1.7;
}
.hero-text .btn-cta { margin-top: 1.75rem; }
.hero-img { flex: 1; display: flex; justify-content: flex-end; }
.hero-img img { max-width: 580px; filter: drop-shadow(0 25px 50px rgba(0,0,0,0.3)); }

@media (max-width: 768px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-img { justify-content: center; }
  .hero-img img { max-width: 100%; }
  .hero-text .desc { margin-left: auto; margin-right: auto; }
}

/* ===== STEPS ===== */
.steps {
  background: var(--bg);
  padding: 5rem 0;
  text-align: center;
}
.steps .label {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.steps h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-top: 1rem;
  letter-spacing: -0.01em;
}
.steps h2 .highlight { color: var(--accent); }
.steps .steps-subtitle {
  color: var(--muted);
  margin-top: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.step-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}
.step-card:hover { box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
.step-card .step-label {
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}
.step-card .icon-wrap {
  background: var(--bg);
  border-radius: 0.75rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step-card .icon-wrap svg { width: 36px; height: 36px; color: var(--primary); }
.step-card h3 { font-weight: 700; color: var(--primary); font-size: 1rem; }
.step-card p { color: var(--muted); font-size: 0.875rem; margin-top: 0.75rem; line-height: 1.6; max-width: 260px; margin-left: auto; margin-right: auto; }

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* ===== FORM SECTION ===== */
.form-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 5rem 0;
  overflow: hidden;
}
.form-section .container {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.form-info { flex: 0 0 40%; }
.form-info .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(212,120,42,0.2);
}
.form-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-top: 1.25rem;
  line-height: 1.2;
}
.form-info h2 .highlight { color: var(--accent); }
.form-info p { color: rgba(255,255,255,0.75); margin-top: 1rem; line-height: 1.7; }
.form-info .checklist { margin-top: 1.5rem; }
.form-info .checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.form-info .checklist .check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(212,120,42,0.2);
  border: 1px solid rgba(212,120,42,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.form-card {
  flex: 1;
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.375rem;
}
.form-group label .required { color: var(--accent); }
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  color: var(--foreground);
  background: var(--card);
  outline: none;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,120,42,0.15);
}
.form-group textarea { resize: none; }
.form-card .btn-cta { margin-top: 1rem; width: auto; }
.form-submit { text-align: center; padding-top: 0.5rem; }

@media (max-width: 768px) {
  .form-section .container { flex-direction: column; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.footer-grid h4 {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
  margin-bottom: 1rem;
}
.footer-grid .address { display: flex; align-items: flex-start; gap: 0.625rem; margin-bottom: 1rem; }
.footer-grid .address svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-grid .address .city { font-weight: 600; font-size: 0.875rem; color: var(--primary); }
.footer-grid .address .detail { font-size: 0.75rem; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.footer-grid .contact-item { display: flex; align-items: center; gap: 0.625rem; font-size: 0.875rem; color: var(--muted); margin-bottom: 0.625rem; }
.footer-grid .contact-item svg { width: 16px; height: 16px; color: var(--accent); }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.social-link:hover { transform: scale(1.1); box-shadow: 0 4px 12px rgba(212,120,42,0.3); }
.social-link svg { width: 20px; height: 20px; }
.susep { font-size: 0.6875rem; color: var(--muted); font-weight: 500; margin-top: 1rem; }
.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
.footer-logo img { height: 100px; width: auto; }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-grid .address { justify-content: center; }
  .social-links { justify-content: center; }
  .footer-logo { display: flex; justify-content: center; }
}
