* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --accent: #0f6b5c;
  --accent-hover: #0b5649;
  --on-accent: #ffffff;
  --text: #1c2129;
  --text-muted: #555c68;
  --border-subtle: rgba(28, 33, 41, 0.12);
  --border-accent: rgba(15, 107, 92, 0.35);
  --bg-rgb: 246, 245, 241;
  --white: #fff;
  --whatsapp: #25d366;
  --whatsapp-hover: #1ebe5b;
  --radius: 8px;
  --shadow-float: 0 2px 8px rgba(0, 0, 0, 0.2);
  --spacing-section-sm: 60px;
  --spacing-section: 100px;
  --spacing-section-lg: 120px;
  --gutter: 20px;
  --notice-h: 32px;
  --container: 1200px;
  --container-narrow: 1000px;
  --container-text: 800px;
  --duration: 0.3s;
  --transition: var(--duration) ease;
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  /* foto clara: o véu claro fica forte à esquerda, onde está o texto */
  --hero-overlay: linear-gradient(90deg, rgba(var(--bg-rgb), 0.96) 0%, rgba(var(--bg-rgb), 0.88) 45%, rgba(var(--bg-rgb), 0.35) 100%);
  --hero-overlay-mobile: linear-gradient(180deg, rgba(var(--bg-rgb), 0.95) 0%, rgba(var(--bg-rgb), 0.88) 60%, rgba(var(--bg-rgb), 0.7) 100%);
  --space-overlay: linear-gradient(180deg, var(--bg) 0%, rgba(var(--bg-rgb), 0.82) 18%, rgba(var(--bg-rgb), 0.82) 82%, var(--bg) 100%);
}

/* Fontes locais (recorte latin), sem depender do Google Fonts. A Inter é
   variável: um arquivo serve os pesos de 400 a 600. */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/manrope-700.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../assets/fonts/inter-var.woff2?v=1') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rolagem suave ao clicar no menu; o respiro no topo evita que a faixa e a navbar fixas cubram o título da seção */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--notice-h) + 88px);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 8px 16px;
  z-index: 1001;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
}

body.menu-open {
  overflow: hidden;
}

.svg-sprite {
  display: none;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--accent);
  color: var(--on-accent);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 1rem;
  transition: background-color var(--transition);
  border: none;
  cursor: pointer;
}

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

.btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* faixa fixa no topo: avisa que o projeto é fictício. Uma linha só, porque a navbar fica logo abaixo dela */
.demo-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--notice-h);
  line-height: var(--notice-h);
  padding: 0 var(--gutter);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.8rem;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-notice a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* abaixo de 400px a frase não cabe numa linha: a faixa ganha duas e a navbar desce junto */
@media (max-width: 400px) {
  :root {
    --notice-h: 44px;
  }

  .demo-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.35;
  }
}

.navbar {
  position: fixed;
  top: var(--notice-h);
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(var(--bg-rgb), 0.95);
  box-shadow: 0 1px 0 var(--border-subtle);
}

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

.navbar-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

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

.navbar-links a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition);
  padding: 12px 16px;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--accent);
}

.navbar-links .navbar-btn,
.navbar-links .navbar-btn:hover {
  color: var(--on-accent);
  transition: background-color var(--transition);
}

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

.navbar-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.navbar-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.navbar-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  /* alinha o texto com o logo da navbar */
  padding: 60px max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  position: relative;
  background-image: var(--hero-overlay), url('../assets/images/hero.webp?v=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  max-width: 680px;
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
}

.hero-info {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-info span {
  white-space: nowrap;
}

.services,
.how-it-works {
  padding: var(--spacing-section) 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 auto 40px;
}

/* título alinhado à esquerda da coluna de conteúdo; em "O espaço" ele herda o centro */
.services .section-title {
  max-width: 640px;
}

.how-it-works .section-title {
  max-width: var(--container-text);
}

.price-list {
  list-style: none;
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 32px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.price-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.price-item:last-child {
  border-bottom: 0;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}

.price-name {
  font-size: 1.25rem;
}

.price-dots {
  flex: 1;
  border-bottom: 2px dotted var(--border-accent);
  transform: translateY(-6px);
}

.price-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.price-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.space {
  padding: var(--spacing-section-lg) 0;
  background-image: var(--space-overlay), url('../assets/images/ambiente.webp?v=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.space-copy {
  max-width: 700px;
}

.space-title {
  margin-bottom: 24px;
}

.space-text {
  font-size: 1.25rem;
  line-height: 1.8;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: var(--container-text);
  margin: 0 auto;
}

.step-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-num {
  color: var(--accent);
}

.step-desc {
  color: var(--text-muted);
}

.footer {
  padding: 60px var(--gutter) 40px;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: var(--container-narrow);
  margin: 0 auto;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.footer-section p,
.footer-section li {
  color: var(--text-muted);
  margin-bottom: 6px;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  display: block;
}

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

.footer-bottom {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-note {
  margin-top: 8px;
  font-size: 0.8rem;
}

.footer-note a {
  text-decoration: underline;
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-float);
  z-index: 999;
  transition: background-color var(--transition);
}

.whatsapp-float:hover {
  background: var(--whatsapp-hover);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}

@media (max-width: 1100px) {
  .navbar-links {
    gap: 4px;
  }

  .navbar-links a {
    padding: 12px 10px;
  }
}

@media (max-width: 768px) {
  /* em 320px a frase só cabe inteira com fonte e margem menores */
  .demo-notice {
    padding: 0 12px;
    font-size: 0.75rem;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    height: 100vh;
    height: 100dvh;
    padding: 0 var(--gutter);
    background: var(--surface);
    box-shadow: -1px 0 0 var(--border-subtle);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    transform: translateX(100%);
    visibility: hidden;
    /* ao fechar, esconde só depois do deslize; ao abrir, mostra na hora para o foco no primeiro link funcionar */
    transition: transform var(--transition), visibility 0s linear var(--duration);
  }

  .navbar-links.active {
    transform: translateX(0);
    visibility: visible;
    transition: transform var(--transition);
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar-btn {
    width: 100%;
  }

  .hero {
    /* o texto começa abaixo da faixa e da navbar fixas, mesmo em telas baixas */
    padding: calc(var(--notice-h) + 96px) var(--gutter) 40px;
    background-image: var(--hero-overlay-mobile), url('../assets/images/hero-mobile.webp?v=1');
  }

  .services,
  .space,
  .how-it-works {
    padding: var(--spacing-section-sm) 0;
  }

  .space {
    background-image: var(--space-overlay), url('../assets/images/ambiente-mobile.webp?v=1');
  }

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

  .price-list {
    padding: 4px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }


  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }

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

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

  .navbar-toggle span,
  .navbar-links,
  .navbar-links.active {
    transition: none;
  }
}
