/*
Theme Name: Solute Consultoria
Theme URI: https://solute.local/
Author: Solute
Description: Tema institucional de uma página para a Solute — Contabilidade e Assessoria Jurídica.
Version: 1.3.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: solute
*/

:root {
  --cream: #f2e9de;
  --cream-soft: #faf6f0;
  --paper: #fffdf9;
  --wine: #67232c;
  --wine-dark: #42171d;
  --wine-soft: #8d5960;
  --ink: #29211e;
  --muted: #71655e;
  --gold: #cba66f;
  --line: rgba(74, 49, 43, 0.14);
  --shadow: 0 24px 70px rgba(61, 38, 31, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --container: min(1180px, calc(100% - 48px));
}

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

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

body {
  margin: 0;
  background: var(--cream-soft);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 10000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--paper);
  color: var(--wine);
  border-radius: 4px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--wine);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.section-heading {
  max-width: 720px;
  margin: 0 0 54px;
}

.section-heading h2,
.about__copy h2,
.contact-card h2,
.commitment__quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.section-heading p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--wine);
  color: #fffaf4;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--wine-dark);
  transform: translateY(-2px);
}

.button:focus-visible,
.menu-toggle:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid rgba(203, 166, 111, 0.55);
  outline-offset: 4px;
}

.button__icon {
  display: inline-grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.85rem;
}

/* Cabeçalho */
.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 112px;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  position: fixed;
  height: 86px;
  background: rgba(250, 246, 240, 0.94);
  box-shadow: 0 8px 28px rgba(52, 31, 27, 0.08);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  display: grid;
  height: 100%;
  align-items: center;
  grid-template-columns: 240px 1fr auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  width: 226px;
  height: 82px;
  align-items: center;
  overflow: hidden;
}

.brand--fallback img {
  width: 226px;
  max-width: none;
  transform: translateY(-28px);
}

.brand--custom img {
  width: auto;
  max-width: 226px;
  max-height: 76px;
  object-fit: contain;
}

.site-nav {
  justify-self: end;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 32px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 12px 0;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--wine);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  min-height: 50px;
  padding-inline: 19px;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px auto;
  background: var(--wine-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  background: var(--cream);
  isolation: isolate;
}

.hero__photo {
  position: absolute;
  z-index: -2;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #f3eadf 0%, #f3eadf 41%, rgba(243, 234, 223, 0.93) 48%, rgba(243, 234, 223, 0.2) 64%, rgba(243, 234, 223, 0) 74%);
  content: "";
}

.hero::after {
  position: absolute;
  z-index: -1;
  bottom: -220px;
  left: -160px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(103, 35, 44, 0.09);
  border-radius: 50%;
  content: "";
}

.hero__inner {
  display: flex;
  min-height: 780px;
  align-items: center;
  padding-top: 118px;
  padding-bottom: 38px;
}

.hero__content {
  width: min(560px, 50%);
}

.hero__content h1 {
  max-width: 570px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 5.35vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.91;
}

.hero__content h1 em {
  color: var(--wine);
  font-weight: 400;
}

.hero__lead {
  max-width: 480px;
  margin: 28px 0 34px;
  color: #4e4540;
  font-size: 0.99rem;
  line-height: 1.75;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  color: #675c56;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

.shield {
  position: relative;
  display: inline-grid;
  width: 28px;
  height: 32px;
  place-items: center;
  border: 1px solid #9b8f85;
  border-radius: 45% 45% 55% 55%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 600;
}

/* Sobre */
.about {
  position: relative;
  padding: 132px 0;
  overflow: hidden;
  background: var(--paper);
}

.about__grid {
  display: grid;
  align-items: center;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(64px, 9vw, 128px);
}

.about__visual {
  position: relative;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about__visual img {
  width: 100%;
  min-height: 510px;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.about__monogram {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #eadacd, #d7c1b1);
}

.about__monogram::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  content: "";
}

.about__monogram span {
  color: rgba(103, 35, 44, 0.84);
  font-family: var(--serif);
  font-size: 13rem;
  font-weight: 300;
  line-height: 1;
}

.about__copy h2 {
  max-width: 680px;
}

.about__copy > p:not(.eyebrow) {
  max-width: 660px;
  margin: 26px 0 0;
  color: var(--muted);
}

.about__points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.about__points li {
  position: relative;
  padding-left: 22px;
  font-size: 0.82rem;
  font-weight: 600;
}

.about__points li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

/* Serviços */
.services {
  padding: 130px 0;
  background: var(--cream-soft);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.72);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card__media {
  height: 220px;
  margin: 0;
  overflow: hidden;
}

.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.service-card:hover .service-card__media img {
  transform: scale(1.035);
}

.service-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  padding: 36px 34px 40px;
  flex: 1;
  flex-direction: column;
}

.service-card:hover {
  background: var(--paper);
  box-shadow: 0 22px 60px rgba(61, 38, 31, 0.09);
  transform: translateY(-6px);
}

.service-card__number {
  display: block;
  margin-bottom: 50px;
  color: var(--wine-soft);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
}

.service-card h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.service-card__quote {
  padding: 16px 0 0 18px;
  margin: 24px 0 0;
  border-left: 2px solid var(--gold);
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.35;
}

.services__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.service-card::after {
  position: absolute;
  right: -65px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(103, 35, 44, 0.11);
  border-radius: 50%;
  content: "";
}

/* Processo */
.process {
  padding: 130px 0;
  background: var(--paper);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.process-step {
  position: relative;
  padding: 0 42px;
  border-left: 1px solid var(--line);
}

.process-step:first-child {
  padding-left: 0;
  border-left: 0;
}

.process-step:last-child {
  padding-right: 0;
}

.process-step__number {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-style: italic;
}

.process-step h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.1;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Resultados */
.results {
  padding: 130px 0;
  background: var(--wine-dark);
  color: #fffaf4;
}

.results .eyebrow {
  color: #e5c99e;
}

.results .section-heading p {
  color: rgba(255, 250, 244, 0.68);
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.result-item {
  padding: 34px 30px;
  border: 1px solid rgba(255, 250, 244, 0.16);
}

.result-item h3 {
  margin: 0 0 14px;
  color: #f4dfbf;
  font-family: var(--serif);
  font-size: 1.95rem;
  font-weight: 500;
  line-height: 1.08;
}

.result-item p {
  margin: 0;
  color: rgba(255, 250, 244, 0.66);
  font-size: 0.88rem;
}

/* Depoimentos */
.testimonials {
  padding: 132px 0;
  background: var(--cream);
}

.testimonials .section-heading {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.testimonials .eyebrow::before {
  display: none;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 38px 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.78);
  flex-direction: column;
}

.testimonial-card::after {
  position: absolute;
  right: 24px;
  bottom: -36px;
  color: rgba(103, 35, 44, 0.07);
  content: "“";
  font-family: var(--serif);
  font-size: 12rem;
  line-height: 1;
}

.testimonial-card__logo {
  display: flex;
  height: 74px;
  align-items: center;
  margin: 0 0 34px;
}

.testimonial-card__logo img {
  width: auto;
  max-width: 180px;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}

.testimonial-card blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-style: italic;
  line-height: 1.35;
}

.testimonial-card__client {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  padding-top: 30px;
  color: var(--wine);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.testimonials__fallback {
  text-align: center;
}

.commitment__quote {
  max-width: 920px;
  margin: 0 auto;
  color: var(--ink);
}

.commitment__quote em {
  color: var(--wine);
  font-weight: 400;
}

.commitment__signature {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

/* Contato */
.contact {
  padding: 120px 0;
  background: var(--paper);
}

.contact-card {
  position: relative;
  display: grid;
  align-items: center;
  padding: clamp(48px, 7vw, 88px);
  overflow: hidden;
  background: #e5d4c5;
  grid-template-columns: 1fr auto;
  gap: 60px;
}

.contact-card::after {
  position: absolute;
  top: -240px;
  right: -170px;
  width: 530px;
  height: 530px;
  border: 1px solid rgba(103, 35, 44, 0.13);
  border-radius: 50%;
  content: "";
}

.contact-card h2 {
  max-width: 720px;
}

.contact-card p {
  max-width: 590px;
  margin: 22px 0 0;
  color: var(--muted);
}

.contact-card .button {
  position: relative;
  z-index: 1;
}

/* Rodapé */
.site-footer {
  padding: 72px 0 28px;
  background: #261a1b;
  color: rgba(255, 250, 244, 0.72);
}

.footer__main {
  display: grid;
  align-items: start;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
}

.footer__brand {
  max-width: 420px;
}

.footer__brand-name {
  color: #f7e7d2;
  font-family: var(--serif);
  font-size: 3.3rem;
  line-height: 1;
}

.footer__brand p {
  margin: 16px 0 0;
  font-size: 0.88rem;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 34px;
}

.footer__nav a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.footer__nav a:hover {
  color: #f4d9b2;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  margin-top: 58px;
  border-top: 1px solid rgba(255, 250, 244, 0.11);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

@media (max-width: 1100px) {
  .site-header__inner {
    grid-template-columns: 210px 1fr auto;
  }

  .brand,
  .brand--fallback img {
    width: 205px;
  }

  .site-nav ul {
    gap: 18px;
  }

  .site-nav a {
    font-size: 0.63rem;
  }

  .header-cta {
    width: 50px;
    padding: 0;
    font-size: 0;
  }

  .header-cta .button__icon {
    margin: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 40px, 760px);
  }

  .site-header,
  .site-header.is-scrolled {
    height: 84px;
  }

  .site-header__inner {
    display: flex;
    justify-content: space-between;
  }

  .brand,
  .brand--fallback img {
    width: 190px;
  }

  .brand {
    height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 84px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    place-items: center;
    background: rgba(250, 246, 240, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .site-nav a {
    padding: 10px;
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }

  .header-cta {
    display: none;
  }

  .hero,
  .hero__inner {
    min-height: 900px;
  }

  .hero__inner {
    align-items: flex-start;
    padding-top: 150px;
  }

  .hero__content {
    width: 65%;
  }

  .hero__content h1 {
    font-size: clamp(3.6rem, 8.8vw, 5rem);
  }

  .hero__photo {
    width: 58%;
  }

  .hero::before {
    background: linear-gradient(90deg, #f3eadf 0%, #f3eadf 37%, rgba(243, 234, 223, 0.9) 51%, rgba(243, 234, 223, 0.05) 74%);
  }

  .about,
  .services,
  .process,
  .results,
  .testimonials,
  .contact {
    padding-block: 92px;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about__visual,
  .about__visual img {
    min-height: 350px;
  }

  .services__grid,
  .results__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-card__number {
    margin-bottom: 34px;
  }

  .process__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .process-step,
  .process-step:first-child,
  .process-step:last-child {
    padding: 0 0 38px 84px;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .process-step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .process-step__number {
    position: absolute;
    top: 0;
    left: 0;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 620px) {
  :root {
    --container: calc(100% - 40px);
  }

  html {
    scroll-padding-top: 82px;
  }

  .hero {
    min-height: 940px;
    padding-bottom: 0;
  }

  .hero__inner {
    min-height: 940px;
    align-items: flex-start;
    padding-top: 125px;
  }

  .hero__content {
    width: 100%;
  }

  .hero__content h1 {
    max-width: 470px;
    font-size: clamp(3.35rem, 16vw, 4.35rem);
  }

  .hero__lead {
    max-width: 94%;
    font-size: 0.92rem;
  }

  .hero__photo {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 47%;
  }

  .hero__photo img {
    object-position: center 38%;
  }

  .hero::before {
    background: linear-gradient(180deg, #f3eadf 0%, #f3eadf 49%, rgba(243, 234, 223, 0.92) 57%, rgba(243, 234, 223, 0.12) 77%, rgba(243, 234, 223, 0) 100%);
  }

  .hero__trust {
    max-width: 310px;
    font-size: 0.58rem;
  }

  .button {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .about__copy h2,
  .contact-card h2,
  .commitment__quote {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .about__visual,
  .about__visual img {
    min-height: 290px;
  }

  .about__monogram span {
    font-size: 9rem;
  }

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

  .service-card__body {
    padding: 32px 28px 36px;
  }

  .process-step,
  .process-step:first-child,
  .process-step:last-child {
    padding-left: 72px;
  }

  .contact-card {
    padding: 42px 28px;
  }

  .footer__main {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
