:root {
  --paper: #f5f1e9;
  --paper-2: #eee8dc;
  --ink: #26231f;
  --muted: #777067;
  --brown: #604331;
  --green: #354a2d;
  --line: rgba(38,35,31,.16);
  --white: #fffdf8;
  --title: 'Playfair Display', Georgia, serif;
  --body: 'DM Sans', Arial, sans-serif;
}

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

html { 
  scroll-behavior: smooth; 
  overscroll-behavior-y: none;
}

body {
  background:  #2b221b;
  color: var(--ink);
  font-family: var(--body);
  overflow-x: hidden;
}

a { color: inherit; }

/* ==========================================
   1. FUNDO GLOBAL COM PARALLAX
   ========================================== */
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #2b221b;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1;
}

.hero-bg img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0); 
  display: block;
  z-index: 0;
  max-width: none !important;
  max-height: none !important;
  transition: none !important; 
}

/* ==========================================
   2. TOPO / HERO
   ========================================== */
.hero-section {
  min-height: 100svh;
  padding: 24px 5vw 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 5;
}

.brand-mark { display: block; }

.logo-doctor-pao {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  gap: 5px;
  flex-direction: column;
  padding: 8px;
  z-index: 100;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 34px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  opacity: .92;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  margin: auto;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 20px;
  opacity: .9;
  color: #fff;
}

.hero-content h1 {
  font-family: var(--title);
  font-size: clamp(3rem, 6.5vw, 6.2rem);
  line-height: 1.05;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -1.5px;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.hero-subtitle {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #f2efe9;
  font-weight: 400;
}

/* Tarja do Hero */
.hero-actions {
  width: calc(100% + 10vw);
  margin-left: -5vw;
  padding: 35px 5vw; 
  background: var(--paper);
  color: var(--ink);
  position: relative;
  z-index: 5;
  box-shadow: 0 -20px 50px rgba(0,0,0,0.25);
}

.hero-actions-container {
  max-width: 1050px;
  margin: 0 auto;
}

.hero-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.btn {
  min-width: 320px;
  padding: 20px 35px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  font-weight: 600;
  transition: .25s ease;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-light {
  border: 1px solid var(--ink);
  background: transparent;
}

.btn-solid {
  background: var(--green);
  border: 1px solid var(--green);
  color: #fff;
}

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

main {
  position: relative;
  z-index: 3;
}

/* ==========================================
   3. SEÇÕES TRANSPARENTES
   ========================================== */
.secao-transparente {
  background: transparent;
  width: 100%;
  padding: 160px 6vw;
  color: #fff;
  text-align: center;
}

.conteudo-banner-transparente {
  max-width: 820px;
  margin: 0 auto;
}

.secao-transparente .section-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  margin-bottom: 25px;
}

.secao-transparente h2 {
  font-family: var(--title);
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -1.5px;
  margin-bottom: 25px;
  text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.secao-transparente h2 em {
  font-style: italic;
  font-weight: 500;
}

.secao-transparente p {
  color: #f0ebe1;
  font-size: 16px;
  line-height: 1.9;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

/* ==========================================
   4. TARJAS BRANCAS DE FOTOS
   ========================================== */
.tarja-branca-container {
  background: var(--paper) !important;
  padding: 110px 6vw;
  position: relative;
  z-index: 5;
  box-shadow: 0 0 50px rgba(0,0,0,0.12);
}

.diferenciais-grid {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.diferencial-card img {
  width: 100%;
  aspect-ratio: 1.3 / 1;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  border: 2px solid rgba(38, 35, 31, 0.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diferencial-card img:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.diferencial-card span {
  display: block;
  padding-top: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
}

/* ==========================================
   5. SEÇÃO REDES SOCIAIS E GALERIA
   ========================================== */
.social-section {
  background: var(--green);
  color: #f8f5ed;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 6vw;
  align-items: center;
  padding: 130px 6vw;
  position: relative;
  z-index: 5;
}

.social-section .section-label { 
  color: rgba(255,255,255,.58); 
  font-size: 10px; 
  letter-spacing: 2.5px; 
  font-weight: 600; 
  margin-bottom: 20px; 
  text-transform: uppercase;
}

.social-section h2 { 
  font-family: var(--title);
  font-size: clamp(2.2rem, 4vw, 4.2rem); 
  line-height: 1.1;
  font-weight: 500;
}

.social-section h2 em {
  font-style: italic;
  font-weight: 500;
}

.social-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.22);
}

.social-link {
  padding: 24px 10px;
  border-bottom: 1px solid rgba(255,255,255,.22);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: opacity 0.2s ease;
}

.social-link:hover { opacity: 0.75; }
.social-link i { width: 18px; font-size: 15px; }

.galeria-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.galeria-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  cursor: pointer;
  border-radius: 6px;
  border: 2px solid rgba(38, 35, 31, 0.1);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: transform .3s ease, box-shadow .3s ease;
}

.galeria-img:hover { 
  transform: scale(0.985); 
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.container-botao-galeria {
  display: flex;
  justify-content: center;
  margin-top: 55px;
}

.botao-ver-mais {
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.botao-ver-mais:hover { opacity: 0.65; }

/* ==========================================
   6. LIGHTBOX E RODAPÉ
   ========================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,18,15,.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.lightbox-conteudo {
  max-width: 92%;
  max-height: 86%;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-fechar {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 42px;
  font-weight: 300;
  cursor: pointer;
}

.site-footer {
  background: #211f1b !important;
  padding: 110px 6vw 35px;
  position: relative;
  z-index: 10;
  color: #eee9df;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
}

.footer-kicker {
  font-size: 10px;
  letter-spacing: 2px;
  color: #a59d90;
  text-transform: uppercase;
}

.footer-block h3 {
  font-family: var(--title);
  font-size: 38px;
  font-weight: 500;
  margin: 14px 0 18px;
}

.footer-block p {
  color: #aaa398;
  font-size: 13px;
  line-height: 1.8;
}

.btn-maps {
  display: inline-block;
  margin-top: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  border-bottom: 1px solid #777065;
  padding-bottom: 5px;
}

.footer-bottom {
  max-width: 1100px;
  margin: auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #777168;
  font-size: 10px;
  letter-spacing: .5px;
}

.assinatura-desenvolvedor a {
  color: #b8b0a5;
  text-decoration: none;
}

.whatsapp-flutuante {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 54px;
  height: 54px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
  z-index: 999;
}

/* ==========================================
   7. RESPONSIVIDADE DESKTOP
   ========================================== */
@media (min-width: 900px) {
  .hero-actions {
    padding: 85px 5vw; /* Tarja imponente e robusta no PC */
  }
}

/* ==========================================
   8. RESPONSIVIDADE MOBILE
   ========================================== */
@media (max-width: 899px) {
  .hero-section {
    min-height: 100svh;
    padding: 18px 22px 0;
  }

  .hero-bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  .hero-bg img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .logo-doctor-pao { width: 66px; height: 66px; }

  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 78%;
    max-width: 310px;
    height: 100svh;
    background: #2d3d26;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right .35s ease;
    z-index: 90;
  }

  .nav-menu.open { right: 0; }

  .nav-menu ul {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .nav-menu a { font-size: 12px; }

  .hero-content {
    padding: 40px 0;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 14px;
  }

  .hero-content h1 {
    font-size: clamp(2.5rem, 9vw, 3.6rem);
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 12px;
    margin-top: 14px;
  }

  .hero-actions {
    width: calc(100% + 44px);
    margin-left: -22px;
    padding: 24px 22px;
  }

  .hero-buttons-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    padding: 14px 18px;
  }

  .secao-transparente,
  .social-section {
    padding: 100px 22px;
  }

  .secao-transparente h2 {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
  }

  .secao-transparente p {
    font-size: 14px;
    line-height: 1.8;
  }

  .tarja-branca-container {
    padding: 80px 22px;
  }

  .diferenciais-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .social-section {
    display: block;
  }

  .social-section h2 {
    font-size: 2.8rem;
  }

  .social-links {
    margin-top: 35px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 55px;
    margin-bottom: 55px;
  }

  .footer-block h3 { font-size: 34px; }

  .footer-bottom {
    display: block;
    line-height: 1.8;
  }

  .assinatura-desenvolvedor { margin-top: 8px; }

  .whatsapp-flutuante {
    width: 50px;
    height: 50px;
    right: 17px;
    bottom: 17px;
    font-size: 25px;
  }
}

.hero-bg, .hero-bg img {
    height: 100svh !important;
    width: 100% !important;
    object-fit: cover !important;
    position: fixed !important;
    top: 0;
    left: 0;
    transform: none !important;
  }

  @media (min-width: 900px) {
  .hero-bg img {
    content: url('./assets/hero2.png');
  }
}