/* ========== FONTES E VARIÁVEIS GLOBAIS ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Lato:wght@400;700&display=swap');

/* ========== FONTES E VARIÁVEIS GLOBAIS ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Lato:wght@400;700&display=swap');

:root {
  --primary-color: #0E9594;
  --secondary-color: #F2542D;
  --form-icon-color: #28a745;
  --dark-color: #4A3F35;
  --light-color: #f8f9fa;
  --text-color: #4a5568;
  --bg-color: #DBE4EE;
  --border-color: #e2e8f0;
  --border-radius: 16px;
  --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --transition: all 0.3s ease-in-out;
  --max-width: 1080px;
  --accent: #f15a2b;
  /* seu laranja */
  --muted: #6b7176;
  /* cinza para subtítulo */
  --heading-color: #3b332f;
  /* cor do H1 */
}

/* ========== ESTILOS GERAIS ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.7;
  overflow-x: hidden
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  font-weight: 600;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin: 0.5rem 0;
}

/* ========== CABEÇALHO (HEADER) ========== */
.header {
  background-color: #ffffff;
  padding: 2.6rem 0 3.2rem;
  /* mais espaço topo/baixo para hierarquia */
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* CONTAINER para controlar largura do conteúdo */
.header .container {
  width: 100%;
  max-width: var(--max-width);
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

/* LOGO — escala menor e proporcional */
.header .logo {
  width: auto;
  max-width: 300px;
  /* ajustado para ficar proporcional com título */
  height: auto;
  margin-bottom: 0.6rem;
  display: block;
}

/* PRE-HEAD / topo pequeno (ex: "Tenha sua marca em evidência.") */
.header .pre-head {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: var(--muted);
  font-size: 1.05rem;
  margin-top: 6px;
  margin-bottom: 6px;
}

/* SLOGAN / H1 mais harmônico */
.header .slogan {
  color: var(--heading-color);
  font-size: 2.4rem;
  /* principal H1 */
  font-weight: 700;
  line-height: 1.12;
  margin: 0.6rem 0 0;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.02em;
  max-width: 940px;
  /* controla comprimento da linha */
  text-align: center;
}

/* TITLE SECTION (subtitulo logo abaixo do H1) */
.title {
  margin: 2.4rem 0 1rem;
  width: 100%;
}

.title p {
  font-size: 1.05rem;
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.6;
  font-family: 'Lato', sans-serif;
}

/* BOTÃO principal (ajuste visual) */
.btn-with-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.72rem 1.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 16px rgba(17, 17, 17, 0.08);
  margin-bottom: 2rem;
  transition: transform .12s ease, box-shadow .12s ease;
}

.btn-with-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.10);
}

/* BADGE — mais discreto, com fundo claro para contraste */
.cta-badge {
  background: rgba(255, 255, 255, 0.95);
  /* branco translúcido para melhor leitura */
  color: var(--accent);
  /* texto laranja */
  font-size: 0.78rem;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0.06);
  font-weight: 700;
}

/* MICROCOPY sob o botão */
.micro {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-family: 'Lato', sans-serif;
}

/* GRADIENT / topo animado — tornar sutil */
@keyframes varredura {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

.topbar h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-top: 0.5rem;
  background: linear-gradient(90deg, var(--accent), #5a8df0, var(--accent));
  background-size: 200% auto;
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: varredura 6s linear infinite;
}

/* CORREÇÃO DE SELECTOR INVÁLIDO anterior */
@keyframes entradaEsquerda {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* exemplo para aplicar entrada a um botão específico */
.btn-with-badge {
  animation: entradaEsquerda .6s ease-out both;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .header .logo {
    max-width: 260px;
  }

  .header .slogan {
    font-size: 1.9rem;
    max-width: 720px;
  }

  .title p {
    font-size: 1.0rem;
    max-width: 640px;
  }

  .title {
    margin-top: 1rem;
    margin-bottom: 0.6rem;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 1.6rem 0 2rem;
  }

  .header .logo {
    max-width: 200px;
    margin-bottom: 0.25rem;
  }

  .header .slogan {
    font-size: 1.4rem;
    margin-top: 0.4rem;
  }

  .btn-with-badge {
    padding: 0.6rem 1rem;
    gap: 8px;
  }

  .cta-badge {
    display: none;
  }

  /* simplificar em mobile */
  .title {
    margin: 2rem 0 1rem;
  }

  .title p {
    font-size: 0.96rem;
    max-width: 92%;
  }
}


/* ========== SEÇÃO COMO FUNCIONA ========== */
.how-it-works {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.step-item {
  background-color: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.step-item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--primary-color);
}

.step-item img {
  height: 80px;
  width: auto;
  margin-bottom: 1.5rem;
}

.step-item h3 {
  margin-bottom: 1rem;
}

/* ========== SEÇÃO DE PORTFÓLIO/GALERIA (NOVO) ========== */
.portfolio {
  padding: 4rem 0;
  background-color: var(--light-color);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== SELETOR DE CORES ========== */
.color-selection {
  background: #f8f9fa;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin: 40px auto;
  max-width: 900px;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  color: #333;
  font-size: 2rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 20px;
  color: #6c757d;
  font-size: 1.1rem;
}

/* NOVO: Estilo para o texto de instrução */
.instructions {
  text-align: center;
  padding: 15px;
  background-color: #e9f5ff;
  color: #005a9e;
  border-radius: 8px;
  margin-bottom: 30px;
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* NOVO: Estilos para a seção de paletas */
.palette-section {
  text-align: center;
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.palette-title {
  margin: 0 0 15px 0;
  color: #333;
  font-weight: 600;
}

.palette-options {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.palette-btn {
  padding: 10px 20px;
  border: 1px solid #ddd;
  background-color: #fff;
  color: #555;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.palette-btn:hover {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  transform: translateY(-2px);
}

.selection-container {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-bottom: 30px;
}

/* MELHORIA: Separação visual entre os painéis */
.selection-panel {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

.panel-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.panel-title i {
  color: #007bff;
}

.color-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

/* MELHORIA: Consistência de tamanho e feedback visual */
.color-option {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* Garante que seja sempre um quadrado */
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 2px solid transparent;
}

.color-option:hover {
  transform: scale(1.08);
}

.color-option.selected {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  outline: 3px solid #007bff;
  outline-offset: 3px;
}

.color-option .color-name {
  font-size: 11px;
  font-weight: 600;
  color: white;
  padding: 3px 6px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  margin: 4px;
  text-shadow: none;
}

.color-option .color-name.light {
  color: #333;
  background-color: rgba(255, 255, 255, 0.4);
}

.selected-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-top: 15px;
  font-size: 0.9rem;
  color: #555;
}

.selected-color-box {
  width: 25px;
  height: 25px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.preview-section {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  margin-bottom: 30px;
}

.preview-title {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-size: 1.4rem;
}

.preview-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  /* Aumentado para melhor visualização */
}

.apron-preview {
  width: 150px;
  height: 200px;
  background-color: #f0f0f0;
  border-radius: 15px 15px 5px 5px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.logo-preview {
  width: 80px;
  height: 80px;
  background-color: #ccc;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #555;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
  /* Garante que a imagem não saia do círculo */
}

/* NOVO: Estilo para a imagem da logo na prévia */
.logo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* NOVO: Estilo para o botão de upload */
.upload-logo-action {
  text-align: center;
  margin-top: 20px;
}

.btn {
  padding: 12px 25px;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
  transform: translateY(-2px);
}

.action-buttons {
  text-align: center;
}

/* MELHORIA: Botão principal mais visível */
#confirmButton {
  background-color: #28a745;
  /* Verde sucesso */
  color: white;
  padding: 18px 40px;
  /* Maior */
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

#confirmButton:disabled {
  background-color: #a0a0a0;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.7;
}

#confirmButton:not(:disabled):hover {
  background-color: #218838;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

/* NOVO: Estilo para a mensagem de sucesso */
.success-message {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 150%);
  background-color: #28a745;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.4s ease-in-out;
  z-index: 1000;
}

.success-message.show {
  transform: translate(-50%, 0);
}

.success-message i {
  font-size: 1.5rem;
}

/* Suas classes de cores .apron-* e .logo-* podem ser coladas aqui */

@media (max-width: 768px) {
  .color-selection {
    padding: 20px;
    margin: 20px;
  }

  .selection-container {
    flex-direction: column;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .color-options {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
  }

  #confirmButton {
    padding: 15px 30px;
    width: 100%;
  }
}

/* ========== SEÇÃO DE UPLOAD ========== */
.upload {
  padding: 5rem 0;
}

.upload-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  background-color: #ffffff;
  padding: 4rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.upload-info h2 {
  margin-bottom: 1.5rem;
}

.upload-info .formats {
  font-size: 0.9rem;
  background-color: var(--light-color);
  padding: 0.8rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.upload-area {
  border: 3px dashed var(--border-color);
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background-color: #fafafa;
}

.upload-area i {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.upload-area:hover {
  border-color: var(--primary-color);
  background-color: #F8FEFE;
}

/* ========== SEÇÃO DE PEDIDO (FORMULÁRIO) ========== */
.order {
  padding: 5rem 0;
  background-color: var(--bg-color);
}

.order .section-header h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 2.2rem;
}

.order .section-header h1 i {
  color: var(--form-icon-color);
  /* Ícone do título em verde */
}

.order-form {
  max-width: 800px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.form-group label i {
  color: var(--form-icon-color);
  font-size: 1.1rem;
}

.form-control {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(242, 84, 45, 0.2);
}

.form-icon-img {
  width: 22px;
  height: auto;
  vertical-align: middle;
}

.payment-options .option {
  gap: 0.6rem;
}

.payment-options .option:hover i,
.payment-options .option:hover h4 {
  color: var(--secondary-color);
}

.payment-options .option:hover img {
  opacity: 0.8;
}

.payment-options .option.selected img {
  opacity: 1;
}

.form-group label i {
  color: var(--form-icon-color);
  font-size: 1.1rem;
}

.payment-options h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.payment-options h3 i {
  color: var(--form-icon-color);
  /* Ícone do título em verde */
}

.payment-options .options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.payment-options .option {
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition);
}

.payment-options .option i {
  font-size: 1.2rem;
  color: var(--text-color);
  margin: 0;
}

.payment-options .option h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
}

.payment-options .option[data-payment="pix"]:hover {
  border-color: #25D366;
  background-color: #f0fff4;
}

.payment-options .option[data-payment="pix"]:hover h4 {
  color: #25D366;
}

.payment-options .option[data-payment="debit"]:hover {
  border-color: #526EB7;
  background-color: #f0f7ff;
}

.payment-options .option[data-payment="debit"]:hover h4 {
  color: #526EB7;
}

.payment-options .option[data-payment="credit"]:hover {
  border-color: #6f42c1;
  background-color: #f9f6ff;
}

.payment-options .option[data-payment="credit"]:hover h4 {
  color: #6f42c1;
}

.payment-options .option:hover i,
.payment-options .option:hover h4 {
  color: var(--secondary-color);
}

.payment-options .option.selected {
  border-color: var(--secondary-color);
  background-color: #fff5f2;
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.payment-options .option.selected i,
.payment-options .option.selected h4 {
  color: var(--secondary-color);
}

.btn-submit {
  background: var(--secondary-color);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(242, 84, 45, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: none;
}

.btn-submit:hover {
  background-color: #e04a20;
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(242, 84, 45, 0.3);
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .payment-options .options {
    grid-template-columns: 1fr;
  }
}

/* ========== SEÇÃO DE DEPOIMENTOS (NOVO) ========== */
.testimonials {
  padding: 4rem 0 5rem 0;
  background-color: var(--light-color);
}

.testimonial-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.testimonial-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  border-left: 5px solid var(--primary-color);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card h4 {
  color: var(--dark-color);
  font-weight: 600;
}


/* ========== BOTÕES ========== */
.btn,
.btn-secondary {
  display: inline-block;
  color: #fff;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn {
  background: var(--secondary-color);
  box-shadow: 0 4px 15px rgba(242, 84, 45, 0.3);
}

.btn-secondary {
  background: var(--primary-color);
  box-shadow: 0 4px 15px rgba(14, 149, 148, 0.3);
}

.btn:hover,
.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.15);
}

/* Efeito de brilho no botão */
.btn::after,
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.btn:hover::after,
.btn-secondary:hover::after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }

  100% {
    transform: scale(100, 100);
    opacity: 0;
  }
}


/* ========== RODAPÉ (FOOTER) ========== */
.footer {
  background: var(--dark-color);
  color: #a0aec0;
  text-align: center;
  padding: 3rem 0;
  margin-top: 4rem;
}

.footer .social-links {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer .social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: var(--transition);
}

.footer .social-links a:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

/* ========== RESPONSIVIDADE ========== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .testimonial-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .upload-content {
    grid-template-columns: 1fr;
    padding: 2.5rem;
    gap: 2.5rem;
  }

  .upload-info {
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 1rem;
  }

  .title {
    margin: 2.5rem 0;
  }

  .how-it-works,
  .upload,
  .order,
  .portfolio {
    padding: 3rem 0;
  }

  .order-form,
  .color-selector,
  .upload-content {
    padding: 2rem;
  }

  .payment-options .options {
    grid-template-columns: 1fr;
  }
}

/* ========== SEÇÃO DE PORTFÓLIO/GALERIA (VERSÃO CORRIGIDA) ========== */
.portfolio {
  padding: 4rem 0;
  background-color: var(--light-color);
}

.gallery {
  display: grid;
  /* Mantém o layout de 3 colunas que você gostou */
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  /* Define uma largura máxima para o grid */
  margin: 0 auto;
  /* Centraliza o grid na página */
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- AJUSTES DE RESPONSIVIDADE PARA A GALERIA --- */
@media (max-width: 992px) {
  .gallery {
    /* Altera para 2 colunas */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .gallery {
    /* Altera para 1 coluna, para melhor visualização */
    grid-template-columns: 1fr;
  }
}