@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&family=DM+Serif+Display:ital@0;1&display=swap');

/* ─────────────────────────────────────────
   VARIÁVEIS & DESIGN TOKENS
───────────────────────────────────────── */
:root {
  /* Azuis */
  --navy:          #0B2444;
  --azul-escuro:   #163D72;
  --azul:          #2563EB;
  --azul-medio:    #3B82F6;
  --azul-claro:    #93C5FD;
  --azul-palido:   #EFF6FF;
  --azul-gelo:     #F0F7FF;
  --azul-borda:    rgba(37, 99, 235, 0.12);
  --azul-borda-f:  rgba(37, 99, 235, 0.35);

  /* Neutros */
  --fundo:         #F4F7FB;
  --fundo-card:    #FFFFFF;
  --fundo-sutil:   #EBF1FA;
  --branco:        #FFFFFF;
  --cinza:         rgba(11, 36, 68, 0.07);
  --cinza-f:       rgba(11, 36, 68, 0.14);

  /* Texto */
  --txt:           #0B1F3A;
  --txt-2:         #2D4A6E;
  --txt-3:         #6B87A8;
  --txt-4:         #A8BECE;

  /* Acentos */
  --acento:        #C8956C;
  --acento-f:      #E8C4A8;
  --verde:         #10B981;

  /* Espaçamento */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 5rem;

  /* Sombras */
  --sh-xs:  0 1px 4px rgba(11,36,68,.06);
  --sh-sm:  0 2px 12px rgba(11,36,68,.07);
  --sh-md:  0 8px 32px rgba(11,36,68,.10);
  --sh-lg:  0 20px 60px rgba(11,36,68,.13);
  --sh-azul: 0 8px 40px rgba(37,99,235,.18);
  --sh-nav: 0 4px 24px rgba(11,36,68,.08);

  /* Motion */
  --ease:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur:    0.32s;

  /* Raio */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-pill: 100px;
}

/* ─────────────────────────────────────────
   RESET
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

/* ─────────────────────────────────────────
   SCROLLBAR
───────────────────────────────────────── */
::-webkit-scrollbar             { width: 5px; }
::-webkit-scrollbar-track       { background: var(--fundo); }
::-webkit-scrollbar-thumb       { background: var(--azul-claro); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--azul-medio); }

/* ─────────────────────────────────────────
   SCROLL PROGRESS — barra no topo da página
───────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  z-index: 9999;
  background: linear-gradient(90deg, var(--azul) 0%, var(--azul-claro) 50%, var(--acento) 100%);
  transform-origin: left;
  animation: scroll-progress linear;
  animation-timeline: scroll();
}

@keyframes scroll-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ─────────────────────────────────────────
   BODY + OVERLAYS
───────────────────────────────────────── */
body {
  background-color: var(--fundo);
  color: var(--txt);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.85;
  overflow-x: hidden;
  position: relative;
}

/* Padrão de grade no fundo */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--azul-borda) 1px, transparent 1px),
    linear-gradient(90deg, var(--azul-borda) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 30%, transparent 100%);
  opacity: 0.6;
}

/* ─────────────────────────────────────────
   COUNTER GLOBAL para seções
───────────────────────────────────────── */
body { counter-reset: secao; }

/* ─────────────────────────────────────────
   TIPOGRAFIA
───────────────────────────────────────── */
h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: var(--s5);
  padding-bottom: var(--s4);
  position: relative;
}

/* Linha decorativa azul embaixo do h1 */
h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--azul), var(--azul-medio), transparent);
  border-radius: var(--r-pill);
  animation: expand-line 1s var(--ease) forwards 0.4s;
}

@keyframes expand-line {
  to { width: 120px; }
}

/* Ornamento acima do h1 */
h1::before {
  content: '— Aurora';
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--azul-medio);
  margin-bottom: var(--s2);
  opacity: 0.8;
}

h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--azul-escuro);
  margin-bottom: 0.5rem;
  margin-top: var(--s5);
  line-height: 1.2;
  position: relative;
}

h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--txt-3);
  line-height: 1.75;
  margin-bottom: var(--s2);
}

h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--azul);
  margin-bottom: var(--s2);
}

h5 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--acento);
  margin-bottom: var(--s4);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

h5::before,
h5::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--acento-f), transparent);
}

p {
  font-size: 0.93rem;
  color: var(--txt-2);
  line-height: 1.9;
  margin-bottom: var(--s2);
}

strong {
  color: var(--navy);
  font-weight: 500;
}

/* ─────────────────────────────────────────
   LINKS
───────────────────────────────────────── */
a {
  color: var(--azul);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover { color: var(--navy); }

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5vw;
  position: sticky;
  top: 0;
  z-index: 400;
  background: rgba(244, 247, 251, 0.85);
  backdrop-filter: blur(28px) saturate(1.8);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  border-bottom: 1px solid var(--cinza);
  box-shadow: var(--sh-nav);
  animation: slideDown 0.6s var(--ease) both;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* Faixa azul inferior animada no hover */
header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--azul-medio), var(--azul), var(--azul-medio), transparent);
  border-radius: var(--r-pill);
  transition: width 0.7s var(--ease);
}

header:hover::after { width: 70%; }

.logo-site {
  height: 46px;
  width: auto;
  object-fit: contain;
  transition: filter var(--dur) var(--ease), transform var(--dur) var(--ease-bounce);
}

.logo-site:hover {
  filter: brightness(1.1) drop-shadow(0 3px 14px rgba(37,99,235,.3));
  transform: scale(1.06);
}

/* ─────────────────────────────────────────
   NAV
───────────────────────────────────────── */
nav ul {
  list-style: none;
  display: flex;
  gap: var(--s2);
  align-items: center;
}

nav ul li a {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--txt-3);
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-pill);
  position: relative;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}

nav ul li a:hover {
  color: var(--azul);
  background: var(--azul-palido);
}

/* Indicador ativo */
nav ul li:last-child a {
  color: var(--azul);
  background: var(--azul-palido);
  border: 1px solid var(--azul-borda-f);
}

/* ─────────────────────────────────────────
   HR
───────────────────────────────────────── */
hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg,
    transparent, var(--azul-borda-f) 25%,
    var(--azul-medio) 50%,
    var(--azul-borda-f) 75%, transparent);
  opacity: 0.3;
  margin: 0;
}

/* ─────────────────────────────────────────
   WRAPPER CENTRAL
───────────────────────────────────────── */
body > section,
body > h1,
body > h2,
body > p,
body > ul,
body > strong {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}

body > h1     { padding-top: 5rem; }
body > strong { display: block; margin-top: var(--s4); }

/* ─────────────────────────────────────────
   SEÇÃO SOBRE — HERO CARD
───────────────────────────────────────── */
#sobre {
  margin-top: var(--s4);
  background: var(--branco);
  border: 1px solid var(--cinza);
  box-shadow: var(--sh-md);
  border-radius: var(--r-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

#sobre:hover {
  box-shadow: var(--sh-azul);
  transform: translateY(-3px);
}

/* Faixa de cor no canto superior direito */
#sobre::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle at top right, var(--azul-gelo) 0%, transparent 65%);
  border-radius: 0 var(--r-lg) 0 0;
  pointer-events: none;
}

/* Número de seção decorativo */
#sobre::after {
  content: '01';
  position: absolute;
  bottom: 1rem; right: 2rem;
  font-family: 'DM Serif Display', serif;
  font-size: 6rem;
  font-weight: 400;
  color: var(--azul);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* ─────────────────────────────────────────
   H2 COM NUMERAÇÃO AUTOMÁTICA
───────────────────────────────────────── */
body > h2 {
  counter-increment: secao;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
  margin-top: var(--s5);
}

body > h2::before {
  content: counter(secao, decimal-leading-zero);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--azul-claro);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  margin-top: 0.15em;
  transition: color var(--dur) var(--ease);
}

body > h2:hover::before { color: var(--azul); }

/* ─────────────────────────────────────────
   LISTAS
───────────────────────────────────────── */
ul { list-style: none; margin-bottom: var(--s3); }

ul li {
  font-size: 0.92rem;
  color: var(--txt-2);
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--cinza);
  transition: color var(--dur) var(--ease),
              padding-left var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

ul li:last-child { border-bottom: none; }

/* Dot animado */
ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--azul-claro);
  border: 2px solid var(--azul-medio);
  transition:
    transform var(--dur) var(--ease-bounce),
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

ul li:hover {
  color: var(--navy);
  padding-left: 2.5rem;
  background: linear-gradient(90deg, var(--azul-gelo), transparent 60%);
  border-radius: var(--r-sm);
}

ul li:hover::before {
  transform: translateY(-50%) scale(1.4);
  background: var(--azul);
  border-color: var(--azul-escuro);
  box-shadow: 0 0 0 4px rgba(37,99,235,.15);
}

/* ─────────────────────────────────────────
   AVALIAÇÕES — CARDS GLASSMORPHISM
───────────────────────────────────────── */
body > strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: var(--s1);
  margin-top: var(--s4);
}

/* Avatar inicial */
body > strong::before {
  content: attr(data-inicial, '✦');
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--azul-palido);
  border: 1px solid var(--azul-borda-f);
  color: var(--azul);
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

body > strong + p {
  margin-top: 0.3rem;
  margin-bottom: var(--s3);
  padding: 1.2rem 1.5rem 1.2rem 2rem;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--cinza-f);
  border-left: 3px solid var(--azul-medio);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-style: italic;
  font-size: 0.91rem;
  color: var(--txt-2);
  box-shadow: var(--sh-sm);
  position: relative;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-left-color var(--dur) var(--ease);
}

body > strong + p:hover {
  transform: translateX(6px);
  box-shadow: var(--sh-md);
  border-left-color: var(--azul);
}

/* Aspa decorativa */
body > strong + p::before {
  content: '"';
  position: absolute;
  left: 0.7rem; top: 0.2rem;
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--azul-medio);
  opacity: 0.18;
  line-height: 1;
  font-style: normal;
}

/* ─────────────────────────────────────────
   CATÁLOGO — servico.html
───────────────────────────────────────── */
#catalogo {
  max-width: 960px;
  margin: 5rem auto 0;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
}

#catalogo ~ h1 {
  padding-left: clamp(1.5rem, 5vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 4rem);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

#catalogo ~ h2 {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  position: relative;
  z-index: 1;
  display: block; /* sem numeração automática */
}

#catalogo ~ h2::before { display: none; }

/* ── Card de serviço ── */
#catalogo ~ h2:not(:nth-child(3n)) {
  background: var(--branco);
  border: 1px solid var(--cinza-f);
  border-radius: var(--r-md);
  padding: 1.6rem 2rem 0.6rem;
  margin-top: 1rem;
  box-shadow: var(--sh-xs);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease-bounce),
    border-color var(--dur) var(--ease);
}

/* Barra topo com shimmer */
#catalogo ~ h2:not(:nth-child(3n))::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    var(--azul-escuro) 0%,
    var(--azul-medio) 30%,
    var(--azul-claro) 50%,
    var(--azul-medio) 70%,
    var(--azul-escuro) 100%);
  background-size: 300% auto;
  animation: shimmer-bar 4s linear infinite;
}

@keyframes shimmer-bar {
  0%   { background-position: 300% center; }
  100% { background-position: -300% center; }
}

/* Ícone de canto */
#catalogo ~ h2:not(:nth-child(3n))::after {
  content: '→';
  position: absolute;
  top: 1rem; right: 1.2rem;
  font-size: 1rem;
  color: var(--azul-borda-f);
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease-bounce);
}

#catalogo ~ h2:not(:nth-child(3n)):hover {
  box-shadow: var(--sh-azul);
  transform: translateY(-5px);
  border-color: var(--azul-borda-f);
}

#catalogo ~ h2:not(:nth-child(3n)):hover::after {
  color: var(--azul);
  transform: translateX(4px);
}

/* ── Botão "Quero este!" ── */
#catalogo ~ h2:nth-child(3n) {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--branco);
  background: linear-gradient(135deg, var(--azul-escuro), var(--azul));
  border: none;
  border-radius: var(--r-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.8rem;
  margin-top: 0.5rem;
  margin-bottom: var(--s4);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(37,99,235,.28);
  position: relative;
  overflow: hidden;
  transition:
    box-shadow var(--dur) var(--ease),
    transform var(--dur) var(--ease-bounce);
}

/* Brilho deslizante no hover */
#catalogo ~ h2:nth-child(3n)::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s var(--ease);
}

#catalogo ~ h2:nth-child(3n):hover {
  box-shadow: 0 8px 32px rgba(37,99,235,.4);
  transform: translateY(-3px) scale(1.02);
}

#catalogo ~ h2:nth-child(3n):hover::before {
  left: 150%;
}

/* ─────────────────────────────────────────
   CONTATO
───────────────────────────────────────── */
#contato {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--s6) clamp(1.5rem, 5vw, 4rem) var(--s4);
  position: relative;
  z-index: 1;
}

#contato ~ h2 {
  max-width: 960px;
  margin: 0 auto 0.3rem;
  padding: 0.4rem clamp(1.5rem, 5vw, 4rem);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  font-style: normal;
  color: var(--txt-2);
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  display: block;
}

#contato ~ h2::before,
#contato ~ h2::after { display: none !important; }

/* Destaque nos dados de contato */
#contato ~ h2:first-of-type { margin-top: 0; }

/* ─────────────────────────────────────────
   ANIMAÇÕES DE ENTRADA
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

header    { animation: slideDown 0.6s var(--ease) both; }
body > h1 { animation: fadeUp 0.9s var(--ease) both 0.1s; }
#sobre    { animation: fadeUp 0.8s var(--ease) both 0.2s; }

/* ─────────────────────────────────────────
   DIVISOR ORNAMENTAL ENTRE SEÇÕES
───────────────────────────────────────── */
body > h2:first-of-type {
  margin-top: var(--s6);
}

/* Ornamento before de cada h2 de avaliação ou seção especial */
body > h1:nth-of-type(2) {
  margin-top: var(--s6);
  padding-top: var(--s5);
}

body > h1:nth-of-type(2)::before {
  content: '— Avaliações';
}

/* ─────────────────────────────────────────
   FOOTER — DARK NAVY PREMIUM
───────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  margin-top: 8rem;
  padding: 5rem clamp(1.5rem, 5vw, 4rem) 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Onda no topo do footer */
footer::before {
  content: '';
  position: absolute;
  top: -60px; left: 0; right: 0;
  height: 120px;
  background: var(--fundo);
  clip-path: ellipse(55% 100% at 50% 0%);
}

/* Padrão de pontos no fundo do footer */
footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

footer > * { position: relative; z-index: 1; }

/* Linha brilhante no topo */
footer > *:first-child::before {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--azul-medio), var(--azul-claro));
  border-radius: var(--r-pill);
  margin-bottom: var(--s4);
  animation: expand-line 1s var(--ease) forwards;
}

footer h4 {
  font-size: 0.63rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.35);
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  margin-bottom: var(--s2);
}

footer ul              { margin-bottom: var(--s4); }
footer ul li           { border-bottom: 1px solid rgba(255,255,255,0.05); color: rgba(255,255,255,0.5); padding-left: 0; }
footer ul li:hover     { color: rgba(255,255,255,0.9); padding-left: 0.5rem; background: none; }
footer ul li::before   { display: none; }

footer ul li a         { font-size: 0.8rem; color: rgba(255,255,255,0.5); }
footer ul li a:hover   { color: rgba(255,255,255,0.9); }

/* Botão voltar ao topo */
footer a[href="#topo"] {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.63rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.5) !important;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-sm);
  padding: 0.6rem 1.5rem;
  margin-bottom: var(--s4);
  transition:
    background var(--dur) var(--ease),
    color var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    transform var(--dur) var(--ease-bounce);
}

footer a[href="#topo"]::before {
  content: '↑';
  font-size: 0.9rem;
}

footer a[href="#topo"]:hover {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9) !important;
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}

footer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 0.4rem;
}

footer a[href*="instagram"] {
  display: inline-block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: var(--s3);
  transition: color var(--dur) var(--ease);
}

footer a[href*="instagram"]:hover { color: rgba(255,255,255,0.8); }

footer iframe {
  display: block;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  margin: var(--s2) 0;
  filter: grayscale(0.5) brightness(0.6) contrast(1.1) hue-rotate(200deg);
  transition: filter var(--dur) var(--ease);
}

footer iframe:hover { filter: grayscale(0.1) brightness(0.85); }

footer p:last-of-type {
  margin-top: var(--s5);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.2);
}

/* ─────────────────────────────────────────
   SELEÇÃO DE TEXTO
───────────────────────────────────────── */
::selection {
  background: rgba(37, 99, 235, 0.18);
  color: var(--navy);
}

/* ─────────────────────────────────────────
   FOCUS ACCESSIBILITY
───────────────────────────────────────── */
a:focus-visible {
  outline: 2px solid var(--azul);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ─────────────────────────────────────────
   PRINT
───────────────────────────────────────── */
@media print {
  header, footer, hr { display: none; }
  body { background: white; color: #0B1F3A; }
  h1, h2 { color: #0B2444; }
}

/* ─────────────────────────────────────────
   RESPONSIVO
───────────────────────────────────────── */
@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.8rem;
    align-items: flex-start;
  }

  nav ul { gap: 0.5rem; flex-wrap: wrap; }

  body > h1, body > h2, body > p,
  body > ul, body > strong, body > section,
  #catalogo, #contato,
  #catalogo ~ h2 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #sobre   { padding: 2rem 1.5rem; }
  footer   { padding: 5rem 1.5rem 2.5rem; margin-top: 5rem; }
  h1       { font-size: 2.2rem; }
  h2       { font-size: 1.4rem; margin-top: 2.5rem; }
  footer::before { clip-path: ellipse(80% 100% at 50% 0%); }
}

@media (max-width: 480px) {
  nav ul li a   { font-size: 0.62rem; padding: 0.35rem 0.7rem; }
  .logo-site    { height: 38px; }
  h1            { font-size: 1.9rem; }
  body > h2     { flex-direction: column; gap: 0.2rem; }
  body > h2::before { font-size: 0.6rem; }
}