/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #F7F5EF;
  --coral: #D87C65;
  --black: #1C1C1C;
  --beige: #D9CFC5;
  --beige-dark: #A89888;
  --peach: #F0BBA3;
  --white: #FFFFFF;
  --font: 'ClashDisplay', sans-serif;
  --side-margin: 5rem;
}

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

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--bg);
  transition: background-color 0.4s, box-shadow 0.3s;
}

/* Transparent header over hero */
.header--transparent {
  background-color: transparent;
}

.header--transparent .nav__links a {
  color: var(--white);
}

.header--transparent .nav__hamburger span {
  background: var(--white);
}

.header--transparent .nav__logo img {
  filter: brightness(0) invert(1);
}

.header--transparent .nav__cta .btn {
  border-color: var(--white);
  color: var(--white);
}

.header--transparent .nav__cta .btn:hover {
  background: var(--white);
  color: var(--black);
}

.header.scrolled {
  background-color: var(--bg);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.scrolled.header--transparent .nav__links a {
  color: var(--black);
}

.header.scrolled.header--transparent .nav__hamburger span {
  background: var(--black);
}

.header.scrolled.header--transparent .nav__logo img {
  filter: none;
}

.header.scrolled.header--transparent .nav__cta .btn {
  border-color: var(--coral);
  color: var(--coral);
}

.header.scrolled.header--transparent .nav__cta .btn:hover {
  background: var(--coral);
  color: var(--white);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
}

.nav__logo img {
  height: 110px;
  width: auto;
  transition: filter 0.4s;
  margin: -28px 0;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__links a {
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  transition: color 0.3s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--coral);
  transition: width 0.3s;
}

.nav__links a:hover {
  color: var(--coral);
}

.nav__links a:hover::after {
  width: 100%;
}

/* Nav CTA button */
.nav__cta {
  display: flex;
  align-items: center;
}

.nav__cta .btn {
  padding: 0.55rem 1.5rem;
  font-size: 0.75rem;
  border: 2px solid var(--coral);
  background: transparent;
  color: var(--coral);
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav__cta .btn:hover {
  background: var(--coral);
  color: var(--white);
  transform: translateY(-1px);
}

/* Dropdown Servicos */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  padding: 1rem 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  transform: translateX(-50%) translateY(10px);
  margin-top: 0.5rem;
}

.nav__dropdown:hover .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
  text-transform: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--black) !important;
}

.nav__dropdown-menu a:hover {
  background-color: var(--bg);
}

.nav__dropdown-menu a::after {
  display: none;
}

/* Mobile hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav__hamburger span {
  width: 25px;
  height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn--coral {
  background-color: var(--coral);
  color: var(--white);
}

.btn--coral:hover {
  background-color: #c46b55;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(216, 124, 101, 0.35);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--coral);
  color: var(--coral);
}

.btn--outline:hover {
  background-color: var(--coral);
  color: var(--white);
}

/* ===== HERO (full-bleed, invades header) ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28,28,28,0.55) 0%,
    rgba(28,28,28,0.25) 30%,
    rgba(28,28,28,0.15) 50%,
    rgba(28,28,28,0.35) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__title--dark {
  color: var(--black);
  text-shadow: none;
}

/* ===== SERVICE HERO (pages servicos) ===== */
.service-hero {
  margin-top: 60px;
  background-color: var(--beige);
  text-align: center;
  padding: 3rem 2rem 2.5rem;
}

.service-hero__title {
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  max-width: 650px;
  margin: 0 auto 1.2rem;
}

.service-hero__subtitle {
  font-size: 1rem;
  font-weight: 400;
  max-width: 550px;
  margin: 0 auto 2rem;
  color: #444;
  line-height: 1.6;
}

/* ===== SECTIONS (consistent side margins) ===== */
.section {
  padding: 3rem 2rem;
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--side-margin);
}

.section--beige {
  background-color: var(--beige);
}

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

.section__container {
  max-width: 1100px;
  margin: 0 auto;
}

.section__title {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.12em;
}

.section__title--coral {
  color: var(--coral);
}

.section__title--beige-dark {
  color: var(--beige-dark);
}

.section__subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* ===== SERVICES CARDS (Home) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.service-card__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.2rem;
}

.service-card__icon--dark {
  /* SVG strokes already set to dark */
}

.service-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.service-card__list {
  text-align: left;
  font-size: 0.9rem;
  line-height: 1.8;
}

.service-card__list li::before {
  content: '\2022';
  color: var(--coral);
  margin-right: 0.5rem;
  font-weight: 700;
}

/* ===== WORK / CTA SECTION (with carousel) ===== */
.work-section {
  padding: 3rem 2rem;
}

.work-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.work-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work-section__title {
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1rem;
  letter-spacing: 0.12em;
}

.work-section__text {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  color: #444;
  line-height: 1.7;
}

.work-section__text strong {
  text-transform: uppercase;
  font-weight: 600;
}

/* Carousel */
.work-carousel {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.work-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
}

.work-carousel__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.work-carousel__slide.active {
  opacity: 1;
}

.work-carousel__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 5;
}

.work-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}

.work-carousel__dot.active {
  background: var(--white);
}

/* ===== WHY CHOOSE ===== */
.why-section {
  background-color: var(--coral);
  color: var(--white);
  padding: 3rem 2rem;
}

.why-section .section__container {
  max-width: 1100px;
  margin: 0 auto;
}

.why-section__title {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 0.12em;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.why-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.why-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.92;
}

/* ===== ABOUT (rounded, with margins) ===== */
.about-section {
  padding: 3rem 2rem;
}

.about-section__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-section__image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.about-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-section__title {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.12em;
}

.about-section__text {
  font-size: 0.92rem;
  line-height: 1.8;
  color: #444;
}

.about-section__text p + p {
  margin-top: 1rem;
}

/* ===== CONTACT ===== */
.contact-section {
  padding: 3rem 2rem;
}

.contact-section .section__container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact__title {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--beige-dark);
  letter-spacing: 0.12em;
}

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

.contact__input,
.contact__textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--beige);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  background: var(--white);
  transition: border-color 0.3s;
  outline: none;
}

.contact__input:focus,
.contact__textarea:focus {
  border-color: var(--coral);
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.contact__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact__info-logo {
  margin-bottom: 1rem;
}

.contact__info-logo img {
  height: 200px;
  width: auto;
  object-fit: contain;
  margin: -1rem 0;
}

.contact__info-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: var(--coral);
  line-height: 1.5;
}

.contact__info-text {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact__info-social {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transition: transform 0.3s, opacity 0.3s;
}

.contact__social-link:hover {
  transform: scale(1.15);
  opacity: 0.8;
}

.contact__social-link img {
  width: 32px;
  height: 32px;
  /* Make icons coral/orange colored */
  filter: invert(56%) sepia(39%) saturate(739%) hue-rotate(332deg) brightness(89%) contrast(87%);
}

.contact__info-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  align-items: center;
}

.contact__info-details span {
  font-size: 0.9rem;
  color: #555;
}

/* ===== CONTACT FORM SUCCESS ANIMATION ===== */
.contact__success {
  text-align: center;
  padding: 3rem 1rem;
  animation: fadeInUp 0.6s ease;
}

.contact__success-icon {
  margin-bottom: 1.2rem;
}

.contact__success-circle {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: drawCircle 0.6s ease forwards;
}

.contact__success-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: drawCheck 0.4s ease forwards 0.5s;
}

.contact__success-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.contact__success-text {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

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

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

/* ===== PORTFOLIO GRID (aligned heights) ===== */
.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  grid-auto-rows: 1fr;
}

.portfolio-grid__item {
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.portfolio-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.portfolio-grid__item:hover img {
  transform: scale(1.05);
}

/* Vertical/portrait items span 2 rows */
.portfolio-grid__item--tall {
  grid-row: span 2;
}

.portfolio-cta {
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--bg);
}

.portfolio-cta__title {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  letter-spacing: 0.12em;
}

.portfolio-cta__text {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 2rem;
}

/* ===== SERVICE DETAIL (Projeto/Consultoria/Acompanhamento pages) ===== */
.service-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
}

.service-detail__title {
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  letter-spacing: 0.12em;
}

.service-detail__intro {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 3rem;
  max-width: 850px;
  line-height: 1.7;
}

/* ===== SERVICE CARDS CAROUSEL (Slider) ===== */
.service-cards-carousel {
  position: relative;
  margin-bottom: 2rem;
  padding: 0;
}

.service-cards-carousel__track-wrapper {
  overflow: hidden;
  padding: 0 0.5rem;
}

.service-cards-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  user-select: none;
}

.service-cards-carousel__track.dragging {
  cursor: grabbing;
  transition: none;
}

.service-cards-carousel__track .service-type-card {
  flex: 0 0 calc(33.333% - 0.8rem);
  max-width: calc(33.333% - 0.8rem);
  padding: 1.8rem;
  margin: 0 0.4rem;
  background: var(--white);
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.service-cards-carousel__track .service-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.service-type-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  color: var(--coral);
}

.service-type-card__text {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
}

/* Carousel arrows hidden - replaced by dots */
.carousel-arrow {
  display: none;
}

/* Carousel dots (below cards) */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--beige-dark);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, border-color 0.3s;
}

.carousel-dot.active {
  background: var(--coral);
  border-color: var(--coral);
}

.carousel-dot:hover {
  border-color: var(--coral);
}

/* Old grid fallback - keep for non-carousel pages */
.service-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-type-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-type-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

/* ===== PROCESS STEPS (animated) ===== */
.process-section {
  padding: 3rem 2rem;
  background: var(--bg);
}

.process-section__title {
  font-size: 1.3rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.12em;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.process-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 0;
  position: relative;
}

.process-step {
  text-align: center;
  flex: 1;
  min-width: 80px;
  max-width: 140px;
  position: relative;
  opacity: 0;
  transform: translateY(25px) scale(0.95);
  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Zigzag: odd steps up, even steps down */
.process-step:nth-child(odd) {
  align-self: flex-start;
}

.process-step:nth-child(even) {
  align-self: flex-end;
  margin-top: 2rem;
}

.process-step.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.process-step__circle {
  width: 50px;
  height: 50px;
  background: var(--coral);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.8rem;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.process-step.animate-in:hover .process-step__circle {
  transform: scale(1.18);
  background-color: var(--beige-dark);
  box-shadow: 0 6px 20px rgba(168, 152, 136, 0.35);
}

.process-step__label {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.3s ease;
  color: var(--black);
}

.process-step.animate-in:hover .process-step__label {
  color: var(--coral);
}

/* Organic curved arrow between steps (using seta SVGs) */
.process-step__arrow {
  position: absolute;
  right: -38px;
  width: 45px;
  height: 25px;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s;
  z-index: 2;
}

/* Odd steps: arrow curves down (seta-1) */
.process-step:nth-child(odd) .process-step__arrow {
  top: auto;
  bottom: -15px;
}

/* Even steps: arrow curves up (seta-2) */
.process-step:nth-child(even) .process-step__arrow {
  top: -15px;
  bottom: auto;
}

.process-step__arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.process-step.animate-in .process-step__arrow {
  opacity: 0.5;
}

/* ===== SERVICE FULL-WIDTH IMAGE ===== */
.service-image-full {
  width: 100%;
  height: 75vh;
  min-height: 550px;
  max-height: 900px;
  object-fit: cover;
  object-position: center 40%;
}

/* ===== BENEFITS (with stats) ===== */
.benefits-section {
  background-color: var(--coral);
  color: var(--white);
  padding: 3rem 2rem;
}

.benefits-section__title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  text-align: center;
}

.benefit-card__stat {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  line-height: 1;
}

.benefit-card__icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
}

.benefit-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.benefit-card__text {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== FAQ (side-by-side layout) ===== */
.faq-section {
  padding: 3rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.faq-section--side {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

.faq-section__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.12em;
}

.faq-section--side .faq-section__title {
  margin-bottom: 1rem;
}

.faq-section__title-side-text {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.faq-item {
  border-bottom: 1px solid var(--beige);
  padding: 1.2rem 0;
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  gap: 1rem;
  font-family: var(--font);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  color: var(--black);
}

.faq-item__question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--coral);
}

.faq-item.active .faq-item__question::after {
  content: '\2212';
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* ===== ACOMPANHAMENTO - Formats ===== */
.format-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0 1rem;
}

.format-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.format-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.format-card__badge {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.format-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.format-card__subtitle {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--beige-dark);
  margin-bottom: 1rem;
}

.format-card__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

.format-card__features {
  list-style: none;
}

.format-card__features li {
  font-size: 0.85rem;
  line-height: 1.8;
  padding-left: 1.5rem;
  position: relative;
  color: #555;
}

.format-card__features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--coral);
  font-weight: 700;
}

/* Comparison table */
.comparison-section {
  padding: 1.5rem 2rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.comparison-section__title {
  font-size: 1.3rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.12em;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
}

.comparison-table thead th {
  background: var(--coral);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table tbody tr {
  border-bottom: 1px solid #eee;
}

.comparison-table tbody tr:last-child {
  border-bottom: none;
}

.comparison-table .check {
  color: var(--coral);
  font-weight: 700;
  font-size: 1.1rem;
}

.comparison-table .partial {
  color: var(--beige-dark);
  font-size: 0.85rem;
}

/* Includes list removed - integrated into format cards */

/* Acompanhamento CTA */
.acomp-cta {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--coral);
  color: var(--white);
}

.acomp-cta__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.acomp-cta__text {
  font-size: 0.95rem;
  margin-bottom: 2rem;
  opacity: 0.92;
}

.acomp-cta .btn {
  background: var(--white);
  color: var(--coral);
  font-weight: 700;
}

.acomp-cta .btn:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.active {
  display: flex;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
}

/* ===== MOBILE NAV ===== */
.nav__mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--bg);
  padding: 1rem 2rem 2rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.nav__mobile-menu.active {
  display: block;
}

.nav__mobile-menu a {
  display: block;
  padding: 0.7rem 0;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
}

.nav__mobile-menu .mobile-submenu {
  padding-left: 1.2rem;
}

.nav__mobile-menu .mobile-submenu a {
  font-size: 0.85rem;
  text-transform: none;
  color: #555;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  :root {
    --side-margin: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .work-section__inner,
  .about-section__inner {
    grid-template-columns: 1fr;
  }

  .about-section__image {
    height: 350px;
    min-height: unset;
  }

  .work-section__content {
    padding: 0;
  }

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

  .contact-section .section__container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .service-types-grid {
    grid-template-columns: 1fr;
  }

  .service-cards-carousel__track .service-type-card {
    flex: 0 0 calc(50% - 0.8rem);
    max-width: calc(50% - 0.8rem);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .faq-section--side {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  :root {
    --side-margin: 1rem;
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
    order: 3;
  }

  .nav__cta {
    order: 2;
    margin-right: 1rem;
  }

  .nav__cta .btn {
    padding: 0.45rem 1.1rem;
    font-size: 0.7rem;
  }

  .nav__logo img {
    height: 75px;
    margin: -18px 0;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero {
    height: 70vh;
  }

  .service-hero__title {
    font-size: 2rem;
  }

  .section__title,
  .why-section__title,
  .about-section__title,
  .contact__title {
    font-size: 1.4rem;
  }

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

  .portfolio-grid__item--tall {
    grid-row: span 2;
  }

  .process-steps {
    flex-direction: column;
    align-items: center;
  }

  .process-step__arrow {
    display: none;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  /* Work section: single image on mobile */
  .work-carousel {
    border-radius: 12px;
  }

  .about-section__image {
    border-radius: 12px;
  }

  .service-cards-carousel__track .service-type-card {
    flex: 0 0 calc(100% - 0.8rem);
    max-width: calc(100% - 0.8rem);
  }

  .service-cards-carousel {
    padding: 0;
  }

  /* Process steps: vertical on mobile, no zigzag */
  .process-step:nth-child(even) {
    margin-top: 0;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.7rem 0.8rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid__item--tall {
    grid-row: span 1;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .nav__logo img {
    height: 60px;
    margin: -14px 0;
  }

  .benefit-card__stat {
    font-size: 2.2rem;
  }
}
