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

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

/* ========== BASE ========== */
body {
  font-family: Arial, sans-serif;
  background-color: #020617;
  color: #ffffff;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 1rem;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  z-index: 1001;
}

.logo img {
  width: 40px;
}

.menu-toggle {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
}

.nav {
  position: absolute;
  top: 100%;
  right: 0;
  width: 100%;
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  background-color: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nav.active {
  display: flex;
}

.nav a {
  font-weight: 600;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background: radial-gradient(circle at top, #1f2937, #020617);
}

.hero-content {
  display: grid;
  gap: 2rem;
}

.hero-image img {
  width: 220px;
  margin: 0 auto;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  color: #9ca3af;
  margin-bottom: 1.5rem;
}

/* ========== PRIMARY BUTTON ========== */
/* .btn1 {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 0.7rem;
  background: linear-gradient(135deg, #6101fa, #fb923c);
  font-weight: 600;
  transition: transform 0.2s ease;
}

.btn2 {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border: 2px solid #ffffff;
  border-radius: 0.7rem;
  background-color: transparent;
  font-weight: 600;
  transition: transform 0.2s ease;
} */
/* --- Componente Base: Botão --- */
.btn1,
.btn2 {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;

  /* Transição idêntica para consistência absoluta */
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

/* --- Botão 1: Contactos (Prioritário / Gradiente) --- */
.btn1 {
  background: linear-gradient(135deg, #6101fa, #fb923c) border-box;
  color: #ffffff;
  margin-right: 20px;
}

.btn1:hover {
  transform: translateY(-2px);
  /* Sombra elegante (Glow) usando a cor de identidade para puxar o clique */
  box-shadow: 0 6px 20px rgba(97, 1, 250, 0.35);
}

/* --- Botão 2: Serviços (Secundário / Transparente) --- */
.btn2 {
  border-color: #ffffff;
  background-color: transparent;
  color: #ffffff;
}

.btn2:hover {
  transform: translateY(-2px);
  /* Inversão clássica e limpa: fundo branco, texto escuro */
  background-color: #ffffff;
  color: #111111;
}

/* --- Estado Ativo (Feedback de Clique para ambos) --- */
.btn1:active,
.btn2:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ========== SERVICES ========== */
.services {
  padding: 2.5rem 0;
  scroll-margin-top: 80px;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  gap: 2rem;
}

.card {
  background: #1f2937;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.4);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-content {
  padding: 1.2rem;
}

.card-content h3 {
  margin-bottom: 0.4rem;
}

.card-content p {
  color: #9ca3af;
}
/* ========== ABOUT ========== */
/* =========================================================
   ========== ABOUT SECTION (HISTÓRIA & MASCOTE) ==========
   ========================================================= */

.about {
  padding: 3rem 0;
  scroll-margin-top: 90px;
}

.about-header {
  margin-bottom: 2rem;
}

.about-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fb923c;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-header h2 {
  max-width: 700px;
  font-size: 1.75rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #ffffff;
}

/* Grelha Principal (Mobile por omissão) */
.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

/* ---------------------------------------------------------
   LADO ESQUERDO: LINHA DO TEMPO (MAIS COMPACTA)
   --------------------------------------------------------- */
.about-storyline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.storyline-item {
  background: #11141c;
  border-radius: 12px;
  padding: 1.1rem 1.3rem; /* Ligeiramente mais compacto */
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.storyline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}

.marker-circle {
  width: 30px;
  height: 30px;
  background-color: #fb923c;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 2;
}

.marker-line {
  width: 2px;
  background-color: rgba(255, 255, 255, 0.15);
  position: absolute;
  top: 30px;
  bottom: -2.4rem;
  z-index: 1;
}

.storyline-item:last-child .marker-line {
  display: none;
}

.storyline-content {
  flex: 1;
}

.storyline-content h3 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.storyline-content p {
  color: #a6acb7;
  font-size: 0.88rem; /* Fonte ligeiramente menor no lado esquerdo */
  line-height: 1.5;
  margin: 0;
}

/* ---------------------------------------------------------
   LADO DIREITO: MASCOTE & CARDS (O PROTAGONISTA)
   --------------------------------------------------------- */
.about-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
}

.about-hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: -1.5rem;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(251, 146, 60, 0.3) 0%,
    rgba(168, 85, 247, 0.2) 50%,
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(30px);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.about-hero-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

/* Grelha de 3 Colunas Lado a Lado */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0.6rem;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Card em Vidro / Compacto */
.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.8rem 0.3rem;
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 105px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(251, 146, 60, 0.45);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 20px rgba(251, 146, 60, 0.12);
}

.stat-icon {
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 20px;
  height: 20px;
  stroke: #fb923c;
}

.stat-card h4 {
  color: #9ca3af;
  font-size: 0.68rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.stat-card p {
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* ---------------------------------------------------------
   RESPONSIVIDADE (MOBILE & DESKTOP)
   --------------------------------------------------------- */

/* TELEMÓVEIS PEQUENOS */
@media (max-width: 480px) {
  .about-hero-image img {
    max-width: 230px;
  }

  .about-stats-grid {
    gap: 0.35rem;
  }

  .stat-card {
    padding: 0.65rem 0.2rem;
    min-height: 98px;
    border-radius: 10px;
  }

  .stat-icon svg {
    width: 18px;
    height: 18px;
  }

  .stat-card h4 {
    font-size: 0.62rem;
  }

  .stat-card p {
    font-size: 0.68rem;
  }
}

/* TABLET E PC PEQUENO (A partir de 768px) */
@media (min-width: 768px) {
  .about {
    padding: 4rem 0;
  }

  .about-header h2 {
    font-size: 2.1rem;
  }

  /* 0.8fr para a esquerda | 1.2fr para a direita (Destaque para a Mascote) */
  .about-content {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 2.5rem;
    align-items: center;
  }
}

/* PC DESKTOP (A partir de 1024px) */
@media (min-width: 1024px) {
  .about {
    padding: 5rem 0;
  }

  .about-header h2 {
    font-size: 2.3rem;
  }

  /* Lado Esquerdo Estreito | Lado Direito com 60% da largura total */
  .about-content {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
  }

  .about-right {
    max-width: 100%;
  }

  /* Ilustração do André bem maior no PC */
  .about-hero-image img {
    max-width: 360px;
  }

  .hero-glow {
    width: 320px;
    height: 320px;
  }

  /* Cartões mais bem espaçados no PC */
  .about-stats-grid {
    gap: 0.8rem;
  }

  .stat-card {
    padding: 1rem 0.5rem;
    min-height: 120px;
  }

  .stat-card h4 {
    font-size: 0.75rem;
  }

  .stat-card p {
    font-size: 0.85rem;
  }

  .stat-icon svg {
    width: 24px;
    height: 24px;
  }

  .marker-line {
    bottom: -2.7rem;
  }
}
/* ========== CONTACT ========== */
.contact {
  padding: 4rem 0;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
}

.contact-map,
.contact-card {
  background: #1f2937;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-map {
  padding: 1.25rem;
}

.contact-map h3,
.contact-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.contact-map p,
.contact-card p {
  color: #d1d5db;
}

.contact-map p {
  margin-bottom: 1rem;
}

.map-wrapper {
  overflow: hidden;
  height: 320px;
  border-radius: 0.9rem;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 140px;
  padding: 1.3rem;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.contact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249, 115, 22, 0.3);
}

.contact-card p {
  margin-bottom: 0.6rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.1rem;
  border-radius: 0.7rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #ffffff;
  text-decoration: none;
  transition:
    transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Botão Ligar (Laranja Vibrante) */
.action-link--phone {
  background: #f97316;
  border: 1px solid #f97316;
  box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

/* 2. Botão WhatsApp (Verde Oficial) */
.action-link--whatsapp {
  background: #25d366;
  border: 1px solid #25d366;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

/* 3. Botão Email (Ardósia Premium Corporate) */
.action-link--email {
  background: #374151; /* Cinza ardósia escuro */
  border: 1px solid #374151;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* 💻 Micro-interações de Hover para Computadores (Elevação e Densidade) */
@media (hover: hover) {
  .action-link--phone:hover {
    transform: translateY(-2px);
    background: #ea580c;
    border-color: #ea580c;
    box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
  }

  .action-link--whatsapp:hover {
    transform: translateY(-2px);
    background: #1bd45e;
    border-color: #1bd45e;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }

  .action-link--email:hover {
    transform: translateY(-2px);
    background: #4b5563; /* Clareia sutilmente no hover */
    border-color: #4b5563;
    box-shadow: 0 6px 20px rgba(75, 85, 99, 0.4);
  }
}

/* 📱 Feedback tátil para Telemóvel (O botão "afunda" ao clique) */
.action-link:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* --- Suporte Estrutural para Ícones SVG --- */
.action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
}

.action-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ========== FOOTER ========== */
.footer {
  padding: 2rem 0;
  text-align: center;
  color: #6b7280;
}
/*Social Links */
.social-links {
  margin: 1.5rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.social-links a {
  color: #a6acb7;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.social-links a:hover {
  color: #fb923c; /* Fica laranja no passar do rato */
  transform: translateY(-2px);
}

/* ========== TABLET ========== */
@media (min-width: 768px) {
  .container {
    padding-inline: 1.5rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 0;
    background: transparent;
    border-top: 0;
  }

  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-text {
    text-align: left;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== DESKTOP ========== */
@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 4rem;
  }

  .services {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 1rem 0;
  }

  .services .container {
    max-width: 900px;
  }

  .services-grid {
    gap: 1rem;
  }

  .card img {
    height: 160px;
  }

  .card-content {
    padding: 0.8rem;
  }

  .card-content h3 {
    font-size: 1rem;
  }

  .card-content p {
    font-size: 0.88rem;
  }

  .contact-layout {
    grid-template-columns: 1.3fr 0.9fr;
    align-items: stretch;
  }
}
