/*Imports the Poppins font from google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
  --main-color: #ee4c7c; /* Rosa vibrante - usado como cor principal */
  --text-color: #e3e2df; /* Cinza claro - usado como cor de texto */
  --bg-color-01: #000000; /* Vermelho escuro - fundo principal #5D001E*/
  --bg-color-02: #9a1750; /* Rosa escuro - fundo secundário */
  --color-00: #0000001a; /* Transparente */
  --nav-glow: rgba(238, 76, 124, 0.15);
  /* Hover dos links do menu: mais claro que --main-color para “saltar” no fundo escuro */
  --nav-link-hover: #ffb3cc;

  /* Mesma largura de conteúdo em hero, secções e rodapé */
  --container-max-width: 1300px;
  --container-padding-x: 20px;

  --whatsapp-green: #25d366;

  /* Extras */
  --color-01: #e3e2df; /* Cinza claro - neutro */
  --color-02: #009539; /* Verde - sucesso (mantido, pois não há equivalente na nova paleta) */
  --color-03: #e3afbc; /* Rosa suave - destaque */
  --color-04: #c00000; /* Vermelho - erro (mantido, pois é próximo do vermelho escuro) */
  --color-05: #232323; /* Fundo adicional - cinza escuro (mantido) */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  scroll-behavior: smooth;
}

html {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}
body {
  background-color: var(--bg-color-01);
  color: var(--text-color);
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding-x);
  width: 100%;
  box-sizing: border-box;
}

/* Rótulo de secção (pill) — mesmo padrão da hero; variante conforme fundo da secção */
.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.tag .t--pt,
.tag .t--en {
  color: inherit;
}

/* Fundo escuro (#000 / cards escuros): pill rosa sólida */
.tag--dark-bg {
  background: var(--bg-color-02);
  color: var(--text-color);
  border: 1px solid rgba(238, 76, 124, 0.35);
}

/* Fundo rosa (--bg-color-02): pill escura com contorno para contraste */
.tag--rose-bg {
  background: rgba(0, 0, 0, 0.42);
  color: var(--text-color);
  border: 1px solid rgba(238, 76, 124, 0.55);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: all 0.35s ease;
  z-index: 100;
}

.header-bar-wrap {
  padding: 1rem 0 0.35rem;
}

.nav-floating {
  border-radius: 16px;
  background: rgba(14, 10, 18, 0.94);
  border: 1px solid rgba(238, 76, 124, 0.38);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.55),
    0 0 32px var(--nav-glow);
  padding: 0.4rem 0.85rem 0.4rem 1rem;
  backdrop-filter: blur(14px);
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.nav-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  min-height: 52px;
  padding: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.05rem;
  flex: 1;
  min-width: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(227, 226, 223, 0.35);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-switch--mobile {
  margin-bottom: 0.75rem;
  align-self: stretch;
  justify-content: center;
}

.lang-btn {
  background: transparent;
  color: var(--text-color);
  padding: 0.32rem 0.7rem;
  border-radius: 666px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.lang-btn--active {
  background: var(--main-color);
  color: #fff;
}

.lang-btn:not(.lang-btn--active):hover {
  color: var(--main-color);
}

.nav-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(238, 76, 124, 0.45);
  flex-shrink: 0;
}

.btn-whatsapp.nav-whatsapp,
.nav-whatsapp.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--main-color);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-whatsapp:hover {
  box-shadow: 0 0 1rem rgba(238, 76, 124, 0.55);
  transform: translateY(-1px);
  color: #fff !important;
}

.nav-whatsapp i {
  font-size: 1.15rem;
}

.nav-responsive-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 16px;
  background: var(--whatsapp-green);
  color: #fff !important;
  font-weight: 600;
}

.nav-responsive-wa:hover {
  color: #fff !important;
  filter: brightness(1.08);
}

.t--en {
  display: none !important;
}

body.lang-en .t--pt {
  display: none !important;
}

body.lang-en .t--en {
  display: inline !important;
}

body.lang-pt .hero-desc.t--en {
  display: none !important;
}

body.lang-en .hero-desc.t--pt {
  display: none !important;
}

body.lang-en .hero-desc.t--en {
  display: block !important;
}

body.lang-pt .hero-desc.t--pt {
  display: block !important;
}

body.lang-pt .hero-highlight .t--en {
  display: none !important;
}

body.lang-en .hero-highlight .t--pt {
  display: none !important;
}

body.lang-en .hero-highlight .t--en {
  display: block !important;
}

body.lang-pt .hero-highlight .t--pt {
  display: block !important;
}

body.lang-pt .contact-text .t--en {
  display: none !important;
}

body.lang-en .contact-text .t--pt {
  display: none !important;
}

body.lang-en .contact-text .t--en {
  display: block !important;
}

body.lang-pt .contact-text .t--pt {
  display: block !important;
}

body.lang-pt .cookie-modal__text.t--en,
body.lang-pt .cookie-modal__lead.t--en {
  display: none !important;
}

body.lang-en .cookie-modal__text.t--pt,
body.lang-en .cookie-modal__lead.t--pt {
  display: none !important;
}

body.lang-en .cookie-modal__text.t--en,
body.lang-en .cookie-modal__lead.t--en {
  display: block !important;
}

body.lang-pt .cookie-modal__text.t--pt,
body.lang-pt .cookie-modal__lead.t--pt {
  display: block !important;
}

body.lang-pt .profile-card-bio.t--en {
  display: none !important;
}

body.lang-en .profile-card-bio.t--pt {
  display: none !important;
}

body.lang-en .profile-card-bio.t--en {
  display: block !important;
}

body.lang-pt .profile-card-bio.t--pt {
  display: block !important;
}

body.lang-pt .about-p.t--en {
  display: none !important;
}

body.lang-en .about-p.t--pt {
  display: none !important;
}

body.lang-en .about-p.t--en {
  display: block !important;
}

body.lang-pt .about-p.t--pt {
  display: block !important;
}

body.lang-pt ul.timeline-list.t--en {
  display: none !important;
}

body.lang-en ul.timeline-list.t--pt {
  display: none !important;
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp-green);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  z-index: 95;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.07);
  color: #fff !important;
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.55);
}

.tech-stack {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(227, 175, 188, 0.22);
  max-width: 520px;
}

.tech-stack-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  font-weight: 700;
  color: var(--text-color);
  opacity: 0.6;
  margin-bottom: 1rem;
}

.tech-stack-label .t--pt,
.tech-stack-label .t--en {
  color: inherit;
  opacity: inherit;
}

.tech-stack-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  align-items: center;
}

.tech-stack-icons i {
  font-size: 2.15rem;
  opacity: 0.88;
  color: var(--text-color);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    color 0.2s ease;
}

.tech-stack-icons i:hover {
  transform: translateY(-4px);
  opacity: 1;
  color: var(--main-color);
}
.brand img {
  width: 56px;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 5px rgba(238, 76, 124, 0.5));
  transition:
    transform 0.3s ease,
    filter 0.3s ease,
    width 0.3s ease;
}
.brand-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1;
  white-space: nowrap;
}
.brand:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(238, 76, 124, 0.65));
}

header.scrolled .nav-floating {
  border-color: rgba(238, 76, 124, 0.5);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.6),
    0 0 40px var(--nav-glow);
}
header.scrolled .brand img {
  width: 48px;
  filter: drop-shadow(0 0 3px rgba(238, 76, 124, 0.4));
}
header.scrolled .brand-name {
  font-size: 1.2rem;
}
/*ESTILO PARA O MENU DE NAVEGAÇÃO*/
.nav-responsive {
  display: none;
  position: absolute;
  top: 5.5rem;
  right: max(16px, calc((100vw - var(--container-max-width)) / 2 + var(--container-padding-x)));
  left: auto;
  width: auto;
  min-width: 240px;
  flex-direction: column;
  padding: 16px;
  background: rgba(14, 10, 18, 0.97);
  border: 1px solid rgba(238, 76, 124, 0.35);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  z-index: 101;
}

@media (max-width: 991px) {
  .nav-avatar {
    display: none !important;
  }
}

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

  .menu-hamburguer {
    display: block;
  }

  .nav-actions > .lang-switch {
    display: none;
  }

  .nav-floating {
    border-radius: 16px;
  }

  .nav-responsive {
    top: 4.75rem;
    right: 12px;
    max-width: min(320px, calc(100vw - 24px));
  }

  .nav-responsive.active {
    display: flex;
  }
}
/*ESTILO ADICIONAIS PARA O LINKS NO MENU*/
.nav a,
.nav-responsive a {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
  padding: 0.5rem 1rem;
  transition: color 0.25s ease;
}

.nav a span,
.nav-responsive a span {
  color: inherit;
  transition: color 0.25s ease;
}

.nav a:hover,
.nav-responsive a:hover {
  color: var(--nav-link-hover);
  text-shadow: 0 0 16px rgba(238, 76, 124, 0.55);
}

section {
  min-height: 100vh;
  padding: 6rem 6rem 2rem;
}

span {
  color: var(--main-color);
}

/* Evita texto rosa (regra global span) sobre botões já coloridos — ficava ilegível */
.nav-whatsapp .t--pt,
.nav-whatsapp .t--en,
.btn-primary .t--pt,
.btn-primary .t--en,
.nav-responsive-wa .t--pt,
.nav-responsive-wa .t--en {
  color: inherit !important;
}

.home {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.home-img {
  border-right: solid 0.9rem transparent;
  border-bottom: solid 0.9rem transparent;
  border-image: linear-gradient(135deg, transparent 50%, var(--color-03)) 1;
}
.home-img img {
  width: 100%;
  height: auto;
}

/* Sobre — layout em cards (fundo rosa, alternância com secções pretas) */
section.about {
  padding: 100px 0;
  min-height: auto;
  background-color: var(--bg-color-02);
}

.about h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: var(--text-color);
  font-weight: 700;
}

.about h2 span {
  color: inherit;
}

.about-wrapper {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.about-card {
  flex: 2;
  min-width: min(100%, 320px);
  background: #111;
  padding: 30px;
  border-radius: 16px;
  border: 1px solid rgba(238, 76, 124, 0.2);
}

.about-card p {
  color: #ccc;
  margin: 0 0 15px;
  line-height: 1.6;
  text-align: left;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-side {
  flex: 1;
  min-width: min(100%, 260px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-box {
  background: #111;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(238, 76, 124, 0.15);
}

.about-box h4 {
  color: var(--main-color);
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}

.about-box p {
  margin: 0;
  font-size: 13px;
  color: #aaa;
  line-height: 1.5;
}

.home-content {
  width: 45%;
}
.home-content h1 {
  font-weight: 700;
  line-height: 1.3;
}
.home-content h3 {
  font-weight: 700;
  font-size: 1.6rem; /*test*/
}
.home-content p {
  margin-top: 1.2rem;
  text-align: justify;
}
.services h2,
.portfolio h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  text-align: center;
}
/*CONTAINER PRINCIPAL DOS SERVIÇOS*/
.services-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
/*BLOCO INDIVIDUAL DE SERVIÇOS*/
.services-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 25rem;
  margin-bottom: 1rem;
  justify-content: center; /* Alinhar o conteúdo centralizado */
  width: calc(33.333% - 2rem); /* Ajuste de largura para permitir três boxes por linha */
  box-sizing: border-box; /* Inclui padding e border na largura total */
}
.services-container .services-box {
  padding: 2rem 1rem 2.5rem;
  border-radius: 1.2rem;
  text-align: center;
  border: solid 0.15rem var(--bg-color-01);
  background-color: var(--bg-color-02);
  transition: 0.5s ease;
}
/*EFEITO HOVER NO BLOCO*/
.services-container .services-box:hover {
  border-color: var(--main-color);
  transform: scale(1.01);
}
.services-box i {
  font-size: 4.3rem;
  color: var(--main-color);
}
.services-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem; /*ESPAÇAMENTO ABIXO DO TÍTULO*/
}
/*texto do serviço*/
.services-box p {
  margin: 0.5rem;
  letter-spacing: 0.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /*display: block;*/
}

.portfolio {
  background-color: var(--bg-color-02);
}
/* .portfolio-container: carrossel horizontal — ver PROJETOS (v2) */
.portfolio-box {
  border-radius: 0.8rem;
  background-color: var(--bg-color-01);
  border: 1px solid var(--color-05);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.8rem;
}
/* ==== PORTFOLIO ANTIGO DESATIVADO ==== */
/*
.portfolio-layer { ... }
.portfolio-box img:hover { ... }
.portfolio-box:hover { ... }
.portfolio-container { grid-template-columns: ... }
*/

/*formulario*/
form {
  max-width: 45rem;
  margin: 0.6rem auto;
  text-align: center;
  margin-bottom: 2rem;
  /*border: solid 1px var(--color-03); /*test*/
}
form .input-box {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
form .input-box input,
form textarea {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  color: var(--text-color);
  background-color: var(--bg-color-02);
  border-radius: 0.5rem;
  margin: 0.4rem 0;
}
form textarea {
  resize: none;
}
.mapa {
  width: 100%;
  height: 50vh;
}
footer:not(.site-footer) {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
  background-color: var(--bg-color-01);
}
.social-media img {
  width: 3.5rem;
}
.social-media a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: solid 0.15rem var(--main-color);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--main-color);
  margin: 1.8rem 0.5rem 1.8rem;
  transition: 0.5s ease;
}
.social-media a:hover {
  background-color: var(--main-color);
  color: var(--bg-color-02);
  box-shadow: 0 0 0.3rem var(--main-color);
}
/*button*/
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  background-color: var(--main-color);
  border-radius: 2rem;
  color: var(--bg-color-02);
  font-weight: 600;
  letter-spacing: 0.1rem;
  transition: 0.3s ease;
  margin-top: 1.2rem;
}
.btn:hover {
  box-shadow: 0 0 0.3rem var(--main-color);
  background-color: inherit;
  color: var(--main-color);
  cursor: pointer;
}
/* TABELA*/
.company-stats {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.company-stats th,
.company-stats td {
  padding: 1rem;
  border: 1px solid var(--color-01);
  text-align: left;
}

.company-stats th {
  background-color: var(--bg-color-02);
  color: var(--text-color);
}

.company-stats td {
  background-color: var(--bg-color-01);
  color: var(--text-color);
}
/*LISTA ORDENADA*/
.skills-list {
  list-style: decimal; /* Mantém o estilo padrão de lista ordenada */
  padding-left: 2rem;
  margin-top: 1.5rem;
  color: var(--text-color);
  font-size: 1.2rem;
}

.skills-list li {
  margin-bottom: 0.5rem;
}

/* Rodapé principal (layout referência) */
.site-footer {
  background: var(--bg-color-01);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  padding: 2.5rem 0 2rem;
  clear: both;
}

/* Conteúdo do rodapé usa o mesmo .container que a hero (max-width + padding) */
.site-footer .container {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
  box-sizing: border-box;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.footer-brand-mark {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.footer-brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-brand-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.footer-brand-name {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(227, 226, 223, 0.88);
}

.footer-brand-role {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(227, 226, 223, 0.62);
  line-height: 1.35;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem 1.75rem;
}

.footer-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(227, 226, 223, 0.78);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--main-color);
}

.footer-links .footer-link-cookies {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(227, 226, 223, 0.78);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links .footer-link-cookies:hover {
  color: var(--main-color);
}

.footer-links .footer-link-cookies .t--pt,
.footer-links .footer-link-cookies .t--en {
  color: inherit;
}

/* Cookie banner: compacto, canto inferior (palete rosa do site) */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 1rem 1rem;
  box-sizing: border-box;
  pointer-events: none;
}

.cookie-modal[hidden] {
  display: none !important;
}

.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  cursor: default;
}

.cookie-modal__box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  padding: 1.1rem 1.25rem 1.1rem 1.35rem;
  border-radius: 20px;
  background: rgba(14, 10, 18, 0.94);
  border: 1px solid rgba(238, 76, 124, 0.35);
  box-shadow:
    0 -8px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(238, 76, 124, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  pointer-events: auto;
}

.cookie-modal__title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--main-color);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.cookie-modal__title .t--pt,
.cookie-modal__title .t--en {
  color: inherit;
}

.cookie-modal__lead {
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(243, 244, 246, 0.92);
  margin: 0 0 0.75rem;
  max-width: 38rem;
}

.cookie-modal__details {
  margin: 0.4rem 0 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal__details[hidden] {
  display: none !important;
}

.cookie-modal__text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(227, 226, 223, 0.88);
  margin: 0 0 0.6rem;
}

.cookie-modal__text:last-child {
  margin-bottom: 0;
}

.cookie-modal__text strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem 0.5rem;
  margin-top: 0.2rem;
}

.cookie-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  min-height: 2.3rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.cookie-modal__btn--secondary {
  background: rgba(0, 0, 0, 0.35);
  color: var(--text-color);
  border: 1px solid rgba(238, 76, 124, 0.45);
}

.cookie-modal__btn--secondary:hover {
  background: rgba(154, 23, 80, 0.45);
  border-color: var(--main-color);
}

.cookie-modal__btn--primary {
  background: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
}

.cookie-modal__btn--primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 1rem rgba(238, 76, 124, 0.45);
  transform: translateY(-1px);
}

.cookie-modal__btn .t--pt,
.cookie-modal__btn .t--en {
  color: inherit;
}

@media (max-width: 520px) {
  .cookie-modal {
    padding: 0 0.75rem 0.75rem;
  }

  .cookie-modal__box {
    padding: 1rem 1rem 0.9rem;
  }

  .cookie-modal__actions {
    justify-content: stretch;
  }

  .cookie-modal__btn {
    flex: 1 1 calc(50% - 0.3rem);
    min-width: 0;
  }

  .cookie-modal__actions .cookie-modal__btn--primary {
    flex: 1 1 100%;
  }
}

body.cookie-modal-open {
  overflow: hidden;
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(227, 226, 223, 0.52);
  margin: 0;
  padding-top: 1.5rem;
  margin-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

/* ######/buttton####*/
/* ###### menu hamburguer */
.menu-hamburguer {
  display: none;
  cursor: pointer;
  flex-shrink: 0;
}

.bar1,
.bar2,
.bar3 {
  width: 2rem;
  height: 0.3rem;
  background-color: var(--text-color);
  margin: 0.4rem 0;
  transition: 0.3s ease;
}
/* TRANSFORMA O MENU HAMBURGUER EM UM X QUANDO A CLASSE 'CHANGE' É ADICIONADA*/
.change .bar1 {
  transform: translate(0, 0.65rem) rotate(-45deg);
}
.change .bar2 {
  opacity: 0;
}
.change .bar3 {
  transform: translate(0, -0.65rem) rotate(45deg);
}
/* ###### /menua hamburguer */
/* media queries*/
/*Extra small (xs): Smartphone (portrait)*/
@media (min-width: 0px) {
  .nav-responsive a {
    display: block;
    font-size: 1.2rem;
    margin: 0.5rem 0;
  }
  section {
    padding: 6rem 2.5rem;
  }
  .home {
    flex-direction: column;
    gap: 1.2rem;
  }
  .home-img {
    width: 80%;
    max-width: 80%;
  }
  .home-content {
    width: 100%;
  }
  .home-content div {
    text-align: center;
  }
  .home-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
  }
  .services-container {
    flex-direction: column;
    align-items: center;
  }
  .services-box {
    width: 100%;
  }
}

/*Small (sm) : Smartphone (landscape) */
@media (min-width: 576px) {
  .home-img {
    width: 65%;
    max-width: 65%;
  }
  .services-box {
    width: 70%;
  }
}
/*Medium (md): Tablet */
@media (min-width: 768px) {
  .home {
    flex-direction: row;
    justify-content: space-evenly;
  }
  .home-img {
    max-width: 35%;
  }
  .home-content {
    width: 50%;
  }
  .services-box {
    width: 60%;
    margin-bottom: 2rem;
  }
  form .input-box input {
    width: 49%;
  }
  .portfolio-box {
    flex-direction: row;
    align-items: center;
  }
  .portfolio-box:nth-child(even) {
    flex-direction: row-reverse;
  }
}

/* Nav desktop: 769px+ para não colidir com menu mobile até 768px */
@media (min-width: 769px) {
  .brand img {
    width: 72px;
  }
  .brand-name {
    font-size: 1.4rem;
  }
  .menu-hamburguer {
    display: none;
  }
  .nav {
    display: flex;
  }
  .nav-responsive,
  .nav-responsive.active {
    display: none !important;
  }
}
/*Large (lg): Notebook */
@media (min-width: 992px) {
  .services-container {
    flex-direction: row;
    gap: 1.2rem;
  }
}
/*Extra Large(xl): Desktop */
@media (min-width: 1200px) {
  .home-img {
    max-width: 25%;
  }
  .home-content h1 {
    font-size: 2.7rem;
  }
  .home-content h3 {
    font-size: 2rem;
  }
}
/* /mediaqueries*/

/* ===============================
   PORTFOLIO – CASE STUDY LAYOUT
================================ */

.portfolio {
  background-color: var(--bg-color-02);
}

/* grid antigo removido — carrossel em PROJETOS (v2) */

/* Card do projeto */
.portfolio-box {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem;
  background-color: var(--bg-color-01);
  border-radius: 1rem;
}

/* Conteúdo */
.portfolio-content {
  flex: 1;
}

.portfolio-content h3 {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.portfolio-content p {
  text-align: left;
  line-height: 1.6;
}

/* Imagem */
.portfolio-media {
  flex: 1;
}

.portfolio-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0.8rem;
  display: block;
}

/* Alternância esquerda / direita */
.portfolio-box:nth-child(even) {
  flex-direction: row-reverse;
}

/* Links */
.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  font-weight: 600;
  transition: 0.3s ease;
}

.project-link:hover {
  background-color: var(--main-color);
  color: var(--bg-color-02);
}

/* ===============================
   RESPONSIVO
================================ */
@media (max-width: 768px) {
  .portfolio-box {
    flex-direction: column;
  }
}

/* ===== MEDIA CAROUSEL ===== */

.portfolio-media {
  overflow: hidden;
  border-radius: 0.8rem;
}

.media-carousel {
  display: flex;
  width: 100%;
  transition: transform 0.8s ease;
}

.media-carousel img {
  width: 100%;
  flex: 0 0 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Hover: desliza para a direita */
.portfolio-box:hover .media-carousel {
  transform: translateX(-100%);
}

/* Segunda imagem no hover prolongado */
.portfolio-box:hover .media-carousel:hover {
  transform: translateX(-200%);
}

@media (max-width: 768px) {
  .media-carousel {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .media-carousel img {
    scroll-snap-align: center;
  }
}

/* Zoom suave para projetos com 1 imagem */
.portfolio-media.media-zoom img {
  transition: transform 0.6s ease;
}

.portfolio-box:hover .portfolio-media.media-zoom img {
  transform: scale(1.03);
}

/*compettenncias*/

.skills {
  background: var(--bg-color-01);
  padding: 6rem 0;
}

.skills-inner {
  width: 100%;
  max-width: 100%;
}

/*compettenncias-tag*/
.skills .tag {
  margin-bottom: 1.2rem;
}
/* /compettenncias-tag */

.skills h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.skills-group {
  margin-bottom: 4rem;
}

.skills-group:last-child {
  margin-bottom: 0;
}

.skills-title {
  margin-bottom: 1rem;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: var(--main-color);
}

.skills-group .skills-grid {
  max-width: none;
  margin: 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 1.35rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.skill-card {
  position: relative;
  width: 100%;
  min-height: 124px;
  height: auto;
  box-sizing: border-box;
  padding: 1.2rem;
  font-size: 0.9rem;
  background: #0b0b16;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.35s ease;
  text-align: center;
}

.skill-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    90deg,
    var(--main-color),
    var(--color-03),
    var(--bg-color-02),
    var(--main-color)
  );
  background-size: 400% 400%;
  animation: led-border 10s linear infinite;
  border-radius: 18px;
  z-index: 0;
}

.skill-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: #0b0b16;
  border-radius: 14px;
  z-index: 1;
}

.skill-card img,
.skill-card span,
.skill-card small {
  z-index: 2;
}

.skill-card span {
  display: block;
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: #fff;
}

.skill-card small {
  font-size: 0.88rem;
  line-height: 1.35;
  opacity: 0.75;
  max-width: 22ch;
}

.skill-card:hover {
  transform: translateY(-4px);
}

@keyframes led-border {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 400% 50%;
  }
}
/* /compettenncias */

/* ===== EXPERIÊNCIA (timeline) ===== */
.experience {
  padding: 100px 0;
  min-height: auto;
  background-color: var(--bg-color-01);
}

.experience h2 {
  font-size: 32px;
  margin-bottom: 0;
  color: var(--text-color);
  font-weight: 700;
}

.experience h2 span {
  color: inherit;
}

.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2px;
  top: 10px;
  width: 12px;
  height: 12px;
  background: var(--main-color);
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 3px var(--bg-color-01);
}

.timeline-card {
  background: #111;
  border: 1px solid rgba(238, 76, 124, 0.2);
  border-radius: 16px;
  padding: 20px;
  margin-left: 30px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.timeline-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  line-height: 1.35;
  margin: 0;
}

.timeline-header h3 span {
  color: inherit;
}

.timeline-header .timeline-date {
  font-size: 12px;
  color: #aaa;
  flex-shrink: 0;
}

.timeline-company {
  font-size: 12px;
  color: #888;
  margin: 0 0 10px;
}

.timeline-list {
  font-size: 13px;
  color: #bbb;
  padding-left: 18px;
  margin: 0;
  list-style: disc;
}

.timeline-list li {
  font-size: 13px;
  color: #bbb;
  margin-bottom: 6px;
}

/* ===============================
   HERO
================================ */
.hero {
  background: var(--bg-color-01);
  padding: 150px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
}

/* ---- ESQUERDA ---- */
.hero-left {
  flex: 1 1 58%;
  max-width: 620px;
  min-width: 0;
}

.hero-left h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-color);
  margin: 0 0 0.6rem;
}

.hero-left h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--main-color);
  margin: 0 0 1.2rem;
}

.hero-highlight {
  color: var(--main-color);
  font-size: 14px;
  margin: 0 0 10px;
  opacity: 1;
}

.hero-left p {
  max-width: 520px;
  line-height: 1.7;
  color: var(--text-color);
  opacity: 0.85;
  margin: 0 0 2rem;
}

/* ---- BOTÕES ---- */
.hero-buttons {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.btn-primary .bx {
  font-size: 1.28rem;
}

.btn-primary {
  background: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
}

.btn-primary:hover {
  box-shadow: 0 0 0.8rem rgba(238, 76, 124, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--main-color);
  color: var(--main-color);
}

.btn-secondary:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-2px);
}

.btn-github {
  border: 1px solid var(--main-color);
  color: var(--main-color);
  padding: 10px 18px;
  border-radius: 20px;
  background: transparent;
}

.btn-github:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-2px);
}

/* ---- DIREITA ---- */
.hero-right {
  flex: 0 0 400px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

.profile-card {
  width: 100%;
  max-width: 400px;
  min-height: 480px;
  padding: 32px 24px;
  background: linear-gradient(180deg, #9a1750 0%, #7d1242 100%);
  border: 1px solid rgba(238, 76, 124, 0.45);
  border-radius: 24px;
  text-align: left;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.profile-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid rgba(238, 76, 124, 0.7);
  display: block;
  margin: 0 auto 24px;
}

.profile-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.profile-card-photo {
  flex-shrink: 0;
}

.profile-card-headline {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

.profile-card-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-color);
  opacity: 0.75;
  margin: 0 0 0.5rem;
}

.profile-card-kicker span,
.profile-card-lead span {
  color: inherit;
  opacity: inherit;
}

.profile-card-lead {
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 500;
  color: var(--text-color);
  margin: 0;
}

/* ---- STATS (três blocos com borda, estilo referência) ---- */
.stats {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  align-items: stretch;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-top: 0;
  border-top: none;
}

.stat-box {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.75rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
  text-align: left;
}

.stat-box strong {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}

.stat-box span {
  font-size: 0.68rem;
  line-height: 1.3;
  color: var(--text-color);
  opacity: 0.82;
}

.profile-card-bio {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-color);
  opacity: 0.88;
  margin: 0;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 900px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-container {
    flex-direction: column-reverse;
    align-items: stretch;
    text-align: center;
    gap: 32px;
  }

  .hero-left {
    flex: 1 1 auto;
    max-width: none;
  }

  .hero-right {
    flex: 1 1 auto;
    justify-content: center;
    align-items: stretch;
    width: 100%;
  }

  .profile-card {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-left p {
    margin-left: auto;
    margin-right: auto;
  }

  .tech-stack {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-left h1 {
    font-size: 2.2rem;
  }

  .hero-left h2 {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .profile-card-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profile-card-headline {
    padding-top: 0;
    text-align: center;
  }

  .profile-card img {
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
  }

  .stats {
    flex-direction: column;
  }

  .stat-box {
    align-items: center;
    text-align: center;
  }

  .stat-box strong {
    font-size: 1rem;
  }

  .stat-box span {
    font-size: 0.72rem;
  }

  .profile-card-bio {
    text-align: center;
  }
}

/* ===============================
   PROJETOS (v2 — Profissional)
================================ */
.portfolio {
  padding: 6rem 0 5rem;
}

/* Cabeçalho projetos: à esquerda, sem centrar o bloco */
.portfolio-intro {
  text-align: left;
  max-width: 600px;
  margin-bottom: 40px;
}

.portfolio-intro .tag {
  display: inline-block;
  margin-bottom: 0.65rem;
}

.portfolio-intro .section-subtitle.portfolio-intro-subtitle {
  text-align: left;
  max-width: none;
  margin: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  opacity: 0.88;
  line-height: 1.55;
  font-size: 0.95rem;
  color: rgba(227, 226, 223, 0.9);
}

.portfolio-intro-subtitle .t--pt,
.portfolio-intro-subtitle .t--en {
  color: inherit;
}

/* ——— Carrossel de projetos (scroll + snap + setas) ——— */
.portfolio-carousel-wrap {
  width: 100%;
}

.portfolio-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.portfolio-nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(238, 76, 124, 0.45);
  background: rgba(0, 0, 0, 0.35);
  color: var(--main-color);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.2s ease;
}

.portfolio-nav i {
  pointer-events: none;
}

.portfolio-nav:hover:not(:disabled) {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
  box-shadow: 0 4px 20px rgba(238, 76, 124, 0.35);
}

.portfolio-nav:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  box-shadow: none;
}

.portfolio-container {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  min-width: 0;
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 14px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scrollbar-color: var(--main-color) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.portfolio-container:focus-visible {
  outline: 2px solid var(--main-color);
  outline-offset: 4px;
}

.portfolio-container.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.portfolio-container.is-dragging img {
  pointer-events: none;
}

.portfolio-container::-webkit-scrollbar {
  height: 6px;
}

.portfolio-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.portfolio-container::-webkit-scrollbar-thumb {
  background: var(--main-color);
  border-radius: 10px;
}

.project-card {
  background: var(--bg-color-01);
  border: 1px solid rgba(238, 76, 124, 0.15);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  max-width: 320px;
  width: 320px;
  flex-shrink: 0;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--main-color);
  box-shadow: 0 12px 40px rgba(238, 76, 124, 0.15);
}

.project-media {
  position: relative;
  overflow: hidden;
  height: 180px;
  min-height: 180px;
  background: #0b0b16;
}

.project-media img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.04);
}

.project-body {
  padding: 1.35rem 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  font-size: 0.68rem;
  opacity: 0.88;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.project-meta .project-year {
  color: var(--main-color);
  font-weight: 700;
}

.project-meta .project-year::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 0.65rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: rgba(238, 76, 124, 0.5);
  vertical-align: middle;
  transform: translateY(-1px);
}

.project-meta .project-type {
  color: rgba(227, 226, 223, 0.72);
  font-weight: 600;
}

.project-title {
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--text-color);
  margin: 0;
  letter-spacing: -0.01em;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  list-style: none;
  padding: 0;
  margin: 0.1rem 0 0;
}

.project-tags li {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(238, 76, 124, 0.38);
  color: var(--main-color);
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.project-summary {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #b8b6b3;
  margin: 0.35rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

.project-hover {
  margin: 0;
  padding: 0;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition:
    opacity 0.32s ease,
    max-height 0.38s ease,
    margin-top 0.32s ease;
}

.project-hover ul {
  list-style: none;
  padding: 0.35rem 0 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.project-hover li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #9a9895;
  margin-bottom: 0.35rem;
}

.project-hover li:last-child {
  margin-bottom: 0;
}

.project-hover li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--main-color);
  opacity: 0.75;
}

@media (hover: hover) and (pointer: fine) {
  .project-card:hover .project-hover,
  .project-card:focus-within .project-hover {
    opacity: 1;
    max-height: 280px;
    margin-top: 0.5rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .project-hover {
    opacity: 1;
    max-height: none;
    overflow: visible;
    margin-top: 0.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-hover {
    transition: none;
  }

  .project-hover,
  .project-card:hover .project-hover,
  .project-card:focus-within .project-hover {
    opacity: 1;
    max-height: none;
    overflow: visible;
    margin-top: 0.35rem;
  }
}

.project-card .project-links {
  margin-top: auto;
  padding-top: 0.6rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.project-card .project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  font-weight: 600;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.project-card .project-link.primary {
  background: var(--main-color);
  color: #fff;
}

.project-card .project-link:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-1px);
}

.project-card .project-link.primary:hover {
  box-shadow: 0 0 0.8rem rgba(238, 76, 124, 0.5);
}

/* Responsivo */
@media (max-width: 900px) {
  .portfolio {
    padding: 5rem 0 4rem;
  }

  .portfolio-carousel {
    gap: 8px;
  }

  .portfolio-nav {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }

  .project-card {
    min-width: 280px;
    max-width: 280px;
    width: 280px;
  }
}

@media (max-width: 480px) {
  .portfolio-carousel {
    gap: 6px;
  }

  .portfolio-nav {
    width: 36px;
    height: 36px;
    font-size: 1.25rem;
  }

  .project-card {
    min-width: 260px;
    max-width: 260px;
    width: 260px;
  }

  .project-body {
    padding: 1.2rem 1.2rem 1.4rem;
  }

  .project-title {
    font-size: 1.2rem;
  }
}

/* ===============================
   CONTACTO
================================ */
section.contact {
  padding: 100px 0;
  min-height: auto;
  background-color: var(--bg-color-01);
}

.contact-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px;
  background: linear-gradient(145deg, #111, #000);
  border: 1px solid rgba(238, 76, 124, 0.2);
  border-radius: 20px;
  text-align: left;
}

.contact-card .tag {
  margin-bottom: 1rem;
}

.contact-card h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--text-color);
  text-align: left;
  font-weight: 700;
}

.contact-card h2 .t--pt,
.contact-card h2 .t--en {
  color: inherit;
}

.contact-text {
  color: #aaa;
  margin-bottom: 30px;
  max-width: 600px;
  line-height: 1.6;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Botões da secção contacto (não mexer no hero — classes .btn-* partilhadas) */
.contact-card .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--main-color);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-card .btn-primary:hover {
  box-shadow: 0 0 0.75rem rgba(238, 76, 124, 0.45);
  transform: translateY(-1px);
  color: #fff;
}

.contact-card .btn-primary .t--pt,
.contact-card .btn-primary .t--en,
.contact-card .btn-secondary .t--pt,
.contact-card .btn-secondary .t--en,
.contact-card .btn-outline .t--pt,
.contact-card .btn-outline .t--en {
  color: inherit;
}

.contact-card .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #333;
  color: #ccc;
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.contact-card .btn-secondary:hover {
  border-color: var(--main-color);
  color: var(--main-color);
}

.contact-card .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(238, 76, 124, 0.4);
  color: var(--main-color);
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  background: transparent;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.contact-card .btn-outline:hover {
  background: var(--main-color);
  color: #fff;
}

@media (max-width: 768px) {
  .contact-card {
    padding: 25px;
    text-align: center;
  }

  .contact-card h2 {
    text-align: center;
  }

  .contact-text {
    margin-left: auto;
    margin-right: auto;
  }

  .contact-actions {
    justify-content: center;
  }
}
