/* ─────────────────────────────────────────
   Julia Andrade | Harmonização Orofacial
   style.css
───────────────────────────────────────── */

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

:root {
  --rose:        #9B796F;
  --rose-light:  #C4A69F;
  --rose-pale:   #EFE6E3;
  --cream:       #F7F3EF;
  --cream2:      #EDE6DE;
  --white:       #FFFFFF;
  --ink:         #262626;
  --ink-soft:    #5A4F4A;
  --serif:       'Cormorant Garamond', Georgia, serif;
  --sans:        'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--rose-light); border-radius: 3px; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 68px;
  background: rgba(247,243,239,0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(155,121,111,0.10);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(155,121,111,0.09); }

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
  margin-left: 90px;
}
.nav-logo span { color: var(--rose); font-style: italic; }

.nav-links {
  display: flex; gap: 2.4rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--rose); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1.3rem;
  background: var(--rose);
  color: var(--white);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 40px;
  transition: background 0.25s, transform 0.2s;
}
.nav-cta:hover { background: #7e5e55; transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

/* ── HERO ── */
.hero {
  margin-top: 68px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  align-items: stretch;
  height: 780px;
  position: relative;
  overflow: hidden;
}

.hero-deco {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(100px, 16vw, 220px);
  font-weight: 600;
  color: rgba(155,121,111,0.055);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.hero-deco-1 { top: 0; left: -1%; }
.hero-deco-2 { bottom: -2%; right: -3%; }

.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 60px 5% 60px 8%;
  position: relative; z-index: 2;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--rose-pale);
  color: var(--rose);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 40px;
  margin-bottom: 1.8rem;
  width: fit-content;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--rose);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 1.3rem;
}
.hero-title em    { font-style: italic; color: var(--rose); font-weight: 400; }
.hero-title strong { font-weight: 600; }

.hero-sub {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 400px;
  margin-bottom: 2.4rem;
}

.hero-actions {
  display: flex; align-items: center; gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--rose);
  color: var(--white);
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(155,121,111,0.28);
}
.btn-primary:hover {
  background: #7e5e55;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(155,121,111,0.32);
}
.btn-primary svg { width: 17px; height: 17px; }

.btn-ghost {
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.35rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--rose); }
.btn-ghost svg { width: 13px; height: 13px; }

.hero-cred {
  display: flex; align-items: center; gap: 1.2rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--cream2);
}
.hero-cred-num {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--rose);
  line-height: 1;
}
.hero-cred-label {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
.hero-cred-sep { width: 1px; height: 32px; background: var(--cream2); }

.hero-right {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 0%;
  background-repeat: no-repeat;
}
.hero-photo { display: none; }
.hero-right img { display: none; }

.hero-photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.8rem;
  color: rgba(155,121,111,0.4);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  pointer-events: none;
}
.hero-photo-placeholder svg { width: 44px; height: 44px; stroke: rgba(155,121,111,0.3); }

.hero-badge {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 12px;
  padding: 0.8rem 1.3rem;
  box-shadow: 0 8px 28px rgba(38,38,38,0.10);
  display: flex; align-items: center; gap: 0.8rem;
  white-space: nowrap;
  z-index: 3;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: #4CAF50;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.4); }
  50%       { box-shadow: 0 0 0 6px rgba(76,175,80,0); }
}
.hero-badge-text { font-size: 0.75rem; color: var(--ink); }
.hero-badge-text strong { display: block; font-weight: 500; font-size: 0.8rem; }

/* ── SEÇÕES — comum ── */
section { padding: 96px 8%; }

.section-label {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.9rem;
}
.section-label::before { content: ''; width: 22px; height: 1px; background: var(--rose); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--rose); }

/* ── SOBRE ── */
.about {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 96px 8%;
}

.about-photo-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: visible;
}
.about-photo-wrap img,
.about-photo-inner {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  display: block;
  background: linear-gradient(135deg, var(--cream) 0%, var(--rose-pale) 100%);
}
.about-photo-inner {
  aspect-ratio: 4/5;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.8rem;
  color: rgba(155,121,111,0.4);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
}
.about-photo-inner svg { width: 40px; height: 40px; stroke: rgba(155,121,111,0.3); }

.about-deco-line {
  position: absolute;
  top: -14px; left: -14px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  border: 1px solid rgba(155,121,111,0.22);
  border-radius: 8px;
  pointer-events: none;
  z-index: -1;
}

.about-cro {
  position: absolute;
  bottom: 1.6rem; right: -1.2rem;
  background: var(--rose);
  color: var(--white);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  box-shadow: 0 8px 24px rgba(155,121,111,0.28);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.about-cro strong {
  display: block;
  font-size: 0.95rem;
  font-family: var(--serif);
  letter-spacing: 0;
  font-weight: 500;
  text-transform: none;
}

.about-text p {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
}
.about-text p strong { color: var(--ink); font-weight: 500; }

.about-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.8rem;
}
.about-pill {
  padding: 0.35rem 0.9rem;
  background: var(--rose-pale);
  color: var(--rose);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  border-radius: 40px;
}

/* ── SERVIÇOS ── */
.services { background: var(--cream); text-align: center; }
.services .section-label { justify-content: center; }
.services .section-label::before { display: none; }

.services-sub {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 300;
  margin: 0.5rem 0 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: left;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.8rem 1.6rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose), var(--rose-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(155,121,111,0.11); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 42px; height: 42px;
  background: var(--rose-pale);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.service-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.45rem;
}
.service-desc {
  font-size: 0.82rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ── DEPOIMENTOS ── */
.testimonials { background: var(--rose-pale); text-align: center; }
.testimonials .section-label { justify-content: center; }
.testimonials .section-label::before { display: none; }
.testimonials .section-title { margin-bottom: 2.8rem; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem;
  text-align: left;
}

.testimonial-card {
  background: var(--white);
  border-radius: 14px;
  padding: 1.8rem;
  box-shadow: 0 4px 18px rgba(155,121,111,0.07);
  transition: transform 0.3s;
}
.testimonial-card:hover { transform: translateY(-3px); }

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.testimonial-stars span { color: var(--rose); font-size: 0.95rem; }

.testimonial-text {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.4rem;
}

.testimonial-author {
  display: flex; align-items: center; gap: 0.75rem;
  border-top: 1px solid var(--rose-pale);
  padding-top: 1.1rem;
}
.testimonial-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--rose-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--rose);
  font-weight: 500;
  flex-shrink: 0;
}
.testimonial-name { font-size: 0.82rem; font-weight: 500; color: var(--ink); }
.testimonial-proc { font-size: 0.7rem; color: var(--ink-soft); margin-top: 0.1rem; }

/* ── GALERIA / CARROSSEL ── */
.gallery { background: var(--white); }

.gallery-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.2rem;
  flex-wrap: wrap; gap: 1rem;
}
.gallery-sub {
  font-size: 0.88rem; font-weight: 300;
  color: var(--ink-soft);
  max-width: 380px; line-height: 1.65;
}

.carousel-wrap { position: relative; }

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  cursor: grab;
}
.carousel-track:active { cursor: grabbing; }
.carousel-track::-webkit-scrollbar { height: 4px; }
.carousel-track::-webkit-scrollbar-track { background: var(--cream2); border-radius: 2px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--rose-light); border-radius: 2px; }

.carousel-item {
  flex: 0 0 320px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  background: var(--cream);
}
.carousel-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.carousel-item:hover img { transform: scale(1.04); }

.gallery-tag {
  position: absolute; bottom: 0.8rem; left: 0.8rem;
  background: rgba(38,38,38,0.70);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(calc(-50% - 0.5rem));
  z-index: 2;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(155,121,111,0.25);
  background: var(--white);
  color: var(--rose);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(38,38,38,0.08);
  transition: background 0.2s, transform 0.2s;
}
.carousel-btn:hover { background: var(--rose); color: var(--white); transform: translateY(calc(-50% - 0.5rem)) scale(1.08); }
.carousel-btn svg { width: 18px; height: 18px; }
.carousel-prev { left: -20px; }
.carousel-next { right: -20px; }

/* ── CTA WHATSAPP ── */
.cta-section {
  background: var(--ink);
  padding: 110px 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: 'Julia';
  position: absolute;
  font-family: var(--serif);
  font-size: 28vw;
  font-weight: 600;
  color: rgba(155,121,111,0.04);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  white-space: nowrap;
}

.cta-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-light);
  margin-bottom: 1.1rem;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.4rem;
}
.cta-title em { font-style: italic; color: var(--rose-light); }

.cta-text {
  font-size: 0.97rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  max-width: 460px;
  margin: 0 auto 2.8rem;
  line-height: 1.8;
}

.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: #25D366;
  color: var(--white);
  text-decoration: none;
  padding: 1rem 2.3rem;
  border-radius: 60px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  box-shadow: 0 6px 26px rgba(37,211,102,0.28);
}
.btn-whatsapp:hover {
  background: #1eb858;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.32);
}
.btn-whatsapp svg { width: 20px; height: 20px; }

.cta-note {
  margin-top: 1.4rem;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.07em;
}

/* ── FOOTER ── */
footer {
  background: #1a1613;
  padding: 2.8rem 8%;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 1.2rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
}
.footer-logo span { color: var(--rose-light); font-style: italic; }

.footer-links {
  display: flex; gap: 2rem;
  list-style: none;
}
.footer-links a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--rose-light); }

.footer-copy {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.18);
}

/* ── ANIMAÇÕES ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: 3rem 6% 2.5rem; }
  .about { grid-template-columns: 1fr; gap: 2.5rem; padding: 80px 6%; }
  .about-cro { right: 0.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .carousel-item { flex: 0 0 260px; height: 340px; }
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }
  section { padding: 72px 6%; }
  nav { padding: 0 4%; }
}

@media (max-width: 560px) {
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}