﻿/*
Theme Name: Almeida & Gomes FINAL Fotos Novas
Theme URI: https://almeidaegomes.com.br
Author: Almeida & Gomes Advogados
Description: Tema institucional estático com CSS e imagens embutidos para máxima compatibilidade com WordPress/GoDaddy.
Version: 1.0.8
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: almeida-gomes-final
*/
:root {
  --ink: #090807;
  --muted: #69625a;
  --paper: #f3f0ea;
  --warm: #e9e3d8;
  --panel: #f8f5ee;
  --line: #cdc4b5;
  --gold: #a3834b;
  --dark: #281d14;
  --dark-soft: #3a2b1f;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.65;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 234, 0.94);
  backdrop-filter: blur(12px);
}

.nav {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 84px;
  padding: 0 max(32px, calc((100% - 1260px) / 2));
}

.brand {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  background: var(--panel);
  text-decoration: none;
}

.brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 44px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #29231e;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.nav-links a,
.outline-link {
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
}

.outline-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid #b8ad9d;
  padding: 10px 24px;
  color: #17110d;
  font-size: 0.76rem;
  text-align: center;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--warm);
}

.hero::before {
  content: "AG";
  position: absolute;
  right: 3vw;
  bottom: -6rem;
  color: rgba(40, 29, 20, 0.07);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24rem;
  line-height: 1;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(650px, calc(100% - 64px));
  padding: 100px 0 72px;
  margin-left: max(32px, calc((100% - 1260px) / 2));
}

.hero-photos {
  position: absolute;
  inset: 0 0 0 47%;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  overflow: hidden;
}

.hero-photos::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(233, 227, 216, 0.94) 0%, rgba(233, 227, 216, 0.46) 33%, rgba(233, 227, 216, 0.22) 100%),
    linear-gradient(180deg, rgba(233, 227, 216, 0.08), rgba(233, 227, 216, 0.58));
  pointer-events: none;
}

.partner-photo {
  position: relative;
  min-width: 0;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.partner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-photo-front {
  align-self: end;
  height: 88%;
  border-left: 1px solid rgba(205, 196, 181, 0.55);
}

.partner-photo-front img {
  object-position: center top;
  opacity: 0.84;
  filter: saturate(0.82) contrast(0.94);
}

.partner-photo-back img {
  object-position: center top;
  opacity: 0.7;
  filter: saturate(0.68) contrast(0.9);
}

.eyebrow {
  margin: 0 0 18px;
  color: #51493f;
  font-size: 0.76rem;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.96;
}

.hero h1 {
  max-width: 640px;
  font-size: 5rem;
}

.hero h1 em {
  display: block;
  color: #665f57;
  font-style: italic;
  font-weight: 400;
}

.rule {
  display: block;
  width: 42px;
  height: 1px;
  margin: 28px 0;
  background: var(--gold);
}

.hero p:not(.eyebrow) {
  max-width: 520px;
  margin: 0;
  color: #4d4843;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 28px;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: normal;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.dark {
  background: #050505;
  color: var(--white);
}

.button.light {
  border-color: #a99f91;
  background: rgba(248, 245, 238, 0.34);
  color: #17110d;
}

.button.white {
  width: 100%;
  background: var(--white);
  color: #17110d;
}

.button.ghost {
  width: 100%;
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.84);
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin: 60px 0 0;
  padding: 0;
}

.stats div {
  min-width: 100px;
}

.stats dt {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.stats dd {
  margin: 0;
  color: #7a7268;
  font-size: 0.78rem;
}

.section {
  padding: 98px max(32px, calc((100% - 1260px) / 2));
}

.section-warm {
  background: var(--warm);
}

.centered {
  width: min(660px, 100%);
  margin: 0 auto;
  text-align: center;
}

.centered .rule {
  margin-right: auto;
  margin-left: auto;
}

.section-title h2,
.contact-band h2 {
  font-size: 4.2rem;
  text-transform: uppercase;
}

.section-title p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 58px;
}

.practice-item {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 88px;
  border: 1px solid var(--line);
  padding: 22px 28px;
  background: rgba(248, 245, 238, 0.58);
  color: #2d2925;
  text-decoration: none;
}

.practice-item:hover,
.practice-item:focus-visible {
  border-color: var(--gold);
}

.line-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}

.line-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #756d63;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.arrow {
  color: #9c9388;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 62px;
}

.method-grid article {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.method-grid h3 {
  margin: 0 0 22px;
  color: #5d554b;
  font-size: 0.78rem;
  font-weight: 400;
  text-transform: uppercase;
}

.method-grid ul,
.benefits,
.contact-list,
.contact-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-grid li {
  position: relative;
  display: grid;
  gap: 4px;
  margin-bottom: 20px;
  padding-left: 34px;
}

.method-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  background: radial-gradient(circle, var(--gold) 0 2px, transparent 3px);
}

.method-grid strong,
.benefits h3 {
  font-size: 0.86rem;
  text-transform: uppercase;
}

.method-grid span,
.benefits p {
  color: var(--muted);
}

.specialists {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.specialists-copy h2 {
  max-width: 560px;
  font-size: 3.4rem;
}

.specialists-copy p:not(.eyebrow) {
  max-width: 620px;
  color: #4f4942;
  font-size: 1.05rem;
}

.specialists-copy .button {
  margin-top: 28px;
}

.benefits {
  display: grid;
  gap: 18px;
}

.benefits article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  border: 1px solid var(--line);
  padding: 24px;
  background: rgba(248, 245, 238, 0.44);
}

.benefits h3,
.benefits p {
  margin: 0;
}

.benefits p {
  margin-top: 6px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 58px;
}

.testimonial {
  min-height: 260px;
  border: 1px solid var(--line);
  padding: 28px;
  background: rgba(248, 245, 238, 0.54);
}

.stars {
  margin: 0 0 18px;
  color: var(--gold);
}

blockquote {
  margin: 0;
  color: #4d4640;
  font-style: italic;
}

.person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.person span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
}

.person p {
  margin: 0;
  color: #827a70;
  font-size: 0.86rem;
  line-height: 1.3;
}

.person strong {
  display: block;
  color: #4d4640;
  text-transform: uppercase;
}

.contact-band {
  position: relative;
  overflow: hidden;
  padding: 96px max(32px, calc((100% - 1260px) / 2));
  color: rgba(255, 255, 255, 0.82);
  background: var(--dark);
}

.contact-band::before {
  content: "AG";
  position: absolute;
  right: 5vw;
  top: 30px;
  color: rgba(255, 255, 255, 0.05);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20rem;
  line-height: 1;
  pointer-events: none;
}

.contact-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 80px;
  align-items: start;
}

.contact-band .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.contact-band h2 {
  color: var(--white);
}

.contact-band p {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list a {
  color: rgba(255, 255, 255, 0.86);
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.instagram-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--gold);
}

.instagram-link span {
  line-height: 1;
}

.instagram-link:hover span,
.instagram-link:focus-visible span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.instagram-link:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.contact-list .instagram-link {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer .instagram-link {
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 36px;
  background: rgba(255, 255, 255, 0.02);
}

.contact-panel ul {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
}

.contact-panel li {
  position: relative;
  padding-left: 28px;
}

.contact-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.contact-panel .button + .button {
  margin-top: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 56px;
  padding: 72px max(32px, calc((100% - 1260px) / 2)) 0;
  color: rgba(255, 255, 255, 0.7);
  background: var(--dark);
}

.site-footer img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 22px;
}

.site-footer h2 {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0 0 10px;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 48px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.82rem;
}

@media (max-width: 1040px) {
  .nav {
    grid-template-columns: auto 1fr;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .outline-link {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .nav-links {
    justify-content: flex-end;
    gap: 22px;
  }

  .hero h1 {
    font-size: 3.9rem;
  }

  .section-title h2,
  .contact-band h2 {
    font-size: 3.2rem;
  }

  .practice-grid,
  .method-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .specialists,
  .contact-content,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
  }

  .brand {
    align-self: center;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 22px;
  }

  .hero {
    min-height: 0;
  }

  .hero-photos {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    height: 410px;
    padding: 0 24px 40px;
  }

  .hero-photos::before {
    background: linear-gradient(180deg, rgba(233, 227, 216, 0), rgba(233, 227, 216, 0.44));
  }

  .partner-photo {
    border: 1px solid rgba(205, 196, 181, 0.75);
  }

  .partner-photo-front {
    height: 100%;
    transform: translateY(18px);
  }

  .hero-copy {
    width: auto;
    padding: 58px 24px 42px;
    margin: 0;
  }

  .hero h1,
  .specialists-copy h2 {
    font-size: 2.65rem;
  }

  .section,
  .contact-band {
    padding: 70px 24px;
  }

  .section-title h2,
  .contact-band h2 {
    font-size: 2.45rem;
  }

  .practice-grid,
  .method-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .practice-item {
    padding: 18px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .stats {
    gap: 24px;
  }

  .contact-panel {
    padding: 24px;
  }
}

