/* 
  Dra. Helena Duarte - Minisite
  Estilo Minimalista e Alta Estética
*/

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

/* --- Reset e Variáveis de Sistema --- */
:root {
  /* Cores Ultra Clean & Minimalistas */
  --color-bg: #F4EFE4;            /* Alabastro super claro (Fundo do site) */
  --color-bg-secondary: #ffffff;  /* Branco puro (Fundo dos cards principais) */
  --color-bg-alt: #F4EFE4;        /* Areia ultra suave (Fundo alternado / CTA) */
  --color-text: #6D4931;          /* Preto quase puro */
  --color-text-muted: #70706e;    /* Cinza quente suave */
  --color-accent: #9c805c;        /* Bronze/Dourado matte elegante */
  --color-accent-light: #faf8f5;
  --color-border: #F4EFE4;        /* Linhas extremamente finas e discretas */
  --color-focus: #9c805c;

  /* Tipografia */
  --font-title: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Espaçamentos e Medidas */
  --max-width: 780px;             /* Largura ideal para site comum */
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-color: var(--color-bg);
  padding: 0;
}

/* Layout Principal */
.minisite-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Estilos de Seções Comuns */
.hero-section,
.links-section,
.about-section,
.services-section,
.differentials-section,
.testimonials-section,
.cta-section {
  width: 100%;
  padding: 80px 24px;
  display: flex;
  justify-content: center;
}

/* --- Estados Globais de Foco (Acessibilidade) --- */
a:focus-visible, button:focus-visible {
  outline: 1.5px solid var(--color-focus);
  outline-offset: 3px;
}

/* --- Tipografia Comum --- */
h1, h2, h3 {
  font-family: var(--font-title);
  color: var(--color-text);
  font-weight: 400;
}

.section-title {
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text-muted);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 10px;
  margin-bottom: 24px;
}

/* --- 1. SEÇÃO PRINCIPAL (Hero) --- */
.hero-section {
  background-color: var(--color-bg);
}

.hero-section .section-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-wrapper {
  margin-bottom: 24px;
}

.profile-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-border);
  padding: 4px;
  background-color: #ffffff;
}

.badge-tag {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 12px;
}

.client-name {
  font-size: 2.2rem;
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.client-subtitle {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.client-hook {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  max-width: 90%;
  line-height: 1.4;
}

.typewriter-word {
  color: var(--color-accent);
  font-weight: 500;
  border-right: 2px solid var(--color-accent);
  padding-right: 2px;
  animation: blink-caret 0.75s step-end infinite;
  white-space: nowrap;
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: var(--color-accent); }
}

.client-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 95%;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--color-text);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  transform: translateY(-1px);
}

/* --- 2. ÁREA PRINCIPAL DE LINKS --- */
.links-section {
  background-color: var(--color-bg-secondary);
}

.links-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--color-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.015);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease, 
              background-color 0.3s ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  background-color: #ffffff;
  box-shadow: 0 10px 25px rgba(156, 128, 92, 0.08);
}

.link-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--color-text-muted);
  background-color: var(--color-bg);
  border-radius: 50%;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.link-card:hover .link-icon-box {
  background-color: rgba(156, 128, 92, 0.08);
  color: var(--color-accent);
}

.link-info {
  flex-grow: 1;
}

.link-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.3s ease;
}

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

.link-desc {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.link-arrow {
  color: var(--color-text-muted);
  opacity: 0.5;
  font-size: 1rem;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.link-card:hover .link-arrow {
  opacity: 1;
  transform: translateX(4px);
  color: var(--color-accent);
}

/* --- 3. SOBRE O CLIENTE --- */
.about-section {
  background-color: var(--color-bg-alt);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

.about-content p strong {
  color: var(--color-text);
  font-weight: 500;
}

/* --- 4. SERVIÇOS, PRODUTOS OU SOLUÇÕES --- */
.services-section {
  background-color: var(--color-bg-secondary);
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  cursor: pointer;
}

.service-item:hover {
  transform: translateX(6px);
  border-bottom-color: var(--color-accent);
}

.service-item:last-child {
  border-bottom: none;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-name {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text);
  font-family: var(--font-body);
  transition: color 0.3s ease;
}

.service-item:hover .service-name {
  color: var(--color-accent);
}

.service-arrow {
  font-size: 1.1rem;
  color: var(--color-accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item:hover .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 90%;
}

/* --- 5. DIFERENCIAIS --- */
.differentials-section {
  background-color: var(--color-bg);
}

.differentials-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.diff-item {
  display: flex;
  gap: 16px;
}

.diff-icon {
  width: 18px;
  height: 18px;
  color: var(--color-accent);
  margin-top: 4px;
  flex-shrink: 0;
}

.diff-text-box h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  font-family: var(--font-body);
  margin-bottom: 2px;
}

.diff-text-box p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* --- 6. PROVA SOCIAL --- */
.testimonials-section {
  background-color: var(--color-bg-secondary);
}

.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  width: 400%; /* 4 slides de 100% de largura */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  width: 25%; /* cada slide ocupa 1/4 da track */
  box-sizing: border-box;
  padding: 0 8px;
  flex-shrink: 0;
}

.testimonial-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-left: 2px solid var(--color-accent);
  padding: 24px;
  border-radius: var(--radius-sm);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--color-accent);
  transform: scale(1.2);
}

.stars-rating {
  color: var(--color-accent);
  margin-bottom: 6px;
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
  font-weight: 300;
  margin-bottom: 6px;
}

.testimonial-author {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.social-stats {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.stat-item {
  flex: 1;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-item h4 {
  font-family: var(--font-body);
  font-size: 1.35rem;
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

.stat-item p {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-top: 2px;
}

/* --- 7. CHAMADA PARA AÇÃO FINAL --- */
.cta-section {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.cta-section .section-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.cta-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  font-weight: 300;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-text);
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
}

/* --- ANIMAÇÕES DE ENTRADA DO HERO (STAGGERED) --- */
.hero-section .section-container > * {
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-section .profile-wrapper { animation-delay: 0.1s; }
.hero-section .client-name { animation-delay: 0.25s; }
.hero-section .client-subtitle { animation-delay: 0.35s; }
.hero-section .client-hook { animation-delay: 0.45s; }
.hero-section .client-desc { animation-delay: 0.55s; }

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- EFEITO FADE AO ROLAR O SITE (Intersection Observer) --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* --- MEDIA QUERIES (DESKTOP ADAPTATION FOR A COMMON SITE FLOW) --- */
@media (min-width: 700px) {
  .services-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  .service-item {
    border-bottom: none;
    padding-bottom: 0;
  }

  .differentials-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .carousel-track {
    width: 200%; /* 4 slides de 50% de largura */
  }
  .testimonial-slide {
    padding: 0 12px;
  }

  #carouselDots .dot:last-child {
    display: none;
  }

}

/* --- ACESSIBILIDADE E PREFERÊNCIAS DO USUÁRIO --- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* --- BOTÃO FLUTUANTE DO WHATSAPP --- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float-btn:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
}

.whatsapp-float-btn::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border: 2px solid #25D366;
  border-radius: 50%;
  opacity: 0;
  animation: whatsapp-pulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}
