/* =========================================
   PALETA
   Azul-marinho: #0A2947
   Bege claro:   #F3E4C9
   Verde claro:  #D3D4C0
   Marrom:       #8B5E3C
========================================= */

:root {
  --navy: #0a2947;
  --cream: #f3e4c9;
  --sage: #d3d4c0;
  --brown: #8b5e3c;
  --white: #fffdf8;
  --text: #183047;
  --shadow: 0 22px 60px rgba(10, 41, 71, 0.14);
  --radius-large: 36px;
  --radius-medium: 24px;
  --radius-small: 14px;
  --container: 1180px;
  --transition: 180ms ease;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  line-height: 1.12;
  text-wrap: balance;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(2.65rem, 5.2vw, 4.75rem);
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.15rem, 4vw, 3.6rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.025em;
}

p {
  margin-bottom: 20px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--brown);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--sage);
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 15px 26px;
  border: 2px solid var(--brown);
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    color var(--transition);
}

.button:hover,
.button:focus-visible {
  border-color: var(--navy);
  background: var(--navy);
  transform: translateY(-2px);
}

.button:focus-visible,
.text-link:focus-visible,
.main-nav a:focus-visible,
.brand:focus-visible,
.contact-email:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 4px;
}

.button-small {
  min-height: 48px;
  padding: 11px 20px;
  font-size: 0.9rem;
}

.button-light {
  border-color: var(--cream);
  background: var(--cream);
  color: var(--navy);
}

.button-light:hover,
.button-light:focus-visible {
  border-color: var(--sage);
  background: var(--sage);
  color: var(--navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  font-size: 1.4em;
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(5px);
}

/* Cabeçalho */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(10, 41, 71, 0.1);
  background: rgba(243, 228, 201, 0.92);
  backdrop-filter: blur(18px);
}

.header-content {
  display: grid;
  min-height: 82px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--navy);
  line-height: 1.08;
  text-decoration: none;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.brand-subtitle {
  margin-top: 6px;
  color: var(--brown);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  position: relative;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--brown);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--navy);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--cream);
  transition: var(--transition);
}

/* Hero */

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  overflow: hidden;
  padding: 100px 0 112px;
  background: var(--cream);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: 80px;
}

.hero-copy {
  max-width: 690px;
}

.hero h1 span {
  color: var(--brown);
}

.hero-description {
  max-width: 650px;
  margin-bottom: 24px;
  color: rgba(10, 41, 71, 0.82);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.7;
}

.hero-highlight {
  max-width: 650px;
  padding-left: 20px;
  border-left: 4px solid var(--brown);
  color: var(--navy);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.hero-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-decoration-one {
  top: -150px;
  right: -80px;
  width: 430px;
  height: 430px;
  background: rgba(211, 212, 192, 0.75);
}

.hero-decoration-two {
  bottom: -230px;
  left: 29%;
  width: 400px;
  height: 400px;
  border: 70px solid rgba(139, 94, 60, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.browser-mockup {
  position: absolute;
  top: 60px;
  right: 0;
  width: min(100%, 500px);
  overflow: hidden;
  border: 10px solid var(--navy);
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.browser-topbar {
  display: flex;
  gap: 7px;
  padding: 14px 18px;
  background: var(--navy);
}

.browser-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cream);
}

.browser-content {
  display: grid;
  min-height: 340px;
  grid-template-columns: 30% 1fr;
}

.browser-content.browser-content-image {
  display: block;
  min-height: 0;
  overflow: hidden;
  background: var(--white);
}

.hero-desktop-screen {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top left;
  user-select: none;
  -webkit-user-drag: none;
}

.browser-sidebar {
  padding: 32px 22px;
  background: var(--sage);
}

.mock-logo {
  width: 54px;
  height: 54px;
  margin-bottom: 42px;
  border-radius: 50%;
  background: var(--navy);
}

.mock-line,
.mock-copy,
.mock-title,
.mock-label,
.mock-button {
  border-radius: 999px;
}

.mock-line {
  width: 100%;
  height: 8px;
  margin-bottom: 18px;
  background: rgba(10, 41, 71, 0.34);
}

.mock-line.short {
  width: 44%;
}

.mock-line.medium {
  width: 74%;
}

.browser-main {
  padding: 55px 36px;
  background: var(--white);
}

.mock-label {
  width: 72px;
  height: 11px;
  margin-bottom: 28px;
  background: var(--brown);
}

.mock-title {
  width: 90%;
  height: 25px;
  margin-bottom: 14px;
  background: var(--navy);
}

.mock-title.small {
  width: 65%;
  margin-bottom: 34px;
}

.mock-copy {
  width: 100%;
  height: 9px;
  margin-bottom: 13px;
  background: rgba(10, 41, 71, 0.24);
}

.mock-copy.short {
  width: 72%;
}

.mock-button {
  width: 120px;
  height: 40px;
  margin-top: 38px;
  background: var(--brown);
}

.phone-mockup {
  position: absolute;
  right: -26px;
  bottom: 12px;
  z-index: 3;
  width: 165px;
  padding: 13px;
  border: 8px solid var(--navy);
  border-radius: 32px;
  background: var(--navy);
  box-shadow: 0 20px 50px rgba(10, 41, 71, 0.25);
  transform: rotate(-4deg);
}

.phone-speaker {
  width: 48px;
  height: 5px;
  margin: 0 auto 10px;
  border-radius: 999px;
  background: var(--sage);
}

.phone-screen {
  min-height: 280px;
  padding: 25px 16px;
  border-radius: 20px;
  background: var(--cream);
}

.phone-screen.phone-screen-image {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: var(--white);
}

.hero-mobile-screen {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  user-select: none;
  -webkit-user-drag: none;
}

.phone-heading {
  width: 75%;
  height: 12px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--navy);
}

.phone-image {
  height: 88px;
  margin-bottom: 22px;
  border-radius: 14px;
  background: var(--sage);
}

.phone-line {
  height: 7px;
  margin-bottom: 11px;
  border-radius: 999px;
  background: rgba(10, 41, 71, 0.28);
}

.phone-line.short {
  width: 65%;
}

.phone-button {
  width: 80%;
  height: 33px;
  margin-top: 26px;
  border-radius: 999px;
  background: var(--brown);
}

.floating-card {
  position: absolute;
  z-index: 5;
  display: flex;
  min-width: 230px;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border: 1px solid rgba(10, 41, 71, 0.1);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 14px 35px rgba(10, 41, 71, 0.14);
  backdrop-filter: blur(10px);
}

.floating-card-top {
  top: 6px;
  left: 5px;
}

.floating-card-bottom {
  bottom: 38px;
  left: 0;
}

.floating-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
}

.floating-card strong,
.floating-card small {
  display: block;
  line-height: 1.35;
}

.floating-card strong {
  color: var(--navy);
  font-size: 0.88rem;
}

.floating-card small {
  margin-top: 4px;
  color: rgba(10, 41, 71, 0.66);
  font-size: 0.75rem;
}

.visual-orbit {
  position: absolute;
  border-radius: 50%;
}

.visual-orbit-one {
  top: 34px;
  right: -62px;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(139, 94, 60, 0.22);
}

.visual-orbit-two {
  right: 30px;
  bottom: -10px;
  width: 250px;
  height: 250px;
  background: rgba(211, 212, 192, 0.34);
}

/* Comunicação */

.communication-section {
  position: relative;
  overflow: hidden;
  padding: 132px 0;
  background: var(--navy);
}

.communication-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 110px;
}

.communication-title h2,
.communication-copy h3 {
  color: var(--cream);
}

.communication-copy {
  color: rgba(243, 228, 201, 0.84);
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
}

.communication-copy h3 {
  margin: 42px 0 22px;
  font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.communication-copy .button {
  margin-top: 22px;
}

.communication-shape {
  position: absolute;
  border-radius: 50%;
}

.communication-shape-one {
  top: -180px;
  left: -190px;
  width: 450px;
  height: 450px;
  border: 82px solid rgba(211, 212, 192, 0.08);
}

.communication-shape-two {
  right: -120px;
  bottom: -190px;
  width: 410px;
  height: 410px;
  background: rgba(139, 94, 60, 0.16);
}

/* Títulos de seção */

.section-heading {
  max-width: 790px;
  margin-bottom: 58px;
}

.section-heading p {
  max-width: 720px;
  color: rgba(10, 41, 71, 0.72);
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
}

/* Serviços */

.services {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.service-card {
  min-height: 330px;
  padding: 34px 28px;
  border: 1px solid rgba(10, 41, 71, 0.1);
  border-radius: var(--radius-medium);
  background: rgba(255, 253, 248, 0.52);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.service-card:nth-child(even) {
  background: var(--sage);
}

.service-card:hover {
  box-shadow: 0 20px 45px rgba(10, 41, 71, 0.1);
  transform: translateY(-6px);
}

.service-number {
  display: inline-grid;
  width: 50px;
  height: 50px;
  margin-bottom: 60px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  font-size: 0.88rem;
  font-weight: 800;
}

.service-card h3 {
  margin-bottom: 16px;
}

.service-card p {
  margin-bottom: 0;
  color: rgba(10, 41, 71, 0.72);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Benefícios */

.benefits {
  background: var(--sage);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: center;
  gap: 90px;
}

.benefits-visual {
  min-height: 560px;
  padding: 48px;
  border-radius: var(--radius-large);
  background:
    linear-gradient(rgba(10, 41, 71, 0.2), rgba(10, 41, 71, 0.2)),
    radial-gradient(
      circle at 20% 20%,
      rgba(243, 228, 201, 0.9),
      transparent 30%
    ),
    var(--brown);
}

.benefits-panel {
  display: flex;
  height: 100%;
  min-height: 464px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px;
  border: 1px solid rgba(243, 228, 201, 0.34);
  border-radius: 28px;
  background: rgba(10, 41, 71, 0.83);
  color: var(--cream);
  backdrop-filter: blur(8px);
}

.benefits-panel strong {
  display: block;
  margin-bottom: 14px;
  color: var(--cream);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.benefits-panel p {
  max-width: 360px;
  margin-bottom: 0;
  font-size: 1.05rem;
}

.benefits-content h2 {
  max-width: 650px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-top: 1px solid rgba(10, 41, 71, 0.18);
}

.benefit-item > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 800;
}

.benefit-item h3 {
  margin-bottom: 8px;
}

.benefit-item p {
  margin-bottom: 0;
  color: rgba(10, 41, 71, 0.7);
  font-size: 1rem;
}

/* Processo */

.process {
  background: var(--cream);
}

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

.process-card {
  position: relative;
  min-height: 290px;
  padding: 32px 28px;
  border-top: 4px solid var(--brown);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(10, 41, 71, 0.08);
}

.process-card span {
  display: block;
  margin-bottom: 48px;
  color: var(--brown);
  font-size: 2rem;
  font-weight: 800;
}

.process-card h3 {
  margin-bottom: 14px;
}

.process-card p {
  margin-bottom: 0;
  color: rgba(10, 41, 71, 0.7);
  font-size: 0.97rem;
}

/* Projetos */

.projects {
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--cream);
}

.project-card-large {
  grid-row: span 2;
}

.project-preview {
  display: flex;
  min-height: 260px;
  align-items: flex-end;
  padding: 30px;
}

.project-card-large .project-preview {
  min-height: 520px;
}

.project-preview span {
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.88);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-preview-one {
  position: relative;
  display: block;
  min-height: 520px;
  overflow: hidden;
  padding: 0;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(243, 228, 201, 0.34),
      transparent 30%
    ),
    linear-gradient(135deg, var(--navy), #164f7b);
}

.project-preview-one .project-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 7;
}

.project-carousel {
  position: relative;
  width: 100%;
  min-height: 520px;
}

.project-carousel-track {
  display: flex;
  width: 100%;
  min-height: 520px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
  overscroll-behavior-inline: contain;
}

.project-carousel-track:active {
  cursor: grabbing;
}

.project-carousel-track::-webkit-scrollbar {
  display: none;
}

.project-slide {
  display: flex;
  min-width: 100%;
  min-height: 520px;
  flex: 0 0 100%;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  padding: 80px 70px 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project-slide .project-screen {
  display: block;
  width: min(74%, 250px);
  height: auto;
  max-height: 440px;
  object-fit: contain;
  border: 7px solid rgba(243, 228, 201, 0.86);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28);
  user-select: none;
  -webkit-user-drag: none;
}

.project-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 7;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(243, 228, 201, 0.38);
  border-radius: 50%;
  background: rgba(243, 228, 201, 0.94);
  color: var(--navy);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-50%);
  transition:
    opacity var(--transition),
    background var(--transition),
    transform var(--transition);
}

.project-carousel-button:hover,
.project-carousel-button:focus-visible {
  background: var(--sage);
  transform: translateY(-50%) scale(1.05);
}

.project-carousel-button:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.project-carousel-prev {
  left: 20px;
}

.project-carousel-next {
  right: 20px;
}

.project-carousel-dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.project-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(243, 228, 201, 0.48);
  cursor: pointer;
  transition:
    width var(--transition),
    background var(--transition);
}

.project-carousel-dot.is-active {
  width: 30px;
  background: var(--cream);
}

.project-carousel.is-single-slide .project-carousel-button,
.project-carousel.is-single-slide .project-carousel-dots {
  display: none;
}

.project-preview-two {
  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(243, 228, 201, 0.92),
      transparent 26%
    ),
    linear-gradient(135deg, var(--brown), #b88159);
}

.project-preview-three {
  background:
    radial-gradient(circle at 30% 20%, rgba(10, 41, 71, 0.22), transparent 28%),
    linear-gradient(135deg, var(--sage), #b7bea1);
}

.project-info {
  padding: 30px;
}

.project-info > span {
  color: var(--brown);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-info h3 {
  margin: 9px 0 12px;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
}

.project-info p {
  margin-bottom: 0;
  color: rgba(10, 41, 71, 0.72);
  font-size: 0.98rem;
}

/* CTA final */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 120px 0;
  background: var(--navy);
}

.final-cta::after {
  position: absolute;
  right: -160px;
  bottom: -250px;
  width: 520px;
  height: 520px;
  border: 90px solid rgba(211, 212, 192, 0.08);
  border-radius: 50%;
  content: "";
}

.final-cta-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin-inline: auto;
  color: rgba(243, 228, 201, 0.85);
  text-align: center;
}

.final-cta h2 {
  color: var(--cream);
}

.final-cta p {
  max-width: 720px;
  margin: 0 auto 34px;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.contact-email {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 800;
  text-underline-offset: 5px;
}

.contact-note {
  display: block;
  margin-top: 28px;
  color: rgba(243, 228, 201, 0.55);
  font-size: 0.78rem;
}

/* Rodapé */

.site-footer {
  padding: 34px 0;
  border-top: 1px solid rgba(243, 228, 201, 0.14);
  background: var(--navy);
  color: var(--cream);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-content div {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.footer-content strong {
  font-size: 1.05rem;
}

.footer-content span,
.footer-content p {
  color: rgba(243, 228, 201, 0.66);
  font-size: 0.82rem;
}

.footer-content p {
  margin-bottom: 0;
}

/* Animação discreta */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 650ms ease,
    transform 650ms ease;
}

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

/* Tablet */

@media (max-width: 1060px) {
  .header-content {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: block;
    justify-self: end;
    order: 3;
  }

  .header-cta {
    justify-self: end;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    right: 0;
    left: 0;
    display: grid;
    max-height: 0;
    justify-content: stretch;
    gap: 0;
    overflow: hidden;
    background: var(--cream);
    box-shadow: 0 24px 40px rgba(10, 41, 71, 0.12);
    opacity: 0;
    pointer-events: none;
    transition:
      max-height 300ms ease,
      opacity 200ms ease;
  }

  .main-nav.is-open {
    max-height: 440px;
    padding: 18px 24px 28px;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 17px 8px;
    border-bottom: 1px solid rgba(10, 41, 71, 0.1);
    font-size: 1rem;
  }

  .main-nav a::after {
    display: none;
  }

  .menu-button.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button.is-active span:nth-child(2) {
    opacity: 0;
  }

  .menu-button.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    width: min(100%, 700px);
    margin-inline: auto;
  }

  .communication-grid,
  .benefits-grid {
    gap: 60px;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */

@media (max-width: 760px) {
  html {
    scroll-padding-top: 74px;
  }

  body {
    font-size: 17px;
    line-height: 1.65;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    letter-spacing: -0.05em;
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .site-header {
    min-height: 74px;
  }

  .header-content {
    min-height: 74px;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .brand-name {
    font-size: 1.08rem;
  }

  .brand-subtitle {
    font-size: 0.66rem;
  }

  .header-cta {
    display: none;
  }

  .menu-button {
    order: initial;
  }

  .main-nav {
    top: 74px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 82px;
  }

  .hero-grid {
    gap: 48px;
  }

  .hero-description,
  .communication-copy,
  .section-heading p {
    font-size: 1.03rem;
  }

  .hero-highlight {
    padding-left: 16px;
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .hero-visual {
    min-height: 430px;
  }

  .browser-mockup {
    top: 42px;
    right: 8px;
    width: calc(100% - 20px);
    border-width: 7px;
    border-radius: 20px;
  }

  .browser-content {
    min-height: 270px;
  }

  .browser-sidebar {
    padding: 24px 15px;
  }

  .browser-main {
    padding: 38px 22px;
  }

  .mock-logo {
    width: 38px;
    height: 38px;
    margin-bottom: 30px;
  }

  .phone-mockup {
    right: 0;
    bottom: 0;
    width: 126px;
    border-width: 6px;
    border-radius: 25px;
  }

  .phone-screen {
    min-height: 215px;
    padding: 19px 12px;
  }

  .phone-image {
    height: 61px;
  }

  .floating-card {
    min-width: 0;
    width: 190px;
    padding: 12px 14px;
  }

  .floating-card-top {
    top: -4px;
    left: 0;
  }

  .floating-card-bottom {
    bottom: 12px;
    left: 0;
  }

  .floating-card strong {
    font-size: 0.78rem;
  }

  .floating-card small {
    font-size: 0.68rem;
  }

  .floating-icon {
    width: 36px;
    height: 36px;
  }

  .communication-section {
    padding: 88px 0;
  }

  .communication-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .communication-copy h3 {
    margin-top: 34px;
  }

  .communication-copy .button {
    width: 100%;
  }

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

  .services-grid,
  .process-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 30px 24px;
  }

  .service-number {
    margin-bottom: 38px;
  }

  .benefits-visual {
    min-height: 430px;
    padding: 22px;
  }

  .benefits-panel {
    min-height: 386px;
    padding: 28px;
  }

  .process-card {
    min-height: 0;
  }

  .process-card span {
    margin-bottom: 34px;
  }

  .project-card-large {
    grid-row: auto;
  }

  .project-card-large .project-preview,
  .project-preview {
    min-height: 280px;
  }

  .project-preview-one {
    min-height: 480px;
    padding: 0;
  }

  .project-preview-one .project-badge {
    top: 20px;
    left: 20px;
  }

  .project-carousel,
  .project-carousel-track,
  .project-slide {
    min-height: 480px;
  }

  .project-slide {
    padding: 76px 48px 0;
  }

  .project-slide .project-screen {
    width: min(78%, 220px);
    max-height: 404px;
    border-width: 6px;
    border-radius: 24px 24px 0 0;
  }

  .project-carousel-button {
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }

  .project-carousel-prev {
    left: 10px;
  }

  .project-carousel-next {
    right: 10px;
  }

  .project-carousel-dots {
    bottom: 14px;
  }

  .final-cta {
    padding: 88px 0;
  }

  .final-cta-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .final-cta-actions .button {
    width: 100%;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 26px), var(--container));
  }

  .eyebrow {
    font-size: 0.76rem;
  }

  .hero-visual {
    min-height: 390px;
  }

  .browser-content {
    grid-template-columns: 27% 1fr;
    min-height: 245px;
  }

  .browser-main {
    padding: 34px 17px;
  }

  .floating-card-bottom {
    display: none;
  }

  .benefit-item {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .project-info {
    padding: 25px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========================================
   JOAD LIMA INSIGHTS
======================================== */

.insights-section {
  padding: 110px 0;
  background: var(--white, #fffdf8);
}

.insights-header {
  max-width: 760px;
  margin-bottom: 48px;
}

.insights-header h2 {
  margin-bottom: 20px;
  color: var(--navy, #0a2947);
}

.insights-header p {
  max-width: 620px;
  color: var(--text, #183047);
  opacity: 0.8;
}

/* Lista de vídeos */

.insights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* Card */

.insight-card {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(10, 41, 71, 0.1);
  border-radius: 26px;
  background: var(--cream, #f3e4c9);
  box-shadow: 0 18px 45px rgba(10, 41, 71, 0.08);
  scroll-margin-top: 110px;
}

/* Vídeo vertical */

.insight-video {
  width: 100%;
  background: #0a2947;
}

.insight-video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  height: auto;
  border: 0;
}

/* Informações */

.insight-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}

.insight-category {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--navy, #0a2947);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.insight-content h3 {
  max-width: 590px;
  margin-bottom: 22px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.18;
  color: var(--navy, #0a2947);
}

.insight-content p {
  max-width: 520px;
  margin-bottom: 32px;
  color: var(--text, #183047);
  opacity: 0.85;
}

/* Botão compartilhar */

.insight-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  border: 0;
  border-radius: 12px;
  background: var(--navy, #0a2947);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}

.insight-share::before {
  content: "↗";
  font-size: 1.2rem;
}

.insight-share:hover {
  background: #17456b;
  transform: translateY(-2px);
}

.insight-share:focus-visible {
  outline: 3px solid var(--brown, #8b5e3c);
  outline-offset: 4px;
}

/* Tablets */

@media (max-width: 850px) {
  .insights-section {
    padding: 85px 0;
  }

  .insight-card {
    grid-template-columns: minmax(200px, 40%) 1fr;
  }

  .insight-content {
    padding: 28px;
  }
}

/* Celulares */

@media (max-width: 600px) {
  .insights-section {
    padding: 70px 0;
  }

  .insights-header {
    margin-bottom: 32px;
  }

  .insight-card {
    grid-template-columns: 1fr;
  }

  .insight-video {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .insight-content {
    padding: 30px 24px;
  }

  .insight-content h3 {
    font-size: 1.6rem;
  }

  .insight-share {
    width: 100%;
  }
}

/* ========================================
   HERO - FOTO JOAD LIMA
======================================== */

/* Área da fotografia */

.hero-portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 540px;
  isolation: isolate;
}

/* Elemento decorativo de fundo */

.hero-portrait::before {
  content: "";
  position: absolute;
  width: 95%;
  aspect-ratio: 1;
  right: -5%;
  bottom: 1%;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.7;
  z-index: -1;
}

/* Moldura da foto */

.hero-photo-wrapper {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1 / 1.13;
  overflow: hidden;
  border: 8px solid var(--white);
  border-radius: 230px 230px 28px 28px;
  background: #bcb0a9;
  box-shadow: 0 25px 65px rgba(10, 41, 71, 0.16);
}

/* Fotografia */

.hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

/* Tablets */

@media (max-width: 1060px) {
  .hero-portrait {
    min-height: 480px;
    max-width: 550px;
    margin-inline: auto;
  }

  .hero-photo-wrapper {
    width: min(100%, 420px);
  }
}

/* Celulares */

@media (max-width: 760px) {
  .hero {
    padding-top: 50px;
    padding-bottom: 75px;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  /* Permite posicionar a foto
     entre o título e a descrição */

  .hero-copy {
    display: contents;
  }

  .hero-copy.reveal,
  .hero-portrait.reveal {
    opacity: 1;
    transform: none;
  }

  .hero-copy > .eyebrow {
    order: 0;
  }

  .hero-copy > h1 {
    order: 1;
    margin-bottom: 30px;
  }

  .hero-portrait {
    order: 2;
    width: 100%;
    max-width: 380px;
    min-height: 0;
    margin: 0 auto 38px;
  }

  .hero-photo-wrapper {
    width: min(82%, 310px);
    border-width: 6px;
    border-radius: 180px 180px 24px 24px;
  }

  .hero-portrait::before {
    width: 85%;
    right: 4%;
    bottom: -3%;
  }

  .hero-description {
    order: 3;
  }

  .hero-highlight {
    order: 4;
  }

  .hero-actions {
    order: 5;
  }
}

/* Celulares pequenos */

@media (max-width: 430px) {
  .hero-portrait {
    max-width: 330px;
  }

  .hero-photo-wrapper {
    width: 85%;
  }
}

/* Ajuste do título no mobile */

@media (max-width: 760px) {
  .hero h1 {
    font-size: clamp(2rem, 7.5vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.045em;
  }
}
