@font-face { font-family: "Inter"; src: url(fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url(fonts/playfair-latin.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #14213A;
  --navy-soft: #1C2B45;
  --gold: #C8A96E;
  --gold-dark: #8A6D25;
  --beige: #F4F0E8;
  --white: #FFFFFF;
  --text: #1C2B45;
  --muted: #4F5D6D;
  --line: rgba(20, 33, 58, 0.12);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
}

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

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

.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 4px; z-index: 200; }
.skip:focus { left: 8px; }

a:focus-visible, .btn:focus-visible { outline: 3px solid var(--gold-dark); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 36px; height: 36px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--navy); }
.brand-sub { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--navy); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav a:hover { border-bottom-color: var(--gold); }

/* Hero */
.hero { background: var(--navy); color: var(--white); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: stretch; gap: 48px; min-height: 560px; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 64px 0; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: 14px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin-bottom: 20px; }
.lead { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 480px; margin-bottom: 14px; }
.oab { font-size: 14px; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 32px; font-weight: 600; }

.btn { display: inline-block; width: fit-content; background: var(--gold); color: var(--navy); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; padding: 14px 26px; border-radius: 4px; text-decoration: none; transition: background .2s; }
.btn:hover { background: #D8BC84; }

.hero-photo { position: relative; margin: 0; align-self: end; }
.hero-photo img { width: 100%; height: 100%; max-height: 600px; object-fit: cover; object-position: center 20%; border-radius: 4px 4px 0 0; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--beige); }
h2 { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 3.6vw, 38px); line-height: 1.2; color: var(--navy); margin-bottom: 32px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 4px; padding: 32px 28px; background: var(--white); }
.card h3 { font-family: var(--serif); font-size: 22px; color: var(--navy); margin-bottom: 12px; line-height: 1.25; }
.card p { color: var(--muted); font-size: 15px; }

.about { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.about h2 { margin-bottom: 0; }
.about-text p { color: var(--muted); margin-bottom: 18px; max-width: 640px; }
.facts { display: flex; gap: 40px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.facts dt { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; }
.facts dd { font-weight: 600; color: var(--navy); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact p { color: var(--muted); max-width: 460px; }
.contact h2 { margin-bottom: 16px; }
.contact-box { background: var(--navy); color: var(--white); padding: 40px 36px; border-radius: 4px; }
.contact-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold) !important; font-weight: 600; margin-bottom: 6px; }
.contact-mail { font-family: var(--serif); font-size: clamp(18px, 2.6vw, 24px); color: var(--white); text-decoration: none; border-bottom: 1px solid var(--gold); overflow-wrap: anywhere; }
.contact-mail:hover { color: var(--gold); }
.contact-meta { margin-top: 24px; font-size: 14px; color: rgba(255,255,255,0.75) !important; }

/* Footer */
.site-footer { background: var(--navy-soft); color: rgba(255,255,255,0.8); padding: 40px 0; font-size: 13px; }
.site-footer strong { color: var(--white); }
.footer-id { margin-bottom: 14px; }
.notice { max-width: 820px; line-height: 1.7; margin-bottom: 14px; }
.copy { color: rgba(255,255,255,0.6); }

/* Mobile */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-text { padding: 48px 0 32px; }
  .hero-photo img { max-height: 420px; object-position: center 25%; }
  .cards, .about, .contact { grid-template-columns: 1fr; gap: 20px; }
  .about { gap: 24px; }
  .section { padding: 64px 0; }
}

@media (max-width: 600px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .header-inner { flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 11px; }
  .contact-box { padding: 28px 22px; }
  .btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ── Fundos modernos ── */
.hero { position: relative; background: radial-gradient(120% 120% at 80% 0%, #1F3358 0%, #0E1A30 55%, #0A1426 100%); isolation: isolate; }
.hero-inner { position: relative; z-index: 1; }
.contact-section { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 10% 0%, #1F3358 0%, #0E1A30 60%, #0A1426 100%); isolation: isolate; }
.contact-section .container { position: relative; z-index: 1; }
.contact-section h2 { color: var(--white); }
.contact-section .eyebrow { color: var(--gold); }
.contact-section .contact p, .contact-section p { color: rgba(255,255,255,0.78); }

.bg-orbs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.o1 { width: 460px; height: 460px; background: radial-gradient(circle, rgba(200,169,110,.55), transparent 70%); top: -120px; right: 8%; animation: float1 18s ease-in-out infinite; }
.o2 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(70,110,190,.5), transparent 70%); bottom: -180px; left: -80px; animation: float2 22s ease-in-out infinite; }
.o3 { width: 340px; height: 340px; background: radial-gradient(circle, rgba(200,169,110,.35), transparent 70%); top: 40%; left: 42%; animation: float3 26s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,50px) scale(1.12); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(70px,-60px) scale(1.1); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 33% { transform: translate(-50px,40px); } 66% { transform: translate(40px,-30px); } }

/* Grade sutil na seção de áreas */
#areas { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFFFFF 0%, #F7F4EC 100%); }
#areas .container { position: relative; z-index: 1; }
.bg-grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(20,33,58,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,33,58,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 100%); }

/* Seção alternativa com brilho suave */
.section-alt { background: radial-gradient(80% 120% at 100% 0%, #FBF8F1 0%, var(--beige) 60%, #EDE6D7 100%); }

/* Cartões estilo vidro */
.card { position: relative; overflow: hidden; background: rgba(255,255,255,.7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(20,33,58,.1); border-top: 3px solid var(--gold); box-shadow: 0 10px 30px -18px rgba(20,33,58,.35);
  transition: transform .35s ease, box-shadow .35s ease; }
.card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,169,110,.28), transparent 70%); transition: transform .5s ease; }
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -18px rgba(20,33,58,.45); }
.card:hover::after { transform: scale(1.4); }
.card-num { display: block; font-family: var(--serif); font-size: 14px; letter-spacing: .2em; color: var(--gold-dark); margin-bottom: 14px; }

.hero-photo img { box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.contact-box { background: rgba(255,255,255,.06); border: 1px solid rgba(200,169,110,.35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-header { background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.copy a { color: var(--gold); }
.about-text strong { color: var(--navy); }

/* Animação de entrada ao rolar */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease var(--d, 0s), transform .8s ease var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) { .orb { filter: blur(55px); } .o1 { width: 300px; height: 300px; } .o2 { width: 340px; height: 340px; } .o3 { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .orb { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card::after { transition: none; }
}

/* Aviso LGPD flutuante */
.lgpd { position: fixed; right: 20px; bottom: 20px; z-index: 300; max-width: 340px; display: flex; align-items: center; gap: 14px;
  background: rgba(14,26,48,.94); color: rgba(255,255,255,.9); border: 1px solid rgba(200,169,110,.4); border-radius: 8px;
  padding: 14px 16px; font-size: 13px; line-height: 1.5; box-shadow: 0 16px 40px -12px rgba(0,0,0,.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: lgpd-in .5s ease .6s both; transition: opacity .3s, transform .3s; }
.lgpd[hidden] { display: none; }
.lgpd.out { opacity: 0; transform: translateY(12px); }
.lgpd p { margin: 0; }
.lgpd button { flex-shrink: 0; background: var(--gold); color: var(--navy); border: 0; border-radius: 4px; padding: 9px 14px; font: 600 13px var(--sans); cursor: pointer; }
.lgpd button:hover { background: #D8BC84; }
.lgpd button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@keyframes lgpd-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) { .lgpd { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
@media (prefers-reduced-motion: reduce) { .lgpd { animation: none; transition: none; } }

/* Foto dentro de moldura de iPhone */
.hero-photo { display: flex; align-items: center; justify-content: center; padding: 40px 0; align-self: center; }
.hero-photo img { max-height: none; height: 100%; box-shadow: none; border-radius: 0; }
.iphone { position: relative; width: min(290px, 100%); aspect-ratio: 9 / 19; padding: 11px; border-radius: 52px;
  background: linear-gradient(145deg, #3a3f48 0%, #14171c 45%, #2b3038 100%);
  box-shadow: 0 0 0 2px #5b616b, 0 0 0 4px #0b0d10, 0 40px 70px -20px rgba(0,0,0,.75), inset 0 0 6px rgba(255,255,255,.25); }
.screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: #000; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; display: block; }
.screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.14) 0%, transparent 35%); }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 34%; height: 26px; background: #000; border-radius: 20px; z-index: 2; }
.home-bar { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 34%; height: 5px; background: rgba(255,255,255,.85); border-radius: 3px; z-index: 2; box-shadow: 0 0 6px rgba(0,0,0,.4); }
.btn-side { position: absolute; width: 4px; background: #4a4f58; border-radius: 2px; }
.s1 { left: -6px; top: 15%; height: 28px; }
.s2 { left: -6px; top: 23%; height: 52px; }
.s3 { left: -6px; top: 32%; height: 52px; }
.s4 { right: -6px; top: 26%; height: 80px; }
@media (max-width: 860px) { .hero-photo { padding: 8px 0 48px; } .iphone { width: min(260px, 72vw); } .hero-photo img { max-height: none; } }


/* Texto justificado na seção Sobre */
#sobre .about-text p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* Todos os textos justificados */
p, .lead { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
.eyebrow, .oab, .contact-label, .contact-meta { text-align: left; hyphens: none; }
