/* =============================================
   REABILITA JÁ – Design System
   Colors: #c8b49b, #f5ecdb, #5f84a1, #3b5b8a
   Font: Montserrat
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,300;1,400;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&display=swap');

/* ---- CSS Variables ---- */
:root {
  --beige:       #c8b49b;
  --cream:       #f5ecdb;
  --blue-mid:    #5f84a1;
  --blue-dark:   #3b5b8a;
  --white:       #ffffff;
  --text-dark:   #2d2d2d;
  --text-mid:    #555555;
  --text-light:  #888888;

  --cream-light: #fdf8f0;
  --beige-light: #e8d9c6;
  --blue-light:  #eef3f8;

  --font-main:   'Montserrat', sans-serif;
  --font-accent: 'Playfair Display', serif;

  --shadow-sm:   0 2px 12px rgba(63,91,138,0.08);
  --shadow-md:   0 6px 30px rgba(63,91,138,0.13);
  --shadow-lg:   0 16px 60px rgba(63,91,138,0.18);

  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   32px;
  --radius-pill: 100px;

  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --nav-h:       100px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background: var(--cream-light);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-accent);
  line-height: 1.25;
  color: var(--blue-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 500; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 500; }
h4 { font-size: 1.05rem; font-family: var(--font-accent); font-weight: 500; }

p  { font-size: 1rem; color: var(--text-mid); line-height: 1.8; text-align: justify; text-justify: inter-word; }

/* Text blocks that are not <p> but should justify */
.contact-item-label,
.contact-item-value,
.contact-item-sub,
.team-role,
.footer-contact span {
  text-align: justify;
  text-justify: inter-word;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 12px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--beige);
  border-radius: 2px;
}

/* ---- Layout ---- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

section { padding: 90px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(59,91,138,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,91,138,0.45);
}

.btn-outline {
  border: 2px solid var(--blue-dark);
  color: var(--blue-dark);
}
.btn-outline:hover {
  background: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-beige {
  background: var(--beige);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(200,180,155,0.4);
}
.btn-beige:hover {
  background: #b5a08a;
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--blue-dark);
  padding: 12px 0;
  font-weight: 600;
  gap: 6px;
  border-bottom: 2px solid transparent;
}
.btn-ghost:hover { border-bottom-color: var(--beige); color: var(--beige); }

/* ===================================================
   NAVBAR
=================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.navbar.transparent {
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 120px;
  width: auto;
  transition: var(--transition);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--blue-dark);
  position: relative;
  padding: 4px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--beige);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--beige); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.navbar.transparent .nav-link { color: var(--white); }
.navbar.transparent .nav-link:hover { color: var(--cream); }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--blue-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.transparent .hamburger span { background: var(--white); }

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 90vw);
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { right: 0; }
.mobile-menu .nav-link { font-size: 1.1rem; color: var(--blue-dark); }
.mobile-menu .nav-link::after { display: none; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.overlay.show { opacity: 1; pointer-events: all; }

/* ===================================================
   HERO
=================================================== */
.hero {
  min-height: 88vh;
  position: relative;
  display: flex;
  align-items: flex-end;   /* ancla o conteudo no fundo */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Garante renderização de alta qualidade */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Gradiente escuro vindo de baixo e da esquerda para legibilidade */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(20, 32, 60, 0.85) 0%, rgba(20, 32, 60, 0.3) 60%, transparent 100%),
    linear-gradient(to right, rgba(20, 32, 60, 0.5) 0%, transparent 60%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200,180,155,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,236,219,0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(59,91,138,0.3) 0%, transparent 70%);
}

.hero-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.2;
}
.shape-1 {
  width: 500px; height: 500px;
  background: var(--beige);
  top: -100px; right: -100px;
  animation: float1 8s ease-in-out infinite;
}
.shape-2 {
  width: 300px; height: 300px;
  background: var(--cream);
  bottom: 50px; left: -80px;
  animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(-30px, 40px) scale(1.05); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%      { transform: translate(20px,-30px) scale(0.95); }
}

/* Hero content: cobre toda a largura, texto no canto inferior esquerdo */
.hero-content {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 0 72px;
  display: flex;
  align-items: flex-end;
  min-height: 88vh;
}

.hero-text {
  color: var(--white);
  max-width: 600px;
}



.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease both;
}
.hero-badge span { 
  width: 6px; height: 6px; 
  background: var(--beige); 
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.6; transform: scale(1.4); }
}

.hero-title {
  color: var(--white);
  margin-bottom: 20px;
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 1.15;
  animation: fadeInUp 0.8s 0.15s ease both;
}
.hero-title em {
  font-style: normal;
  color: var(--beige);
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 480px;
  animation: fadeInUp 0.8s 0.25s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.35s ease both;
}

.btn-hero-outline {
  border: 2px solid rgba(255,255,255,0.6);
  color: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeInUp 0.8s 0.45s ease both;
}
.hero-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat span {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}
.hero-stat-sep { width: 1px; background: rgba(255,255,255,0.25); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.9s 0.2s ease both;
}

.hero-card {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 340px;
  width: 100%;
}
.hero-logo {
  width: 220px;
  margin: 0 auto 24px;
  filter: brightness(0) invert(1);
}

.hero-card-text {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  line-height: 1.7;
  font-style: italic;
}

/* Hero photo frame - right column, full bleed */
.hero-photo-frame {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 75vh;
}
.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.08);
  transition: transform 8s ease;
}
.hero-photo-frame:hover .hero-photo-img {
  transform: scale(1.13);
}
.hero-photo-badge {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30,45,80,0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  white-space: nowrap;
}
.hero-photo-badge img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 1.5s 1s ease both;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollDown 2s ease infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===================================================
   SERVICES PREVIEW (Home)
=================================================== */
.services-preview {
  background: var(--cream-light);
}

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 64px;
}
.section-header .section-tag { justify-content: center; }
.section-header .section-tag::before { display: none; }
.section-header .section-tag::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--beige);
  border-radius: 2px;
}
.section-header p { margin-top: 16px; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--beige), var(--blue-mid));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
}
.service-icon svg {
  width: 32px; height: 32px;
  stroke: var(--blue-dark);
  transition: var(--transition);
}
.service-card:hover .service-icon svg { stroke: var(--white); }

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.service-card p { font-size: 0.95rem; }
.service-card .btn-ghost { margin-top: 20px; font-size: 0.88rem; }

/* ===================================================
   WHY US
=================================================== */
.why-us {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,180,155,0.15) 0%, transparent 60%);
}

.why-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-text .section-tag { color: var(--cream); }
.why-text h2 { color: var(--white); }
.why-text p  { color: rgba(255,255,255,0.75); margin-top: 16px; }

.why-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.why-item {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.why-item:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}
.why-item-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.why-item h4 { color: var(--white); margin-bottom: 6px; }
.why-item p  { color: rgba(255,255,255,0.7); font-size: 0.88rem; line-height: 1.6; }

.why-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-stat-card {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.why-stat-card:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}
.why-stat-card:first-child {
  grid-column: 1 / -1;
  background: rgba(200,180,155,0.18);
  border-color: rgba(200,180,155,0.35);
}
.why-stat-card strong {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.why-stat-card span {
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  text-align: center;
}

/* ===================================================
   TESTIMONIALS (Google Reviews)
=================================================== */
.testimonials { background: var(--cream); }

.testimonials .section-header { margin-bottom: 48px; }
.google-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
}
.google-rating .rating-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1;
}
.google-rating .rating-stars {
  color: #f0c060;
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.carousel-wrapper { position: relative; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--blue-dark);
  font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
  transition: var(--transition);
}
.carousel-btn:hover { background: var(--blue-dark); color: var(--white); }
.carousel-btn.prev { left: -22px; }
.carousel-btn.next { right: -22px; }

.testimonials-grid {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 12px 4px 32px;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.testimonials-grid::-webkit-scrollbar { display: none; }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition);
  flex: 0 0 320px;
  scroll-snap-align: center;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.google-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.google-logo-sm {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.testimonial-stars {
  color: #f0c060;
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.testimonial-card p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.author-name { font-weight: 600; color: var(--blue-dark); font-size: 0.95rem; line-height: 1.2; }
.author-date { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }

.testimonials-action {
  text-align: center;
  margin-top: 48px;
}
.testimonials-action .btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ===================================================
   CTA BANNER
=================================================== */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;

  /* Parallax: the image stays fixed while the content scrolls */
  background-image:
    linear-gradient(135deg, rgba(59, 91, 138, 0.82) 0%, rgba(95, 132, 161, 0.75) 100%),
    url('../assets/images/cta-bg.jpg');
  background-size: auto, cover;
  background-position: center, center;
  background-repeat: no-repeat, repeat;
  background-attachment: fixed, fixed;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.88); max-width: 500px; margin: 0 auto 36px; }
.cta-banner .btn { background: var(--white); color: var(--blue-dark); font-weight: 700; }
.cta-banner .btn:hover { background: var(--cream); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }

/* ===================================================
   FOOTER
=================================================== */
.footer {
  background: #1e2d45;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1) opacity(0.9);
}
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h5 {
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--beige); padding-left: 4px; }

.footer-contact { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item svg {
  width: 18px; height: 18px;
  stroke: var(--beige);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--beige);
  border-color: var(--beige);
  transform: translateY(-3px);
}
.social-link svg { width: 18px; height: 18px; stroke: var(--white); fill: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
}

/* ===================================================
   PAGE HERO (inner pages)
=================================================== */
.page-hero {
  padding: calc(var(--nav-h) + 60px) 0 70px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(200,180,155,0.18) 0%, transparent 60%);
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb span { color: var(--beige); }

/* ===================================================
   ABOUT PAGE
=================================================== */
.about-story {
  background: var(--cream-light);
}
.about-story-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}
.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-img-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-dark);
}
.about-img-badge span {
  font-size: 0.82rem;
  color: var(--text-light);
}

.about-text h2 { margin-bottom: 20px; }
.about-text p  { margin-bottom: 16px; }

.values-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
}
.value-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-icon svg { width: 18px; height: 18px; stroke: var(--white); }
.value-item h4 { font-size: 0.92rem; color: var(--blue-dark); margin-bottom: 2px; }
.value-item p  { font-size: 0.82rem; color: var(--text-mid); }

/* Mission / Vision */
.mission-vision {
  background: var(--cream);
}
.mv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.mv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.mv-card .mv-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.mv-card .mv-icon svg { width: 36px; height: 36px; stroke: var(--white); }
.mv-card h3 { margin-bottom: 12px; font-size: 1.25rem; }
.mv-card p  { font-size: 0.93rem; }

/* ===================================================
   SERVICES PAGE
=================================================== */
.services-full {
  background: var(--cream-light);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--cream);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }

.service-detail-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--blue-light), var(--cream));
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
}

.service-detail-content h2 { margin-bottom: 16px; }
.service-detail-content > p { margin-bottom: 28px; }

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--blue-mid);
  transition: var(--transition);
}
.benefit-item:hover { border-left-color: var(--beige); transform: translateX(4px); }
.benefit-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.benefit-check svg { width: 12px; height: 12px; stroke: var(--white); stroke-width: 3; }
.benefit-item p { font-size: 0.92rem; margin: 0; }

/* Modalities */
.modalities {
  background: var(--cream);
}
.modalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.modality-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}
.modality-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--beige);
}
.modality-emoji { font-size: 2.5rem; margin-bottom: 16px; }
.modality-card h4 { color: var(--blue-dark); margin-bottom: 8px; }
.modality-card p  { font-size: 0.88rem; }

/* ===================================================
   TEAM PAGE
=================================================== */
.team-section { background: var(--cream-light); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.team-avatar {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--cream) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.team-avatar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(59,91,138,0.8));
}
.team-info {
  padding: 24px;
}
.team-info h3 { font-size: 1.15rem; margin-bottom: 4px; }
.team-role {
  font-size: 0.82rem;
  color: var(--blue-mid);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.team-info p { font-size: 0.88rem; line-height: 1.7; margin: 0; }
.team-info p + p { margin-top: 10px; }
.team-credo {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cream);
  font-size: 0.82rem;
  color: var(--beige);
  font-style: italic;
}

/* ===================================================
   CONTACT PAGE
=================================================== */
.contact-section { background: var(--cream-light); }
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 60px;
}

.contact-info { width: 100%; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { margin-bottom: 40px; }

.contact-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  text-align: left;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-item:hover { transform: translateX(6px); }
.contact-item-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg { width: 22px; height: 22px; stroke: var(--white); }
.contact-item-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-mid);
  margin-bottom: 4px;
}
.contact-item-value {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.95rem;
}
.contact-item-sub {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 32px; font-size: 0.93rem; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-dark);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--cream);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--cream-light);
  transition: var(--transition);
  outline: none;
  resize: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(95,132,161,0.12);
}
.form-group textarea { min-height: 120px; }

.form-submit { margin-top: 8px; }
.form-submit .btn { width: 100%; justify-content: center; }

/* Back-to-top button */
.back-to-top {
  position: fixed;
  bottom: 100px;  /* posicionado acima do botão WhatsApp (58px + 10px gap + 32px) */
  right: 32px;
  z-index: 500;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue-dark);
  border: 2px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(59,91,138,0.4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--blue-mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59,91,138,0.5);
}
.back-to-top svg {
  width: 20px; height: 20px;
  stroke: white;
  fill: none;
}

/* Whatsapp float */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: popIn 0.6s 1.5s cubic-bezier(0.34,1.56,0.64,1) both;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

/* ===================================================
   ANIMATIONS
=================================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popIn {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Staggered reveal delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===================================================
   STUDIO CAROUSEL (SOBRE)
=================================================== */
.studio-gallery { background: var(--cream); }

.studio-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.carousel-viewport {
  flex: 1;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  background: #fff;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  box-shadow: var(--shadow);
  scrollbar-width: none;
}
.carousel-viewport::-webkit-scrollbar { display: none; }

.carousel-track { display: flex; width: 100%; height: 100%; }

.carousel-slide {
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: center;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform .15s ease, background .15s ease;
}
.carousel-btn:hover { transform: translateY(-1px); background: #f7f7f7; }
.carousel-btn svg { width: 20px; height: 20px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,0.18);
  cursor: pointer;
}
.carousel-dots button[aria-current="true"] { background: var(--blue-dark); width: 22px; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .hero-content      { text-align: left; }
  .hero-subtitle     { max-width: 100%; }
  .hero-actions      { flex-wrap: wrap; }
  .why-inner         { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid       { grid-template-columns: 1fr 1fr; }
  .about-story-inner { grid-template-columns: 1fr; }
  .about-image-wrap  { max-width: 480px; margin: 0 auto; }
  .mv-grid           { grid-template-columns: 1fr 1fr; }
  .contact-inner     { grid-template-columns: 1fr; }
  .service-detail    { grid-template-columns: 1fr; direction: ltr !important; }
  .service-detail-visual { max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root { --nav-h: 70px; }
  section { padding: 64px 0; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .container { width: 84%; }

  .nav-logo img { height: 90px; margin: 6px 0; }

  .hero          { height: 80svh; min-height: unset; }
  .hero-content  { height: 100%; min-height: unset; padding-bottom: 40px; padding-top: var(--nav-h); text-align: center; justify-content: flex-end; }
  .hero-text     { max-width: 100%; }
  .hero-badge    { justify-content: center; }
  .hero-actions  { justify-content: center; }

  .hero-stats { flex-direction: column; gap: 20px; align-items: center; }
  .hero-stat-sep { width: 48px; height: 1px; }

  .why-items { grid-template-columns: 1fr; }
  .why-visual { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .mv-grid { grid-template-columns: 1fr; }

  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }

  .values-list { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-badge { font-size: 0.72rem; }
  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}
