/* ============================================
   DESIGN SYSTEM — Dra. Niedja Marques Stadherr
   ============================================ */

:root {
  --rose:        #F46A82;
  --rose-light:  #fde8ed;
  --rose-dark:   #d9506a;
  --teal:        #65C1C5;
  --teal-light:  #e0f5f6;
  --teal-dark:   #4aa3a7;
  --purple:      #8167A6;
  --purple-light:#ede8f5;
  --purple-dark: #6a529a;
  --off-white:   #F9F9F9;
  --white:       #ffffff;
  --text:        #2d2d3a;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.07);
  --shadow-md:   0 8px 30px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.12);
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   36px;
  --transition:  0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }
address { font-style: normal; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229,231,235,.6);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}
.logo-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--rose);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links li a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links li a:hover { color: var(--rose); }

/* Botão nav */
.btn-nav {
  background: var(--rose);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: .875rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-nav:hover {
  background: var(--rose-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(244,106,130,.35);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: var(--transition);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(244,106,130,.3);
}
.btn-primary:hover {
  background: var(--rose-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(244,106,130,.4);
}
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.25);
  margin-top: auto;
}
.btn-whatsapp:hover {
  background: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.35);
}
.btn-map {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(101,193,197,.25);
  margin-top: auto;
}
.btn-map:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(101,193,197,.35);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(244,106,130,.82) 0%,
    rgba(129,103,166,.75) 55%,
    rgba(101,193,197,.55) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 100px;
  max-width: 700px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.2);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.35);
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: rgba(255,255,255,.92);
  font-weight: 500;
  margin-bottom: 12px;
}
.hero-desc {
  font-size: .95rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 36px;
}
.btn-hero {
  font-size: 1rem;
  padding: 16px 40px;
  background: var(--white);
  color: var(--rose);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.btn-hero:hover {
  background: var(--rose-light);
  color: var(--rose-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
}
.hero-wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ============================================
   SECTION COMMONS
   ============================================ */
.section { padding: 100px 0; }
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  background: var(--rose-light);
  color: var(--rose);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
}
.section-title.left { text-align: left; }
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================
   CARDS DE SERVIÇOS
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Centraliza os 2 últimos cards (4º e 5º) na segunda linha */
.cards-grid .card:nth-child(4) { grid-column: 1 / 2; }
.cards-grid .card:nth-child(5) { grid-column: 2 / 3; }
.card {
  border-radius: var(--radius-lg);
  padding: 44px 36px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.card-teal   { background: var(--teal);   color: var(--white); }
.card-purple { background: var(--purple); color: var(--white); }
.card-rose   { background: var(--rose);   color: var(--white); }

.card-icon {
  width: 72px; height: 72px;
  background: rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
}
.card-text {
  font-size: .9rem;
  line-height: 1.7;
  opacity: .88;
}

/* ============================================
   SOBRE
   ============================================ */
.section-sobre {
  background: var(--white);
}
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.sobre-img-wrap {
  position: relative;
}
.sobre-img {
  border-radius: var(--radius-xl);
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.sobre-badge-float {
  position: absolute;
  bottom: 28px;
  right: -24px;
  background: var(--rose);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(244,106,130,.4);
}
.badge-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}
.badge-label {
  font-size: .78rem;
  opacity: .85;
  font-weight: 500;
}
.sobre-content { display: flex; flex-direction: column; gap: 20px; }
.sobre-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.curriculum-list { display: flex; flex-direction: column; gap: 18px; }
.curriculum-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.check-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--rose-light);
  color: var(--rose);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  margin-top: 2px;
}
.curriculum-list strong { font-weight: 600; color: var(--text); font-size: .95rem; }
.curriculum-list div { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   GALERIA
   ============================================ */
.section-galeria { background: var(--off-white); }
.galeria-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 540px;
}
.galeria-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.galeria-item:hover img { transform: scale(1.04); }
.galeria-large { grid-row: 1 / 3; }
.galeria-bottom { }

/* ============================================
   LOCAIS DE ATENDIMENTO
   ============================================ */
.locais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.local-card {
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}
.local-card:hover { transform: translateY(-6px); }
.local-rose { background: var(--rose-light); border-top: 5px solid var(--rose); }
.local-teal { background: var(--teal-light); border-top: 5px solid var(--teal); }

.local-icon-wrap {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.local-rose .local-icon-wrap { background: var(--rose); color: var(--white); }
.local-teal .local-icon-wrap { background: var(--teal); color: var(--white); }

.local-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  width: fit-content;
}
.local-rose .local-tag { background: var(--rose); color: var(--white); }
.local-teal .local-tag { background: var(--teal); color: var(--white); }

.local-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}
.local-address p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.local-phones {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.local-phones a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
}
.local-phones a:hover { color: var(--rose); }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--purple) 0%, var(--rose) 60%, var(--teal) 100%);
  padding: 80px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.cta-text h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.25;
}
.cta-text p {
  font-size: .95rem;
  color: rgba(255,255,255,.82);
}
.btn-cta {
  background: var(--white);
  color: var(--rose);
  flex-shrink: 0;
  font-size: 1rem;
  padding: 16px 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
}
.btn-cta:hover {
  background: var(--rose-light);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,0,0,.22);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,.65);
  padding: 50px 0 30px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}
.footer-specialty {
  font-size: .82rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 6px;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.footer-social:hover {
  color: var(--rose);
}
.footer-copy { font-size: .82rem; }
.footer-cookies {
  font-size: .75rem;
  color: rgba(255,255,255,.38);
}
.footer-cookies a { color: var(--teal); }
.footer-cookies a:hover { text-decoration: underline; }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: var(--text);
  color: rgba(255,255,255,.85);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: .83rem;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  max-width: 640px;
  width: calc(100% - 40px);
  transition: opacity .4s ease, transform .4s ease;
}
.cookie-banner a { color: var(--teal); }
.cookie-banner a:hover { text-decoration: underline; }
.btn-cookie {
  background: var(--rose);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  border-radius: 100px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: .8rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition);
}
.btn-cookie:hover { background: var(--rose-dark); }
.cookie-banner.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(30px);
  pointer-events: none;
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
  .sobre-img-wrap { max-width: 420px; margin: 0 auto; }
  .sobre-badge-float { right: 0; }
}

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; gap: 20px; }
  .cards-grid .card:nth-child(4),
  .cards-grid .card:nth-child(5) { grid-column: auto; }
  .locais-grid { grid-template-columns: 1fr; }
  .galeria-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .galeria-large { grid-row: auto; grid-column: 1 / 3; height: 280px; }
  .galeria-item { height: 200px; }
  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1.2rem; }

  .hero-content { padding-top: 100px; padding-bottom: 120px; }
  .hero-title { font-size: 2.2rem; }

  .sobre-badge-float { right: 0; bottom: -16px; }

  .galeria-grid { grid-template-columns: 1fr; height: auto; }
  .galeria-large { grid-column: auto; height: 260px; }
  .galeria-item { height: 200px; }

  .card { padding: 36px 28px; }
  .local-card { padding: 36px 28px; }

  .cookie-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .btn-hero { width: 100%; justify-content: center; }
  .section-title { font-size: 1.65rem; }
}
