/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Palette */
  --clr-bg:          #F5F2EF;
  --clr-bg-alt:      #EDEAE6;
  --clr-bg-dark:     #2C2825;
  --clr-accent:      #A5927D;
  --clr-accent-dark: #7D6A57;
  --clr-text:        #1F1A17;
  --clr-text-muted:  #6B5F55;
  --clr-light:       #FAF8F5;
  --clr-white:       #FFFFFF;
  --clr-whatsapp:    #25D366;

  /* Typography */
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Montserrat', system-ui, sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 2px 12px rgba(0,0,0,.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.13);

  /* Transitions */
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16.8px; }

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: min(90%, 1140px);
  margin-inline: auto;
}
.container-narrow {
  width: min(90%, 760px);
  margin-inline: auto;
  text-align: center;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(245, 242, 239, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(92%, 1200px);
  margin-inline: auto;
  padding: 1.2rem 0;
}

.nav-logo a {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--clr-text);
  transition: color var(--transition);
}
.nav-logo a:hover { color: var(--clr-accent); }

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-text-muted);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--clr-accent);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--clr-text);
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clr-bg-dark);
  color: var(--clr-white);
}
.btn-primary:hover { background: #1a100b; }

.btn-whatsapp {
  background: var(--clr-whatsapp);
  color: var(--clr-white);
}
.btn-whatsapp:hover { background: #20b858; }

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section {
  padding-block: var(--space-xl);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--clr-text);
  margin-bottom: var(--space-md);
  position: relative;
}
.section-title.light { color: var(--clr-white); }
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: var(--clr-accent);
  margin-top: 0.9rem;
}
.section-title.light::after { background: rgba(255,255,255,.5); }
.container-narrow .section-title::after {
  margin-inline: auto;
}

/* ============================================================
   HERO
   ============================================================ */
.section-hero {
  min-height: 100svh;
  background: var(--clr-bg);
  display: flex;
  align-items: center;
  padding-block: 6rem 3rem;
  overflow: hidden;
}
.hero-inner {
  width: min(92%, 1140px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-text { z-index: 2; }
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--clr-text);
  margin-bottom: 1.2rem;
}
.hero-title em {
  font-style: italic;
  color: var(--clr-accent-dark);
}
.hero-subtitle {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 2.4rem;
}
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-bg-circle {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--clr-bg-alt);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.hero-photo {
  position: relative;
  z-index: 1;
  width: min(360px, 85vw);
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   OLÁ SOU ISABELA
   ============================================================ */
.section-ola {
  position: relative;
  overflow: hidden;
}
.section-ola::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../imagens/olasou.jpg') center/cover no-repeat;
  filter: contrast(1.4);
  z-index: 0;
}
.section-ola::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 248, 245, 0.92);
  z-index: 1;
}
.section-ola .container { position: relative; z-index: 2; }

.ola-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.ola-content-wrap { z-index: 2; }
.ola-text p {
  color: var(--clr-text-muted);
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}
.ola-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.ola-bg-circle {
  position: absolute;
  width: 80%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--clr-bg);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.ola-photo {
  position: relative;
  z-index: 1;
  width: min(380px, 90vw);
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   SOBRE
   ============================================================ */
.section-sobre {
  position: relative;
}
.section-sobre::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../imagens/sobremim.jpg') center/cover no-repeat;
  filter: contrast(1.4);
  z-index: 0;
}
.section-sobre::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(250, 248, 245, 0.95);
  z-index: 1;
}
.section-sobre .container { position: relative; z-index: 2; }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
}
.sobre-text p {
  color: var(--clr-text-muted);
  margin-bottom: 1.1rem;
  font-size: 1rem;
}
.sobre-text strong { color: var(--clr-text); }
.sobre-badges {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 220px;
}
.badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--clr-white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--clr-text);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.badge:hover { transform: translateX(4px); box-shadow: var(--shadow-md); }
.badge-icon { font-size: 1.1rem; }

/* ============================================================
   SESSÕES
   ============================================================ */
.section-sessoes {
  position: relative;
}
.section-sessoes::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../imagens/sessoes.jpg') center/cover no-repeat;
  background-attachment: fixed;
  filter: contrast(1.4);
  z-index: 0;
}
.section-sessoes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 242, 239, 0.88);
  z-index: 1;
}
.section-sessoes .container { position: relative; z-index: 2; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}
.card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  background: rgba(255, 255, 255, 0.9);
}
.card-icon {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  background: var(--clr-bg);
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--clr-text);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.04);
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--clr-text);
  margin-bottom: 0.8rem;
}
.card p {
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}
.card strong { color: var(--clr-text); }

/* ============================================================
   CTA — PRIMEIROS ATENDIMENTOS
   ============================================================ */
.section-cta {
  padding-block: var(--space-xl);
  position: relative;
}
.section-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../imagens/atendimentos.jpg') center/cover no-repeat;
  filter: contrast(1.4);
  z-index: 0;
}
.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,40,37,0.92) 0%, rgba(61,45,34,0.92) 100%);
  z-index: 1;
}
.section-cta .container { position: relative; z-index: 2; }
.section-cta .section-title { margin-bottom: 1.2rem; }
.cta-text {
  color: rgba(255,255,255,.75);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2.4rem;
  max-width: 560px;
  margin-inline: auto;
}

/* ============================================================
   ONDE ATENDO
   ============================================================ */
.section-local { background: var(--clr-bg-alt); }

.local-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.local-info { display: flex; flex-direction: column; gap: 1.8rem; }
.local-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.local-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.local-item strong { display: block; font-weight: 600; margin-bottom: 0.25rem; color: var(--clr-text); }
.local-item p { font-size: 0.9rem; color: var(--clr-text-muted); }
.local-map iframe {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--clr-bg-dark);
  color: rgba(255,255,255,.75);
  padding-block: 4rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--clr-white);
  margin-bottom: 0.25rem;
}
.footer-role {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 0.5rem;
}
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,.5); }
.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--clr-white);
  margin-bottom: 1.2rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-link {
  font-size: 0.88rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-link:hover { color: var(--clr-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,.35);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-image-wrap { order: -1; }
  .hero-title { font-size: clamp(2.4rem, 6vw, 3.5rem); }
  .ola-inner { grid-template-columns: 1fr; text-align: center; }
  .ola-image-wrap { order: -1; margin-bottom: 2rem; }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-badges { flex-direction: row; flex-wrap: wrap; }
  .local-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  :root { --space-xl: 4.5rem; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(300px, 80vw);
    height: 100vh;
    background: var(--clr-light);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 200;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { font-size: 0.9rem; }

  .cards-grid { grid-template-columns: 1fr; }
  .sobre-badges { flex-direction: column; }
  .hero-photo { width: min(280px, 75vw); }
}
