* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fafb;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  font-size: 2.2rem;
  color: #2c3e50;
  text-align: center;
  margin: 20px 0;
}

.subtitle {
  text-align: center;
  color: #7f8c8d;
  max-width: 700px;
  margin: 0 auto 25px;
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #2980b9;
}

.ad-banner {
  background: #e8f4fc;
  padding: 15px;
  margin: 20px 0;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #d6eaf8;
}

.ad-banner a {
  color: #2980b9;
  text-decoration: underline;
}

.features {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin: 30px 0;
}

.feature {
  width: 30%;
  text-align: center;
  padding: 15px;
}

.feature h3 {
  margin: 10px 0;
  color: #2c3e50;
}

footer {
  text-align: center;
  margin-top: 40px;
  color: #95a5a6;
}

.section {
  margin: 20px 0;
  padding: 15px;
  background: #f1f1f1;
  border-radius: 6px;
}

input, textarea, select {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: 1px solid #ddd;
  border-radius: 4px;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

.btn-primary {
  background: #27ae60;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  margin: 10px 0;
}

.btn-primary:hover {
  background: #219653;
}

.model-selector {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.model-selector label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px 12px;
  background: #e0e0e0;
  border-radius: 4px;
  font-size: 0.95rem;
}

.model-selector input[type="radio"] {
  margin: 0;
}

#foto-preview-container {
  margin-top: 10px;
  text-align: center;
}

.profile-pic-editor {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.skills-category {
  margin: 15px 0;
}

.skills-category h4 {
  margin: 10px 0 8px;
  color: #2c3e50;
}

.skills-category h5 {
  margin: 12px 0 8px;
  color: #2c3e50;
  font-size: 0.95rem;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.skills-tags button {
  padding: 6px 10px;
  background: #ecf0f1;
  border: 1px solid #bdc3c7;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.9rem;
}

.skills-tags button:hover {
  background: #d5dbdb;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.skills-list span {
  background: #3498db;
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
}

.skills-list button {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: bold;
  padding: 0 4px;
}

.curso-item {
  background: white;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  position: relative;
}

.curso-item button.remover-curso {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #e74c3c;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
}

.resume-preview {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
  margin-top: 30px;
  padding: 20px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.resume-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.profile-pic {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #3498db;
}

.header-info h2 {
  margin: 0;
  color: #2c3e50;
}

.resumo-texto {
  font-style: italic;
  color: #555;
  margin-top: 8px;
}

.left-column {
  padding: 15px;
}

.right-column {
  padding: 15px;
}

.right-column h3 {
  margin: 15px 0 10px;
  color: #2c3e50;
}

.footer-branding {
  margin-top: 25px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  font-size: 10px;
  color: #999;
  text-align: center;
}

.download-page {
  text-align: center;
  padding: 40px 20px;
}

.btn-group {
  margin: 25px 0;
}

.btn {
  padding: 12px 25px;
  margin: 0 10px;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.pdf { background: #e74c3c; }
.word { background: #27ae60; }
.note {
  font-size: 0.9rem;
  color: #7f8c8d;
}

.thank-you {
  text-align: center;
  padding: 50px 20px;
}

.cta-link {
  display: inline-block;
  margin-top: 10px;
  color: #2980b9;
  font-weight: bold;
  text-decoration: underline;
}

.back-link {
  margin-top: 30px;
}

.back-link a {
  color: #3498db;
  text-decoration: none;
}

.pix-container {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.pix-container input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.pix-container button {
  padding: 10px 15px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* ... (todo o CSS anterior até .pix-container button:hover) ... */

.pix-container button:hover {
  background: #45a049;
}

/* === BOTÕES DE TESTE === */
.btn-teste {
  background: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  margin: 5px;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.btn-teste:hover {
  background: #5a6268;
}

.btn-teste.reset {
  background: #dc3545;
}

.btn-teste.reset:hover {
  background: #c82333;
}

/* ... (restante do CSS permanece igual) ... */
}

/* === MODELOS DE CURRÍCULO === */
.modelo-minimalista {
  font-family: 'Georgia', serif;
  color: #000;
  background: white;
}

.modelo-minimalista .resume-header {
  border-bottom: 1px solid #000;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.modelo-minimalista .left-column {
  background: #fafafa;
  padding: 15px;
}

.modelo-minimalista h2 {
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.modelo-minimalista h3 {
  font-family: Georgia, serif;
  font-size: 18px;
  margin: 20px 0 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}

.modelo-moderno {
  font-family: 'Segoe UI', sans-serif;
  color: #2d3748;
}

.modelo-moderno .resume-header {
  border-bottom: 3px solid #2563eb;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.modelo-moderno .left-column {
  background: #eff6ff;
  padding: 15px;
  border-left: 4px solid #2563eb;
}

.modelo-moderno h2 {
  font-size: 32px;
  color: #1e40af;
  margin-bottom: 8px;
}

.modelo-moderno h3 {
  color: #1e40af;
  margin: 20px 0 12px;
}

/* === MODELO 3: ELEGANTE === */
.modelo-elegante .resume-preview {
  display: flex !important;
  gap: 0 !important;
  padding: 0 !important;
}

.modelo-elegante .left-column {
  width: 22% !important;
  background: #2563eb !important;
  color: white !important;
  padding: 25px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.modelo-elegante .left-column h2 {
  color: white !important;
  margin: 0 0 20px !important;
  font-size: 24px !important;
}

.modelo-elegante .left-column p {
  color: #dbeafe !important;
  margin: 10px 0 !important;
  font-size: 14px !important;
}

.modelo-elegante .right-column {
  width: 78% !important;
  padding: 25px 30px !important;
  color: #2d3748 !important;
}

/* === MODELO 4: CLEAN === */
.modelo-clean .resume-preview {
  display: block !important;
  padding: 40px !important;
  background: white !important;
}

.modelo-clean .resume-header {
  text-align: center !important;
  margin-bottom: 25px !important;
}

.modelo-clean .resume-header h2 {
  font-size: 32px !important;
  margin-bottom: 10px !important;
}

.modelo-clean .section-divider {
  border-top: 1px solid #ddd !important;
  margin: 25px 0 !important;
}

/* === MODELO 5: CRIATIVO === */
.modelo-criativo {
  font-family: 'Segoe UI', sans-serif !important;
  color: #2d3748 !important;
  background: #f8fafc !important;
}

.modelo-criativo .resume-preview {
  background: #f8fafc !important;
  padding: 30px !important;
}

.modelo-criativo .resume-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  margin-bottom: 25px !important;
}

.modelo-criativo .profile-pic {
  width: 100px !important;
  height: 100px !important;
  border-radius: 10px !important;
  border: 3px solid #a7f3d0 !important;
}

.modelo-criativo .left-column,
.modelo-criativo .right-column {
  padding: 0 !important;
}

.modelo-criativo h3 {
  color: #0d9488 !important;
  margin: 20px 0 15px !important;
}

/* === RESPONSIVO PARA MODELOS === */
@media (max-width: 768px) {
  .feature { width: 100%; margin-bottom: 20px; }
  .resume-preview { grid-template-columns: 1fr; }
  .resume-header { flex-direction: column; text-align: center; }
  .model-selector { flex-direction: column; align-items: flex-start; }
  .pix-container { flex-direction: column; }
  
  /* Responsivo para modelos especiais */
  .modelo-elegante .resume-preview,
  .modelo-criativo .resume-header {
    flex-direction: column !important;
    align-items: center !important;
  }
  .modelo-elegante .left-column {
    width: 100% !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
  }
}

/* === LINK DE E-MAIL === */
.email-link {
  display: inline-block;
  margin-top: 10px;
  color: #3498db;
  text-decoration: underline;
  font-size: 0.95rem;
}

.email-link:hover {
  color: #2980b9;
}

/* === BOTÕES DE AFILIADOS === */
.action-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
  flex-wrap: wrap;
  width: 100%;
}

/* Estilo base para todos os botões de ação */
.action-btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 200px;
  color: white;
  border: 2px solid transparent;
  font-size: 1rem;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Botão iPED */
.iped-btn {
  background: linear-gradient(135deg, #e53e3e, #f56565);
  border-color: #c53030;
}

.iped-btn:hover {
  background: linear-gradient(135deg, #c53030, #e53e3e);
}

/* Botão Estácio */
.estacio-btn {
  background: linear-gradient(135deg, #0d6efd, #3d8bfd);
  border-color: #0b5ed7;
}

.estacio-btn:hover {
  background: linear-gradient(135deg, #0b5ed7, #0d6efd);
}

/* Botão principal (Criar Currículo) */
.cta-button {
  background: linear-gradient(135deg, #3498db, #2980b9);
  border-color: #2980b9;
  padding: 14px 32px !important;
  min-width: 240px !important;
  font-size: 1.1rem !important;
  border-radius: 50px !important;
}

.cta-button:hover {
  background: linear-gradient(135deg, #2980b9, #1c6ea4);
  transform: translateY(-2px);
}

/* Responsivo para botões */
@media (max-width: 768px) {
  .action-buttons {
    flex-direction: column;
    align-items: center;
  }
  .action-btn, .cta-button {
    width: 100%;
    max-width: 320px;
  }
  }

