/* ============================================================
   style.css — Base mobile-first
   Ordem de carregamento: style.css → tablet.css → desktop.css
   ============================================================ */

/* ── Reset & Variáveis ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:       #0d1b2a;
  --ink:        #1a2d42;
  --gold:       #c9a84c;
  --gold-l:     #e8cb7a;
  --cream:      #f5f0e8;
  --muted:      #8a9bb0;
  --white:      #ffffff;
  --serif:      'Georgia', 'Times New Roman', serif;
  --sans:       'Trebuchet MS', 'Segoe UI', sans-serif;
  --radius:     4px;
  --transition: 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ── Animações de scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition), transform var(--transition);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition), transform var(--transition);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition), transform var(--transition);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Header ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 27, 42, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: padding 0.3s;
}

.logo {
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--gold);
}
.logo span {
  color: var(--cream);
  font-size: 0.78rem;
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav desktop — oculta no mobile */
nav {
  display: none;
}

/* ── Hamburger ── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Menu mobile fullscreen ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 90;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--cream);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--gold);
}
.mobile-menu::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── Hero ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201,168,76,0.07) 0%, transparent 70%),
    linear-gradient(180deg, rgba(13,27,42,0) 40%, rgba(13,27,42,0.85) 100%);
  z-index: 1;
}

.hero-lines {
  position: absolute;
  top: 0; right: -2rem;
  width: 70%;
  height: 100%;
  z-index: 0;
  opacity: 0.06;
}
.hero-lines line {
  stroke: var(--gold);
  stroke-width: 1;
}

.hero-bg-text {
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(8rem, 30vw, 18rem);
  color: rgba(201,168,76,0.04);
  line-height: 1;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 8vw, 5rem);
  font-weight: normal;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
}
h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 36ch;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ── Botões ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(201,168,76,0.35);
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── Divider ── */
.divider {
  width: 3rem;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 0 1rem;
}
.divider.center {
  margin: 0 auto 1rem;
}

/* ── Seções genéricas ── */
section {
  padding: 5rem 1.5rem;
}

.section-label {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: normal;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.lead {
  color: var(--muted);
  font-size: 1rem;
  max-width: 48ch;
  line-height: 1.75;
}

/* ── Sobre ── */
.about {
  background: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.about-photo {
  position: relative;
}

.about-photo-frame {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, rgba(201,168,76,0.12), rgba(201,168,76,0.03));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about-photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(201,168,76,0.06)' stroke-width='1'%3E%3Crect x='1' y='1' width='58' height='58'/%3E%3C/g%3E%3C/svg%3E") center / 60px;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.avatar-placeholder svg {
  width: 70%;
  opacity: 0.18;
}

.badge-oab {
  position: absolute;
  bottom: -1.2rem;
  right: -0.5rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
}

.about-text h2 {
  margin-bottom: 0.5rem;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201,168,76,0.12);
}
.stat {
  text-align: center;
}
.stat-number {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

/* ── Áreas ── */
.areas {
  background: var(--navy);
}

.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 3rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.area-card {
  background: var(--ink);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.area-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}
.area-card:hover {
  background: rgba(26, 45, 66, 0.8);
}
.area-card:hover::before {
  opacity: 1;
}

.area-icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 1rem;
}
.area-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: normal;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.area-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Processo ── */
.process {
  background: var(--ink);
}

.steps {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  padding-bottom: 2.5rem;
  position: relative;
}
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.4rem;
  top: 3rem;
  bottom: 0;
  width: 1px;
  background: rgba(201,168,76,0.15);
}

.step-num {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  flex-shrink: 0;
  background: var(--ink);
  z-index: 1;
}

.step-body h3 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: normal;
  color: var(--white);
  margin-bottom: 0.4rem;
  padding-top: 0.55rem;
}
.step-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── Depoimentos ── */
.testimonials {
  background: var(--navy);
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.testi-card {
  background: var(--ink);
  border: 1px solid rgba(201,168,76,0.1);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.testi-text {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--cream);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testi-avatar {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.testi-name {
  font-size: 0.85rem;
  color: var(--cream);
  font-weight: 600;
}
.testi-role {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ── Contato ── */
.contact {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item-label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}
.contact-item-value {
  font-size: 0.95rem;
  color: var(--cream);
}

/* ── Formulário ── */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(138,155,176,0.5);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group select option {
  background: var(--ink);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

form .btn-primary {
  align-self: flex-start;
  margin-top: 0.5rem;
}

/* ── Footer ── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.1);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin: 1rem 0;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.72rem;
  color: rgba(138,155,176,0.45);
}

/* ── WhatsApp flutuante ── */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 80;
  width: 3rem;
  height: 3rem;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transition: transform 0.2s;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
}
.whatsapp-btn svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* ── Header compacto ao rolar ── */
.header--compact {
  padding: 0.6rem 1.5rem;
}
