/* =========================================================
   FUNERÁRIA SANTA LUZIA — estilos
   Paleta extraída da logo: azul royal #1f3693
   ========================================================= */

:root {
  --navy-900: #12205c;
  --navy-800: #1f3693;
  --navy-700: #28449e;
  --navy-050: #eef1fb;
  --gold-500: #c9a24b;
  --gold-600: #b38f3d;
  --white: #ffffff;
  --ink: #1a1d29;
  --ink-soft: #4a4f63;
  --border-soft: #e3e6f2;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --shadow-soft: 0 8px 30px rgba(18, 32, 92, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 44px 0 56px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(255,255,255,0.08), transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero__logo {
  width: 190px;
  height: auto;
}

@media (max-width: 480px) {
  .hero__logo { width: 160px; }
}

.hero__badge {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--navy-900);
  background: var(--gold-500);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.18;
  margin: 0 0 14px;
  max-width: 18ch;
}

.hero__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.88);
  max-width: 52ch;
  margin: 0 0 28px;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero__ctas--center { justify-content: center; }

.hero__microcopy {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

/* ===================== BOTÕES ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
  cursor: pointer;
  line-height: 1;
}

.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(201, 162, 75, 0.35);
}

.btn--primary:hover {
  background: var(--gold-600);
  transform: translateY(-1px);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}

.btn--secondary:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn--on-dark { color: var(--white); border-color: rgba(255,255,255,0.55); }

.btn--whatsapp {
  position: relative;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}

.btn__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 50%;
  padding: 1px;
}

.btn__badge {
  position: absolute;
  top: -12px;
  right: -10px;
  background: #e63946;
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transform: rotate(8deg);
}

.btn--inline {
  color: var(--navy-800);
  border-color: var(--navy-800);
  margin-top: 22px;
}

.btn--inline:hover { background: var(--navy-050); }

/* ===================== SECTIONS ===================== */

.section { padding: 64px 0; }
.section--light { background: var(--white); }
.section--dark {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  text-align: center;
  margin: 0 0 40px;
  color: var(--navy-900);
}

.section__title--light { color: var(--white); }
.section__title--left { text-align: left; max-width: 20ch; }

/* ===================== GRID ===================== */

.grid { display: grid; gap: 26px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: 1fr 1fr; }
.grid--align-center { align-items: center; }

@media (max-width: 860px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
}

/* ===================== CARD SIMPLES (diferenciais) ===================== */

.card-simple {
  text-align: left;
  padding: 6px 2px;
}

.card-simple__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy-050);
  color: var(--navy-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-simple__icon svg { width: 22px; height: 22px; }

.card-simple h3 {
  font-size: 17px;
  margin: 0 0 6px;
  color: var(--navy-900);
}

.card-simple p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ===================== SERVICE CARDS ===================== */

.service-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  margin: 0 0 10px;
  color: var(--white);
}

.service-card p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.82);
  margin: 0 0 18px;
}

.service-card__link {
  color: var(--gold-500);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
}

.service-card__link:hover { text-decoration: underline; }

/* ===================== SERVICE CARDS (com foto) ===================== */

.service-card-photo {
  text-align: center;
}

.service-card-photo picture {
  display: block;
}

.service-card-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 18px;
  box-shadow: var(--shadow-soft);
}

.service-card-photo h3 {
  font-size: 18px;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.service-card-photo p {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 0;
  max-width: 34ch;
  margin-inline: auto;
}

/* ===================== TRUST LIST / REGIÃO ===================== */

.trust-list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 15px;
  color: var(--ink);
}

.trust-list li:last-child { border-bottom: none; }

.trust-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--navy-800);
  margin-top: 1px;
}

.map-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
  background: var(--navy-050);
  padding: 24px;
  text-decoration: none;
  color: var(--navy-900);
  min-height: 320px;
}

.map-card svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--navy-800);
}

.map-card span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.map-card strong {
  color: var(--navy-900);
  font-size: 16px;
}

.map-card:hover { background: #e4e8f7; }

/* ===================== CTA FINAL ===================== */

.section--cta {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
}

.cta-final {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-final__logo {
  width: 130px;
  margin-bottom: 18px;
}

.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 10px;
}

.cta-final p {
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
  max-width: 42ch;
}

/* ===================== FOOTER ===================== */

.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.8);
  padding: 32px 0 90px;
}

.footer__content {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__logo { width: 100px; opacity: 0.9; }

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
}

.footer__info strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
}

.footer__info a {
  color: var(--gold-500);
  text-decoration: none;
  font-weight: 600;
}

.footer__info a:hover { text-decoration: underline; }

/* ===================== WHATSAPP FLUTUANTE (fixo) ===================== */

.whats-float {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 10px 28px rgba(18, 32, 92, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.whats-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #25d366;
  pointer-events: none;
  animation: whats-float-pulse 2.2s ease-out infinite;
}

@keyframes whats-float-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(1.55); opacity: 0; }
}

.whats-float:hover {
  background: #20bd5a;
  transform: translateX(-50%) translateY(-2px);
}

.whats-float__icon {
  display: flex;
  flex-shrink: 0;
}

.whats-float__icon img {
  width: 22px;
  height: 22px;
  display: block;
  background: var(--white);
  border-radius: 50%;
  padding: 1px;
}

.whats-float__badge {
  position: absolute;
  top: -11px;
  right: -6px;
  background: #e63946;
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 4px 9px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
}

@media (max-width: 480px) {
  .whats-float {
    bottom: 14px;
    padding: 13px 18px;
    font-size: 14px;
  }
  .footer { padding-bottom: 90px; }
}

/* ===================== FOCUS / ACESSIBILIDADE ===================== */

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}
