/* ============================================================
   Guilherme Palmyro Advogado — folha de estilos
   Paleta: azul-marinho (base) / branco, cinza-claro, azul-claro
   (texto) / terracota (destaque)
   ============================================================ */

:root {
  --navy-900: #081527;
  --navy-800: #0a1f3d;
  --navy-700: #12305a;
  --navy-600: #1c4276;

  --white: #ffffff;
  --gray-light: #e8eaed;
  --blue-light: #a9c6e8;

  --terracotta: #c1662f;
  --terracotta-dark: #a8551f;
  --terracotta-light: #e7b291;

  --ink: #1c1f24;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(8, 21, 39, 0.12);
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--navy-900);
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: #f5f7fa;
}

.section-navy {
  background: var(--navy-800);
  color: var(--gray-light);
}
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.section-head p {
  color: #4a5568;
}

.section-navy .section-head p {
  color: var(--blue-light);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(193, 102, 47, 0.35);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--gray-light);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--white);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.icon-wa {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy-800);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(8, 21, 39, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 58px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  color: var(--gray-light);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  display: block;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(193, 102, 47, 0.18), transparent 45%),
    linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 100px 0 90px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.hero p.lead {
  color: var(--blue-light);
  font-size: 1.1rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(169, 198, 232, 0.25);
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-light);
}

.hero-badge svg {
  width: 20px;
  height: 20px;
  color: var(--terracotta-light);
  flex-shrink: 0;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(169, 198, 232, 0.25);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}

.hero-panel h3 {
  color: var(--white);
  font-size: 1.15rem;
}

.hero-panel ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.hero-panel li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray-light);
  font-size: 0.95rem;
}

.hero-panel li svg {
  width: 18px;
  height: 18px;
  color: var(--terracotta-light);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ---------- Áreas de atuação ---------- */

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.area-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.area-card:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta-light);
}

.area-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(193, 102, 47, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.area-icon svg {
  width: 24px;
  height: 24px;
  color: var(--terracotta);
}

.area-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.area-card p {
  font-size: 0.92rem;
  color: #4a5568;
  margin-bottom: 0;
}

.area-card.is-secondary {
  background: #f5f7fa;
}

.areas-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: #4a5568;
}

/* ---------- Sobre ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  padding-bottom: 32px;
}

.about-photo-stack {
  position: relative;
}

.about-photo-primary {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 10%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--navy-700);
}

.about-photo-secondary {
  position: absolute;
  right: -20px;
  bottom: -32px;
  width: 44%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  border-radius: var(--radius);
  border: 5px solid var(--white);
  box-shadow: var(--shadow);
  background: var(--navy-700);
}

.about-identity {
  margin-top: 40px;
  background: var(--navy-800);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.about-identity .brand-mark {
  width: 110px;
  margin-bottom: 12px;
}

.about-identity .identity-name {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

.about-identity .identity-role {
  color: var(--gray-light);
}

.about-identity .oab-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(169, 198, 232, 0.15);
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 600;
}

.about-text h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
}

.about-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #33404f;
}

.about-list svg {
  width: 20px;
  height: 20px;
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Como funciona ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: 28px 22px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--terracotta);
  opacity: 0.85;
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 1.02rem;
}

.step-card p {
  font-size: 0.92rem;
  color: var(--blue-light);
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navy-900);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--terracotta);
  margin-left: 16px;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  padding: 0 24px 20px;
  color: #4a5568;
  margin: 0;
}

/* ---------- Contato ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-list {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info-item svg {
  width: 22px;
  height: 22px;
  color: var(--terracotta-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-info-item strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

.contact-info-item span {
  color: var(--blue-light);
  font-size: 0.92rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-900);
}

.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid var(--gray-light);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  background: #fafbfc;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  background: var(--white);
}

.form-note {
  font-size: 0.8rem;
  color: #718096;
  margin-top: 14px;
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: var(--gray-light);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(169, 198, 232, 0.15);
}

.footer-brand img {
  height: 50px;
  margin-bottom: 14px;
}

.footer-brand p {
  color: var(--blue-light);
  font-size: 0.9rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: var(--blue-light);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #7c8ba0;
}

.footer-ethics {
  max-width: 720px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 0.8rem;
  color: #7c8ba0;
  padding-top: 24px;
}

/* ---------- Floating WhatsApp button ---------- */

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease;
}

.wa-float:hover {
  transform: scale(1.06);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

/* ---------- Reveal animation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-800);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    gap: 18px;
    display: none;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-cta {
    margin-left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 64px 0;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
