/* ==== Base / Tema ==== */
:root {
    --brand: #217F9B;
    --brand-nav: #2b9fc2;
    --brand-700: #0a4991;
    --brand-contrast: #ffffff;
    --title: #217F9B;
    --subtitle: #0a4991;
    --msg-footer: #0b4f9c;
    --success: #198754;
    --ink-900: #0f172a;
    --ink-700: #334155;
    --ink-500: #64748b;
    --bg-soft: #f8fafc;
    --shadow-sm: 0 6px 16px rgba(2, 6, 23, .06);
    --radius-lg: 16px;
    --radius-xl: 20px;
}

* {
    box-sizing: border-box;
    font-family: "Roboto", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

body {
    background-color: #F6F9FC;
    font-family: "Roboto", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

footer {
    background: linear-gradient(90deg, var(--brand-nav), var(--brand-700));
    color: white!important;
}
.container-hero {
    position: relative;
}

.link {
    color: var(--brand) !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.title {
    color: var(--title);
}

.subtitle {
    color: var(--subtitle);
}

.msg-footer {
    color: var(--msg-footer);
}

.icon-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.primary-background {
    background-color: var(--brand);
}

/* ==== HERO HOMECARE (CTA WhatsApp) ==== */
.hero-main {
    position: relative;
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(1, 85, 164, .08), transparent 60%),
        radial-gradient(800px 380px at 110% 10%, rgba(32, 201, 151, .08), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
    text-align: center;
    overflow: clip;

}

/* Utilitário */
.justify {
    text-align: justify;
}

.navbar {
    background-color: #AFCDE7 !important;
}

/* ==== Navbar ==== */
.navbar .nav-link {
    font-weight: 500;
}

.navbar .nav-link.active {
    color: var(--brand);
}

/* ==== Carousel / Hero visual ==== */

#carousel h2,
#carousel p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-slide {
    position: relative;
    height: clamp(420px, 68vh, 820px);
}

.hero-img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, .90), rgba(0, 0, 0, .40) 55%, rgba(0, 0, 0, 0));
    z-index: 2;
}

.hero-caption {
    z-index: 3;
    bottom: 12%;
}

.hero-caption h2 {
    font-size: clamp(1.6rem, 3.2vw + .5rem, 3rem);
}

.hero-caption p {
    font-size: clamp(1rem, 1.1vw + .4rem, 1.25rem);
}

@media (max-width: 575.98px) {
    .hero-caption {
        bottom: 8%;
        padding-inline: 1rem;
    }
}

/* ==== Botões (Bootstrap override leve) ==== */
.btn-primary {
    background-color: var(--brand);
    border-color: var(--brand);
}

.btn-primary:hover {
    background-color: var(--brand-700);
    border-color: var(--brand-700);
}

.text-primary {
    color: var(--brand) !important;
}

/* ==== Seção institucional curta (hero-anim) ==== */
.hero-anim {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(.22, 1, .36, 1);
}

.hero-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-anim .staggered {
    will-change: opacity, transform;
}

/* ==== HERO HOMECARE (CTA WhatsApp) ==== */
.hero-homecare {
    position: relative;
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(1, 85, 164, .08), transparent 60%),
        radial-gradient(800px 380px at 110% 10%, rgba(32, 201, 151, .08), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
    padding: 80px 20px;
    margin: 21px;
    border-radius: 20px;
    text-align: center;
    overflow: clip;
    box-shadow: inset 0 -1px 0 rgba(2, 6, 23, .05);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity .9s ease-out, transform .9s cubic-bezier(.22, 1, .36, 1);
}

.hero-content.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-homecare h1,
.hero-homecare h3 {
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 12px;
    font-size: clamp(1.6rem, 2.2vw + 1rem, 2.5rem);
}

.hero-homecare p {
    font-size: clamp(1rem, .6vw + .95rem, 1.2rem);
    line-height: 1.65;
    color: var(--ink-700);
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 14px;
}

/* Botões do CTA (independentes do .btn do BS para evitar conflitos) */
.btn-primary-cta,
.btn-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-primary-cta {
    background: var(--brand);
    color: var(--brand-contrast);
    border: 1px solid var(--brand);
}

.btn-primary-cta:hover {
    transform: translateY(-1px);
    background: var(--brand-700);
    border-color: var(--brand-700);
}

.btn-success-cta,
.btn-secondary-success-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-success-cta {
    background: var(--success);
    color: var(--brand-contrast);
    border: 1px solid var(--success);
}

.btn-success-cta:hover {
    transform: translateY(-1px);
    background: var(--brand-700);
    border-color: var(--brand-700);
}

.btn-secondary-cta {
    background: #fff;
    color: var(--brand);
    border: 2px solid var(--brand);
}

.btn-secondary-cta:hover {
    background: #f0f7ff;
    transform: translateY(-1px);
}

.hero-note {
    font-size: .95rem;
    color: var(--ink-500);
    margin-top: 8px;
}

/* ==== Acessibilidade (redução de movimento) ==== */
@media (prefers-reduced-motion: reduce) {

    .hero-anim,
    .hero-content {
        transition: none;
        transform: none;
        opacity: 1;
    }
}

/* ==== Pequenos ajustes responsivos ==== */
@media (min-width: 768px) {
    .navbar .navbar-text a {
        font-weight: 600;
    }
}


/* Fade apenas no rodapé da imagem */
.img-fade-top {
    --fade-size: 30%;
    /* altura do degradê no bottom (ajuste a gosto) */
    -webkit-mask-image: linear-gradient(to top,
            rgba(0, 0, 0, 1) calc(100% - var(--fade-size)),
            rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to top,
            rgba(0, 0, 0, 1) calc(100% - var(--fade-size)),
            rgba(0, 0, 0, 0) 100%);

    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

/* Diferenciais home */
/* Cartões de diferencial */
.feature-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--shadow-sm, 0 6px 16px rgba(2, 6, 23, .06));
    transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, .08);
    border-color: rgba(0, 0, 0, .08);
}

/* Ícone circular */
.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft, #f8fafc);
    color: var(--brand, #0155A4);
    font-size: 1.25rem;
}

/*Serviços home*/
.feature-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(2, 6, 23, .06);
    transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, .08);
    border-color: rgba(0, 0, 0, .08);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: #0155A4;
    font-size: 1.25rem;
}

/* WhatsApp Container*/
.whats-container {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
}

/* botão WhatsApp */
.whats-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
    z-index: 2;
    animation: bounce 2s infinite;
    /* bounce infinito */
}

.help-bubble {
    position: relative;
    order: -1;
    opacity: 0;
    transform: translateX(-10px) scale(.95);
    background: #20c05a;
    color: #fff;
    padding: 10px 14px;
    border-radius: 16px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(32, 192, 90, .25);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

/* Rabinho suavizado */
.help-bubble::after {
    content: "";
    position: absolute;
    right: -7px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #20c05a;
    box-shadow: 2px 2px 8px rgba(32, 192, 90, .25);
    border-radius: 2px;
}

.whats-btn:hover+.help-bubble {
    opacity: 1;
    transform: translateX(0) scale(1);
    animation: bounce 0.6s;
}

/* bounce */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-8px);
    }

    60% {
        transform: translateY(-4px);
    }
}

#quem-somos .hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

#quem-somos .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

#quem-somos .hero-caption {
    position: absolute;
    bottom: 20px;
    left: 30px;
    max-width: 500px;
}

#quem-somos h2,
#quem-somos p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

#quem-somos .container ul li i {
    transition: transform 0.2s ease;
}

#quem-somos .container ul li:hover i {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    #quem-somos .hero-img {
        height: 300px;
    }

    #quem-somos .hero-caption {
        bottom: 10px;
        left: 15px;
        max-width: 90%;
    }
}


/*Dropdown*/
@media (min-width: 992px) {
    .navbar .dropdown-menu {
        display: none;
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }

    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
    }
}

/* Estilização geral do menu dropdown */
.navbar .dropdown-menu {
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    background-color: #ffffff;
    min-width: 220px;
}

/* Itens do menu */
.navbar .dropdown-item {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    color: var(--brand);
    transition: all 0.2s ease-in-out;
}

/* Hover dos itens */
.navbar .dropdown-item:hover {
    background-color: #f8f9fa;
    color: var(--brand-700);
}

/* Ativo/focado */
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus {
    background-color: var(--brand-700);
    color: #fff;
}

/* ====== Serviços ====== */
.service-hero {
    padding: 56px 0 24px;
    background:
        radial-gradient(900px 420px at 10% -10%, rgba(1, 85, 164, .06), transparent 60%),
        radial-gradient(800px 380px at 110% 10%, rgba(32, 201, 151, .06), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
    border-bottom: 1px solid rgba(2, 6, 23, .06);
}

.service-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(2, 6, 23, .08);
    border-color: rgba(0, 0, 0, .08);
}

.service-card .service-media {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.service-card .service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.04);
}

.service-bullets {
    margin: 0;
    padding-left: 1rem;
    color: var(--ink-700);
    font-size: .95rem;
}

.service-bullets li {
    margin-bottom: .25rem;
}

/* Passo-a-passo */
.step-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.step-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    color: var(--brand);
    font-size: 1.25rem;
    margin-bottom: .5rem;
}

/* cuidador de idosos */
.hero-img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.feature-check li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    margin-bottom: .5rem
}

.feature-check i {
    flex-shrink: 0
}

/* Alinhamento total e altura igual */
#planos .row {
    align-items: stretch;
}

.plan-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid #e6ebf2;
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* Corpo interno organizado em coluna */
.plan-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Mantém área de descrição e features com mesmo tamanho */
.plan-desc {
    min-height: 48px;
}

.feature-check {
    min-height: 100px;
}

/* Alinha o rodapé sempre no fim */
.plan-footer {
    margin-top: auto;
}

.plan-card .price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #004aad;
}

/* Melhor visual das listas */
.feature-check li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}

.pill {
    background: #eef5ff;
    border: 1px solid #cfe0ff;
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .85rem
}

.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, #d9e3f5, transparent)
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08)
}

.quote {
    font-style: italic
}

.justify {
    text-align: justify
}

/* ================= HERO BASE ================= */
.hero-wrap {
  position: relative;
  background:
    radial-gradient(900px 500px at 75% 55%, rgba(33,127,155,.18), transparent 60%),
    radial-gradient(600px 300px at 85% 80%, rgba(10,73,145,.15), transparent 60%),
    #0f1117;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
  width: 100%;
}

/* Gradiente das letras */
:root {
  --brand: #217F9B;
  --brand-700: #0a4991;
}
.text-gradient {
  background: linear-gradient(90deg, var(--brand), var(--brand-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Subtítulo */
.subtle {
  color: #a3a7b7;
}

/* Badge */
.ph-badge {
  background: linear-gradient(90deg, var(--brand), var(--brand-700));
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .7rem;
  border-radius: 12px;
  font-size: .85rem;
  border: none;
}

/* ================= HERO - PALCO DAS IMAGENS ================= */
.hero-stage {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  border-radius: 16px;
  perspective: 1200px;
}

/* ================= IMAGENS FLUTUANTES ================= */
.float-photo {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  background-size: cover;
  background-position: center;
  box-shadow:
    0 8px 28px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.08) inset;
  transform-style: preserve-3d;
  transition: transform 0.8s ease, box-shadow 0.8s ease;
  animation: float 7s ease-in-out infinite;
  will-change: transform;
  isolation: isolate;
}

/* Efeito de vinheta suave */
.float-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.0) 40%, rgba(0,0,0,.35) 100%);
  z-index: 0;
}

/* Etiquetas das imagens */
.float-photo .label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  color: #0f1117;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  backdrop-filter: blur(3px);
  transition: transform 0.3s ease, background 0.3s ease;
}

.float-photo .label i {
  opacity: .9;
}

/* ===== POSICIONAMENTO MELHORADO ===== */
.float-photo.kids {
  width: 240px;
  height: 180px;
  top: 8%;
  right: 10%;
  transform: rotate(-5deg) translateZ(40px);
}
.float-photo.elder {
  width: 280px;
  height: 180px;
  top: 40%;
  right: 3%;
  transform: rotate(7deg) translateZ(20px);
  animation-delay: .6s;
}
.float-photo.postop {
  width: 200px;
  height: 180px;
  bottom: -4%;
  right: 18%;
  transform: rotate(10deg) translateZ(60px);
  animation-delay: 1.2s;
}

/* ===== CORES DAS LABELS ===== */
.label.kids {
  background: #ffffffcc;
  color: #0f1117;
}
.label.elder {
  background: #eafff7cc;
  color: #0f1117;
  border: 1px solid rgba(33,127,155,.3);
}
.label.postop {
  background: #f2f0ffcc;
  color: #0f1117;
  border: 1px solid rgba(10,73,145,.25);
}

/* ===== INTERAÇÕES SUAVES (hover desktop) ===== */
@media (hover:hover) {
  .float-photo:hover {
    transform: scale(1.05) rotate(var(--r, 0deg)) translateZ(80px);
    box-shadow: 0 15px 45px rgba(0,0,0,.55);
  }
  .float-photo:hover .label {
    transform: translateY(-3px);
    background: #ffffffee;
  }
}

/* ===== ANIMAÇÃO DE FLUTUAR ===== */
@keyframes float {
  0%,100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%     { transform: translateY(-10px) rotate(calc(var(--r, 0deg) + 2deg)); }
}

/* ================= RESPONSIVIDADE ================= */

/* Tablets: remove as imagens para evitar overflow */
@media (max-width: 1200px) {
  .float-photo { display: none !important; }
  .hero-stage { min-height: 0; }
}

/* Mobile: centraliza conteúdo e remove sobras */
@media (max-width: 992px) {
  .hero-wrap {
    min-height: auto;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    overflow-x: hidden;
  }

  header.container {
    text-align: center;
  }

  header .row {
    flex-direction: column-reverse;
    margin-bottom: 0;
  }

  header .btn {
    width: 100%;
  }
}

/* ===== HERO STAGE EM GRID 2x2 COM ANIMAÇÃO ===== */
.hero-stage.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 8px;
  border-radius: 16px;
  perspective: 1000px;
  overflow: hidden;
  position: relative;
}

/* Fotos mantêm animação de flutuar */
.hero-stage.grid-2x2 .float-photo {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: float 7s ease-in-out infinite;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08) inset;
  will-change: transform;
}

/* Vinheta suave */
.hero-stage.grid-2x2 .float-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.08) 30%, rgba(0,0,0,.35) 100%);
}

/* Labels */
.hero-stage.grid-2x2 .float-photo .label {
  left: 10px;
  bottom: 10px;
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .85rem;
  color: #0f1117;
  background: #ffffffcc;
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  backdrop-filter: blur(3px);
}

/* Mantém movimento */
@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg) scale(1); }
  50%     { transform: translateY(-10px) rotate(1.5deg) scale(1.02); }
}

/* Hover suave */
@media (hover:hover) {
  .hero-stage.grid-2x2 .float-photo:hover {
    transform: translateY(-12px) scale(1.05);
    box-shadow: 0 15px 45px rgba(0,0,0,.55);
  }
  .hero-stage.grid-2x2 .float-photo:hover .label {
    transform: translateY(-3px);
    background: #ffffffee;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-stage.grid-2x2 {
    grid-template-columns: 1fr;
  }
  .hero-stage.grid-2x2 .float-photo {
    aspect-ratio: 16 / 9;
  }
}

/* ===== Destaques (cards com título overlay) ===== */
.destaque-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}

.destaque-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(2,6,23,.08);
  border-color: rgba(0,0,0,.08);
}

.destaque-media {
  position: relative;
  width: 100%;
  height: 250px;                 
  overflow: hidden;
  isolation: isolate;
}

.destaque-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform .35s ease;
}

.destaque-card:hover .destaque-media img {
  transform: scale(1.04);
}

/* overlay com degradê usando o tema */
.destaque-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,0) 100%),
    radial-gradient(800px 300px at 110% 10%, rgba(32,201,151,.08), transparent 60%);
  z-index: 1;
}

/* título no rodapé da imagem com cores do tema */
.destaque-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 12px 16px;
  z-index: 2;
  font-weight: 800;
  color: var(--brand-contrast);
  font-size: clamp(1rem, .8vw + .8rem, 1.25rem);
  background: linear-gradient(90deg, rgba(33,127,155,.85), rgba(10,73,145,.85));
  border-top: 1px solid rgba(255,255,255,.08);
}

/* corpo do card harmonizado com a tipografia do tema */
#destaques .card-body {
  color: var(--ink-700);
  padding: 16px;
}

/* bullets já seguem seu padrão .service-bullets, apenas pequenos ajustes */
#destaques .service-bullets li {
  margin-bottom: .35rem;
}

/* responsividade suave */
@media (max-width: 575.98px) {
  .destaque-media { height: 220px; }
}

/* ===== Mural horizontal ===== */
.chip {
  display: inline-block;
  background: #eef5ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  padding: .5rem .5rem;
  font-size: .9rem;
  color: var(--brand-700);
  font-weight: 500;
  transition: all .2s ease;
  margin-bottom: 5px;
}

.chip:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(33,127,155,.15);
}


/* ===== Depoimentos ===== */
/* ====== Depoimentos / Review Cards ====== */
.review-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(2, 6, 23, .08);
  border-color: rgba(0, 0, 0, .08);
}

/* Corpo do depoimento */
.review-body {
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.review-stars i {
  color: #f5b301;
  font-size: 1.05rem;
}

.review-text {
  color: var(--ink-700);
  line-height: 1.6;
  font-size: 0.95rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  margin-bottom: 1rem;
}

/* Rodapé: nome e avatar */
.review-footer {
  flex-shrink: 0;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(2, 6, 23, .06);
  padding-top: 12px;
}

.review-name {
  font-weight: 700;
  color: var(--ink-900);
}

/* Avatar com iniciais */
.avatar-fallback {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-700));
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
  flex-shrink: 0;
}

/* Citação estilizada */
.quote {
  font-style: italic;
  position: relative;
}

.quote::before {
  content: "“";
  font-size: 1.8rem;
  color: var(--brand);
  position: absolute;
  left: -8px;
  top: -4px;
  opacity: .15;
  pointer-events: none;
}

/* Modo escuro (opcional) */
@media (prefers-color-scheme: dark) {
  .review-card {
    background: #ffffff;
  }
}

/* Responsividade */
@media (max-width: 575.98px) {
  .review-card {
    padding: 16px;
  }
  .review-text {
    font-size: 0.9rem;
  }
}

/* Itens ativos na navbar */
.navbar .nav-link.active,
.navbar .dropdown-toggle.active {
  color: var(--brand-700) !important;
  font-weight: 700;
}

/* Itens ativos dentro do dropdown */
.navbar .dropdown-item.active {
  background-color: rgba(33, 127, 155, 0.1);
  color: var(--brand-700);
  font-weight: 600;
}

