:root {
  color-scheme: light;

  /* Core Palette - Deeper & Richer */
  --teal-900: #003332;
  --teal-800: #054a46;
  --teal-700: #0b5c57;
  --teal-500: #1c7a73;
  --teal-100: #e0f2f1;

  /* Sand/Gold Palette - Premium feel */
  --sand-100: #fdfbf7;
  --sand-200: #f5f1e4;
  --sand-300: #e5dec4;
  --sand-400: #d4c8a5;
  --sand-500: #dad3ae;

  --white: #ffffff;
  --ink: #0a1f1e;

  /* Accent - More vibrant/gold */
  --accent: #f4b64f;
  --accent-hover: #e0a33e;

  /* Gradients */
  --gradient-hero: radial-gradient(circle at top right, rgba(29, 122, 115, 0.15), transparent 60%),
    linear-gradient(135deg, var(--sand-100) 0%, var(--sand-200) 100%);
  --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  --gradient-dark: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 100%);

  /* Effects */
  --shadow-sm: 0 4px 12px rgba(0, 60, 59, 0.06);
  --shadow-md: 0 12px 24px rgba(0, 60, 59, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(0, 60, 59, 0.12);
  --shadow-colored: 0 20px 40px -8px rgba(11, 92, 87, 0.15);
  --shadow: var(--shadow-md);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1200px;

  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background: var(--sand-200);
  line-height: 1.6;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
  margin: 0;
  line-height: 1.2;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin: 0 auto;
}

.site-header {
  background: var(--teal-900);
  color: var(--sand-200);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* --- Brand Styles (Updated) --- */
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo {
  height: 50px;
  width: auto;
  transition: all var(--transition-smooth);
  filter: brightness(1);
}

.brand-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-eyebrow {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 200;
  letter-spacing: 0.35rem;
  color: #dad3ae;
  text-transform: uppercase;
}

.brand-name {
  font-family: "Montserrat", sans-serif !important;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.15rem;
  color: #dad3ae;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .brand-logo {
    height: 40px;
  }

  /* Exibir texto da marca no mobile, mas reajustado */
  .brand-text {
    display: flex;
  }

  .brand-eyebrow {
    font-size: 0.6rem;
    letter-spacing: 0.2rem;
  }

  .brand-name {
    font-size: 1.0rem;
    letter-spacing: 0.1rem;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    height: 35px;
  }
}

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

.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background: var(--accent);
  color: #3a2600;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--white);
  color: var(--teal-900);
  border-color: var(--teal-900);
}

.btn-ghost {
  border-color: rgba(0, 60, 59, 0.3);
  color: var(--teal-900);
}

.btn-link-secondary {
  background: none;
  border: none;
  padding: 0.6rem;
  color: #999;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
  margin-top: 0.5rem;
  width: 100%;
}

.btn-link-secondary:hover {
  color: var(--teal-700);
}

/* --- Navigation & Mobile Menu --- */
.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--sand-200);
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--white);
}

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

.main-nav a:hover::after {
  width: 100%;
}

.nav-cta {
  display: none;
}

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--sand-200);
  transition: 0.3s;
}

@media (max-width: 1024px) {
  .header-cta {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: var(--teal-900);
    flex-direction: column;
    padding: 2rem;
    transition: 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
  }

  .main-nav.active {
    right: 0;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  /* .pill is already hidden within header-cta, but keeping this for specificity if needed elsewhere */
  .pill {
    display: none;
  }

  .main-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.6rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: var(--accent);
    color: #3a2600;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  }
}

.hero {
  padding: 4rem 0 6rem;
  background: radial-gradient(circle at top, rgba(0, 60, 59, 0.35), transparent 65%),
    linear-gradient(120deg, var(--sand-200) 20%, var(--sand-300) 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(0, 60, 59, 0.08);
  right: -120px;
  top: -120px;
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
}

.hero-copy h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
  color: var(--teal-900);
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  font-size: 0.85rem;
  color: var(--teal-700);
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.hero-inline-lead {
  margin: -0.8rem 0 1.6rem;
}

.trust-badges {
  display: grid;
  gap: 0.8rem;
}

.badge {
  background: var(--white);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.95rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--sand-200);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.hero-visual {
  display: grid;
  gap: 1.6rem;
  align-content: start;
}

.glass-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  position: relative;
}

.glass-top {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--teal-700);
  margin-bottom: 1.2rem;
}

.glass-body {
  display: grid;
  gap: 1rem;
}

.photo-placeholder {
  background: linear-gradient(130deg, rgba(0, 60, 59, 0.12), rgba(0, 60, 59, 0.02));
  border-radius: var(--radius-md);
  height: 180px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  font-weight: 600;
  color: var(--teal-900);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
  font-family: "Montserrat", sans-serif;
}

.photo-placeholder.tall {
  height: 220px;
}

.stat {
  background: var(--sand-200);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.floating-card {
  background: var(--teal-900);
  color: var(--sand-200);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
}

.floating-card p {
  margin: 0;
}

.link-arrow {
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.8rem;
  display: block;
}

.link-arrow:hover {
  text-decoration: underline;
}

.social-proof {
  padding: 4rem 0;
  background: var(--white);
}

.reviews {
  display: grid;
  gap: 1.6rem;
}

.review-card {
  background: var(--sand-200);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.review-card .stars {
  color: #ffd700;
  font-size: 1rem;
  margin-bottom: 0.6rem;
}

.review-card p {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.review-card span {
  font-size: 0.85rem;
  color: #999;
  font-weight: 600;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--teal-900);
  margin-top: 0.8rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-size: 0.8rem;
  color: var(--teal-700);
}

.about {
  padding: 4rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  gap: 3rem;
}

.about-photos {
  display: grid;
  gap: 1.6rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
}

.checklist li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  font-size: 0.95rem;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.services {
  padding: 4rem 0;
  background: var(--sand-100);
}

.service-grid {
  display: grid;
  gap: 1.6rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  color: var(--teal-900);
  margin-bottom: 0.8rem;
}

.offer {
  padding: 4rem 0;
  background: var(--white);
}

.offer-card {
  background: var(--teal-900);
  color: var(--sand-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: grid;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}

.offer-card .eyebrow {
  color: var(--sand-500);
}

.offer-card h2 {
  color: var(--white);
}

.steps {
  padding: 4rem 0;
  background: var(--white);
}

.steps-grid {
  display: grid;
  gap: 1.4rem;
}

.step-card {
  background: var(--sand-200);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.step-card span {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-900);
  color: var(--sand-200);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.step-card h3 {
  color: var(--teal-900);
  margin-bottom: 0.6rem;
}

.remote {
  padding: 4rem 0;
  background: var(--sand-100);
}

.remote-card {
  background: linear-gradient(120deg, var(--sand-300), var(--white));
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: grid;
  gap: 1.6rem;
  align-items: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.location {
  padding: 4rem 0;
  background: var(--white);
}

.location-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.map-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  display: block;
}

.location-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.final-cta {
  padding: 4rem 0;
  background: var(--teal-900);
  color: var(--sand-200);
}

.final-card {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.final-card .eyebrow {
  color: var(--sand-500);
}

.final-card h2 {
  color: var(--white);
}

.site-footer {
  padding: 3rem 0 2rem;
  background: #0c2020;
  color: var(--sand-200);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: left;
  margin-bottom: 2rem;
}

.footer-grid>div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-grid strong {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.footer-grid p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.9;
}

.footer-grid a {
  color: var(--sand-200);
  transition: color 0.2s;
}

.footer-grid a:hover {
  color: var(--accent);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(218, 211, 174, 0.2);
  font-size: 0.9rem;
}

.footer-legal p {
  margin: 0;
}

.footer-legal a {
  color: var(--sand-200);
  text-decoration: underline;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* Footer Mobile */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-grid>div {
    align-items: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- Floating WhatsApp (Enhanced for Conversion) --- */

/* Pulse animation to attract attention */
@keyframes pulse-whatsapp {

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

  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  }
}

@keyframes pulse-badge {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #25d366;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: pulse-whatsapp 2.5s infinite;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: scale(1.15) rotate(-5deg);
  animation: none;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Badge "Online" */
.whatsapp-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff4444;
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  border: 3px solid white;
  animation: pulse-badge 2s infinite;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Tooltip Enhanced */
.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--teal-900);
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--white);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  right: 80px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .floating-whatsapp {
    width: 48px !important;
    height: 48px !important;
    right: 15px !important;
    bottom: 15px !important;
    display: flex !important;
    position: fixed !important;
    z-index: 9999 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .floating-whatsapp svg {
    width: 38px;
    height: 38px;
  }

  .whatsapp-badge {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }

  /* Hide tooltip on mobile, show only on hover/tap */
  .whatsapp-tooltip {
    display: none;
  }
}

/* --- Lead Popup --- */
.lead-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lead-popup.active {
  opacity: 1;
  pointer-events: auto;
}

.lead-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 51, 50, 0.7);
  backdrop-filter: blur(5px);
}

.lead-popup-content {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem;
  border-radius: 24px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lead-popup.active .lead-popup-content {
  transform: translateY(0);
}

.lead-popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--teal-900);
  opacity: 0.6;
  transition: 0.2s;
}

.lead-popup-close:hover {
  opacity: 1;
}

.lead-popup-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.lead-popup-body h3 {
  font-size: 1.8rem;
  color: var(--teal-900);
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
}

.lead-popup-body>p {
  color: var(--teal-700);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lead-form input {
  padding: 0.9rem;
  border: 2px solid var(--sand-300);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  transition: 0.2s;
}

@media (max-width: 600px) {
  .lead-form input {
    padding: 1.1rem;
    font-size: 16px;
    /* Prevent iOS zoom */
  }
}

.lead-form input:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-100);
}

.lead-form input:invalid {
  border-color: #dc3545;
}

.lead-form .btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

.lead-popup-privacy {
  font-size: 0.8rem;
  color: #777;
  margin-top: 1rem;
  display: block;
}

.lead-popup-privacy a {
  color: var(--teal-700);
  font-weight: 600;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.link-inline {
  background: none;
  border: none;
  padding: 0;
  color: var(--teal-700);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}

.link-inline:hover {
  color: var(--teal-500);
}

.faq {
  padding: 4rem 0;
  background: var(--white);
}

.faq-list {
  display: grid;
  gap: 1.2rem;
}

.faq-item {
  background: var(--sand-200);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item h3 {
  margin: 0;
}

.faq-toggle {
  width: 100%;
  text-align: left;
  padding: 1.4rem 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.faq-toggle:hover {
  background-color: rgba(0, 60, 59, 0.05);
}

.faq-toggle::after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.3s;
  margin-left: 1rem;
}

.faq-item h3:has(.faq-toggle[aria-expanded="true"]) .faq-toggle::after {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.6rem 1.4rem;
  color: var(--ink);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

/* --- Responsive Helpers & Duplication Fix --- */
@media (min-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
  }

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

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

  .about-photos {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .about-photos .photo-placeholder:first-child {
    margin-top: 3rem;
  }

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

  .offer-card {
    grid-template-columns: 1.4fr 0.6fr;
    text-align: left;
    justify-items: start;
  }

  .offer-card h2 {
    font-size: 2.2rem;
  }

  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .remote-card {
    grid-template-columns: 1.3fr 0.7fr;
  }

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

  .final-card {
    grid-template-columns: 1.4fr 0.6fr;
  }

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

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

@media (max-width: 600px) {
  .site-header {
    position: sticky;
  }

  .brand-text {
    letter-spacing: 0.18rem;
  }

  .hero {
    padding-top: 3rem;
  }

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

  .header-cta {
    width: 100%;
    justify-content: flex-start;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .lead-popup-content {
    padding: 2rem;
  }

  .lead-form input {
    font-size: 16px;
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* --- CRO Improvements --- */

/* Pulse Animation */
@keyframes pulse-gold {
  0% {
    box-shadow: 0 0 0 0 rgba(244, 182, 79, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(244, 182, 79, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(244, 182, 79, 0);
  }
}

.pulse-animation .btn-primary {
  animation: pulse-gold 2s infinite;
}

/* --- Photo Gallery Section --- */
.store-gallery {
  padding: 4rem 0;
  background: var(--sand-100);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Item grande (destaque) */
.gallery-item-large {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .gallery-item-large {
    grid-column: span 1;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: var(--white);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item-large img {
  height: 400px;
}

@media (max-width: 768px) {

  .gallery-item img,
  .gallery-item-large img {
    height: 240px;
  }
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 51, 50, 0.95), transparent);
  color: var(--white);
  padding: 1.5rem 1.2rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

.gallery-caption span {
  font-size: 0.95rem;
  font-weight: 600;
  display: block;
}

/* Placeholder para fotos não adicionadas ainda */
.gallery-placeholder {
  background: linear-gradient(135deg, var(--sand-300), var(--sand-200));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  color: var(--teal-700);
  font-weight: 600;
  text-align: center;
  padding: 2rem;
}

.gallery-placeholder::before {
  content: '📷';
  font-size: 3rem;
}

/* Team photo styling */
.team-photo {
  margin-top: 2rem;
}

.team-photo img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
}

.team-photo p {
  text-align: center;
  margin-top: 1rem;
  color: var(--teal-700);
  font-weight: 600;
}

/* --- Mobile-First Enhancements --- */

/* Larger touch targets on mobile */
@media (max-width: 768px) {
  .btn {
    padding: 1.1rem 2rem;
    font-size: 1.05rem;
    min-height: 54px;
    /* Apple's recommended minimum touch target */
  }

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

  /* Improve readability on mobile */
  body {
    font-size: 1rem;
    line-height: 1.7;
  }

  h1 {
    line-height: 1.15;
  }

  h2 {
    line-height: 1.25;
  }

  /* Better spacing on mobile */
  section {
    padding: 3rem 0;
  }

  .section-title {
    margin-bottom: 2rem;
  }
}

/* Scroll reveal animation classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* --- Countdown Timer --- */
#countdown-timer {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  min-width: 80px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}

.countdown-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.3rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .countdown-item {
    min-width: 70px;
    padding: 0.6rem 1rem;
  }

  .countdown-number {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.7rem;
  }
}

/* --- Call Button Styles --- */
.btn-secondary[href^="tel:"] {
  background: var(--teal-700);
  color: var(--white);
  border-color: var(--teal-700);
}

.btn-secondary[href^="tel:"]:hover {
  background: var(--teal-900);
  border-color: var(--teal-900);
}

/* --- Enhanced Button Animations --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* --- Sticky Header Enhancement --- */
.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.site-header.scrolled .brand-logo {
  height: 40px;
}

/* --- Link Styles Enhancement --- */
.link-inline {
  background: none;
  border: none;
  color: var(--teal-700);
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  padding: 0;
  transition: color 0.2s;
}

.link-inline:hover {
  color: var(--accent);
}

/* ============================================
   SEÇÃO: Por que nos escolher (Diferenciais)
   ============================================ */
.diferenciais {
  padding: 4rem 0;
  background: var(--sand-100);
}

.diferenciais-grid {
  display: grid;
  gap: 1.4rem;
  /* Mobile-first: 1 coluna */
  grid-template-columns: 1fr;
}

.diferencial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.diferencial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-700), var(--accent));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.diferencial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.diferencial-card:hover::before {
  opacity: 1;
}

.diferencial-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.8rem;
}

.diferencial-card h3 {
  color: var(--teal-900);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.diferencial-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Tablet: 2 colunas */
@media (min-width: 600px) {
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop: 3 colunas */
@media (min-width: 1024px) {
  .diferenciais-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   WHATSAPP: Tooltip visível por padrão no mobile
   Aparece automaticamente por 4s ao carregar
   ============================================ */
@keyframes tooltip-show-hide {
  0% {
    opacity: 0;
    visibility: hidden;
    right: 75px;
  }

  10% {
    opacity: 1;
    visibility: visible;
    right: 80px;
  }

  75% {
    opacity: 1;
    visibility: visible;
    right: 80px;
  }

  100% {
    opacity: 0;
    visibility: hidden;
    right: 75px;
  }
}

@media (max-width: 768px) {
  .whatsapp-tooltip {
    display: block !important;
    animation: tooltip-show-hide 5s ease-in-out 1.5s forwards;
    opacity: 0;
    visibility: hidden;
  }
}