/* ===================================================
   MARMORATA — Stylesheet
   =================================================== */

/* ===== VARIABLES ===== */
:root {
  --gold:        #C9A84C;
  --gold-light:  #d9bb6e;
  --gold-dark:   #a8893e;
  --dark:        #111111;
  --dark-2:      #1e1e1e;
  --dark-3:      #0d0d0d;
  --bg-light:    #f8f8f8;
  --white:       #ffffff;
  --text:        #1a1a1a;
  --text-muted:  #666666;
  --border:      #e8e8e8;
  --shadow:      0 4px 24px rgba(0,0,0,0.07);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.18);
  --radius:      12px;
  --radius-sm:   8px;
  --transition:  0.3s ease;
}

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

/* Corrige borda branca lateral em todos os dispositivos */
html {
  scroll-behavior: smooth;
  font-size: 18px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SECTIONS ===== */
.section {
  padding: 88px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title {
  font-size: clamp(34px, 4.5vw, 48px);
  color: var(--text);
  margin-bottom: 14px;
  font-weight: 700;
}

.section-title.text-left  { text-align: left; }
.section-title.text-white { color: var(--white); }

.section-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== BACKGROUNDS ===== */
.bg-light { background: var(--bg-light); }
.bg-dark  { background: var(--dark-2); }

/* ===================================================
   BUTTONS
   =================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

/* Gold */
.btn-gold {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.35);
}

/* Outline white */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.8);
}
.btn-outline-white:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

/* WhatsApp green */
.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
}
.btn-whatsapp:hover {
  background: #1db954;
  border-color: #1db954;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

/* Instagram gradient */
.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: var(--white);
  border-color: transparent;
}
.btn-instagram:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(188,24,136,0.35);
}

/* ===================================================
   PLACEHOLDER IMAGES
   =================================================== */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, #ddd 0%, #c8c8c8 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #999;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.img-placeholder i {
  font-size: 30px;
  color: #bbb;
}

.img-placeholder.small {
  min-height: 190px;
}

.img-placeholder.project-ph {
  min-height: 260px;
}

/* ===================================================
   GRIDS
   =================================================== */
.cards-grid {
  display: grid;
  gap: 24px;
}
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

/* ===================================================
   HEADER / NAVBAR
   =================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.09);
  transition: box-shadow 0.35s ease;
}

.header.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.13);
}

.nav {
  display: flex;
  align-items: center;
  padding: 6px 0;
  gap: 0;
}

/* Logo */
.nav-logo { flex-shrink: 0; }

.logo-img {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-left: auto;
}

.nav-link {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

.nav-link.active-link { color: var(--gold); }
.nav-link.active-link::after { width: 100%; }

/* Nav WhatsApp button */
.nav-whatsapp {
  margin-left: 32px;
  padding: 10px 20px;
  font-size: 14px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Fundo base escuro enquanto as imagens carregam */
  background: #111111;
}

/* --- Carrossel de imagens de fundo --- */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}

.hero-slide.active {
  opacity: 1;
}

/* Sobreposição escura para garantir legibilidade do texto */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.40) 60%,
    rgba(0,0,0,0.58) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  /* Espaçamento reduzido conforme solicitado */
  padding-top: 48px;
  padding-bottom: 56px;
  width: 100%;
}

.hero-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-size: clamp(40px, 6vw, 68px);
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.12;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: clamp(18px, 2.2vw, 21px);
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  line-height: 1.75;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Badge sem ícone — apenas texto */
.hero-badge {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: center;
  max-width: 600px;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.45);
  font-size: 18px;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* Hero entry animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}

.delay-200 { animation-delay: 0.2s; }
.delay-400 { animation-delay: 0.4s; }
.delay-600 { animation-delay: 0.6s; }

/* ===================================================
   DIFERENCIAIS — CARDS
   =================================================== */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-icon {
  font-size: 38px;
  color: var(--gold);
  margin-bottom: 18px;
  line-height: 1;
}

.card-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.card-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===================================================
   SOBRE
   =================================================== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sobre-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* Imagem real da seção Sobre */
.sobre-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}

.sobre-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}

.sobre-text {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* ===================================================
   PROJETOS — CARROSSEL
   =================================================== */
.carousel-wrapper {
  position: relative;
  padding: 0 52px;
}

.carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.carousel-track {
  display: flex;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.carousel-slide {
  flex-shrink: 0;
  padding: 0 10px;
}

/* Botões de navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}

.carousel-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,168,76,0.4);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

/* Dots de posição */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
  transform: scale(1.25);
}

/* Botão CTA abaixo do carrossel */
.projetos-cta {
  text-align: center;
  margin-top: 40px;
}

.diferenciais-cta {
  text-align: center;
  margin-top: 40px;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.project-card .img-placeholder {
  transition: transform 0.45s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--white);
  font-size: 26px;
}

.project-card:hover img          { transform: scale(1.06); }
.project-card:hover .img-placeholder { transform: scale(1.06); }
.project-card:hover .project-overlay  { opacity: 1; }

/* ===================================================
   MATERIAIS PREMIUM
   =================================================== */
.material-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.material-img { overflow: hidden; }

.material-img img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.material-img .img-placeholder {
  transition: transform 0.4s ease;
}

.material-card:hover .material-img img         { transform: scale(1.06); }
.material-card:hover .material-img .img-placeholder { transform: scale(1.06); }

.material-info { padding: 20px; }

.material-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.material-info p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===================================================
   DEPOIMENTOS
   =================================================== */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* --- Avatar circular (recorte da imagem com 3 rostos) --- */
.testimonial-avatar-wrap {
  margin-bottom: 18px;
}

/*
 * Imagem real: 1536×1024px (ratio 1.5) com 3 rostos lado a lado.
 * Cada rosto ocupa ~512×1024px (portrait).
 *
 * background-size: 300% auto
 *   → largura renderizada: 300% × 68px = 204px
 *   → altura renderizada: 204 × (1024/1536) = 136px   (mantém proporção)
 *
 * O elemento tem 68px de altura → vemos 68/136 = 50% superior da imagem.
 * background-position-y: 0% (topo) → exibe a cabeça/face de cada rosto.
 *
 * Funciona em qualquer tamanho de tela porque usamos % no background-size.
 */
.testimonial-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  flex-shrink: 0;
  background-image: url('../imagens/depoimentos-avatares.jpg');
  background-size: 300% auto;   /* mantém proporção real da imagem */
  background-repeat: no-repeat;
  /* y=0% → topo da imagem → área do rosto/cabeça */
  background-position: 0% 0%;
}

/* Rosto da esquerda (Carlos Silva) — 0% do eixo X */
.testimonial-avatar--left   { background-position: 0% 0%; }

/* Rosto do centro (Marina Costa) — 50% do eixo X */
.testimonial-avatar--center { background-position: 50% 0%; }

/* Rosto da direita (Roberto Mendes) — 100% do eixo X */
.testimonial-avatar--right  { background-position: 100% 0%; }

.stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testimonial-text {
  font-size: 17px;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
}

.testimonial-author-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-author {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-neighborhood {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

/* ===================================================
   POR QUE ESCOLHER
   =================================================== */
.por-que-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.por-que-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.por-que-img img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
}

.por-que-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.por-que-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  color: var(--white);
  font-weight: 400;
}

.por-que-list li i {
  color: var(--gold);
  font-size: 22px;
  flex-shrink: 0;
}

/* ===================================================
   CTA FINAL
   =================================================== */
.cta-final {
  background: linear-gradient(135deg, #111111 0%, #1a2744 100%);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(34px, 4.5vw, 48px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 20px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 40px;
  line-height: 1.65;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===================================================
   FOOTER
   =================================================== */
.footer {
  background: var(--dark-3);
  color: var(--white);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
}

.footer-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 20px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-list li i {
  color: var(--gold);
  width: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-links li a:hover { color: var(--gold); }

.footer-wa {
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
}

.footer-online {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-bottom p {
  font-size: 15px;
  color: rgba(255,255,255,0.35);
}

/* ===================================================
   WHATSAPP FLOAT
   =================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(37,211,102,0.55);
}

/* ===================================================
   SCROLL REVEAL ANIMATIONS
   =================================================== */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22,1,0.36,1);
  will-change: opacity, transform;
}

.reveal       { transform: translateY(32px); }
.reveal-left  { transform: translateX(-44px); }
.reveal-right { transform: translateX(44px); }

.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ===================================================
   RESPONSIVE — TABLET (≤1024px)
   =================================================== */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }

  /* Depoimentos: 3 colunas ficam apertadas no tablet → 2 colunas */
  .cards-3 { grid-template-columns: repeat(2, 1fr); }

  /* Padding menor nos cards de depoimento no tablet */
  .testimonial-card { padding: 28px 20px; }

  /* Quando há 3 itens em 2 colunas, o 3° fica sozinho na 2ª linha.
     Fazemos ele ocupar as 2 colunas mas limitar sua largura para
     parecer igual aos outros — visualmente equilibrado. */
  .depoimentos .cards-3 .testimonial-card:last-child {
    grid-column: 1 / 3;
    max-width: calc(50% - 12px); /* metade do grid menos metade do gap */
    margin-left: auto;
    margin-right: auto;
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Imagem portrait da seção Sobre — altura reduzida no tablet */
  .sobre-image img { height: 300px; }

  /* Footer: 2 colunas no tablet (coluna de contato + links juntos) */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .nav-menu { gap: 24px; }
  .nav-whatsapp { margin-left: 20px; }
}

/* ===================================================
   RESPONSIVE — MOBILE (≤768px)
   =================================================== */
@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Hamburger menu */
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 96px 32px 40px;
    gap: 28px;
    z-index: 999;
    transition: right 0.35s cubic-bezier(0.22,1,0.36,1);
    box-shadow: -4px 0 24px rgba(0,0,0,0.15);
  }

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

  .nav-link {
    color: var(--text);
    font-size: 18px;
  }

  .nav-whatsapp { display: none; }

  /* Hero */
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }

  /* Avatares — tamanho fixo no mobile também */
  .testimonial-avatar {
    width: 64px;
    height: 64px;
  }

  /* Grids */
  .cards-4,
  .cards-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Reset do card central (tablet) — no mobile ocupa coluna cheia */
  .depoimentos .cards-3 .testimonial-card:last-child {
    grid-column: auto;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  /* Carrossel mobile: 1 slide por vez */
  .carousel-wrapper { padding: 0 40px; }
  .carousel-prev { left: 0; }
  .carousel-next { right: 0; }

  /* Por que mobile: empilha */
  .por-que-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .por-que-img  { order: 1; }
  .por-que-text { order: 2; }

  /* CTA */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ===================================================
   RESPONSIVE — SMALL (≤480px)
   =================================================== */
@media (max-width: 480px) {
  .logo-text { font-size: 17px; letter-spacing: 2px; }
  .hero-title { font-size: 28px; }
  .section { padding: 52px 0; }
  .carousel-wrapper { padding: 0 36px; }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }
}

/* Link de telefone no footer herda a cor do texto */
.footer-list li a {
  color: inherit;
  transition: color var(--transition);
}
.footer-list li a:hover { color: var(--gold); }
