@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

:root {
  --primary: #e52329; /* Red */
  --primary-dark: #c41d22;
  --secondary: #0a1f3f; /* Dark Blue */
  --accent: #eab308; /* Yellow/Gold */
  --text-main: #1e293b;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-footer: #f1f5f9;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow: 0 4px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
  color: var(--text-main);
  background: var(--bg-white);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .footer-title, .hero-subtitle, .section-subtitle {
  letter-spacing: -0.05em;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 10; }

/* NAVBAR */
.navbar {
  position: absolute;
  top: 0; left: 0; width: 100%;
  z-index: 100;
  padding: 12px 0;
}
.navbar-inner {
  display: flex; justify-content: space-between; align-items: center;
}
.navbar-left {
  display: flex; align-items: center; gap: 40px;
}
.logo img { height: 44px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-weight: 600; font-size: 15px; color: var(--secondary); }
.btn-nav {
  background: var(--primary);
  color: #fff !important;
  padding: 12px 24px;
  border-radius: 8px;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 14px rgba(229, 35, 41, 0.4);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 768px;
  padding-top: 140px;
  padding-bottom: 60px;
  overflow: hidden;
  background: var(--bg-light);
}

/* The diagonal cut background for the left text */
.hero-bg-left {
  position: absolute;
  top: 0; left: 0; bottom: 0; width: 60%;
  background: #ffffff;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  z-index: 1;
  box-shadow: 10px 0 30px rgba(0,0,0,0.1);
}
/* Orange thin line along the diagonal */
.hero-bg-line {
  position: absolute;
  top: 0; left: 0; bottom: 0; width: 61%;
  background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
  z-index: 0;
}

/* Right image */
.hero-image {
  position: absolute;
  top: 0; right: 0; width: 50%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  max-width: 1200px;
}
.hero-text {
  max-width: 550px;
}
.hero-subtitle {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.hero-title {
  font-size: 72px;
  font-weight: 900;
  color: var(--secondary);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title span { color: var(--primary); }
.hero-desc {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 500px;
}

/* GRANDES DESTAQUES ABAIXO DO HERO */
.features-grid-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item-large {
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  transition: transform 0.3s;
}
.feature-item-large:hover {
  transform: translateY(-3px);
}
.feature-item-large .feature-icon {
  width: 60px;
  height: 60px;
  background: #fffcf2;
  color: var(--accent);
  font-size: 24px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  flex-shrink: 0;
}
.feature-item-large h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.3;
  margin: 0;
}

/* HERO FORM */
.hero-form {
  background: #ffffff;
  padding: 48px 40px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  max-width: 468px;
  width: 100%;
  border: 1px solid #f1f5f9;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.form-grid {
  display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px;
}
.form-input {
  display: flex; align-items: center; gap: 12px;
  border: 1px solid #cbd5e1;
  padding: 16px 20px;
  border-radius: 12px;
  color: var(--text-light);
}
.form-input i { color: #cbd5e1; font-size: 18px; }
.form-input input, .form-input select {
  border: none; outline: none; width: 100%; font-family: inherit; font-size: 16px; background: transparent;
}
.btn-submit {
  width: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #ff4b50 100%);
  color: #fff;
  font-weight: 700;
  padding: 18px;
  border-radius: 12px;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(229, 35, 41, 0.4);
  display: flex; justify-content: center; align-items: center; gap: 8px;
}

/* HERO BOTTOM SHAPE */
.hero-bottom-shape {
  position: absolute;
  bottom: -2px; left: 0; width: 100%;
  z-index: 20;
}
.hero-bottom-shape svg { width: 100%; height: auto; display: block; }

/* SECTIONS COMMON */
.section { padding: 100px 0; }
.section-title-wrap { margin-bottom: 48px; }
.section-subtitle {
  color: var(--accent); font-weight: 700; font-size: 14px; text-transform: uppercase; margin-bottom: 8px;
}
.section-title {
  font-size: 64px; font-weight: 900; color: var(--secondary); line-height: 1.2;
}
.section-title span { color: var(--primary); }
.section-desc { color: var(--text-light); font-size: 18px; line-height: 1.6; }

/* DIFERENCIAIS GRID */
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.dif-card {
  background: #fff; border-radius: 16px; padding: 20px;
  box-shadow: none;
  border: 1px solid #e2e8f0;
}
.dif-card-1 {
  grid-column: 1 / 2; grid-row: 1 / 3;
  position: relative; overflow: hidden;
}
.dif-card-1::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 8px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
}
.dif-card-2 { grid-column: 2 / 4; grid-row: 1 / 2; display: flex; align-items: center; gap: 24px; }
.dif-card-3 { grid-column: 2 / 3; grid-row: 2 / 3; display: flex; align-items: center; gap: 16px; }
.dif-card-4 { grid-column: 3 / 4; grid-row: 2 / 3; display: flex; align-items: center; gap: 16px; }

.dif-icon-large { height: 200px; display: flex; justify-content: center; align-items: center; overflow: hidden; margin-bottom: 24px; }
.dif-icon-large img { width: 260px; max-width: none; flex-shrink: 0; }
.dif-icon-horizontal { width: 150px; height: 150px; display: flex; justify-content: center; align-items: center; overflow: hidden; flex-shrink: 0; }
.dif-icon-horizontal img { width: 200px; max-width: none; flex-shrink: 0; }
.dif-icon-small { width: 120px; height: 120px; display: flex; justify-content: center; align-items: center; overflow: hidden; flex-shrink: 0; }
.dif-icon-small img { width: 160px; max-width: none; flex-shrink: 0; }
.dif-number { font-size: 16px; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.dif-card h3 { font-size: 24px; font-weight: 800; color: var(--secondary); margin-bottom: 12px; }
.dif-card p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* METODO */
.metodo-wrap {
  text-align: center;
  position: relative;
  display: flex;
  gap: 24px;
  margin-top: 64px;
}
.metodo-line {
  display: none;
}
.metodo-item {
  position: relative;
  z-index: 2;
  flex: 1;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s;
}
.metodo-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.metodo-number {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 32px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.metodo-circle {
  width: 100px; height: 100px;
  background: #fff;
  border-radius: 50%;
  margin: 16px auto 24px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
}
.metodo-circle::before {
  content: ''; position: absolute; inset: -4px; border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%); z-index: -1;
}
.metodo-circle i { font-size: 36px; color: var(--primary); }
.metodo-item h4 { font-size: 24px; font-weight: 800; color: var(--secondary); margin-bottom: 12px; }
.metodo-item p { font-size: 15px; color: var(--text-light); line-height: 1.5; }

/* CURSOS */
.cursos-grid {
  display: grid; grid-template-columns: 350px 1fr; gap: 40px;
}
.cursos-sidebar {
  background: #fff; padding: 40px; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cursos-sidebar h3 { font-size: 28px; font-weight: 800; color: var(--secondary); margin-bottom: 16px; }
.cursos-sidebar h3 span { color: var(--primary); }
.cursos-sidebar p { font-size: 14px; color: var(--text-light); margin-bottom: 32px; }
.cursos-list li {
  display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; color: var(--text-main);
  margin-bottom: 16px;
}
.cursos-list li i { color: var(--accent); font-size: 20px; }
.help-box {
  background: #f8fafc; padding: 20px; border-radius: 8px; margin-top: 32px;
  display: flex; align-items: center; gap: 16px; margin-bottom: 16px;
}
.btn-whatsapp-red {
  display: block; width: 100%; text-align: center;
  background: var(--primary); color: #fff; font-weight: 700; padding: 16px; border-radius: 8px;
}

.curso-card {
  background: #fff; padding: 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid #f1f5f9;
  display: flex; align-items: center; gap: 24px;
  margin-bottom: 16px;
}
.curso-icon {
  width: 80px; height: 80px; background: #fffcf2; border: 1px solid #fde68a; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: 32px; color: var(--accent);
}
.curso-info { flex: 1; }
.curso-info h4 { font-size: 20px; font-weight: 800; color: var(--secondary); margin-bottom: 4px; }
.curso-info p { font-size: 13px; color: var(--text-light); }
.curso-meta {
  display: flex; flex-direction: column; gap: 8px; padding-right: 24px; border-right: 1px solid #e2e8f0;
}
.curso-meta span { font-size: 12px; font-weight: 600; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.curso-meta i { color: var(--accent); }
.curso-btn {
  background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 14px;
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid #e2e8f0;
  padding: 24px 0;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 18px; font-weight: 700; color: var(--secondary); cursor: pointer;
}
.faq-question i { color: var(--primary); font-size: 20px; }

/* FOOTER */
.footer-top {
  background: var(--secondary);
  padding: 60px 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px;
}
.footer-brand p { font-size: 13px; color: #cbd5e1; margin: 16px 0; }
.footer-title { font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 24px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 13px; color: #cbd5e1; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-item i { color: var(--primary); font-size: 20px; }
.contact-item div { font-size: 13px; font-weight: 700; color: #fff; }
.contact-item span { display: block; font-weight: 400; color: #cbd5e1; font-size: 11px; }
.btn-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-whatsapp-float i {
  font-size: 28px;
}
.btn-whatsapp-float span {
  display: block; font-size: 11px; font-weight: 400; opacity: 0.9; line-height: 1.2;
}
.btn-whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.footer-bottom {
  background: #0b2545;
  border-top: 4px solid var(--primary);
  padding: 24px 0;
  color: #94a3b8;
  font-size: 12px;
  display: flex; justify-content: space-between; align-items: center;
}

/* FORM CONTROLS */
.form-control {
  width: 100%;
  padding: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  color: var(--secondary);
  background: #f8fafc;
  outline: none;
  transition: all 0.3s ease;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(229, 35, 41, 0.1);
  background: #ffffff;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-primary {
  background: linear-gradient(90deg, var(--primary) 0%, #ff4b50 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(229, 35, 41, 0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 35, 41, 0.5);
}

/* FILTRO DE CURSOS/ARTIGOS (cursos.html, blog.html) */
.hidden-card { display: none; }

