/* Samuel Pinheiro Almeida — folha de estilos do site
   Extraída do index.html original, sem alterações no visual. */

:root {
  color-scheme: light;
  --bg: #f7f5f0;
  --surface: #f7f5f0;
  --text: #141414;
  --text-muted: #525252;
  --accent: #1f5c4a;
  --accent-text: #1f5c4a;
  --accent-contrast: #f7f5f0;
  --accent-dark-bg: #52b798;
  --border-line: rgba(20, 20, 20, 0.15);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  display: block;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

::selection {
  background-color: var(--accent);
  color: #f7f5f0;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

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

.accent-word {
  color: var(--accent);
  font-weight: 800;
}

.accent-word-light {
  color: var(--accent-dark-bg);
  font-weight: 800;
}

/* Container & Sections */
.site-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .site-container {
    padding: 0 1.25rem;
  }
}

.page-section {
  padding: 6.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Marcas d'água */
.section-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(500px, 46vw, 680px);
  max-width: 85vw;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.07;
  display: block;
}

.about-watermark {
  width: clamp(350px, 32vw, 475px);
  max-width: 75vw;
  max-height: calc(100% - 3.5rem);
  object-fit: contain;
  opacity: 0.07;
}

/* Divisores com o símbolo central */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  width: 100%;
  margin: 0;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.divider-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-line);
}

.divider-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.divider-symbol-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
}

/* Botões */
.btn-main-black {
  background-color: #141414;
  color: #f7f5f0;
  text-decoration: none;
  padding: 1rem 1.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid #141414;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-main-black:hover,
.btn-main-black:focus-visible {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #f7f5f0;
}

/* Navegação fixa */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #f7f5f0;
  border-bottom: 1px solid var(--border-line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}

.brand-symbol-img {
  height: 30px;
  width: auto;
  max-width: 30px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
  background-color: transparent;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.4rem;
}

@media (max-width: 840px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #f7f5f0;
    border-bottom: 1px solid var(--border-line);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
    gap: 1.2rem;
  }

  .nav-links.is-open {
    display: flex;
  }
}

/* Hero */
.hero-section {
  padding: 5rem 0 6rem;
  position: relative;
  overflow: visible;
}

.hero-container-rel {
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

.hero-content {
  position: relative;
  padding-left: 0;
  margin-left: 0;
  min-width: 0;
  z-index: 2;
}

/* Logo grande do hero (desktop) */
.hero-logo-col {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}

.hero-logo-anchor {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-logo-symbol {
  width: 100%;
  height: 100%;
  max-height: 490px;
  object-fit: contain;
  display: block;
  opacity: 1;
  background-color: transparent;
  transition: opacity 0.2s ease;
}

/* Mobile e telas estreitas: logo menor acima do conteúdo */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }

  .hero-logo-col {
    position: static;
    transform: none;
    width: auto;
    height: auto;
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    align-self: flex-start;
    pointer-events: auto;
  }

  .hero-logo-anchor {
    width: auto;
    height: auto;
    display: block;
  }

  .hero-logo-symbol {
    height: 78px;
    max-height: 84px;
    width: auto;
    max-width: 90px;
    margin: 0;
    object-fit: contain;
  }
}

.hero-photo-col {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 510px;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .hero-grid {
    gap: 2.25rem;
  }

  .hero-photo-col {
    height: 430px;
  }

  .hero-photo-frame {
    max-height: 430px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    padding-left: 0;
  }

  .hero-photo-col {
    height: auto;
    justify-content: center;
  }

  .hero-photo-frame {
    height: auto;
    max-width: 380px;
    width: 100%;
    aspect-ratio: 2 / 3;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 1.75rem;
  color: var(--text);
}

.hero-paragraph {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero-photo-frame {
  height: 100%;
  max-height: 510px;
  width: auto;
  aspect-ratio: 2 / 3;
  background-color: #1a1a1a;
  border: 1px solid var(--border-line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 16px 40px rgba(20, 20, 20, 0.07);
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 2px;
  display: block;
  transition: transform 0.35s ease;
}

.hero-photo-frame:hover .hero-photo-img {
  transform: scale(1.015);
}

/* Sobre */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.about-heading,
.section-title {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-align: left;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.about-text-lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.about-text-secondary {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.credentials-list {
  border-top: 1px solid var(--border-line);
}

.cred-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-line);
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-size: 0.96rem;
  color: var(--text);
}

.cred-bullet {
  width: 6px;
  height: 6px;
  background-color: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  transform: translateY(-2px);
}

/* Áreas de atendimento */
.areas-header {
  margin-bottom: 4rem;
}

.areas-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.area-block {
  border-top: 3px solid #141414;
  padding-top: 1.75rem;
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 2.5rem;
  align-items: baseline;
}

@media (max-width: 800px) {
  .area-block {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.area-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
}

.area-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.areas-note {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-line);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
}

/* Artigos */
.articles-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  margin-top: 3.5rem;
}

@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.article-tag {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.article-lead {
  border-top: 3px solid #141414;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-lead-title {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  margin-bottom: 1.25rem;
}

.article-lead-excerpt {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.article-lead-link {
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s ease;
}

.article-lead-link:hover {
  gap: 0.65rem;
}

.articles-secondary-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.article-item {
  border-top: 1px solid var(--border-line);
  padding-top: 1.5rem;
}

.article-item-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.article-item-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-item-link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.article-item-link:hover {
  gap: 0.55rem;
}

/* Indicação de artigo ainda não publicado (substitui o link "Ler artigo") */
.article-soon {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Perguntas frequentes */
.faq-list {
  margin-top: 3rem;
  border-top: 1px solid var(--border-line);
  max-width: 900px;
  text-align: left;
}

.faq-details {
  border-bottom: 1px solid var(--border-line);
  text-align: left;
}

.faq-summary {
  padding: 1.75rem 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  text-align: left;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-summary:focus-visible,
.nav-links a:focus-visible,
.mobile-menu-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.faq-chevron {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  transition: transform 0.25s ease;
  line-height: 1;
  flex-shrink: 0;
}

.faq-details[open] .faq-chevron {
  transform: rotate(45deg);
}

.faq-answer {
  padding-bottom: 1.75rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: left;
}

/* Contato (fechamento escuro) */
.contact-section {
  background-color: #141414;
  color: #f7f5f0;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.contact-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: #f7f5f0;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.contact-text {
  font-size: 1.12rem;
  line-height: 1.7;
  color: #b8b8b8;
  max-width: 640px;
  margin-bottom: 3rem;
}

.contact-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-contact-primary {
  background-color: #f7f5f0;
  color: #141414;
  text-decoration: none;
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid #f7f5f0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-contact-primary:hover,
.btn-contact-primary:focus-visible {
  background-color: var(--accent-dark-bg);
  border-color: var(--accent-dark-bg);
  color: #141414;
}

.hero-instagram-btn {
  background-color: transparent;
  color: #141414;
  text-decoration: none;
  padding: 0.95rem 1.6rem;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 2px solid #141414;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-instagram-btn:hover,
.hero-instagram-btn:focus-visible {
  background-color: rgba(20, 20, 20, 0.06);
  color: #141414;
}

.btn-contact-outline {
  background-color: transparent;
  color: #f7f5f0;
  text-decoration: none;
  padding: 1.05rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 2px solid #f7f5f0;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-contact-outline:hover,
.btn-contact-outline:focus-visible {
  background-color: rgba(247, 245, 240, 0.12);
  color: #f7f5f0;
}

.contact-disclaimer {
  padding-top: 2rem;
  border-top: 1px solid rgba(247, 245, 240, 0.15);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #8c8c8c;
  max-width: 720px;
}

/* Rodapé */
.site-footer {
  background-color: #f7f5f0;
  border-top: 1px solid var(--border-line);
  padding: 4.5rem 0 3rem;
}

.footer-brand-lockup {
  margin-bottom: 2.75rem;
}

.footer-full-logo {
  height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-line);
}

.footer-cred {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.footer-whatsapp-link,
.footer-instagram-link {
  color: #141414;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-whatsapp-link:hover,
.footer-whatsapp-link:focus-visible,
.footer-instagram-link:hover,
.footer-instagram-link:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Animação de entrada */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-photo-img,
  .faq-chevron {
    transition: none;
  }
}

/* Página 404 */
.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
}

.notfound p {
  color: var(--text-muted);
  max-width: 48ch;
  margin-bottom: 2rem;
}

/* Impressão */
@media print {
  .site-nav,
  .btn-main-black,
  .hero-instagram-btn,
  .btn-contact-primary,
  .btn-contact-outline {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .contact-section {
    background: #fff !important;
    color: #000 !important;
  }

  .contact-title,
  .contact-text,
  .contact-disclaimer {
    color: #000 !important;
  }
}
