/* ============================================================
   CLÁUDIA CATÃO — Engenheira da Mente
   CSS Principal
   ============================================================ */

/* ============================================================
   1. RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: #F0EDE8;
  background-color: #0A0A0A;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

address {
  font-style: normal;
}

/* ============================================================
   2. VARIABLES
   ============================================================ */

:root {
  --black:        #0A0A0A;
  --black-soft:   #111111;
  --black-card:   #161616;
  --white:        #FFFFFF;
  --off-white:    #F0EDE8;
  --off-white-dim:#A8A39C;
  --gold:         #C9A96E;
  --gold-light:   #D4B882;
  --gray-dark:    #1E1E1E;
  --gray-mid:     #2A2A2A;
  --gray-text:    #6E6E6E;

  --font-serif: 'Cormorant Garant', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --container-max: 1200px;
  --container-pad: 2rem;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition:      0.3s var(--ease);
  --transition-slow: 0.7s var(--ease);
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--off-white);
}

p {
  color: var(--off-white-dim);
  line-height: 1.75;
}

em {
  font-style: italic;
  color: var(--gold-light);
}

/* ============================================================
   4. LAYOUT
   ============================================================ */

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

section {
  padding: 120px 0;
}

/* ============================================================
   5. SHARED COMPONENTS
   ============================================================ */

/* Section label */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-label.centered {
  justify-content: center;
}

.label-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  white-space: normal;
  line-height: 1.35;
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.2);
}

.btn--ghost {
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(240, 237, 232, 0.25);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--full {
  width: 100%;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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

/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.75rem 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1.1rem 0;
  border-bottom-color: var(--gray-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav__logo,
.footer__logo {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--off-white);
  letter-spacing: 0.04em;
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.52rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1;
}

/* Nav links */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.nav__link {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--off-white-dim);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav__link:hover,
.nav__link.active {
  color: var(--off-white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link--cta {
  background: var(--gold);
  color: var(--black) !important;
  border: 1px solid var(--gold);
  padding: 0.55rem 1.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  transition: all var(--transition);
}

.nav__link--cta:hover {
  background: var(--gold-light);
  color: var(--black) !important;
  border-color: var(--gold-light);
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

.nav__link--cta::after {
  display: none;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px 4px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--off-white);
  transition: all var(--transition);
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Overlay */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  transition: opacity var(--transition);
}

.menu-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================================
   7. HERO
   ============================================================ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #0a0908;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 9, 8, 0.96) 0%,
    rgba(10, 9, 8, 0.80) 55%,
    rgba(10, 9, 8, 0.40) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Subtle gold glow */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 10% 60%, rgba(201, 169, 110, 0.05) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

/* Two-column desktop, stacked on mobile */
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4.5rem var(--container-pad) 0;
  gap: 4rem;
}

.hero__photo-col {
  position: relative;
  align-self: center;
}

.hero__photo {
  width: 100%;
  height: auto;
  display: block;
  background: var(--black-card);
}

.hero__content {
  order: -1;
  text-align: left;
  padding-bottom: 2.5rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--off-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__sub {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  font-weight: 300;
  color: var(--off-white-dim);
  margin-bottom: 2rem;
  line-height: 1.65;
  max-width: 420px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================================
   8. POSITIONING
   ============================================================ */

.positioning {
  background: var(--black-soft);
  border-top: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
}

.positioning__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  margin-bottom: 80px;
  align-items: start;
}

.positioning__headline {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
}

.positioning__right p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.positioning__right p:last-child {
  margin-bottom: 0;
}

/* Pillars */
.positioning__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-dark);
}

.pillar {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--gray-dark);
  transition: background var(--transition);
}

.pillar:last-child {
  border-right: none;
}

.pillar:hover {
  background: rgba(201, 169, 110, 0.025);
}

.pillar__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 300;
  color: rgba(201, 169, 110, 0.18);
  margin-bottom: 1rem;
  line-height: 1;
}

.pillar__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 0.75rem;
}

.pillar__text {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ============================================================
   9. AREAS DE ATUAÇÃO
   ============================================================ */

.areas {
  background: var(--black);
  border-top: 1px solid var(--gray-dark);
}

.areas__header {
  margin-bottom: 3.5rem;
}

.areas__headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--gray-dark);
  border-left: 1px solid var(--gray-dark);
}

.areas__item {
  padding: 2.25rem 2.5rem;
  border-right: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
  transition: background var(--transition);
}

.areas__item:hover {
  background: rgba(201, 169, 110, 0.03);
}

.areas__number {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--gold);
  opacity: 0.7;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.areas__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--off-white);
}

.areas__note {
  font-size: 0.85rem;
  color: var(--off-white-dim);
  font-style: italic;
}

.areas__desc {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.6;
}

/* ============================================================
   10. ABOUT
   ============================================================ */

.about {
  background: var(--black);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 6rem;
  align-items: start;
}

.about__image-wrap {
  position: relative;
  overflow: hidden; /* prevent border accent from causing horizontal scroll */
}

.about__photo {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(15%) contrast(1.05);
  background: var(--black-card);
}

.about__image-border {
  position: absolute;
  top: 1.75rem;
  left: 1.75rem;
  right: -1.75rem;
  bottom: -1.75rem;
  border: 1px solid rgba(201, 169, 110, 0.22);
  pointer-events: none;
  z-index: -1;
}

.about__headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 2rem;
}

.about__text {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about__text:last-of-type {
  margin-bottom: 0;
}

.about__credentials {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-dark);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.credential {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.credential__line {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.credential__text {
  font-size: 0.85rem;
  color: var(--off-white-dim);
  letter-spacing: 0.02em;
}

/* ============================================================
   10. FOR WHOM
   ============================================================ */

.for-whom {
  background: var(--black-soft);
  border-top: 1px solid var(--gray-dark);
}

.for-whom__header {
  margin-bottom: 3.5rem;
}

.for-whom__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
}

.for-whom__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gray-dark);
}

.for-whom__item {
  padding: 2.5rem;
  border-right: 1px solid var(--gray-dark);
  transition: background var(--transition);
}

.for-whom__item:last-child {
  border-right: none;
}

.for-whom__item:hover {
  background: rgba(201, 169, 110, 0.03);
}

.for-whom__icon {
  width: 28px;
  height: 28px;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.for-whom__icon svg {
  width: 100%;
  height: 100%;
}

.for-whom__item h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 0.75rem;
}

.for-whom__item p {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.65;
}

.for-whom__qualifier {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-dark);
  text-align: center;
}

.for-whom__qualifier p {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  color: var(--off-white-dim);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ============================================================
   11. THE WORK
   ============================================================ */

.the-work {
  background: var(--black);
  border-top: 1px solid var(--gray-dark);
}

.the-work__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 6rem;
  align-items: center;
}

.the-work__content {
  order: -1;
}

.the-work__headline {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 2rem;
}

.the-work__text {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
}

/* Work photo */
.the-work__photo-col {
  position: relative;
  align-self: center;
}

.work-photo {
  width: 100%;
  height: auto;
  display: block;
  background: var(--black-card);
  filter: grayscale(10%) contrast(1.05);
}

/* ============================================================
   12. TRANSFORMATION
   ============================================================ */

.transformation {
  background: var(--black-soft);
  border-top: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
}

.transformation__header {
  text-align: center;
  margin-bottom: 4rem;
}

.transformation__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
}

.transformation__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-dark);
}

.transformation__item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--gray-dark);
  transition: background var(--transition);
}

.transformation__item:last-child {
  border-right: none;
}

.transformation__item:hover {
  background: rgba(201, 169, 110, 0.025);
}

.transformation__item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 1rem;
}

.transformation__item p {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ============================================================
   13. SECTION DIVIDER
   ============================================================ */

.section-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--gray-dark);
}

.section-divider__mark {
  width: 7px;
  height: 7px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ============================================================
   14. TESTIMONIALS (kept for reference, section removed)
   ============================================================ */

.testimonials {
  background: var(--black);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.testimonial {
  padding: 2.75rem;
  border: 1px solid var(--gray-dark);
  background: var(--black-card);
  transition: border-color var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.75rem;
}

.testimonial:hover {
  border-color: rgba(201, 169, 110, 0.35);
}

.testimonial blockquote {
  position: relative;
  padding-top: 2rem;
}

.testimonial blockquote::before {
  content: '\201C';
  position: absolute;
  top: -0.75rem;
  left: 0;
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.3;
}

.testimonial blockquote p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.65;
}

.testimonial__role {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

.testimonials__disclaimer {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  color: var(--gray-text);
  text-align: center;
  font-style: italic;
}

/* ============================================================
   14. CTA INTERMEDIÁRIA
   ============================================================ */

.cta-mid {
  padding: 110px 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(201, 169, 110, 0.04) 0%, transparent 50%),
    #0d0b08;
  border-top: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
}

.cta-mid__inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.cta-mid__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.cta-mid__text {
  font-size: 1.05rem;
  color: var(--off-white-dim);
  margin-bottom: 2.75rem;
  line-height: 1.75;
}

/* ============================================================
   15. APPLICATION FORM
   ============================================================ */

.application {
  background: #0D0B09;
}

.application__inner {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 6rem;
  align-items: start;
}

.application__headline {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.application__text {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.application__contact {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-dark);
}

.contact-link {
  font-size: 0.9rem;
  color: var(--gold);
  transition: opacity var(--transition);
}

.contact-link:hover {
  opacity: 0.7;
}

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

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--off-white-dim);
}

.required {
  color: var(--gold);
  margin-left: 2px;
}

.form__input,
.form__textarea {
  background: var(--black-card);
  border: 1px solid var(--gray-mid);
  border-radius: 0;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 300;
  padding: 1rem 1.25rem;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--gold);
  background: rgba(22, 22, 22, 0.8);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--gray-text);
  font-weight: 300;
}

.form__textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

.form__input.has-error,
.form__textarea.has-error {
  border-color: #b84040;
}

.form__error {
  font-size: 0.78rem;
  color: #c0504a;
  min-height: 1.1rem;
  display: block;
  line-height: 1.4;
}

.form__disclaimer {
  font-size: 0.78rem;
  color: var(--gray-text);
  text-align: center;
  font-style: italic;
  margin-top: 0.25rem;
}

/* Submit button states */
.btn__loading {
  display: none;
}

.btn.is-loading .btn__text {
  display: none;
}

.btn.is-loading .btn__loading {
  display: inline;
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Success message */
.success-msg {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(201, 169, 110, 0.35);
  background: rgba(201, 169, 110, 0.05);
  animation: fadeInUp 0.4s ease;
}

.success-msg p {
  font-size: 0.9rem;
  color: var(--gold-light);
  line-height: 1.65;
}

.success-msg p + p {
  margin-top: 0.5rem;
  color: var(--off-white-dim);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   16. FOOTER
   ============================================================ */

.footer {
  background: #050505;
  border-top: 1px solid var(--gray-dark);
  padding: 80px 0 40px;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--gray-dark);
  margin-bottom: 2rem;
}

.footer__logo {
  margin-bottom: 1.5rem;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.75;
}

.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
}

.footer__nav {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer__nav a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white-dim);
  transition: color var(--transition);
}

.footer__nav a:hover {
  color: var(--gold);
}

.footer__contact-link {
  font-size: 0.875rem;
  color: var(--gold);
}

.footer__contact-link:hover {
  opacity: 0.75;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer__copy,
.footer__credit {
  font-size: 0.78rem;
  color: var(--gray-text);
}

.footer__credit a {
  color: var(--off-white-dim);
  transition: color var(--transition);
}

.footer__credit a:hover {
  color: var(--gold);
}

/* ============================================================
   17. RESPONSIVE — 1024px
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --container-pad: 1.5rem;
  }

  section {
    padding: 90px 0;
  }

  /* Hero: two columns → one column, photo on top */
  .hero__inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 6rem;
    padding-bottom: 0;
  }

  .hero__content {
    order: 0;
    padding-top: 2.5rem;
    padding-bottom: 3rem;
  }

  .hero__photo-col {
    order: -1;
    width: 100%;
  }

  .positioning__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .pillar:nth-child(2) { border-right: none; }
  .pillar:nth-child(3),
  .pillar:nth-child(4) { border-top: 1px solid var(--gray-dark); }
  .pillar:nth-child(4) { border-right: none; }

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

  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about__image-wrap {
    max-width: 400px;
  }

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

  .for-whom__item:nth-child(2) { border-right: none; }
  .for-whom__item:nth-child(3),
  .for-whom__item:nth-child(4) { border-top: 1px solid var(--gray-dark); }
  .for-whom__item:nth-child(4) { border-right: none; }

  .the-work__inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .the-work__content {
    order: 0;
  }

  .the-work__photo-col {
    order: -1;
  }


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

  .transformation__item:nth-child(2) { border-right: none; }
  .transformation__item:nth-child(3),
  .transformation__item:nth-child(4) { border-top: 1px solid var(--gray-dark); }
  .transformation__item:nth-child(4) { border-right: none; }

  .application__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__right {
    align-items: flex-start;
  }

  .footer__nav {
    justify-content: flex-start;
  }
}

/* ============================================================
   18. RESPONSIVE — 768px (Mobile)
   ============================================================ */

@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
  }

  section {
    padding: 64px 0;
  }

  /* Navigation mobile */
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(80vw, 320px);
    height: 100vh;
    background: var(--black-soft);
    border-left: 1px solid var(--gray-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6rem 2rem 2rem;
    transition: right var(--transition);
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav__menu.open {
    right: 0;
  }

  .nav__link {
    display: block;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--gray-dark);
    font-size: 0.8rem;
    color: var(--off-white-dim);
  }

  .nav__link--cta {
    display: block;
    margin-top: 1.5rem;
    text-align: center;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(201, 169, 110, 0.35);
  }

  .nav__toggle {
    display: flex;
  }

  /* Hero mobile */
  .hero__inner {
    padding-top: 4rem;
    gap: 0;
  }

  .hero__content {
    padding-bottom: 0;
  }

  .hero__eyebrow {
    margin-bottom: 0.75rem;
  }

  .hero__headline {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
  }

  .hero__sub {
    max-width: 100%;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .hero__actions .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1rem;
  }

  .hero__photo-col {
    width: 100%;
  }

  /* Pillars 1 col */
  .positioning__pillars {
    grid-template-columns: 1fr;
  }

  .pillar:nth-child(n) {
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--gray-dark);
  }

  .pillar:last-child {
    border-bottom: none;
  }

  /* For whom 1 col */
  .for-whom__grid {
    grid-template-columns: 1fr;
  }

  .for-whom__item:nth-child(n) {
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--gray-dark);
  }

  .for-whom__item:last-child {
    border-bottom: none;
  }

  /* Transformation 1 col */
  .transformation__grid {
    grid-template-columns: 1fr;
  }

  .transformation__item:nth-child(n) {
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--gray-dark);
  }

  .transformation__item:last-child {
    border-bottom: none;
  }


  /* About image border clip on mobile */
  .about__image-border {
    display: none;
  }

  /* Footer */
  .footer__bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ============================================================
   19. RESPONSIVE — 480px
   ============================================================ */

@media (max-width: 480px) {
  .hero__headline {
    font-size: 2rem;
  }

  .hero__photo-col {
    width: 90%;
  }

  .form__input,
  .form__textarea {
    font-size: 1rem;
  }
}

/* ============================================================
   20. EXPANSÃO EXECUTIVO-COMPORTAMENTAL — Novas seções
   ============================================================ */

/* Hero detail paragraph */
.hero__sub--detail {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  margin-top: -0.5rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Shared CTA row */
.section__cta-row {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

/* About CTA */
.about__cta {
  margin-top: 2.5rem;
}

/* Footer subtitle long variant */
.logo-subtitle--long {
  letter-spacing: 0.08em;
  font-size: 0.5rem;
  max-width: 220px;
  line-height: 1.4;
}

/* ============================================================
   8-pillar grid: border management
   ============================================================ */

.positioning__pillars--8 .pillar:nth-child(4n) {
  border-right: none;
}

.positioning__pillars--8 .pillar:nth-child(n+5) {
  border-top: 1px solid var(--gray-dark);
}

/* ============================================================
   O Custo Invisível
   ============================================================ */

.costs {
  background: var(--black);
  border-bottom: 1px solid var(--gray-dark);
  padding: 120px 0;
}

.costs__header {
  margin-bottom: 3.5rem;
}

.costs__headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
}

.costs__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--gray-dark);
}

.costs__col {
  padding: 3rem;
}

.costs__col:first-child {
  border-right: 1px solid var(--gray-dark);
}

.costs__col-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-dark);
  line-height: 1.35;
}

.costs__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.costs__list li {
  font-size: 0.925rem;
  color: var(--off-white-dim);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  line-height: 1.5;
}

.costs__list li::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.72em;
}

.costs__list--negative li::before {
  background: rgba(180, 90, 90, 0.65);
}

/* ============================================================
   Transformation 3-col variant
   ============================================================ */

.transformation__grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.transformation__grid--3col .transformation__item:nth-child(3n) {
  border-right: none;
}

.transformation__grid--3col .transformation__item:nth-child(n+4) {
  border-top: 1px solid var(--gray-dark);
}

/* ============================================================
   For-whom 5-col variant
   ============================================================ */

.for-whom__grid--5col {
  grid-template-columns: repeat(5, 1fr);
}

/* ============================================================
   O Processo
   ============================================================ */

.process__header {
  margin-bottom: 3.5rem;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-dark);
  border-left: 1px solid var(--gray-dark);
}

.process__step {
  padding: 2.5rem;
  border-right: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
  transition: background var(--transition);
}

.process__step:hover {
  background: rgba(201, 169, 110, 0.025);
}

.process__number {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.process__title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--off-white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.process__text {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.7;
}

/* ============================================================
   Diferenciais
   ============================================================ */

.differentials__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--gray-dark);
  margin-top: 0.5rem;
}

.differential {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-dark);
}

.differential__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--off-white);
  margin-bottom: 0.4rem;
}

.differential__text {
  font-size: 0.875rem;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ============================================================
   Confidencialidade
   ============================================================ */

.confidentiality {
  background: var(--black-soft);
  border-top: 1px solid var(--gray-dark);
  border-bottom: 1px solid var(--gray-dark);
  padding: 120px 0;
}

.confidentiality__inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.confidentiality__headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 1.75rem;
}

.confidentiality__text {
  font-size: 1.05rem;
  color: var(--off-white-dim);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.confidentiality__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gray-dark);
  margin-top: 2rem;
}

.confidentiality__item {
  padding: 1.5rem 1.25rem;
  border-right: 1px solid var(--gray-dark);
  transition: background var(--transition);
}

.confidentiality__item:last-child {
  border-right: none;
}

.confidentiality__item:hover {
  background: rgba(201, 169, 110, 0.025);
}

.confidentiality__item-title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  line-height: 1.55;
}

/* ============================================================
   Filosofia Central
   ============================================================ */

.philosophy {
  padding: 120px 0;
  background: var(--black);
  border-bottom: 1px solid var(--gray-dark);
}

.philosophy__inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.philosophy__quote {
  position: relative;
  padding-top: 3.5rem;
}

.philosophy__quote::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 9rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.1;
  pointer-events: none;
}

.philosophy__quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.55;
  margin-bottom: 2.25rem;
}

.philosophy__quote footer {
  display: block;
}

.philosophy__quote cite {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ============================================================
   21. RESPONSIVE — Novas seções 1024px
   ============================================================ */

@media (max-width: 1024px) {

  /* 8-pillar tablet: 2-col */
  .positioning__pillars--8 .pillar:nth-child(2n) {
    border-right: none;
  }

  .positioning__pillars--8 .pillar:nth-child(n+3) {
    border-top: 1px solid var(--gray-dark);
  }

  /* Reset desktop-only rule */
  .positioning__pillars--8 .pillar:nth-child(4n) {
    border-right: none;
  }

  .positioning__pillars--8 .pillar:nth-child(n+5) {
    border-top: none;
  }

  /* O Custo Invisível */
  .costs__grid {
    grid-template-columns: 1fr;
  }

  .costs__col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--gray-dark);
  }

  /* Transformation 3-col → 2-col */
  .transformation__grid--3col {
    grid-template-columns: repeat(2, 1fr);
  }

  .transformation__grid--3col .transformation__item:nth-child(3n) {
    border-right: 1px solid var(--gray-dark);
  }

  .transformation__grid--3col .transformation__item:nth-child(2n) {
    border-right: none;
  }

  .transformation__grid--3col .transformation__item:nth-child(n+3) {
    border-top: 1px solid var(--gray-dark);
  }

  /* For-whom 5-col → 2-col */
  .for-whom__grid--5col {
    grid-template-columns: repeat(2, 1fr);
  }

  .for-whom__grid--5col .for-whom__item:nth-child(2n) {
    border-right: none;
  }

  .for-whom__grid--5col .for-whom__item:nth-child(n+3) {
    border-top: 1px solid var(--gray-dark);
  }

  .for-whom__grid--5col .for-whom__item:nth-child(5) {
    border-right: none;
  }

  /* Processo */
  .process__steps {
    grid-template-columns: 1fr;
  }

  /* Confidencialidade */
  .confidentiality__pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .confidentiality__item:nth-child(2) {
    border-right: none;
  }

  .confidentiality__item:nth-child(3),
  .confidentiality__item:nth-child(4) {
    border-top: 1px solid var(--gray-dark);
  }

  .confidentiality__item:nth-child(4) {
    border-right: none;
  }
}

/* ============================================================
   22. RESPONSIVE — Novas seções 768px
   ============================================================ */

@media (max-width: 768px) {

  /* Hero detail */
  .hero__sub--detail {
    font-size: 0.875rem;
  }

  /* 8-pillar mobile: 1-col */
  .positioning__pillars--8 .pillar:nth-child(n) {
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--gray-dark);
  }

  .positioning__pillars--8 .pillar:last-child {
    border-bottom: none;
  }

  /* O Custo Invisível */
  .costs {
    padding: 64px 0;
  }

  .costs__col {
    padding: 2rem 1.5rem;
  }

  /* Transformation 3-col → 1-col */
  .transformation__grid--3col {
    grid-template-columns: 1fr;
  }

  .transformation__grid--3col .transformation__item:nth-child(n) {
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--gray-dark);
  }

  .transformation__grid--3col .transformation__item:last-child {
    border-bottom: none;
  }

  /* For-whom 5-col → 1-col */
  .for-whom__grid--5col {
    grid-template-columns: 1fr;
  }

  .for-whom__grid--5col .for-whom__item:nth-child(n) {
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--gray-dark);
  }

  .for-whom__grid--5col .for-whom__item:last-child {
    border-bottom: none;
  }

  /* Processo */
  .process__steps {
    border-left: none;
  }

  .process__step {
    border-left: 1px solid var(--gray-dark);
    border-right: 1px solid var(--gray-dark);
  }

  /* Confidencialidade */
  .confidentiality {
    padding: 64px 0;
  }

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

  .confidentiality__item {
    border-right: none;
    border-top: none;
    border-bottom: 1px solid var(--gray-dark);
  }

  .confidentiality__item:last-child {
    border-bottom: none;
  }

  /* Filosofia */
  .philosophy {
    padding: 64px 0;
  }
}

/* ============================================================
   23. BOTÕES — Versão mais destacada
   ============================================================ */

/* Primary mais visível */
.btn--primary {
  background: var(--gold);
  color: #0A0A0A;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 1.1rem 2.75rem;
  box-shadow: 0 4px 20px rgba(201, 169, 110, 0.18);
}

.btn--primary:hover {
  background: #dfc07a;
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(201, 169, 110, 0.32);
}

/* Ghost com cor dourada */
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.6);
  font-weight: 500;
}

.btn--ghost:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(201, 169, 110, 0.25);
}

/* Botão WhatsApp */
.btn--wa {
  gap: 0.65rem;
  padding: 1.2rem 3rem;
}

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

/* ============================================================
   24. CONTATO — Seção WhatsApp
   ============================================================ */

.application__wa-wrap {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.application__headline--center {
  text-align: center;
}

.application__text--center {
  text-align: center;
}

.application__wa-cta {
  margin: 3rem auto 2rem;
  display: flex;
  justify-content: center;
}

.application__contact--center {
  text-align: center;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--gray-dark);
}

/* ============================================================
   25. CREDENCIAIS — nota "(em curso)"
   ============================================================ */

.credential__note {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: italic;
  display: inline;
}

/* ============================================================
   26. MOBILE — Correção de overflow e layout
   ============================================================ */

/* Garante que NENHUMA seção cause scroll horizontal */
@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  /* Seções ficam contidas — NUNCA incluir .header aqui pois
     quebraria o menu fixo mobile */
  section,
  .footer {
    overflow-x: hidden;
    max-width: 100vw;
  }

  /* Container com padding seguro */
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Hero inner: padding consistente */
  .hero__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Grids com borda: não ultrapassam a tela */
  .positioning__pillars,
  .positioning__pillars--8,
  .areas__grid,
  .for-whom__grid,
  .for-whom__grid--5col,
  .transformation__grid,
  .transformation__grid--3col,
  .process__steps,
  .confidentiality__pillars,
  .costs__grid {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  /* Imagens não transbordam */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Botões no mobile mais fáceis de tocar */
  .btn {
    padding: 1rem 1.75rem;
    font-size: 0.72rem;
    min-height: 48px;
  }

  .btn--wa {
    padding: 1.1rem 2rem;
    width: 100%;
    max-width: 360px;
  }

  /* Section CTA row: centraliza e padding */
  .section__cta-row {
    padding: 0 0.5rem;
  }

  /* Hero actions: botões em coluna */
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

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

  /* About grid: imagem contida */
  .about__image-wrap {
    overflow: hidden;
    max-width: 100%;
  }

  /* Process steps: cada step full-width com margens contidas */
  .process__step {
    border-left: none;
    border-right: none;
    border-bottom: 1px solid var(--gray-dark);
  }

  .process__step:last-child {
    border-bottom: none;
  }

  .process__steps {
    border-left: none;
    border-top: 1px solid var(--gray-dark);
  }

  /* Contato WhatsApp: botão largo no mobile */
  .application__wa-cta {
    padding: 0;
  }

  /* Footer nav: wrap adequado */
  .footer__nav {
    gap: 1.25rem;
  }
}
