/* ==========================================================================
   JJ Ribas Climatização
   ========================================================================== */

:root {
  /* Paleta: cinza, branco e vermelho */
  --dark-900: #1b1d21;
  --dark-800: #26292e;
  --dark-700: #3a3e45;
  --accent-600: #d71f26;
  --accent-500: #ef3b42;
  --tint-300: #ff7a7f;
  --tint-100: #fbe9ea;
  --tint-50: #f5f5f6;
  --tag-bg: #26292e;
  --green-500: #25d366;
  --green-600: #1ebe5b;
  --red-600: #e0262f;
  --red-700: #c41c24;
  --text: #222428;
  --muted: #62666d;
  --line: #e2e4e7;
  --white: #fff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(20, 22, 26, .06);
  --shadow: 0 10px 30px rgba(20, 22, 26, .10);
  --shadow-lg: 0 20px 50px rgba(20, 22, 26, .18);

  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; color: var(--dark-800); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); font-size: 17px; }
.rounded { border-radius: var(--radius-lg); width: 100%; }
.shadow { box-shadow: var(--shadow-lg); }
.note { color: var(--muted); font-size: 15px; margin-top: 20px; }
.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.only-mobile { display: none; }

/* Botões ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, color .2s, border-color .2s;
  font-family: var(--font-body);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 22px; height: 22px; }
.btn--whats { background: var(--green-500); color: var(--white); box-shadow: 0 8px 20px rgba(37, 211, 102, .32); }
.btn--whats:hover { background: var(--green-600); }
.btn--call { background: var(--red-600); color: var(--white); box-shadow: 0 8px 20px rgba(224, 38, 47, .3); }
.btn--call:hover { background: var(--red-700); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.btn--outline { border-color: var(--accent-600); color: var(--accent-600); }
.btn--outline:hover { background: var(--tint-100); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--sm .icon { width: 18px; height: 18px; }
.btn--block { width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.actions--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-600); font-weight: 700; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: 12px;
}
.eyebrow--light { color: var(--tint-300); }

/* Topbar ------------------------------------------------------------------ */
.topbar { background: var(--dark-900); color: #b5b9bf; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; gap: 16px; }
.topbar__phone { color: var(--white); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.topbar__phone .icon { width: 15px; height: 15px; }

/* Header ------------------------------------------------------------------ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s, border-color .2s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo__mark { height: 48px; width: auto; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text strong { font-family: var(--font-head); font-size: 21px; font-weight: 800; color: var(--dark-800); letter-spacing: -.01em; }
.logo__text small { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-600); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 24px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--dark-700); position: relative; white-space: nowrap; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent-600); transition: width .2s;
}
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.nav a.is-active { color: var(--accent-600); font-weight: 600; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark-800); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero -------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)),
    url("../img/fotos/fundo-inicio.jpg") center / cover no-repeat;
  color: #d6d8dc;
  overflow: hidden;
}
.hero__inner { display: flex; justify-content: center; text-align: center; padding: 96px 0 128px; }
.hero__content { max-width: 900px; }
/* Foto escurecida levemente; a sombra reforça a leitura do texto */
.hero h1, .hero__lead, .hero__checks, .hero .eyebrow {
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .95), 0 2px 10px rgba(0, 0, 0, .85), 0 0 32px rgba(0, 0, 0, .7);
}
.hero__lead, .hero__checks { font-weight: 600; }
.hero h1 { color: var(--white); font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.02em; }
.hero .hl { color: var(--tint-300); }
.hero__lead { font-size: 19px; max-width: 720px; margin-inline: auto; color: #c9ccd1; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 34px 0 30px; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 15px; }
.hero__checks li { display: flex; align-items: center; gap: 10px; }
.hero__checks li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: rgba(37, 211, 102, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2325d366'%3E%3Cpath d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Page hero (páginas internas) -------------------------------------------- */
.page-hero {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .06), transparent 40%),
    linear-gradient(135deg, var(--dark-900), var(--dark-700));
  color: #c9ccd1;
  padding: 64px 0 72px;
}
.page-hero h1 { color: var(--white); font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; max-width: 860px; letter-spacing: -.01em; }
.page-hero p { font-size: 18px; max-width: 720px; margin: 0; }
.page-hero .actions { margin-top: 28px; }
.page-hero--post h1 { max-width: 900px; }
.page-hero--post .post-card__cat { margin-bottom: 14px; }
.post-meta { font-size: 15px !important; color: #a3a7ad; }
.breadcrumb { font-size: 14px; color: #a3a7ad; margin-bottom: 18px; }
.breadcrumb a { color: var(--tint-300); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; opacity: .6; }

/* Features ---------------------------------------------------------------- */
.features { position: relative; z-index: 2; margin-top: -48px; }
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  overflow: hidden;
}
.feature { display: flex; align-items: center; gap: 14px; padding: 24px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature svg { width: 40px; height: 40px; flex: none; fill: var(--accent-600); background: var(--tint-100); border-radius: 12px; padding: 8px; }
.feature strong { display: block; color: var(--dark-800); font-size: 15px; }
.feature span { font-size: 13px; color: var(--muted); }

/* Sections ---------------------------------------------------------------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0 96px; }
.section--soft { background: var(--tint-50); }
.section--dark { background: linear-gradient(135deg, var(--dark-900), var(--dark-800)); color: #c9ccd1; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark strong { color: var(--white); }
.section h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.01em; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head p { color: var(--muted); font-size: 17px; }
.section__more { text-align: center; margin-top: 44px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--top { align-items: start; }

/* Services (home) ---------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.service {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service__img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--tint-100); display: block; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.service:hover .service__img img { transform: scale(1.04); }
.service__tag {
  position: absolute; top: 16px; left: 16px; background: var(--tag-bg); color: var(--white);
  font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.service__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.service__body h3 { font-size: 22px; }
.service__body p { color: var(--muted); }
.service__body ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 15px; }
.service__body li { display: flex; gap: 10px; align-items: flex-start; }
.service__body li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-600); margin-top: 8px; flex: none; }
.service__body .btn { margin-top: auto; }
.service--featured { border-color: var(--accent-600); box-shadow: 0 0 0 1px var(--accent-600); }
.services--compact { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.services--compact .service__body { padding: 22px; }
.services--compact .service__body h3 { font-size: 18px; }
.services--compact .service__body p { font-size: 15px; }
.services--compact .btn { padding: 12px 12px; font-size: 14px; gap: .4em; white-space: nowrap; }
.services--compact .btn .icon { width: 19px; height: 19px; }

/* Detalhe de serviço ------------------------------------------------------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 48px 0; }
.detail + .detail { border-top: 1px solid var(--line); }
.detail:first-child { padding-top: 0; }
.detail:last-child { padding-bottom: 0; }
.detail__img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.detail--reverse .detail__img { order: 2; }
.detail__body p { color: var(--muted); font-size: 17px; }
.detail__body .btn { margin-top: 8px; }

.checklist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--green-600); width: 22px; height: 22px; margin-top: 1px; }
.checklist--light .icon { color: var(--green-500); }

/* Steps ------------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.steps li {
  display: flex; gap: 20px; align-items: flex-start;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 22px 24px;
}
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 28px; color: var(--tint-300); line-height: 1; }
.steps h3 { font-size: 18px; margin-bottom: 4px; }
.steps p { margin: 0; font-size: 15px; }
.steps--light li { background: var(--white); border-color: var(--line); box-shadow: var(--shadow-sm); }
.steps--light .step__num { color: var(--accent-600); }
.steps--light p { color: var(--muted); }
.steps--grid { grid-template-columns: repeat(4, 1fr); }
.steps--grid li { flex-direction: column; gap: 12px; }

/* Benefits / cards -------------------------------------------------------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.benefit { padding: 28px; border-radius: var(--radius-lg); background: var(--tint-50); border-top: 4px solid var(--accent-600); }
.section--soft .benefit { background: var(--white); box-shadow: var(--shadow-sm); }
.benefit h3 { font-size: 18px; }
.benefit p { color: var(--muted); margin: 0; font-size: 15px; }
.benefit--alert { border-top-color: var(--red-600); }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.info-card h3 { font-size: 18px; color: var(--accent-600); }
.info-card p { color: var(--muted); margin: 0; }

.tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.tags span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 15px; color: var(--dark-800); box-shadow: var(--shadow-sm); }
.section--soft .note { text-align: center; }

/* Segments ---------------------------------------------------------------- */
.segments { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.segment {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.segment:hover { border-color: var(--accent-600); box-shadow: var(--shadow-sm); }
.segment svg { width: 44px; height: 44px; flex: none; fill: var(--accent-600); background: var(--tint-100); border-radius: 12px; padding: 10px; }
.segment h3 { font-size: 15px; margin: 0 0 4px; font-family: var(--font-body); font-weight: 700; }
.segment p { font-size: 14px; color: var(--muted); margin: 0; }

/* Plans ------------------------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.plan h3 { font-size: 21px; }
.plan > p { color: var(--muted); }
.plan .btn { margin-top: auto; }
.plan--featured { border: 2px solid var(--accent-600); box-shadow: var(--shadow); }
.plan__tag { position: absolute; top: -13px; left: 32px; background: var(--tag-bg); color: var(--white); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* Cities ------------------------------------------------------------------ */
.cities { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cities li {
  display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); font-weight: 600; color: var(--dark-800);
}
.cities .icon, .city h2 .icon { color: var(--accent-600); }
.cities a { display: flex; align-items: center; gap: 10px; width: 100%; }
.cities li:has(a):hover { box-shadow: var(--shadow); color: var(--accent-600); }
.cities--row { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
.city h2 a { display: inline-flex; align-items: center; gap: 10px; }
.city h2 a:hover { color: var(--accent-600); }
.city .link-arrow { margin-left: 16px; font-size: 14px; }

/* Mapa do Google (satélite) */
.map-embed { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--tint-50); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.city-list { display: grid; gap: 20px; }
.city { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.city h2 { display: flex; align-items: center; gap: 10px; font-size: 22px !important; }
.city p { color: var(--muted); }
.sticky { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }

/* Posts ------------------------------------------------------------------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-600); background: var(--tint-100); padding: 5px 10px; border-radius: 999px; margin-bottom: 12px; }
.post-card h3 { font-size: 18px; line-height: 1.35; }
.post-card h3 a:hover { color: var(--accent-600); }
.post-card p { color: var(--muted); font-size: 15px; }
.post-card__meta { margin-top: auto; font-size: 13px; color: var(--muted); }

/* Artigo ------------------------------------------------------------------ */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.prose { font-size: 17px; line-height: 1.75; max-width: 760px; }
.prose__cover { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 36px; }
.prose h2 { font-size: 26px !important; margin-top: 1.8em; }
.prose h3 { font-size: 20px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--dark-800); }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { background: var(--dark-800); color: #c9ccd1; border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 12px; }
.aside-card h2 { color: var(--white); font-size: 20px !important; margin: 0; }
.aside-card p { margin: 0 0 8px; font-size: 15px; }

/* FAQ --------------------------------------------------------------------- */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--tint-300); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; color: var(--dark-800);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--accent-600); font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }
.faq__more { text-align: center; margin-top: 64px; }
.faq__more h2 { font-size: 26px !important; }
.faq__more p { color: var(--muted); }

/* Contato ----------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: 26px !important; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--white); transition: transform .2s, box-shadow .2s;
}
a.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.contact-card .icon { width: 46px; height: 46px; padding: 11px; border-radius: 12px; background: var(--tint-100); color: var(--accent-600); }
.contact-card span { display: flex; flex-direction: column; color: var(--muted); font-size: 15px; }
.contact-card strong { color: var(--dark-800); font-size: 16px; }
.contact-card--whats .icon { background: var(--green-500); color: var(--white); }
.contact-card--call .icon { background: var(--red-600); color: var(--white); }

.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; color: var(--text); }
.form h2 { margin-bottom: 4px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label span { font-size: 14px; font-weight: 600; color: var(--dark-800); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--tint-50); color: var(--text); transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent-600); box-shadow: 0 0 0 3px rgba(215, 31, 38, .15); background: var(--white);
}
.form .is-invalid { border-color: var(--red-600); }
.form__error { color: var(--red-600); font-size: 14px; margin: 0; }

/* CTA --------------------------------------------------------------------- */
.cta-band { background: linear-gradient(135deg, var(--accent-600), var(--dark-700)); color: #f6dcdd; padding: 64px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: 17px; }
.cta-band .actions { margin-top: 0; }

/* Footer ------------------------------------------------------------------ */
.footer { background: var(--dark-900); color: #9a9ea5; font-size: 15px; padding-top: 64px; padding-bottom: 104px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr; gap: 36px; padding-bottom: 48px; }
.footer__logo img { width: 200px; height: auto; }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 24px; font-size: 14px; }

/* Botões flutuantes -------------------------------------------------------- */
.float-btn {
  position: fixed; bottom: 22px; z-index: 100;
  display: flex; align-items: center; gap: 10px;
  height: 60px; min-width: 60px; padding: 0 20px 0 16px;
  border-radius: 999px; color: var(--white); font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.float-btn .icon { width: 28px; height: 28px; }
.float-btn:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.float-btn--call { left: 22px; background: var(--red-600); }
.float-btn--call:hover { background: var(--red-700); }
.float-btn--whats { right: 22px; background: var(--green-500); }
.float-btn--whats:hover { background: var(--green-600); }
.float-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit;
  z-index: -1; animation: pulse 2.4s ease-out infinite;
}
.float-btn--call::before { animation-delay: 1.2s; }
@keyframes pulse {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* Animações de entrada ----------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-btn::before { animation: none; }
}

/* Responsivo --------------------------------------------------------------- */
@media (max-width: 1120px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px;
    box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 1024px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .segments, .benefits, .steps--grid { grid-template-columns: repeat(2, 1fr); }
  .posts, .services--compact { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; max-width: 760px; }
}

@media (max-width: 900px) {
  .hero__inner, .split, .contact, .detail { grid-template-columns: 1fr; gap: 40px; }
  .detail--reverse .detail__img { order: 0; }
  .hero__inner { padding: 64px 0 100px; }
  .services, .cards-3, .plans { grid-template-columns: 1fr; }
  .plans { gap: 32px; }
  .section { padding: 72px 0; }
  .sticky { position: static; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .topbar__inner span { display: none; }
  .topbar__inner { justify-content: center; }
  .segments, .benefits, .posts, .steps--grid { grid-template-columns: 1fr; }

  /* Início no celular: título e descrição mais curtos, diferenciais lado a lado */
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
  .hero__inner { padding: 44px 0 84px; }
  .hero h1 { font-size: 25px; }
  .hero__lead { font-size: 16px; }
  .hero__checks { flex-direction: column; align-items: center; font-size: 14px; }
  .features { margin-top: -40px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .feature { flex-direction: column; text-align: center; gap: 8px; padding: 16px 10px; }
  .feature svg { width: 34px; height: 34px; padding: 7px; border-radius: 10px; }
  .feature strong { font-size: 13px; line-height: 1.3; }
  .feature span { font-size: 12px; line-height: 1.35; display: block; margin-top: 2px; }
  .logo__mark { height: 40px; }
  .logo__text strong { font-size: 19px; }
  .form__row, .cities, .cities--row, .services--compact { grid-template-columns: 1fr; }
  .city .link-arrow { display: flex; margin: 14px 0 0; }
  .form { padding: 22px; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero__actions .btn, .actions .btn { width: 100%; }
  .page-hero { padding: 48px 0 56px; }
  .prose { font-size: 16px; }

  /* No celular os botões flutuantes ficam só com ícone */
  .float-btn { padding: 0; width: 58px; height: 58px; min-width: 0; justify-content: center; bottom: 16px; }
  .float-btn--call { left: 16px; }
  .float-btn--whats { right: 16px; }
  .float-btn__label { display: none; }
}
