/* ============================================================
   DR. DAVI — style.css v2.0 (Completo + Melhorias)
   Identidade: Minimalista · Sofisticada · Elegante · Profissional
   Paleta: Azul Natural · Azul Claro · Azul Sofisticado
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Poppins:wght@300;400;500;600&display=swap');

/* ── Variáveis globais ── */
:root {
  --primary:       #4A7FD4;
  --primary-dk:    #2C64B8;
  --primary-lt:    #80AEDE;
  --bg-white:      #FAFBFF;
  --bg-gray:       #F0F4FA;
  --text-dark:     #1A2340;
  --text-light:    #5A6A8A;
  --white:         #FFFFFF;
  --wa-green:      #25D366;
  --ig-from:       #f58529;
  --ig-via:        #dd2a7b;
  --ig-to:         #515bd4;
  --radius:        10px;
  --radius-lg:     16px;
  --shadow-sm:     0 2px 8px  rgba(74,127,212,.08);
  --shadow:        0 4px 15px rgba(74,127,212,.10);
  --shadow-lg:     0 10px 32px rgba(44,100,184,.14);
  --shadow-xl:     0 20px 60px rgba(44,100,184,.18);
  --transition:    .3s ease;
  --header-h:      80px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, .playfair { font-family: 'Playfair Display', serif; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }
button { font-family: 'Poppins', sans-serif; cursor: pointer; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }

/* ── Section Title ── */
.section-title { text-align: center; margin-bottom: 52px; }
.section-title h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--text-dark);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  border-radius: 2px;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: .93rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  border: none;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
}
.btn-sm { padding: 10px 20px; font-size: .85rem; }

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44,100,184,.32);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   SCROLL-REVEAL — Animações elegantes de entrada
   ============================================================ */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity .75s ease-out,
    transform .75s ease-out;
  transition-delay: var(--delay, 0s);
}
.reveal-up    { transform: translateY(32px); }
.reveal-left  { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250,251,255,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(74,127,212,.10);
  transition: background var(--transition), box-shadow var(--transition);
  will-change: background;
}
header.scrolled {
  background: rgba(250,251,255,.97);
  box-shadow: 0 2px 20px rgba(74,127,212,.14);
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 2px;
}
.nav-links {
  display: flex;
  gap: 26px;
  align-items: center;
}
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--primary);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--primary); }
.nav-links a:hover::after,
.nav-links a:focus-visible::after { width: 100%; }

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-dark);
  padding: 6px;
  line-height: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  background: linear-gradient(135deg, #f8faff 0%, #eaf1fb 100%);
  overflow: hidden;
  position: relative;
}
.hero-decor {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,127,212,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.hero-text span {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-dk);
  font-size: .82rem;
  display: block;
  margin-bottom: 10px;
}
.hero-text h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.08;
  margin-bottom: 18px;
  color: var(--text-dark);
}
.hero-text > p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 28px;
}
.hero-credentials { margin-bottom: 32px; }
.hero-credentials p {
  font-size: .88rem;
  margin-bottom: 9px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-light);
}
.hero-credentials p i { color: var(--primary); margin-top: 3px; flex-shrink: 0; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-image {
  position: relative;
  height: 500px;
}
.hero-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 24px 24px 64px rgba(44,100,184,.15);
}

/* ============================================================
   SOBRE
   ============================================================ */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-text p { color: var(--text-light); margin-bottom: 16px; font-size: .97rem; }
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about-card {
  background: var(--bg-gray);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  border: 1px solid rgba(74,127,212,.10);
  transition: transform var(--transition), box-shadow var(--transition);
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.about-card i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}
.about-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.about-card p {
  font-size: .83rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================================
   ESPECIALIZAÇÕES
   ============================================================ */
.specializations { background: var(--bg-gray); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.spec-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(74,127,212,.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.spec-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lt);
}
.spec-card i {
  font-size: 1.9rem;
  color: var(--primary);
  margin-bottom: 14px;
  display: block;
}
.spec-card h3 { font-size: .98rem; margin-bottom: 8px; color: var(--text-dark); }
.spec-card p  { font-size: .82rem; color: var(--text-light); line-height: 1.55; }

/* ============================================================
   PROCEDIMENTOS — CARROSSEL
   ============================================================ */
.procedures-carousel-section { background: var(--bg-white); overflow: hidden; }

.proc-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 0 48px;
  overflow: hidden;
}
.proc-track-outer {
  overflow: hidden;
  flex: 1;
}
.proc-track {
  display: flex;
  gap: 24px;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.proc-track:active { cursor: grabbing; }

.proc-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(74,127,212,.08);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.proc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.proc-card__img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-gray);
}
.proc-card__img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.proc-card:hover .proc-card__img-wrap img { transform: scale(1.04); }
.proc-card__body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.proc-card__tag {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  background: rgba(74,127,212,.09);
  border-radius: 20px;
  padding: 3px 10px;
  display: inline-block;
  width: fit-content;
}
.proc-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
  font-family: 'Playfair Display', serif;
}
.proc-card__desc {
  font-size: .83rem;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}

/* Setas do carrossel */
.proc-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(74,127,212,.22);
  background: var(--white);
  color: var(--primary);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
  z-index: 2;
  margin: 0 10px;
}
.proc-arrow:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(74,127,212,.28);
}
.proc-arrow:disabled { opacity: .3; cursor: not-allowed; }

/* Dots */
#proc-dots {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.proc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(74,127,212,.22);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}
.proc-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ============================================================
   CLÍNICA — CARROSSEL
   ============================================================ */
.clinic { background: var(--bg-gray); }
.clinic-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.carousel-inner {
  display: flex;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}
.carousel-item { flex: 0 0 100%; }
.carousel-item img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}
.carousel-controls {
  position: absolute;
  top: 50%; left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
}
.carousel-btn {
  pointer-events: auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(8px);
  color: var(--primary-dk);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  transition: background var(--transition), transform var(--transition);
}
.carousel-btn:hover { background: var(--white); transform: scale(1.06); }

.carousel-indicators {
  position: absolute;
  bottom: 14px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}
.carousel-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.carousel-dot.active {
  background: var(--white);
  transform: scale(1.3);
}

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.differentials { background: var(--bg-white); }
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.diff-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 28px 20px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  border: 1px solid rgba(74,127,212,.08);
  transition: transform var(--transition), box-shadow var(--transition);
}
.diff-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.diff-item i {
  font-size: 1.8rem;
  color: var(--primary);
}
.diff-item p {
  font-size: .87rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================================
   IMPACTO
   ============================================================ */
.impact-section {
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}
.impact-section h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin-bottom: 18px;
  color: var(--white);
  letter-spacing: 1px;
}
.impact-section p {
  font-size: 1rem;
  opacity: .88;
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.impact-section .btn-outline {
  border-color: rgba(255,255,255,.75);
  color: var(--white);
}
.impact-section .btn-outline:hover {
  background: var(--white);
  color: var(--primary-dk);
}

/* ============================================================
   DEPOIMENTOS
   ============================================================ */
.testimonials { background: var(--bg-gray); }
.testimonials-slider {
  max-width: 680px;
  margin: 0 auto;
}
.testimonial-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 38px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(74,127,212,.08);
}
.testimonial-img {
  width: 80px; height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--primary-lt);
}
.testimonial-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 18px;
  color: #F5A623;
}
.testimonial-text {
  font-size: .97rem;
  color: var(--text-light);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 16px;
}

/* ============================================================
   CONTATO
   ============================================================ */
.contact { background: var(--bg-white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text-dark);
  margin-bottom: 32px;
  line-height: 1.3;
}
.contact-details { display: flex; flex-direction: column; gap: 22px; margin-bottom: 32px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.contact-detail > i {
  font-size: 1.15rem;
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}
.contact-detail p { font-size: .9rem; color: var(--text-light); line-height: 1.55; }
.contact-detail p strong { color: var(--text-dark); display: block; margin-bottom: 3px; }

.copy-address {
  margin-top: 8px;
  font-size: .78rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  transition: opacity var(--transition);
}
.copy-address:hover { opacity: .7; }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 420px;
  position: relative;
}
.map-container iframe { width: 100%; height: 100%; border: none; display: block; }
.map-directions {
  position: absolute;
  bottom: 14px; right: 14px;
  font-size: .8rem;
  padding: 8px 16px;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 64px 0 26px;
  text-align: center;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-lt);
}
.footer-text { opacity: .7; margin-bottom: 28px; font-size: .95rem; }
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 38px;
}
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.15rem;
  transition: background var(--transition), transform var(--transition);
}
.social-link:hover { transform: translateY(-3px); }
.social-link--instagram:hover {
  background: linear-gradient(45deg, var(--ig-from), var(--ig-via), var(--ig-to));
}
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .78rem;
  opacity: .45;
}

/* ============================================================
   BOTÕES FLUTUANTES
   ============================================================ */

/* Base compartilhada */
.floating-btn {
  position: fixed;
  width: 62px; height: 62px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.85rem;
  color: white;
  z-index: 990;
  box-shadow: 0 4px 16px rgba(0,0,0,.28);
  transition: transform var(--transition), box-shadow var(--transition);
  overflow: visible;
}
.floating-btn:hover { transform: scale(1.12) translateY(-3px); }
.floating-btn:focus-visible { outline: 3px solid white; outline-offset: 3px; }

/* Tooltip label */
.floating-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: rgba(30,30,30,.88);
  color: #fff;
  font-size: .78rem;
  font-family: 'Poppins', sans-serif;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  transform: translateY(-50%) translateX(6px);
}
.floating-btn:hover .floating-tooltip,
.floating-btn:focus-visible .floating-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* WhatsApp */
.floating-whatsapp {
  bottom: 28px; right: 28px;
  background: var(--wa-green);
  box-shadow: 0 4px 20px rgba(37,211,102,.42);
  animation: waPulse 2.8s ease-in-out infinite;
}
.floating-whatsapp:hover {
  box-shadow: 0 8px 30px rgba(37,211,102,.55);
  animation: none;
}
@keyframes waPulse {
  0%,100% { transform: scale(1);    box-shadow: 0 4px 20px rgba(37,211,102,.42); }
  50%      { transform: scale(1.07); box-shadow: 0 6px 26px rgba(37,211,102,.58); }
}

/* Instagram */
.floating-instagram {
  bottom: 104px; right: 28px;
  background: linear-gradient(135deg, var(--ig-from) 0%, var(--ig-via) 50%, var(--ig-to) 100%);
  box-shadow: 0 4px 20px rgba(221,42,123,.38);
  animation: igPulse 3.2s ease-in-out infinite;
  animation-delay: .5s;
}
.floating-instagram:hover {
  box-shadow: 0 8px 30px rgba(221,42,123,.52);
  animation: none;
}
@keyframes igPulse {
  0%,100% { transform: scale(1);    box-shadow: 0 4px 20px rgba(221,42,123,.38); }
  50%      { transform: scale(1.07); box-shadow: 0 6px 26px rgba(221,42,123,.52); }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px; left: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 14px rgba(74,127,212,.30);
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); }

/* ============================================================
   MODAL — GALERIA DE IMAGENS
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal-content {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.modal-close {
  position: absolute;
  top: 18px; right: 24px;
  color: white;
  font-size: 2.2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
  opacity: .8;
  transition: opacity var(--transition), transform var(--transition);
}
.modal-close:hover { opacity: 1; transform: rotate(90deg); }

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */

/* Tablet ≤ 1024px */
@media (max-width: 1024px) {
  .proc-card { flex: 0 0 calc(50% - 12px); }
}

/* Tablet ≤ 992px */
@media (max-width: 992px) {
  .hero-content,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero {
    min-height: auto;
    padding: 120px 0 72px;
  }
  .hero-btns,
  .hero-credentials p { justify-content: center; }
  .hero-image { order: -1; height: 380px; }
  .about-cards { margin-top: 24px; }
  .contact-info { text-align: left; }
  .map-container { height: 360px; }
  .spec-grid { grid-template-columns: repeat(3, 1fr); }
  .proc-card { flex: 0 0 calc(50% - 12px); }
  .proc-arrow { display: none; }
}

/* Mobile ≤ 768px */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    position: fixed;
    top: var(--header-h); left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-h));
    background: var(--bg-white);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 36px 0;
    gap: 26px;
    transition: left .4s cubic-bezier(.25,.46,.45,.94);
    overflow-y: auto;
    z-index: 999;
    box-shadow: 4px 0 20px rgba(0,0,0,.07);
  }
  .nav-links.active { left: 0; }
  .nav-links a { font-size: .95rem; }
  .menu-btn { display: block; }

  section { padding: 64px 0; }
  .hero-image { height: 300px; }
  .about-cards { grid-template-columns: 1fr; }
  .carousel-item img { height: 260px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid  { grid-template-columns: 1fr; }
  .contact-grid { gap: 34px; }
  .map-container { height: 300px; }

  .proc-card { flex: 0 0 calc(100% - 0px); }
  .proc-arrow { display: none; }
}

/* Extra small ≤ 480px */
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { max-width: 280px; width: 100%; }
  .spec-grid { grid-template-columns: 1fr; }
  .testimonial-item { padding: 28px 20px; }

  .floating-btn { width: 54px; height: 54px; font-size: 1.6rem; }
  .floating-whatsapp  { bottom: 18px; right: 18px; }
  .floating-instagram { bottom: 86px; right: 18px; }
  .back-to-top { bottom: 18px; left: 18px; width: 42px; height: 42px; }
}