/*
Theme Name:  PPL Law
Theme URI:
Author:      PPL Law
Description: Tema institucional one-page — v5
Version:     5.0
Text Domain: ppllaw
*/

/* ── Custom properties ───────────────────────────────── */
:root {
  --green:         #164c2e;
  --green-light:   rgba(22, 76, 46, 0.08);
  --green-overlay: rgba(22, 76, 46, 0.72);
  --white:         #ffffff;
  --ivory:         #f9f9e6;
  --jet-black:     #232323;
  --text-muted:    rgba(35,35,35,0.6);
  --border:        rgba(22,76,46,0.14);
  --border-white:  rgba(255,255,255,0.15);
  --duration-fast: 0.3s;
  --duration-mid:  0.55s;
  --ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
}

:root {
  --font-display: 'Vogun', Georgia, serif;
  /* v3 test — Redaction; para reverter: comente a linha abaixo e descomente outra */
  --font-body:    "redaction", sans-serif;
  /* --font-body: "futura-pt", sans-serif; */
  /* --font-body: "proxima-nova", sans-serif; */
  /* --font-body: 'Cormorant Garamond', Georgia, serif; */
}

@font-face {
  font-family: 'Vogun';
  src: url('fonts/Vogun-Medium.woff2') format('woff2'),
       url('fonts/Vogun-Medium.woff')  format('woff');
  font-weight: normal;
  font-style:  normal;
  font-display: swap;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--ivory);
  color: var(--jet-black);
  overflow-x: hidden;
}

button { font-family: inherit; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

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

/* ── Container ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 35px;
}

/* ══ STICKY HEADER ═══════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  background: transparent;
  transition: background 0.45s ease, padding 0.4s ease;
  padding: 1.6rem 0;
}

.site-header.is-sticky {
  background: var(--green);
  padding: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  padding: 0 clamp(35px, 8vw, 120px);
  height: auto;
}

.site-header.is-sticky .site-header__inner {
  height: 64px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.site-header__logo img { height: 40px; width: auto; }
.site-header__logo-text {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  display: none; /* mostra se logo falhar */
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.site-header__nav a {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s ease;
}
.site-header__nav a:hover { color: var(--white); }

.site-header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.site-header__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ══ HERO ════════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  overflow: hidden;
  padding-top: 5.5rem; /* compensa header transparente mais alto */
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/ny2.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--green-overlay);
  z-index: 1;
}

/* Coluna esquerda — conteúdo textual */
.hero__left {
  position: relative;
  z-index: 2;
  padding: 0 3rem 0 clamp(35px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero__eyebrow-line {
  display: block;
  width: 36px; height: 1px;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.85vw, 3.85rem);
  font-weight: normal;
  line-height: 1.0;
  color: var(--white);
  letter-spacing: 0.01em;
}
.hero__title em {
  font-family: "redaction", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1em;
  color: var(--ivory);
}

.hero__body {
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  line-height: 1.7;
  color: var(--white);
  max-width: 440px;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero__cta-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.8rem;
  border: 1px solid rgba(255,255,255,0.45);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
}
.hero__cta-primary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
.hero__cta-secondary {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.48);
  transition: color var(--duration-fast) ease;
}
.hero__cta-secondary:hover { color: var(--white); }

/* Coluna direita — cubo */
.hero__right {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* cubo alinhado à esquerda da coluna, mais perto do centro da tela */
}

.hero__cube {
  width: clamp(260px, 38vw, 520px);
  height: clamp(260px, 38vw, 520px);
  position: relative;
  overflow: hidden;
}


/* ── Cubo label ──────────────────────────────────────── */
.cubo-label {
  position: fixed;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
  z-index: 600;
  opacity: 0;
  transform: translateY(-50%);
}
.cubo-label__line {
  display: block;
  width: 36px; height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  flex-shrink: 0;
}
.cubo-label__text {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  min-width: 10ch;
}


/* ── Sidebar ─────────────────────────────────────────── */
.sidebar {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(300px, 88vw);
  background: var(--green);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem;
  transform: translateX(100%);
  will-change: transform;
}
.sidebar__list { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; }
.sidebar__link {
  display: block;
  color: var(--white);
  font-size: clamp(1rem, 3vw, 1.25rem);
  letter-spacing: 0.04em;
  padding: 0.7rem 0;
  opacity: 0.75;
  transition: opacity var(--duration-fast) ease,
              letter-spacing var(--duration-fast) ease;
  position: relative;
}
.sidebar__link::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0;
  height: 1px; width: 0;
  background: rgba(255,255,255,0.4);
  transition: width var(--duration-mid) var(--ease-out);
}
.sidebar__link:hover { opacity: 1; letter-spacing: 0.08em; }
.sidebar__link:hover::after { width: 100%; }

.sidebar-backdrop {
  position: fixed; inset: 0;
  background: rgba(35,35,35,0.45);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(2px);
}

/* ══ SECTIONS BASE ═══════════════════════════════════════ */
.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  scroll-margin-top: 64px;
}
.section > .container { width: 100%; }

.section--dark {
  background: var(--green);
  color: var(--white);
}

.section__label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.5;
  margin-bottom: 2rem;
}
.section--dark .section__label { color: var(--white); }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  font-weight: normal;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: var(--green);
  margin-bottom: 4rem;
}
.section--dark .section__title { color: var(--white); }

.section__title em {
  font-family: "redaction", sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1em;
}

.section__title .char {
  display: inline-block;
  will-change: transform, opacity;
}

/* ══ O ESCRITÓRIO ════════════════════════════════════════ */
#escritorio {
  position: relative;
  min-height: 0;
  padding-top: 100px;
  padding-bottom: 100px;
}

#escritorio .container {
  position: relative;
  z-index: 1;
}

/* Cubos decorativos estáticos — clones do cubo do hero, verde, parcialmente fora dos limites */
.escritorio-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.escritorio-deco__cube {
  position: absolute;
  width: clamp(260px, 38vw, 520px);
  height: clamp(260px, 38vw, 520px);
  opacity: 0.075;
}

.escritorio-deco__cube--1 {
  left: 10%;
  top: 0;
  transform: translateY(-72%); /* ponta inferior + um pouco mais visível */
}

.escritorio-deco__cube--2 {
  right: 10%;
  bottom: 0;
  transform: translateY(55%);
}

.escritorio-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 6rem;
  align-items: center;
}
.escritorio-intro .section__title { margin-bottom: 0; }
.escritorio-body p {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.75;
  color: var(--jet-black);
  margin-bottom: 1.4rem;
  opacity: 0.85;
}
.btn-link {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 2px;
  transition: opacity 0.25s;
}
.btn-link:hover { opacity: 0.6; }

/* ══ ÁREAS DE ATUAÇÃO — slider ══════════════════════════ */
#areas > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.areas-swiper { width: 100%; }

.area-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem 4.5rem;
  gap: 1.8rem;
}

.area-card__icon {
  width: 5rem;
  height: 5rem;
  color: rgba(255,255,255,0.5);
}
.area-card__icon svg { width: 100%; height: 100%; display: block; }

.area-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.2;
}

.area-card__text {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
}

/* Mini-cubos como bullets de navegação */
.areas-pagination {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  margin-top: 0.5rem;
  position: static !important;
}

.areas-pagination .swiper-pagination-bullet {
  width: 30px !important;
  height: 30px !important;
  border-radius: 0 !important;
  background: transparent !important;
  opacity: 0.35;
  margin: 0 !important;
  padding: 0;
  border: none;
  cursor: pointer;
  color: var(--white);
  transition: opacity 0.25s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.areas-pagination .swiper-pagination-bullet:hover,
.areas-pagination .swiper-pagination-bullet-active { opacity: 1; }

.areas-pagination .swiper-pagination-bullet svg { width: 100%; height: 100%; display: block; }

/* ══ EQUIPE ══════════════════════════════════════════════ */
.profile-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 5rem;
  align-items: start;
}

/* Left col */
.profile-left { display: flex; flex-direction: column; gap: 2rem; }

.profile-photo {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 2px;
}
.profile-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}

.profile-role {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.55;
}

.profile-stats {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat__num {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: -0.02em;
  color: var(--green);
  line-height: 1;
}
.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.5;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--green);
  border: 1px solid var(--border);
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  opacity: 0.75;
}

/* Right col */
.profile-right { display: flex; flex-direction: column; gap: 3rem; }

.profile-bio {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.75;
  color: var(--jet-black);
  opacity: 0.82;
}

.profile-section { display: flex; flex-direction: column; gap: 1.2rem; }

.profile-section__label {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0.45;
}

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline__item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
}
.timeline__item:last-child { border-bottom: 1px solid var(--border); }
.timeline__period {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.timeline__content {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.timeline__content strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--jet-black);
  font-weight: normal;
  letter-spacing: 0.02em;
}
.timeline__content span {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Recognitions */
.recognitions { display: flex; flex-direction: column; }
.recognition-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--border);
}
.recognition-item:last-child { border-bottom: 1px solid var(--border); }
.recognition-item strong {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--jet-black);
  font-weight: normal;
  letter-spacing: 0.02em;
}
.recognition-item span {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Formation */
.formation {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.formation p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--jet-black);
  opacity: 0.8;
}
.formation strong {
  font-family: var(--font-display);
  font-weight: normal;
  font-size: 0.9rem;
  color: var(--jet-black);
  letter-spacing: 0.02em;
  display: block;
  margin-bottom: 0.15rem;
}

/* ══ CLIENTES + DEPOIMENTOS (seção unificada) ════════════ */
#clientes {
  position: relative;
}
#clientes > .container {
  position: relative;
  z-index: 1;
}


.clientes-swiper {
  margin-top: 3rem;
  padding: 0 3rem;
}

.cliente-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.15);
  transition: border-color var(--duration-fast) ease,
              opacity var(--duration-fast) ease;
  opacity: 0.7;
}
.cliente-logo-card:hover {
  border-color: rgba(255,255,255,0.35);
  opacity: 1;
}
.cliente-logo-card img {
  width: 55%;
  height: auto;
  display: block;
}

/* Sobrescreve cores das setas do Swiper */
.clientes-swiper .swiper-button-prev,
.clientes-swiper .swiper-button-next {
  color: rgba(255,255,255,0.5);
  --swiper-navigation-size: 1.4rem;
  transition: color var(--duration-fast) ease;
}
.clientes-swiper .swiper-button-prev:hover,
.clientes-swiper .swiper-button-next:hover { color: var(--white); }

/* Depoimentos fundidos na mesma seção */
.testimonials-area {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonials-slider {
  position: relative;
  margin-bottom: 3rem;
  /* altura definida por JS ao medir o slide mais alto */
}

.testimonial {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  max-width: 800px;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  pointer-events: none;
}
.testimonial.active {
  opacity: 1;
  pointer-events: auto;
}

.testimonial__quote {
  font-family: var(--font-body);
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--white);
  opacity: 0.9;
  font-weight: 300;
}
.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-style: normal;
}
.testimonial__name {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.testimonial__role {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.testimonials-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.testimonials-prev,
.testimonials-next {
  background: none;
  border: 1px solid var(--border-white);
  color: var(--white);
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
}
.testimonials-prev:hover,
.testimonials-next:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.testimonials-dots { display: flex; gap: 0.5rem; }
.dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s;
}
.dot.active { background: var(--white); }

/* ══ FILANTROPIA ════════════════════════════════════════ */
#filantropia {
  position: relative;
  overflow: hidden;
}

#filantropia::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%; /* cobre os 40% da imagem + faixa de degrade à esquerda */
  background:
    linear-gradient(to right, var(--ivory) 0%, transparent 45%),
    url('img/esporte.jpg') center / cover no-repeat;
  opacity: 0.27;
  z-index: 0;
  pointer-events: none;
}

#filantropia > .container {
  position: relative;
  z-index: 1;
}

/* ══ CONTATO ═════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-left { display: flex; flex-direction: column; gap: 2.5rem; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.contact-item a,
.contact-item address {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  transition: opacity 0.2s;
}
.contact-item a:hover { opacity: 0.65; }

.contact-map iframe {
  border-radius: 2px;
  filter: grayscale(20%);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 2rem; }

.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: opacity 0.2s;
}
.form-group:focus-within label { color: rgba(255,255,255,0.75); }
.optional { opacity: 0.5; font-size: 0.9em; }

.form-group input,
.form-group textarea {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  padding: 0.6rem 0;
  outline: none;
  width: 100%;
  resize: none;
  transition: border-color var(--duration-fast) ease;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.25); font-size: 0.9rem; }
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(255,255,255,0.6); }
.form-group textarea { min-height: 100px; line-height: 1.6; }

.btn-submit {
  background: var(--white);
  color: var(--green);
  border: none;
  padding: 0.95rem 2.8rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity var(--duration-fast) ease,
              transform  var(--duration-fast) ease;
  align-self: flex-start;
}
.btn-submit:hover { opacity: 0.85; transform: translateY(-2px); }

/* ══ SITE FOOTER ══════════════════════════════════════════ */
.site-footer {
  background: var(--green);
  border-top: 1px solid var(--border-white);
  padding: 2.5rem 0;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-logo { height: 36px; width: auto; opacity: 0.7; }
.footer-copy {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
}

/* ══ MOBILE ══════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Header mobile */
  .site-header { padding: 1rem 0; }
  .site-header.is-sticky { padding: 0; }
  .site-header__inner { padding: 0 1.5rem; }
  .site-header__logo img { height: 34px; }
  .site-header__nav { display: none; }
  .site-header__burger { display: flex; }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    height: auto;
    min-height: 100svh;
    padding-top: 4.5rem;
  }
  .hero__left {
    padding: 3rem 1.5rem 1.5rem;
    gap: 1.5rem;
  }
  .hero__title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero__right {
    height: min(72vw, 320px);
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2rem;
  }
  .hero__cube {
    width: min(72vw, 300px);
    height: min(72vw, 300px);
  }

  /* Sections — padding e espaçamentos gerais */
  .section                    { padding: 60px 0; }
  .section__label { margin-bottom: 1rem; }
  .section__title { font-size: 1.6rem; margin-bottom: 2rem; }
  .section__intro { margin-bottom: 2rem; }

  /* Escritório */
  .escritorio-layout  { grid-template-columns: 1fr; gap: 2rem; }
  .escritorio-body p  { margin-bottom: 1rem; }
  .section__title br  { display: none; }

  /* Áreas */
  .area-slide { padding: 2rem 1rem 3.5rem; gap: 1.5rem; }
  .area-card__title { font-size: 1.5rem; }

  /* Clientes */
  .escritorio-deco { display: none; }
  .testimonials-cube { display: none; }
  .clientes-swiper { padding: 0 2rem; }

  /* Equipe */
  .profile-layout  { grid-template-columns: 1fr; gap: 2rem; }
  .profile-photo   { max-width: 220px; aspect-ratio: 1/1; }
  .profile-right   { gap: 2rem; }
  .profile-stats   { flex-direction: row; gap: 1.2rem; }
  .profile-section { gap: 0.8rem; }
  .timeline__item  { grid-template-columns: 1fr; gap: 0.3rem; padding: 1rem 0; }
  .recognition-item { padding: 0.9rem 0; }

  /* Depoimentos */
  .testimonials-area { margin-top: 3rem; padding-top: 3rem; }
  .testimonial { gap: 1.8rem; }
  .testimonial__quote { text-align: center; font-size: 1.2rem; }
  .testimonial__author { align-items: center; text-align: center; }
  .testimonials-nav { justify-content: center; }

  /* Contato */
  .contact-layout { grid-template-columns: 1fr; gap: 3rem; }

  /* Footer */
  .site-footer__inner { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .profile-stats { flex-direction: column; gap: 1.2rem; }
}

/* ══ CONTACT FORM 7 ══════════════════════════════════════ */
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: rgba(255, 160, 100, 0.9);
}
.wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.wpcf7-mail-sent-ok { border-color: rgba(100, 220, 140, 0.4); color: rgba(180, 255, 200, 0.85); }
.wpcf7-mail-sent-ng,
.wpcf7-validation-errors { border-color: rgba(255, 160, 100, 0.4); color: rgba(255, 180, 130, 0.85); }

/* ══ ÁREAS v2 — cards ivory 3-up + setas chevron ════════ */
#areas {
  min-height: 0;
  padding-top: 90px;
  padding-bottom: 90px;
}

.areas-cards-wrap {
  position: relative;
  width: 100%;
  padding: 0 3.5rem;
}

.areas-cards-swiper { overflow: hidden; }

.area-card {
  background: var(--ivory);
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  height: 100%;
}

.area-card .area-card__icon {
  width: 2.2rem;
  height: 2.2rem;
  color: rgba(22,76,46,0.55);
}
.area-card .area-card__icon svg { width: 100%; height: 100%; display: block; }

.area-card .area-card__title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--green);
  line-height: 1.3;
}

.area-card .area-card__text {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.7;
  color: rgba(22,76,46,0.65);
  flex: 1;
}

.areas-prev,
.areas-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.6);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.areas-prev { left: 0; }
.areas-next { right: 0; }

.areas-prev:hover,
.areas-next:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.areas-prev.swiper-button-disabled,
.areas-next.swiper-button-disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 768px) {
  .areas-cards-wrap { padding: 0 2.5rem; }
}

/* ══ ÁREAS v3 — cards rounded + setas externas ══════════ */
.areas-v3-wrap {
  position: relative;
  width: 100%;
}

.areas-v3-swiper {
  overflow: hidden;
  width: 100%;
}

.areas-v3-swiper .swiper-wrapper {
  align-items: stretch;
}

.areas-v3-swiper .swiper-slide {
  height: auto;
}

.area-card-v3 {
  background: var(--ivory);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  height: 100%;
  border-radius: 16px;
}

.area-card-v3 .area-card__icon {
  width: 2.2rem;
  height: 2.2rem;
  color: rgba(22,76,46,0.55);
}
.area-card-v3 .area-card__icon svg { width: 100%; height: 100%; display: block; }

.area-card-v3 .area-card__title {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--green);
  line-height: 1.3;
}

.area-card-v3 .area-card__text {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.1vw, 0.97rem);
  line-height: 1.7;
  color: var(--text-muted);
  flex: 1;
}

.areas-v3-prev,
.areas-v3-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s ease;
}

.areas-v3-prev svg,
.areas-v3-next svg {
  width: 48px;
  height: 48px;
  stroke-width: 1.5;
}
.areas-v3-prev { left: -4.5rem; }
.areas-v3-next { right: -4.5rem; }

.areas-v3-prev:hover,
.areas-v3-next:hover {
  color: var(--white);
}

.areas-v3-prev.swiper-button-disabled,
.areas-v3-next.swiper-button-disabled {
  opacity: 0.25;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 768px) {
  .areas-v3-prev { left: -2rem; }
  .areas-v3-next { right: -2rem; }
  .areas-v3-prev svg,
  .areas-v3-next svg { width: 32px; height: 32px; }
}

/* ══ ÁREAS v4 — grid estático, ícone + título + texto ═══ */
.areas-v4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.2rem 2.5rem;
}

.area-card-v4 {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 1.1rem;
  align-items: start;
}

.area-card-v4__icon {
  width: 100%;
  color: rgba(255,255,255,0.85);
}
.area-card-v4__icon svg { width: 100%; height: auto; display: block; }

.area-card-v4__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: normal;
  letter-spacing: 0.01em;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.area-card-v4__text {
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  line-height: 1.75;
  color: rgba(255,255,255,0.68);
}

@media (max-width: 900px) {
  .areas-v4-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .areas-v4-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .area-card-v4 { grid-template-columns: 2.6rem 1fr; gap: 0.9rem; }
}
