/* ============================================================
   CLÍNICA LUMIÈRE — Folha de estilos
   Abordagem: mobile-first · CSS nativo (Flexbox + Grid)
   Paleta: azul-marinho profundo + dourado fosco + off-white
============================================================ */

/* ---------- 1. Design tokens (variáveis globais) ---------- */
:root {
  /* Cores */
  --navy-900: #081527;        /* fundo mais profundo */
  --navy-800: #0a1d37;        /* azul-marinho principal */
  --navy-700: #12294b;        /* variação para cards escuros */
  --gold-500: #c6a15b;        /* dourado fosco (acento) */
  --gold-400: #d8b877;        /* dourado claro (hover) */
  --offwhite: #faf8f3;        /* fundo principal */
  --white: #ffffff;
  --ink: #1c2733;             /* texto sobre fundo claro */
  --ink-soft: #55616e;        /* texto secundário */
  --whatsapp: #25d366;
  --whatsapp-dark: #1eb955;

  /* Tipografia */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  /* Layout */
  --container: 1140px;
  --radius: 18px;
  --shadow-soft: 0 10px 40px rgba(8, 21, 39, 0.10);
  --shadow-strong: 0 18px 60px rgba(8, 21, 39, 0.22);
  --transition: 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- 2. Reset e base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--offwhite);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.icon { width: 1.35em; height: 1.35em; flex-shrink: 0; }

/* Foco visível para navegação por teclado */
:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Tipografia utilitária ---------- */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.9rem;
}
.eyebrow--light { color: var(--gold-400); }

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.15;
  color: var(--navy-800);
  margin-bottom: 1.1rem;
}
.section__title em {
  font-style: italic;
  color: var(--gold-500);
}
.section__title--light { color: var(--white); }

.section__lead {
  color: var(--ink-soft);
  max-width: 46ch;
  margin-inline: auto;
}
.section--navy .section__lead { color: rgba(255, 255, 255, 0.72); }

.section__head { text-align: center; margin-bottom: 3rem; }

/* ---------- 4. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px); }

.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), #b28d47);
  color: var(--navy-900);
  box-shadow: 0 6px 22px rgba(198, 161, 91, 0.35);
}
.btn--gold:hover { box-shadow: 0 10px 30px rgba(198, 161, 91, 0.5); }

.btn--whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: var(--white);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.35);
}
.btn--whatsapp:hover { box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5); }

.btn--xl {
  font-size: 1.05rem;
  padding: 1.05rem 2.2rem;
}

/* ---------- 5. Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  background: transparent;
}
/* Classe adicionada via JS ao rolar a página */
.header--scrolled {
  background: rgba(10, 29, 55, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(8, 21, 39, 0.3);
  padding: 0.65rem 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logotipo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--white);
}
.logo__mark { width: 34px; height: 34px; color: var(--gold-500); }
.logo__text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.logo__text em { font-style: italic; color: var(--gold-400); }

/* Navegação — mobile: painel deslizante */
.nav {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(78vw, 320px);
  background: var(--navy-900);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.6rem;
  padding: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 90;
}
.nav.is-open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.4); }

.nav__link {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: color var(--transition);
}
/* Sublinhado dourado animado */
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%;
  height: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover { color: var(--gold-400); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__cta { margin-top: 0.5rem; }

/* Hambúrguer */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 110;
}
.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
/* Animação para "X" quando aberto */
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 85% 10%, rgba(198, 161, 91, 0.14), transparent 60%),
    linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 55%, #0e2344 100%);
  color: var(--white);
  padding: 7.5rem 0 4.5rem;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  gap: 3rem;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.08;
}
.hero__title em { font-style: italic; color: var(--gold-400); }

/* Assinatura visual: arco de sorriso dourado */
.smile-arc {
  width: 110px;
  color: var(--gold-500);
  margin: 1.1rem 0 1.2rem;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 44ch;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 2.4rem;
}
.hero__note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.6rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}
.hero__badges strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--gold-400);
}

.hero__figure {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}
.hero__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-strong);
}
/* Moldura dourada deslocada atrás da foto */
.hero__figure::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 1.5px solid rgba(198, 161, 91, 0.45);
  border-radius: var(--radius);
  z-index: -1;
}

/* Cartão flutuante sobre a foto */
.hero__card {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(250, 248, 243, 0.96);
  color: var(--navy-800);
  border-radius: 14px;
  padding: 0.8rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.hero__card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}
.hero__card-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gold-500);
}

/* ---------- 7. Seções genéricas ---------- */
.section { padding: 4.5rem 0; }
.section--navy { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.section--offwhite { background: var(--white); }

/* ---------- 8. Sobre ---------- */
.about__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.about__media img {
  border-radius: var(--radius);
  aspect-ratio: 5 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}
.about__content p { color: var(--ink-soft); margin-bottom: 1rem; }

.about__list { margin-top: 1.4rem; display: grid; gap: 0.7rem; }
.about__list li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 400;
}
/* Marcador em forma de arco dourado */
.about__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 16px; height: 9px;
  border: 2px solid var(--gold-500);
  border-top: none;
  border-radius: 0 0 16px 16px;
}

/* ---------- 9. Procedimentos (cards) ---------- */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

.card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius);
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(198, 161, 91, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(198, 161, 91, 0.14);
  color: var(--gold-400);
  margin-bottom: 1.3rem;
  transition: background var(--transition), transform var(--transition);
}
.card__icon svg { width: 26px; height: 26px; }
.card:hover .card__icon {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: scale(1.06) rotate(-4deg);
}

.card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.card__text {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.94rem;
  flex-grow: 1;
  margin-bottom: 1.4rem;
}

.card__link {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap var(--transition), color var(--transition);
}
.card__link:hover { gap: 0.8rem; color: var(--gold-500); }

/* ---------- 10. Depoimentos (carrossel) ---------- */
.carousel { position: relative; }

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

.testimonial {
  flex: 0 0 100%;
  padding: 0 0.4rem;
}
.testimonial__stars {
  color: var(--gold-500);
  font-size: 1.15rem;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
  text-align: center;
}
.testimonial__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  color: var(--navy-800);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.8rem;
}
.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
}
.testimonial__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--gold-400);
  font-family: var(--font-display);
  font-weight: 600;
}
.testimonial__author strong { display: block; font-weight: 600; font-size: 0.95rem; }
.testimonial__author span:not(.testimonial__avatar) { font-size: 0.82rem; color: var(--ink-soft); }
.testimonial__author div span { font-size: 0.82rem; color: var(--ink-soft); }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  margin-top: 2.2rem;
}
.carousel__btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--navy-800);
  background: transparent;
  color: var(--navy-800);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.carousel__btn:hover {
  background: var(--navy-800);
  color: var(--gold-400);
  transform: scale(1.08);
}

.carousel__dots { display: flex; gap: 0.55rem; }
.carousel__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(10, 29, 55, 0.22);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.carousel__dot.is-active {
  background: var(--gold-500);
  transform: scale(1.35);
}

/* ---------- 11. Contato / Localização ---------- */
.contact__grid {
  display: grid;
  gap: 2rem;
}

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  min-height: 320px;
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact__block h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--navy-800);
  margin-bottom: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(198, 161, 91, 0.4);
  display: inline-block;
}
.contact__block p { color: var(--ink-soft); }
.contact__block a { color: var(--navy-800); font-weight: 500; transition: color var(--transition); }
.contact__block a:hover { color: var(--gold-500); }
.contact__info .btn { align-self: flex-start; }

/* ---------- 11b. FAQ (acordeão nativo com <details>) ---------- */
.faq__container { max-width: 760px; }

.faq__list { display: grid; gap: 0.9rem; }

.faq__item {
  background: var(--white);
  border: 1px solid rgba(10, 29, 55, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item:hover { border-color: rgba(198, 161, 91, 0.5); }
.faq__item[open] {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-soft);
}

.faq__question {
  cursor: pointer;
  list-style: none; /* remove a seta padrão */
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  font-weight: 500;
  color: var(--navy-800);
  position: relative;
  transition: color var(--transition);
  user-select: none;
}
.faq__question::-webkit-details-marker { display: none; }

/* Indicador "+" que gira para "×" quando aberto */
.faq__question::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold-500);
  transition: transform var(--transition);
}
.faq__item[open] .faq__question::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq__item[open] .faq__question { color: var(--gold-500); }

.faq__answer {
  padding: 0 1.4rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- 12. Footer ---------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 3.5rem;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__tagline {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.footer__links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__links a {
  font-size: 0.92rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer__links a:hover { color: var(--gold-400); padding-left: 6px; }

/* Botões de redes sociais em destaque */
.footer__social { display: flex; flex-direction: column; gap: 0.9rem; }

.social-btn {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  max-width: 340px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.social-btn:hover { transform: translateY(-4px); }

/* Ícone dentro de um "chip" translúcido — dá estrutura ao botão */
.social-btn .icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  box-sizing: border-box;
  flex-shrink: 0;
}

/* Bloco de texto: coluna compacta, sem herdar o line-height do body */
.social-btn span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.25;
}
.social-btn strong { font-size: 0.98rem; font-weight: 600; color: var(--white); }
.social-btn small { font-size: 0.8rem; opacity: 0.85; }

/* Seta discreta à direita indicando ação */
.social-btn::after {
  content: "→";
  margin-left: auto;
  font-size: 1rem;
  opacity: 0.7;
  transition: transform var(--transition), opacity var(--transition);
}
.social-btn:hover::after { transform: translateX(4px); opacity: 1; }

.social-btn--whatsapp {
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: var(--white);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.28);
}
.social-btn--whatsapp:hover { box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45); }

.social-btn--instagram {
  background: linear-gradient(135deg, #833ab4, #e1306c 55%, #f77737);
  color: var(--white);
  box-shadow: 0 8px 26px rgba(225, 48, 108, 0.28);
}
.social-btn--instagram:hover { box-shadow: 0 14px 36px rgba(225, 48, 108, 0.45); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.3rem 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}

/* ---------- 13. Botão flutuante do WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 120;
  width: 60px; height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--whatsapp), var(--whatsapp-dark));
  color: var(--white);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition), opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}
.whatsapp-float.is-visible { opacity: 1; pointer-events: auto; }
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.6);
}
.whatsapp-float .icon { width: 30px; height: 30px; }

/* Pulso animado ao redor do botão */
.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Tooltip elegante do botão flutuante */
.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--navy-800);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.5rem 0.9rem;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
/* Seta do tooltip */
.whatsapp-float__tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy-800);
}
.whatsapp-float:hover .whatsapp-float__tooltip,
.whatsapp-float:focus-visible .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ---------- 13b. CTA final (faixa dourada) ---------- */
.cta-banner {
  background:
    radial-gradient(ellipse 70% 120% at 15% 50%, rgba(255, 255, 255, 0.18), transparent 60%),
    linear-gradient(120deg, #b28d47, var(--gold-500) 55%, var(--gold-400));
  padding: 3.5rem 0;
}
.cta-banner__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.6rem;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--navy-900);
  line-height: 1.15;
}
.cta-banner__title em { font-style: italic; }
.cta-banner__text {
  margin-top: 0.4rem;
  color: rgba(8, 21, 39, 0.72);
  font-weight: 400;
}
.cta-banner .btn--whatsapp {
  box-shadow: 0 10px 32px rgba(8, 21, 39, 0.28);
}

/* ---------- 13c. Barra de progresso de leitura ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
  z-index: 200;
  box-shadow: 0 0 12px rgba(198, 161, 91, 0.6);
}

/* ---------- 14. Animações de revelação ao rolar ---------- */
/* Deslocamento pequeno + duração curta: o elemento "assenta" sutilmente
   em vez de deslizar pela tela (evita sensação de página se mexendo) */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease-out;
}
.reveal--delay { transition-delay: 0.1s; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 15. Acessibilidade: movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   16. Breakpoints — tablet e desktop
============================================================ */

/* Tablet ≥ 640px */
@media (min-width: 640px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: row; align-items: center; gap: 1.2rem; }
}

/* Desktop ≥ 900px */
@media (min-width: 900px) {
  /* Navegação vira barra horizontal */
  .nav {
    position: static;
    width: auto;
    background: transparent;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    transform: none;
    box-shadow: none;
  }
  .nav__link { font-size: 0.95rem; }
  .nav__cta { margin-top: 0; }
  .hamburger { display: none; }

  .hero { padding: 9.5rem 0 6rem; }
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 4rem;
  }

  .about__grid { grid-template-columns: 0.9fr 1.1fr; gap: 4rem; }

  .contact__grid { grid-template-columns: 1.2fr 0.8fr; align-items: stretch; }

  .footer__grid { grid-template-columns: 1.2fr 0.8fr 1fr; }

  .cta-banner__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .section { padding: 6rem 0; }
}

/* Desktop largo ≥ 1100px */
@media (min-width: 1100px) {
  .services__grid { grid-template-columns: repeat(4, 1fr); }
}
