/* ============================================
   RENATA MIGUEZ — LANDING PAGE
   Design System & Styles
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --color-primary: #E85405;
  --color-secondary: #F29325;
  --color-bg: #F7F5E9;
  --color-bg-alt: #EDE9D5;
  --color-bg-c2: rgba(195, 191, 168, 0.5);
  --color-bg-c1: rgba(210, 204, 183, 0.9);
  --color-text: #4f2202;
  --color-text-secondary: #462e20;
  --color-white: #ffffff;
  --color-black: #1a1a1a;

  --font-family: 'Open Sans', sans-serif;
  --font-heading: 'Source Serif 4', serif;

  --fs-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --fs-base: clamp(1rem, 0.92rem + 0.4vw, 1.125rem);
  --fs-md: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
  --fs-lg: clamp(1.25rem, 1.2rem + 1.5vw, 1.5rem);
  --fs-xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --fs-2xl: clamp(3rem, 3.5rem + 5.5vw, 5rem);

  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(2, 73, 79, 0.06);
  --shadow-md: 0 4px 20px rgba(2, 73, 79, 0.08);
  --shadow-lg: 0 8px 40px rgba(2, 73, 79, 0.1);
  --shadow-xl: 0 16px 56px rgba(2, 73, 79, 0.14);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1200px;
  --section-py: clamp(4rem, 3rem + 5vw, 8rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 1rem + 2vw, 3rem);
}

.section-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2rem;
}

.section-tag::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-family);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(232, 84, 5, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 6px 24px rgba(232, 84, 5, 0.4);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn--ghost:hover {
  background: var(--color-text);
  color: var(--color-white);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: var(--fs-base);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background var(--transition-base),
    padding var(--transition-base),
    box-shadow var(--transition-base);
}

.navbar--scrolled {
  background: rgba(247, 245, 233, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-sm);
}

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

.navbar__brand {
  font-size: var(--fs-md);
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  color: var(--color-text);
  transition: color var(--transition-base);
  letter-spacing: -0.02em;
}

.navbar--scrolled .navbar__brand {
  color: var(--color-text);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: 2px;
  transition: width var(--transition-base);
}

.navbar__link:hover {
  color: var(--color-text);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar--scrolled .navbar__link {
  color: var(--color-text-secondary);
}

.navbar--scrolled .navbar__link:hover {
  color: var(--color-text);
}

.navbar__link--cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-white) !important;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: var(--fw-semibold);
}

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

.navbar__link--cta:hover {
  box-shadow: 0 4px 16px rgba(232, 84, 5, 0.35);
  transform: translateY(-1px);
}

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

.navbar__toggle-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--color-text);
  border-radius: 4px;
  transition:
    transform var(--transition-base),
    opacity var(--transition-fast),
    background var(--transition-base);
}

.navbar--scrolled .navbar__toggle-bar {
  background: var(--color-text);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active .navbar__toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('resources/img/hero.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(222, 94, 9, 0.2) 0%,
      rgba(79, 39, 2, 0.5) 50%,
      var(--color-bg) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: min(90vw, 650px);
  aspect-ratio: 1 / 1;
  max-width: 800px;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, rgba(210, 196, 183, 0.5) 40%, rgba(195, 178, 168, 0.5) 90%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 50%;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  /*background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 150%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;*/
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(90, 82, 79, 0.18);
  animation: heroTitleFadeIn 1s ease-out both;

}

.hero__subtitle {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--color-text-primary);
  max-width: 400px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: heroSubtitleFadeIn 1s ease-out 0.3s both;
}

.hero__cta {
  animation: heroCTAFadeIn 1s ease-out 0.6s both;
}

@keyframes heroTitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroSubtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroCTAFadeIn {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ============================================
   SERVIÇOS
   ============================================ */
.servicos {
  padding: var(--section-py) 0;
  background: var(--color-bg);
}

.servicos__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto clamp(2.5rem, 2rem + 3vw, 4rem);
}

.servicos__header .section-tag {
  padding-left: 0;
}

.servicos__header .section-tag::before {
  display: none;
}

.servicos__intro {
  color: var(--color-text-secondary);
  font-size: var(--fs-base);
}

.servicos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

/* Service Card */
.service-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 400px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .service-card {
    aspect-ratio: 343 / 605;
  }
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.service-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-secondary);
  mix-blend-mode: multiply;
  opacity: 1;
  transition: opacity var(--transition-base);
  z-index: 1;
}

.service-card:hover .service-card__img::after {
  opacity: 0;
}

.service-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4e9ea, #b8dade);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-text-secondary);
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card__img-placeholder {
  transform: scale(1.05);
}

.service-card__img-placeholder svg {
  opacity: 0.3;
}

.service-card__img-placeholder span {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  opacity: 0.4;
}

.service-card__body {
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 1rem + 1.5vw, 1.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.125rem;
  background: linear-gradient(180deg, rgba(247, 245, 233, 0) 23%, rgba(247, 245, 233, 0.9) 60%, rgba(255, 255, 255 , 1) 100%);
  height: 100%;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.5rem);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  line-height: 1.3;
}

.service-card__subtitle {
  font-size: var(--fs-xs);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--fw-bold);
  margin-top: -0.75rem;
  display: block;
}

.service-card__subtitle:empty {
  display: none;
}

.service-card__text {
  color: var(--color-text-secondary);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* Button class for service card */
.btn--text-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-family);
  font-weight: var(--fw-semibold);
  font-size: 1rem;
  color: #e85405;
  background: transparent;
  padding: 0;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), color var(--transition-fast);
  align-self: flex-end;
}

.btn--text-arrow svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  transition: transform var(--transition-fast);
}

.service-card:hover .btn--text-arrow {
  transform: translateY(-2px);
}

.service-card:hover .btn--text-arrow svg {
  transform: translateX(4px);
}

/* ============================================
   SOBRE MIM
   ============================================ */
.sobre {
  padding: var(--section-py) 0;
  background: var(--color-white);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 2rem + 3vw, 5rem);
  align-items: center;
}

.sobre__text {
  order: 1;
}

.sobre__text p {
  color: var(--color-text-secondary);
  margin-bottom: 1.25rem;
  font-size: var(--fs-base);
}

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

.sobre__text em {
  color: var(--color-primary);
  font-style: italic;
  font-weight: var(--fw-medium);
}

.sobre__photo {
  order: 2;
  display: flex;
  justify-content: center;
}

.sobre__photo-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sobre__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sobre__photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  /*border: 3px solid transparent; */
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
}

.sobre__photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-bg-alt), #e5e1cc);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-text-secondary);
}

.sobre__photo-placeholder svg {
  opacity: 0.4;
}

.sobre__photo-placeholder span {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  opacity: 0.5;
}


/* ============================================
   DEPOIMENTOS (CAROUSEL)
   ============================================ */
.depoimentos {
  padding: var(--section-py) 0;
  background: var(--color-bg);
  overflow: hidden;
}

.depoimentos__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.depoimentos__header .section-tag {
  padding-left: 0;
}

.depoimentos__header .section-tag::before {
  display: none;
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.5s ease-in-out;
  padding: 0;
}

.carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 1rem;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.depoimento-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.quote-icon {
  color: var(--color-bg-c1);
  margin-bottom: -15px;
}

.depoimento-card__text {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1rem + 1vw, 1.5rem);
  color: var(--color-text);
  line-height: 1.6;
  font-style: italic;
}

.depoimento-card__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
}

.author-name {
  font-weight: var(--fw-bold);
  color: var(--color-primary);
  font-size: var(--fs-base);
}

.author-service {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.carousel-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.carousel-nav-wrapper {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.carousel-btn {
  background: none;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.carousel-btn:hover {
  background: var(--color-bg-alt);
  transform: scale(1.1);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.carousel-indicators {
  display: flex;
  gap: 0.75rem;
}

.carousel-indicators .indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg-c1);
  cursor: pointer;
  transition: background var(--transition-base), transform var(--transition-fast);
  padding: 0;
}

.carousel-indicators .indicator.active {
  background: var(--color-primary);
  transform: scale(1.3);
}

.carousel-progress {
  width: 120px;
  height: 3px;
  background: var(--color-bg-alt);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.carousel-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-primary);
  transform-origin: left;
}

/* ============================================
   CONTATO
   ============================================ */
.contato {
  padding: var(--section-py) 0;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.contato::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232, 84, 5, 0.05) 0%, transparent 70%);
  top: -150px;
  right: -150px;
  border-radius: 50%;
  pointer-events: none;
}

.contato__inner {
  position: relative;
  z-index: 1;
}

.contato__content {
  max-width: 650px;
  text-align: center;
  margin: 0 auto;
}

.contato__content .section-tag {
  padding-left: 0;
}

.contato__content .section-tag::before {
  display: none;
}

.contato__text {
  color: var(--color-text-secondary);
  font-size: var(--fs-base);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contato__text a {
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color var(--transition-fast);
}

.contato__text a:hover {
  color: var(--color-primary);
}

.contato__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.6);
  padding: 1.5rem 0;
  text-align: center;
}

.footer__copy {
  font-size: var(--fs-xs);
  font-weight: var(--fw-light);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  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);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
  animation: whatsappPulse 2.5s infinite ease-in-out;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  animation-play-state: paused;
}

@keyframes whatsappPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6), 0 0 0 12px rgba(37, 211, 102, 0.1);
  }
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

.reveal--delay-1 {
  transition-delay: 0.1s;
}

.reveal--delay-2 {
  transition-delay: 0.2s;
}

.reveal--delay-3 {
  transition-delay: 0.3s;
}

/* ============================================
   SERVICE MODAL
   ============================================ */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.service-modal.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(87, 44, 26, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-modal__panel {
  position: relative;
  width: 90%;
  max-width: 720px;
  max-height: 90vh;
  max-height: 90dvh;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(30px) scale(0.96);
  transition: transform var(--transition-base);
}

.service-modal.open .service-modal__panel {
  transform: translateY(0) scale(1);
}

.service-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.service-modal__close:hover {
  background: var(--color-white);
  transform: scale(1.1);
}

.service-modal__img {
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: linear-gradient(135deg, #d4e9ea, #b8dade);
}

.service-modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-modal__img .modal-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  opacity: 0.3;
}

.service-modal__body {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
}

.service-modal__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

.service-modal__text {
  color: var(--color-text-secondary);
  font-size: var(--fs-base);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-modal__text p {
  margin-bottom: 1rem;
}

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

.service-modal__text a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: inherit;
  transition: color var(--transition-fast);
}

.service-modal__text a:hover {
  color: var(--color-primary);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 960px) {
  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .servicos__grid .service-card:last-child {
    grid-column: 1 / -1;
    max-width: 450px;
    justify-self: center;
  }

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

  .sobre__text {
    order: 2;
  }

  .sobre__photo {
    order: 1;
  }

  .sobre__photo-frame {
    max-width: 320px;
  }

  .carousel-btn {
    width: 48px;
    height: 48px;
    padding: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar__toggle {
    display: flex;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: rgba(247, 245, 233, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 3rem 2.5rem;
    gap: 1.75rem;
    transition: right var(--transition-base);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
  }

  .navbar__menu.open {
    right: 0;
  }

  .navbar__link {
    color: var(--color-text) !important;
    font-size: var(--fs-md);
  }

  .navbar__link:hover {
    color: var(--color-primary) !important;
  }

  .hero__title {
    font-size: clamp(2.2rem, 1.7rem + 4vw, 3.5rem);
    margin-bottom: .8rem;
    line-height: 1;
  }

  .hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.4;
    padding-inline: 1.5rem;
    margin-bottom: 1rem;
  }

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

  .servicos__grid .service-card:last-child {
    max-width: 100%;
  }

  .contato__actions {
    flex-direction: column;
  }

  .contato__actions .btn {
    width: 100%;
  }
}

/* Small phones */
@media (max-width: 400px) {
  .hero__title {
    font-size: 2.5rem;
    line-height: 0.9;
    margin-bottom: 0.7rem;
  }

  .hero__subtitle {
    font-size: var(--fs-base);
    line-height: 1.4;
    padding-inline: 1.4rem;
    margin-bottom: .75rem;
  }

  /*
  .btn--primary {
    padding: 0.75rem 1.75rem;
    font-size: var(--fs-base);
    max-width: 170px;
  }
*/
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  /*
  .cta-float {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-family: var(--font-family);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-base);
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(232, 84, 5, 0.3);
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    white-space: normal;
    overflow-wrap: break-word;
    max-width: 150px;
  }

  .cta-float:hover {
    transform: translateY(-2px) translateX(-50%);
    box-shadow: 0 6px 24px rgba(232, 84, 5, 0.4);
  }

  .cta-float:active {
    transform: translateY(0) translateX(-50%);
  }
}*/