/* =========================================
   VARIÁVEIS GERAIS E RESET
   ========================================= */
:root {
  --color-maroon: #6c0303;
  --color-darkred: #990103;
  --color-fuchsia: #d401ff;
  --color-babyblue: #53B4F0;
  --color-yellowqueimado: #F0B453;
  --color-white: #ffffff;
  --color-red-bright: #FF0606;
  --color-red: #f0535f;
  
  --font-gravitas: 'Gravitas One', cursive;
  --font-great-vibes: 'Great Vibes', cursive;
  --font-montserrat-alt: 'Montserrat Alternates', sans-serif;
  --font-inter: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: var(--font-montserrat-alt);
  background-color: var(--color-white);
  color: var(--color-maroon);
  overflow-x: hidden;
  width: 100%;
}

/* =========================================
   CABEÇALHO E NAVEGAÇÃO DESKTOP
   ========================================= */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 999;
  background-color: var(--color-maroon);
}

.logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.logo-text {
  font-family: var(--font-great-vibes);
  font-size: 54px;
  color: var(--color-white);
  font-weight: 400;
  margin: 0;
  line-height: normal;
}

/* Esconde o menu mobile no Desktop */
.mobile-menu-icon, .mobile-menu {
  display: none;
}

.nav-pills {
  width: 100%;
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center;
  align-items: flex-end; 
  background-color: var(--color-maroon); 
  gap: 0px; 
}

.pill {
  text-decoration: none;
  font-size: 18px;
  font-family: var(--font-montserrat-alt), sans-serif;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 25px; 
  border-radius: 15px 15px 0px 0px; 
  color: var(--color-white); 
  background-color: #6a1b9a; 
  transition: opacity 0.3s ease; 
  margin-top: 8px;
}

.pill:hover { opacity: 0.9; }
.pill-inicio { background-color: var(--color-white); color: var(--color-maroon); box-shadow: 0 -4px 10px rgba(0,0,0,0.1); }
.pill-servicos { background-color: var(--color-red); }
.pill-iara { background-color: #6a1b9a; }
.pill-arte { background-color: var(--color-babyblue); }
.pill-portfolio { background-color: var(--color-yellowqueimado); }

/* =========================================
   HERO E BANNER DEGRADÊ
   ========================================= */
.hero {
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto; 
  display: block;
}

.gradient-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--color-fuchsia) 20%, var(--color-darkred) 80%);
  padding: 40px 10%;
  color: var(--color-white);
  font-family: var(--font-gravitas);
  font-size: 64px;
}

.banner-text-left { display: flex; flex-direction: column; }

/* =========================================
   SESSÃO DE BIOGRAFIA
   ========================================= */
.bio-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 80px 10%;
  gap: 50px;
}

.bio-description {
  flex: 1;
  font-size: 32px;
  color: var(--color-maroon);
  line-height: 1.4;
  text-align: justify;
}

.bio-title-area {
  flex: 1;
  text-align: right;
}

.bio-heading {
  font-family: var(--font-gravitas);
  font-size: 64px;
  color: var(--color-maroon);
  line-height: 1.1;
}

.bio-signature {
  font-family: var(--font-great-vibes);
  font-size: 80px;
  color: var(--color-maroon);
  margin-top: 10px;
  font-weight: 400;
}

/* =========================================
   SESSÃO DE SERVIÇOS E BOTÃO
   ========================================= */
.services-section {
  position: relative;
  background-color: var(--color-fuchsia);
  padding: 100px 10% 80px;
  margin-top: 150px; 
}

.star-decoration {
  position: absolute;
  top: -160px; 
  left: 10%;
  width: 300px;
}

.services-title {
  text-align: center;
  font-family: var(--font-gravitas);
  font-size: 64px;
  color: var(--color-white);
  margin-bottom: 60px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background-color: #b900e6; 
  border-radius: 20px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--color-white);
  text-align: center;
  min-height: 350px;
}

.card-text h3 {
  font-family: var(--font-montserrat-alt);
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 15px;
}

.card-text p {
  font-family: var(--font-inter);
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.card-img {
  width: 100%;
  max-width: 280px;
  border-radius: 20px;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
  object-fit: cover;
}

.btn-saiba-mais {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background-color: var(--color-yellowqueimado);
  color: var(--color-maroon);
  text-decoration: none;
  font-family: var(--font-montserrat-alt);
  font-weight: 700;
  font-size: 16px;
  border-radius: 25px;
  width: 100%;
  max-width: 200px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.15);
}

.btn-saiba-mais:hover {
  background-color: var(--color-white);
  color: var(--color-maroon);
  transform: translateY(-3px);
  box-shadow: 0px 6px 15px rgba(0,0,0,0.25);
}

/* =========================================
   RODAPÉ
   ========================================= */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 10%;
  background-color: var(--color-maroon);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-title {
  font-size: 36px;
  color: var(--color-white);
  font-weight: 600;
}

.copyright {
  font-size: 14px;
  color: var(--color-white);
  text-align: right;
}

.social-icons {
  display: flex;
  gap: 20px;
}

.social-icons img {
  width: 32px;
  cursor: pointer;
  transition: transform 0.3s;
}

.social-icons img:hover { transform: translateY(-5px); }

/* =========================================
   RESPONSIVIDADE: TABLETS E TELAS MÉDIAS (Até 900px)
   ========================================= */
@media screen and (max-width: 900px) {
  .gradient-banner {
    font-size: 48px;
    padding: 30px 5%;
  }
  .bio-section {
    flex-direction: column;
    text-align: center;
    padding: 60px 5%;
  }
  .bio-title-area {
    text-align: center;
  }
  .bio-description {
    text-align: center;
    font-size: 24px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .star-decoration {
    width: 200px;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
  }
}

/* =========================================
   RESPONSIVIDADE: CELULARES E IPHONE (Até 600px)
   ========================================= */
@media screen and (max-width: 600px) {
  /* TRAVA O SITE (Impede de vazar conteúdo para os lados) */
  html, body {
    overflow-x: hidden ;
    width: 100% ;
    max-width: 100vw ;
    margin: 0 ;
    padding: 0 ;
  }

  .logo-text { font-size: 40px ; }

  /* MODO MOBILE: MENU HAMBÚRGUER */
  .desktop-menu { display: none ; }

  .mobile-menu-icon {
      display: block ;
      width: 100% ;
      text-align: center ;
      background-color: var(--color-maroon);
      padding: 15px 0;
  }

  /* Estilo do botão de hambúrguer */
  .mobile-menu-icon button {
      background: transparent;
      border: none;
      cursor: pointer;
      color: var(--color-white);
      font-size: 40px; /* Tamanho do ícone ☰ */
      line-height: 1;
  }

  .mobile-menu {
      display: none; /* Fica oculto até clicar */
      width: 100% ;
      background-color: var(--color-maroon);
      padding: 0 0 20px 0;
  }

  .mobile-menu.open { display: block ; }

  .mobile-menu ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 15px;
  }

  .mobile-menu .nav-link {
      text-decoration: none;
      color: var(--color-white);
      font-size: 20px;
      font-family: var(--font-montserrat-alt);
      font-weight: 500;
      padding: 10px;
      display: block;
  }

  /* HERO ADAPTÁVEL E CORTADO (Para preencher o celular) */
  .hero {
    display: block ;
    width: 100% ;
    height: 55vh ; /* Altura fixa para celular */
    max-height: none ;
    overflow: hidden ;
  }
  
  .hero-img {
    width: 100% ;
    height: 100% ;
    object-fit: cover ; /* Corta as laterais para preencher a altura */
    object-position: center top ; 
    display: block ;
  }

  /* DEGRADÊ (Arrumando as palavras para não esmagarem) */
  .gradient-banner {
    display: flex ;
    flex-direction: column ;
    align-items: center ;
    justify-content: center ;
    text-align: center ;
    font-size: 32px ;
    padding: 40px 5% ;
    gap: 10px ;
    width: 100% ;
    box-sizing: border-box ;
  }

  .bio-section {
    padding: 40px 5%;
    width: 100% ;
    box-sizing: border-box ;
  }

  .bio-description { font-size: 18px ; }
  .bio-heading { font-size: 40px ; }
  .bio-signature { font-size: 50px ; }

  /* SEÇÃO DE SERVIÇOS E RODAPÉ */
  .services-section {
    padding: 80px 5% 40px ; /* Aumentei um pouco o espaço interno no topo */
    margin-top: 80px ;
    width: 100% ;
    box-sizing: border-box ;
    /* REMOVIDO o overflow: hidden que estava cortando a estrela! */
  }

  .star-decoration {
    width: 120px ;
    top: -60px ;
    left: 50% ;/* Garante que a estrela fique no meio exato da tela */
    transform: translateX(-50%) ; /* Centralização perfeita */
  }

  .services-title {
    font-size: 40px 
    margin-bottom: 30px 
  }
  
  .footer {
    flex-direction: column ;
    text-align: center ;
    gap: 20px ;
    padding: 40px 5% ;
    width: 100% ;
    box-sizing: border-box ;
  }
}