:root {
  --bg-dark: #0f0f10;
  --bg-panel: rgba(15, 13, 23, 0.95);
  --surface: #111015;
  --text-base: #eeeeeb;
  --text-muted: #b9b3a9;
  --accent: #d8b96b;
  --accent-soft: #f4d78e;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

html {
  scroll-behavior: smooth;
  background-color: #08070b;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-base);
  background: linear-gradient(180deg, #08070b 0%, #0f0d14 60%, #14101a 100%);
  max-width: 100vw;
  overflow-x: hidden;
}

.site-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* MODIFICAÇÃO: Centraliza e limita o conteúdo do site em 85-90% de largura de forma limpa */
.container-custom {
  max-width: 88% !important;
  margin-right: auto;
  margin-left: auto;
}

/* Força contraste adequado para leituras secundárias no fundo escuro */
.text-light-custom {
  color: rgba(238, 238, 235, 0.75) !important;
}

h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

h2{
    font-size: 1.5rem;
}

/* NAVBAR */
.navbar-glass {
  background: rgba(8, 7, 11, 0.40);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background 0.9s ease, box-shadow 0.35s ease;
}

.navbar-scrolled {
  background: #0a090e !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  opacity: 0.98;
}

.navbar-nav {
  gap: 1rem;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.75) !important;
  transition: color 0.3s ease;
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  color: var(--accent) !important;
}

.navbar-brand {
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: #ffffff !important;
}

/* HERO SECTION - MODIFICADO */
.hero-section {
  min-height: 100vh;
  padding: 120px 0 80px 0;
  /* background-position reajustado para 15% vertical focado no rosto em desktops */
  background: url('./images/Melissa Cantora-12.png') center 15% / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(21, 17, 27, 0.3) 0%, rgba(8, 7, 11, 0.95) 85%);
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--accent-soft);
  margin-bottom: 1rem;
  font-weight: 600;
}

.text-accent {
  color: var(--accent) !important;
}

.typed-wrap {
  font-size: 1.3rem;
  color: #ffffff;
}

.about-image{
    width: 80%;
    margin: auto;
}

/* BOTÕES */
.btn-primary {
  background: linear-gradient(135deg, #d8b96b 0%, #f4d78e 100%) !important;
  border: none !important;
  color: #0f0d14 !important;
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-outline-accent {
  color: var(--accent) !important;
  border: 2px solid var(--accent) !important;
  padding: 0.7rem 2rem;
  font-weight: 600;
  background: transparent !important;
  transition: all 0.3s ease;
}

.btn-outline-accent:hover {
  background: var(--accent) !important;
  color: #0f0d14 !important;
}

/* SEÇÕES E CARDS */
.section-padding {
  padding: 7rem 0;
}

.bg-panel {
  background: #0f0d14 !important;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.feature-card,
.card-glass,
.contact-card,
.links-card-custom {
  background: rgba(22, 19, 31, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card p, .card-glass p, .contact-card p {
  color: rgba(255, 255, 255, 0.7) !important;
}

.card-glass:hover {
  transform: translateY(-5px);
}

/* ÍCONES ILUMINADOS */
.icon-circle {
  width: 55px;
  height: 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(216, 185, 107, 0.15); 
  color: var(--accent-soft); 
  font-size: 1.4rem;
}

.custom-list li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8) !important;
}

.small-dot {
  font-size: 0.5rem;
  vertical-align: middle;
}

/* GALERIA */
.gallery-card {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.5rem 1rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 7, 11, 0.95) 100%);
  color: #fff;
  font-weight: 500;
}

/* REDES SOCIAIS */
.contact-card .social-pill {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 1.25rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-card .social-pill:hover {
  transform: translateY(-3px);
  background: var(--accent);
  color: #0f0d14;
}

/* FOOTER */
.footer-section {
  border-top: 1px solid var(--border);
}

.footer-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  width: 3.8rem;
  height: 3.8rem;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  z-index: 9999;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* ESTILOS EXCLUSIVOS DA PÁGINA DE LINKS - NOVO */
.links-body-bg {
  background: linear-gradient(180deg, #08070b 0%, #110e17 100%) !important;
}
.links-card-custom:hover {
  transform: translateY(-3px);
  border-color: var(--accent) !important;
}

/* ==========================================================================
   AJUSTES DE RESPONSIVIDADE (BREAKPOINTS OFICIAIS DO BOOTSTRAP)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TABLETS (Telas entre 768px e 991px - Ex: Asus ZenBook Fold, iPads)
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  /* Reduz consideravelmente a altura exagerada no tablet e ajusta o padding */
  .hero-section {
    background: url('./images/Melissa Cantora-12.png') center 5% / cover no-repeat;
    min-height: 65vh !important; /* Deixa o hero mais curto, aproximando-o da seção Sobre */
    padding-top: 300px !important;
    padding-bottom: 0px !important;
  }

  .about-image{
    width: 100%;
    margin: auto;
}

  /* Ajuste fino das fontes para tablet não quebrar tantas linhas */
  .hero-section h1 {
    font-size: 2.5rem !important;
  }

  /* Organização da Navbar em formato hambúrguer */
  .navbar-collapse {
    background: #111015;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .navbar-nav {
    align-items: center;
  }
  /* Garante tamanho robusto no tablet */
  .whatsapp-float {
    width: 90px !important;
    height: 90px !important;
    font-size: 50px !important;
    right: 40px !important;
    bottom: 40px !important;
  }
}

/* --------------------------------------------------------------------------
   2. CELULARES (Telas menores que 767px - Ex: iPhone SE, Galaxies, etc.)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Controla a altura no celular para não cobrir a tela toda de texto */
  .hero-section {
    background: url('./images/Melissa Cantora-12 Mobile.png') center 5% / cover no-repeat;
    min-height: 87vh !important; /* Altura ideal para o iPhone SE sem soterrar a foto */
    padding-top: 140px !important; /* Empurra o texto para baixo, liberando o seu rosto no topo */
    padding-bottom: 50px !important;
    align-items: flex-end !important; /* Alinha o conteúdo na base do Hero */
  }

  /* Redução drástica do tamanho e do espaçamento das fontes no mobile */
  .hero-section .eyebrow {
    font-size: 0.7rem !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 0.5rem !important;
  }

  .hero-section h1 {
    font-size: 2rem !important; /* Diminui o título principal para não ocupar a tela toda */
    margin-bottom: 0.5rem !important;
  }

  .hero-section p.lead {
    font-size: 0.95rem !important; /* Texto menor e mais delicado */
    margin-bottom: 1rem !important; /* Diminui a distância para o efeito de digitação */
    line-height: 1.4 !important;
  }

  .typed-wrap {
    font-size: 1.1rem !important; /* Ajusta o tamanho do "Eu sou..." */
    margin-bottom: 1.5rem !important;
  }

  /* Torna o botão ligeiramente menor e mais elegante em telas pequenas */
  .hero-section .btn-cta {
    padding: 0.65rem 1.8rem !important;
    font-size: 0.95rem !important;
    width: 75%; /* Deixa o botão largo e fácil de clicar no dedão, mas centralizado */
    margin: 0 auto;
  }

  /* Diminui o recuo geral das seções para telas muito estreitas (iPhone SE) */
  .section-padding {
    padding: 4rem 0 !important;
  }

  /* Evita que o botão suma para a direita ou saia da tela */
  .whatsapp-float {
    width: 55px !important;
    height: 55px !important;
    font-size: 28px !important;
    right: 16px !important; /* Traz o botão ligeiramente mais para dentro no celular */
    bottom: 16px !important;
  }
}