:root {
  /* Cores da Identidade Visual */
  --off-white: #F0F1EB;         /* Ivory Mist */
  --oliva-claro: #87916d;       /* Cider Pear Green */
  --oliva-profundo: #3a4534;    /* Arame Seaweed Green */
  --moonshine: #c2c2b0;         /* Moonshine */
  --carbon-fiber: #2a2a2a;      /* Carbon Fiber Color */
  
  /* Texto */
  --text-dark: var(--carbon-fiber);
  --text-light: var(--off-white);

  /* Fontes */
  --font-heading: 'IvyMode', sans-serif;
  --font-body: 'Proxima Nova', sans-serif;

  /* Espaçamento e Borda */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 32px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --container-width: 1200px;
}

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

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--off-white);
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
}

/* Leve efeito granulado de fundo */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--oliva-profundo);
  line-height: 1.2;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Layout */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: var(--radius-xl);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  letter-spacing: 0.5px;
}

.btn-primary {
  background-color: var(--oliva-profundo);
  color: var(--off-white);
  border-color: var(--oliva-profundo);
}

.btn-primary:hover {
  background-color: var(--off-white);
  color: var(--oliva-profundo);
  border-color: var(--oliva-profundo);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
  background-color: transparent;
  color: var(--oliva-profundo);
  border: 1px solid var(--oliva-profundo);
}

.btn-secondary:hover {
  background-color: var(--oliva-profundo);
  color: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.btn-accent {
  background-color: var(--oliva-profundo);
  color: var(--off-white);
  border: 1px solid var(--oliva-profundo);
}

.btn-accent:hover {
  background-color: var(--off-white);
  color: var(--oliva-profundo);
  border-color: var(--oliva-profundo);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Header & Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(240, 241, 235, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(146, 148, 116, 0.1);
  padding: 15px 0;
  transition: var(--transition);
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  transition: var(--transition);
}

.header.scrolled .container {
  height: 70px;
}

.logo img {
  height: 95px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 74px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--oliva-profundo);
  font-size: 14px;
  position: relative;
}

.nav-links a.btn-primary {
  color: var(--off-white);
}
.nav-links a.btn-primary:hover {
  color: var(--oliva-profundo);
}
.nav-links a.btn-primary::after {
  display: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--oliva-profundo);
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  font-size: 24px;
  color: var(--oliva-profundo);
  cursor: pointer;
}

/* Sections */
.section {
  padding: 100px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
}

.section-title h2 {
  font-size: 44px;
  margin-bottom: 24px;
  font-weight: 300;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--oliva-claro);
}

.section-title p {
  color: var(--oliva-profundo);
  opacity: 0.85;
  font-size: 17px;
  max-width: 900px;
  margin: 0 auto;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--off-white);
    padding: 24px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    align-items: stretch;
    gap: 12px;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    text-align: left;
    display: block;
    width: 100%;
    padding: 14px 20px;
    background-color: #ffffff;
    border: 1px solid rgba(146, 148, 116, 0.15);
    border-radius: var(--radius-md);
    transition: var(--transition);
  }

  .nav-links a::after {
    display: none !important;
  }

  .nav-links a:hover {
    background-color: rgba(146, 148, 116, 0.1);
    border-color: var(--oliva-claro);
    transform: translateX(4px);
  }

  .nav-links a.btn-primary {
    text-align: center;
    background-color: var(--oliva-profundo);
    color: var(--off-white);
    margin-top: 8px;
    border-color: var(--oliva-profundo);
  }

  .nav-links a.btn-primary:hover {
    background-color: var(--off-white);
    color: var(--oliva-profundo);
    border-color: var(--oliva-profundo);
    transform: none;
  }
  
  .nav-toggle {
    display: block;
  }
}

/* Footer */
.footer {
  background-color: var(--oliva-profundo);
  color: var(--text-light);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: var(--off-white);
  margin-bottom: 24px;
  font-size: 20px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(240, 241, 235, 0.8);
}

.footer-links a:hover {
  color: var(--oliva-claro);
}

.footer-whatsapp-link {
  color: #B1B574 !important;
  text-decoration: underline !important;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-whatsapp-link:hover {
  filter: brightness(1.2);
  transform: translateX(3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(240, 241, 235, 0.1);
  font-size: 14px;
  color: rgba(240, 241, 235, 0.6);
}

/* Animações utilitárias */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Botão do Whatsapp Fixo */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-content {
    padding: 20px;
    text-align: center;
}

.gallery-content h4 {
    margin-bottom: 8px;
    color: var(--oliva-profundo);
}

.gallery-item {
    overflow: hidden;
}

/* Estilo Boutique Premium Global */
.mission-card,
.cat-card,
.service-item,
.contact-info,
.contact-form,
.map-section,
.gallery-item,
.test-card,
.blog-card,
.single-post,
.card,
.diff-card {
    background-color: #ffffff !important;
    border: 1px solid rgba(146, 148, 116, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    border-radius: var(--radius-lg) !important;
    transition: var(--transition) !important;
}

.mission-card:hover,
.cat-card:hover,
.service-item:hover,
.gallery-item:hover,
.test-card:hover,
.blog-card:hover,
.card:hover,
.diff-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(82, 88, 74, 0.1) !important;
    border-color: var(--oliva-profundo) !important;
    background-color: var(--off-white) !important;
}

.service-image-placeholder,
.image-placeholder,
.blog-img {
    background-color: rgba(146, 148, 116, 0.05) !important;
}

/* Mobile Responsiveness & Overflow Prevention */
@media (max-width: 768px) {
    .section {
        padding: 50px 0 !important;
    }

    .container {
        padding: 0 20px !important;
    }

    /* Elegant, thin and smaller headings on mobile */
    h1 {
        font-size: 26px !important;
        font-weight: 300 !important;
        letter-spacing: -0.5px !important;
        line-height: 1.3 !important;
    }

    h2, 
    .section-title h2,
    .lp-hero h1,
    .lp-solution-content h2 {
        font-size: 22px !important;
        font-weight: 300 !important;
        letter-spacing: -0.3px !important;
        line-height: 1.3 !important;
    }

    h3,
    .pain-card h3,
    .faq-question h4 {
        font-size: 18px !important;
        font-weight: 400 !important;
        line-height: 1.4 !important;
    }

    p,
    .pain-card p,
    .faq-answer p,
    .lp-solution-content p,
    .lp-hero p {
        font-size: 15px !important;
        line-height: 1.7 !important;
        font-weight: 300 !important;
    }

    /* Force grids to single column on mobile to prevent horizontal overflow */
    .mission-grid,
    .service-category-grid,
    .services-grid,
    .gallery-grid,
    .test-grid,
    .diff-grid,
    .footer-grid,
    .pain-point-grid {
        grid-template-columns: 1fr !important;
    }

    /* Ensure paddings on cards aren't too large for mobile */
    .diff-card,
    .service-card,
    .mission-card,
    .contact-info,
    .contact-form,
    .cat-card,
    .test-card,
    .gallery-item,
    .service-content {
        padding: 24px 16px !important;
    }

    /* Stack buttons full-width */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 14px 24px !important;
    }

    /* Ensure media elements don't cause overflow */
    img, iframe, video {
        max-width: 100% !important;
        height: auto;
    }

    .map-section iframe {
        height: 300px !important;
    }

    /* Fix header display on mobile */
    .google-reviews-header {
        flex-direction: column;
        text-align: center;
    }

    .google-rating h3 {
        font-size: 18px !important;
    }

    /* Ocular navegação no rodapé no mobile */
    .footer-nav-col {
        display: none !important;
    }

    /* Evitar hifens estranhos em títulos e parágrafos mantendo a fluidez de quebra */
    h1, h2, h3, h4, h5, p, span {
        word-break: keep-all !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        -webkit-hyphens: none !important;
    }
}

/* Destaque para Resultados Esperados / Indicação */
.service-indications {
    margin: 15px 0;
    padding: 12px 16px;
    background-color: rgba(146, 148, 116, 0.08);
    border-left: 3px solid var(--oliva-claro);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.service-indications strong {
    color: var(--oliva-profundo);
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-indications ul {
    margin: 0;
    padding-left: 5px;
    list-style: none;
}

.service-indications li {
    font-size: 14px;
    color: var(--carbon-fiber);
    display: flex;
    align-items: center;
    gap: 6px;
}

.service-indications li::before {
    content: "•";
    color: var(--oliva-claro);
    font-weight: bold;
}

