/* -------------------------------------------------------------
   LANDING PAGE BIO - LOUISE TRIGO | TERAPEUTA INTEGRATIVA
   Design refinado, ultra-otimizado e responsivo
   ------------------------------------------------------------- */

/* Importação de Fontes Premium */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,300;0,400;0,500;1,400&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@200;300;400;500;600&display=swap');

/* Design Tokens - Paleta e Tipografia */
:root {
  --color-moss-dark: #355059;
  --color-olive-muted: #556B5D;
  --color-gold-matte: #fdb3c0;
  --color-gold-light: #ca96a7;
  --color-offwhite: #ffffff;
  --color-white: #ffffff;
  --color-text-dark: #203630;
  --color-text-light: #fdb3c0;
  --color-card-text: #4a5e54;

  --font-serif-italic: 'Cormorant Garamond', serif;
  --font-serif-title: 'Bodoni Moda', serif;
  --font-sans: 'Inter', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-button: 0 4px 12px rgba(0, 0, 0, 0.25);
  --color-button-bg: #fdb3c0;
  --color-hero-name: #ffffff;
  --color-about-btn-bg: #fdb3c0;
  --color-about-btn-text: #ffffff;
}

/* Reset Geral */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at center, color-mix(in srgb, var(--color-moss-dark) 55%, #000000) 0%, color-mix(in srgb, var(--color-moss-dark) 20%, #000000) 100%);
  color: var(--color-text-light);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
  padding: 0 0 40px 0;
  transition: var(--transition-smooth);
}

/* Container Principal (Réplica Centralizada no Desktop, 100% no Mobile) */
.app-container {
  width: 100%;
  max-width: 480px;
  min-height: auto;
  background-color: var(--color-moss-dark);
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 1px rgba(255, 255, 255, 0.15);
  border: none;
  margin-top: 40px;
  animation: fadeInPage 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* -------------------------------------------------------------
   1. HERO SECTION - Imagem Dominante com LCP Otimizado
   ------------------------------------------------------------- */
.profile-hero {
  position: relative;
  height: 50vh;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 28px;
  overflow: hidden;
}

/* Imagem Semântica Otimizada para LCP */
.hero-picture,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}

/* Overlay Escuro com Gradiente Suave */
.profile-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-moss-dark) 10%, transparent) 0%,
    color-mix(in srgb, var(--color-moss-dark) 35%, transparent) 50%,
    var(--color-moss-dark) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Metadados e Nome da Profissional */
.hero-meta {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: auto;
  animation: revealUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-name {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-size: 4.4rem;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -1px;
  color: var(--color-hero-name);
  margin-bottom: 12px;
  text-align: center;
}

.hero-profession {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-gold-matte);
  margin-bottom: 16px;
  display: block;
  text-align: center;
}

/* -------------------------------------------------------------
   2. SEÇÃO DE CARDS DE LINKS / DESTAQUES
   ------------------------------------------------------------- */
.services-section {
  padding: 0 20px 32px;
  background-color: var(--color-moss-dark);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 2;
  animation: revealUp 1.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Card Horizontal Premium */
.horizontal-card {
  display: flex;
  background-color: var(--color-offwhite);
  border-radius: 20px;
  height: 160px;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
}

/* Lado Esquerdo: Imagem Integrada Responsiva */
.card-image-wrapper {
  flex: 0 0 38%;
  position: relative;
  overflow: hidden;
}

.card-image-wrapper picture,
.card-image-wrapper .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: var(--transition-smooth);
}

/* Efeito de Fade-Out Suave da Imagem para o Fundo Claro do Card */
.card-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  width: 40px;
  height: 100%;
  background: linear-gradient(to right, transparent 0%, var(--color-offwhite) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Lado Direito: Textos e Botão */
.card-content-wrapper {
  flex: 1;
  padding: 16px 16px 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.card-service-title {
  font-family: var(--font-serif-title);
  font-size: 1.05rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-moss-dark);
  line-height: 1.2;
  margin-bottom: 4px;
  transition: var(--transition-smooth);
}

.card-service-desc {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--color-moss-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.card-pill-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-gold-matte) 0%, var(--color-gold-light) 100%);
  color: var(--color-white);
  border: none;
  border-radius: 25px;
  padding: 6px 22px;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: var(--shadow-button);
  transition: var(--transition-smooth);
}

/* Hover nos Cards Premium */
.horizontal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.horizontal-card:hover .card-img {
  transform: scale(1.05);
}

.horizontal-card:hover .card-pill-button {
  transform: scale(1.03);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.horizontal-card:active {
  transform: translateY(-1px);
}

/* -------------------------------------------------------------
   3. SEÇÃO DE SERVIÇOS (RECONECTE-SE)
   ------------------------------------------------------------- */
.services-cards-section {
  padding: 48px 20px;
  background-color: var(--color-moss-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 320px;
  gap: 0;
  z-index: 2;
}

.services-section-title {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-gold-matte);
  letter-spacing: 1px;
  margin-bottom: 24px;
  text-align: center;
  line-height: 1.1;
}

.services-cards-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Cards sem Imagem (Centralizados) */
.no-image-card .card-content-wrapper {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 20px;
}

/* -------------------------------------------------------------
   4. SEÇÃO SOBRE MIM
   ------------------------------------------------------------- */
.about-section {
  position: relative;
  padding: 48px 20px;
  background: linear-gradient(
    180deg,
    var(--color-moss-dark) 0%,
    color-mix(in srgb, var(--color-moss-dark) 85%, #000000) 100%
  );
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 2;
  margin-top: -1px;
  animation: revealUp 1.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.about-title {
  font-family: var(--font-serif-italic);
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--color-gold-matte);
  line-height: 1.1;
}

.about-action {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  z-index: 2;
}

.about-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-gold-matte) 0%, var(--color-gold-light) 100%);
  color: var(--color-about-btn-text);
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-button);
}

.about-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------------------------
   5. CRÉDITOS DO RODAPÉ
   ------------------------------------------------------------- */
.footer-credits {
  text-align: center;
  font-size: 0.68rem;
  color: rgba(247, 245, 240, 0.25);
  font-family: var(--font-sans);
  margin-top: 32px;
  letter-spacing: 0.5px;
  width: 100%;
  z-index: 2;
  transition: var(--transition-smooth);
}

.footer-credits a {
  color: rgba(247, 245, 240, 0.4);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.footer-credits a:hover {
  color: var(--color-gold-matte);
}

/* -------------------------------------------------------------
   6. ANIMAÇÕES
   ------------------------------------------------------------- */
@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Acessibilidade: Movimento Reduzido */
@media (prefers-reduced-motion: reduce) {
  .app-container,
  .hero-meta,
  .services-section,
  .about-section,
  .horizontal-card,
  .card-img,
  .card-pill-button,
  .about-btn {
    animation: none !important;
    transition: none !important;
  }

  .horizontal-card:hover,
  .about-btn:hover {
    transform: none !important;
  }
}

/* -------------------------------------------------------------
   7. RESPONSIVIDADE (Mobile Fullscreen)
   ------------------------------------------------------------- */
@media (max-width: 575px) {
  body {
    padding: 0 0 32px 0;
    align-items: center;
  }

  .app-container {
    max-width: 100%;
    min-height: auto;
    border-radius: 0 0 24px 24px;
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    margin-top: 0;
  }

  .hero-name {
    font-size: 3.8rem;
  }

  .footer-credits {
    margin-top: 32px;
  }
}