/* ==========================================================
   Norte Web — folha de estilos
   Paleta: Navy #071B33 · Gold #D8AA53 · Ivory #F5F0DF · White #FFFFFF
   ========================================================== */

:root {
  --navy: #071B33;
  --navy-deep: #04122A;
  --navy-soft: #0C2747;
  --gold: #D8AA53;
  --gold-light: #EDC56A;
  --gold-dark: #B88A3A;
  --ivory: #F5F0DF;
  --white: #FFFFFF;

  --text: rgba(245, 240, 223, .92);
  --muted: rgba(245, 240, 223, .62);
  --line: rgba(245, 240, 223, .12);
  --line-gold: rgba(216, 170, 83, .35);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --container: 1180px;
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--navy); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.6rem; }
p  { margin: 0; }

.gold-text {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(100deg, var(--gold-dark), var(--gold-light) 50%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}
.eyebrow--dark { color: var(--gold-dark); }

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 560px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn--gold {
  background: linear-gradient(120deg, var(--gold-dark), var(--gold) 45%, var(--gold-light));
  color: var(--navy);
  box-shadow: 0 10px 30px -10px rgba(216, 170, 83, .55);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(216, 170, 83, .7); }
.btn--ghost { border-color: var(--line-gold); color: var(--ivory); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { padding: 11px 22px; font-size: .88rem; }
.btn--full { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: border-color .4s;
  border-bottom: 1px solid transparent;
}
/* Fundo com desfoque numa camada própria: backdrop-filter no próprio .header
   o tornaria o bloco de contenção do menu mobile (position: fixed), que ficaria
   preso na altura do cabeçalho depois de rolar a página. */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(4, 18, 42, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { display: block; height: 34px; width: auto; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) {
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color .3s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .35s var(--ease);
}
.nav a:not(.btn):hover { color: var(--ivory); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line-gold); border-radius: 50%;
  cursor: pointer;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 13px; right: 13px; height: 1.5px;
  background: var(--ivory);
  transition: transform .3s var(--ease), top .3s;
}
.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 900px; height: 900px;
  right: -250px; top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(216, 170, 83, .13), rgba(12, 39, 71, .5) 40%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 40px;
}
.hero h1 { margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__badges {
  list-style: none;
  padding: 0;
  margin: 48px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  font-size: .86rem;
  color: var(--muted);
}
.hero__badges li { display: flex; align-items: center; gap: 10px; }
.hero__badges li::before {
  content: "";
  width: 6px; height: 6px;
  transform: rotate(45deg);
  background: var(--gold);
}

.hero__visual { display: flex; justify-content: center; }
.compass { width: min(100%, 500px); height: auto; overflow: visible; }
.dial-line { fill: none; stroke: var(--line-gold); stroke-width: 1; }
.dial-line--faint { stroke: var(--line); stroke-dasharray: 2 6; }
.dial-ticks line { stroke: rgba(216, 170, 83, .45); stroke-width: 1; }
.dial-ticks line.major { stroke: var(--gold); stroke-width: 1.5; }
.dial-letter {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  fill: var(--gold);
  text-anchor: middle;
  letter-spacing: .1em;
}

.compass__needle {
  transform-origin: 50px 49.8px;
  animation: needle-find 2.8s var(--ease) .3s both, needle-sway 7s ease-in-out 3.1s infinite;
}
@keyframes needle-find {
  0%   { transform: rotate(-150deg); }
  55%  { transform: rotate(14deg); }
  75%  { transform: rotate(-6deg); }
  90%  { transform: rotate(2deg); }
  100% { transform: rotate(0deg); }
}
@keyframes needle-sway {
  0%, 100% { transform: rotate(0deg); }
  50%      { transform: rotate(3deg); }
}

/* ---------- Ribbon ---------- */
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy-deep);
  overflow: hidden;
  padding: 22px 0;
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.ribbon__track span {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ivory);
  white-space: nowrap;
}
.ribbon__track i { font-style: normal; color: var(--gold); font-size: .8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.section { position: relative; padding: 130px 0; }
.section--deep { background: var(--navy-deep); }
.section--ivory { background: var(--ivory); color: #2A3446; }
.section--ivory h2, .section--ivory h3 { color: var(--navy); }

.section__head { max-width: 760px; margin-bottom: 70px; }
.section__head--split {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.section__aside { color: var(--muted); max-width: 360px; margin-top: 24px; }
.section__aside a, .segments__more a { color: var(--gold); border-bottom: 1px solid var(--line-gold); }

/* Diferenciais */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.feature {
  padding: 40px 30px 10px 0;
  border-right: 1px solid var(--line);
  padding-left: 30px;
}
.feature:first-child { padding-left: 0; }
.feature:last-child { border-right: 0; }
.feature__num {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 26px;
}
.feature h3 { margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: .97rem; }

/* Serviços */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service {
  position: relative;
  padding: 40px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(12, 39, 71, .55), rgba(7, 27, 51, .2));
  overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px circle at 100% 0%, rgba(216, 170, 83, .12), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
}
.service:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.service:hover::before { opacity: 1; }
.service__icon {
  width: 44px; height: 44px;
  padding: 10px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 28px;
}
.service h3 { margin-bottom: 12px; }
.service p { color: var(--muted); font-size: .96rem; position: relative; }

/* Segmentos */
.segments {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.segment {
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  border: 1px solid rgba(7, 27, 51, .07);
  box-shadow: 0 20px 50px -30px rgba(7, 27, 51, .35);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.segment:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(7, 27, 51, .45); }
.segment header { margin-bottom: 26px; }
.segment__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.segment h3 { font-size: 1.9rem; }
.segment ul { list-style: none; margin: 0; padding: 0; }
.segment li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-top: 1px solid rgba(7, 27, 51, .08);
  font-size: .96rem;
}
.segment li::before {
  content: "";
  position: absolute;
  left: 2px; top: 21px;
  width: 7px; height: 7px;
  transform: rotate(45deg);
  border: 1.5px solid var(--gold);
}
.segment--all {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: var(--navy); color: var(--muted);
}
.section--ivory .segment--all h3 { color: var(--ivory); margin: 4px 0 10px; }
.segment--all .segment__tag { color: var(--gold); }
.segment--all p { margin: 0; max-width: 640px; }
.segment--all .btn { flex: none; }
.segments__more { margin-top: 48px; text-align: center; }
.segments__more a { color: var(--gold-dark); font-weight: 600; }

/* Processo */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--line-gold) 60%, transparent);
}
.step__num {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid var(--gold);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 30px;
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: .96rem; }

/* FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.faq-wrap .section__head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 30px); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 50px 28px 0;
  position: relative;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ivory);
  transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.8rem;
  color: var(--gold);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq details p { color: var(--muted); padding: 0 50px 28px 0; }

/* Contato */
.contact { overflow: hidden; }
.hero__glow--contact { left: -300px; right: auto; }
.contact__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.contact h2 { margin-bottom: 24px; }
.contact__list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; color: var(--ivory); }
.contact__list svg {
  width: 40px; height: 40px; padding: 9px;
  border: 1px solid var(--line-gold); border-radius: 50%;
  fill: none; stroke: var(--gold); stroke-width: 1.5; color: var(--gold);
}
.contact__list a:hover { color: var(--gold); }

.form {
  background: linear-gradient(160deg, rgba(12, 39, 71, .85), rgba(4, 18, 42, .9));
  border: 1px solid var(--line-gold);
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.form__row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form label { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form .optional { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  font-size: .97rem;
  color: var(--ivory);
  background: rgba(4, 18, 42, .6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color .3s, box-shadow .3s;
  appearance: none;
  -webkit-appearance: none;
}
.form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8AA53' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.form select option { background: var(--navy); color: var(--ivory); }
.form textarea { resize: vertical; min-height: 110px; }
.form input::placeholder, .form textarea::placeholder { color: rgba(245, 240, 223, .35); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(216, 170, 83, .15);
}
.form input.is-invalid { border-color: #E07A6A; }
.form .btn { margin-top: 8px; }
.form__note { margin-top: 16px; font-size: .82rem; color: var(--muted); text-align: center; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--navy-deep); padding: 50px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.footer .brand__logo { height: 64px; }
.footer__nav { display: flex; flex-wrap: wrap; column-gap: 26px; row-gap: 4px; font-size: .9rem; color: var(--muted); }
.footer__nav a { display: inline-block; padding: 10px 0; } /* área de toque confortável no celular */
.footer__nav a:hover { color: var(--gold); }
.footer__copy { font-size: .82rem; color: var(--muted); width: 100%; padding-top: 28px; border-top: 1px solid var(--line); }

/* WhatsApp flutuante */
.whats-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 40;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--navy);
  box-shadow: 0 14px 34px -10px rgba(216, 170, 83, .7);
  transition: transform .3s var(--ease), opacity .3s;
}
.whats-float svg { width: 28px; height: 28px; }
.whats-float:hover { transform: scale(1.08); }

/* Animação de entrada */
/* ---------- Projetos conceituais ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--navy-soft); border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.project:hover { transform: translateY(-6px); border-color: var(--line-gold); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75); }
.project__shot { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--navy); }
.project__shot::before {
  content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 26px;
  background:
    radial-gradient(circle 3.5px at 18px 13px, var(--line-gold) 95%, transparent),
    radial-gradient(circle 3.5px at 32px 13px, var(--line) 95%, transparent),
    radial-gradient(circle 3.5px at 46px 13px, var(--line) 95%, transparent),
    var(--navy-deep);
  border-bottom: 1px solid var(--line);
}
.project__shot::after {
  content: "Projeto conceitual"; position: absolute; z-index: 2; right: 12px; top: 38px;
  padding: 5px 12px; border-radius: 999px; background: rgba(7, 27, 51, .88); color: var(--gold);
  font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  opacity: 0; transform: translateY(-6px); transition: opacity .4s, transform .5s var(--ease);
}
.project:hover .project__shot::after { opacity: 1; transform: none; }
.project__shot img {
  position: absolute; inset: 26px 0 0; width: 100%; height: calc(100% - 26px);
  object-fit: cover; object-position: 50% 0; transition: object-position 6s cubic-bezier(.45, .05, .35, 1);
}
.project:hover .project__shot img { object-position: 50% 100%; }
.project__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 24px; }
.project__seg { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.project h3 { margin: 6px 0 4px; font-family: var(--serif); font-weight: 600; font-size: 1.55rem; line-height: 1.1; color: var(--ivory); }
.project p { margin: 0; font-size: .9rem; color: var(--muted); }
.project__go {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-gold);
  display: grid; place-items: center; color: var(--gold); transition: background .3s, color .3s, transform .5s var(--ease);
}
.project__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.project:hover .project__go { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
.projects__nav { display: none; }
.projects__more { margin-top: 48px; text-align: center; color: var(--muted); }
.projects__more a { color: var(--gold); border-bottom: 1px solid var(--line-gold); }
.projects__more a:hover { border-color: var(--gold); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .projects { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 36px; }
  .feature:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 30px; }
  .feature:nth-child(even) { padding-left: 30px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
  .steps::before { display: none; }
}

@media (max-width: 880px) {
  body { font-size: 16px; }
  .menu-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    background: rgba(4, 18, 42, .97);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 2rem; color: var(--ivory); }
  .nav__cta { margin-top: 10px; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 30px); }
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; }
  .compass { width: min(70vw, 320px); }
  .hero__glow { right: -450px; top: 25%; }

  .section { padding: 90px 0; }
  .section__head { margin-bottom: 50px; }
  .section__head--split { flex-direction: column; align-items: flex-start; gap: 0; }
  .segments { grid-template-columns: 1fr; }
  .segment--all { flex-direction: column; align-items: flex-start; gap: 26px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .faq-wrap .section__head { position: static; }
  .contact__inner { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 600px) {
  /* Carrossel deslizável no celular */
  .projects {
    display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding: 0 16px;
    margin: 0 -16px; padding: 6px 16px 10px; scrollbar-width: none;
  }
  .projects::-webkit-scrollbar { display: none; }
  .project { flex: 0 0 84%; scroll-snap-align: start; }
  .project.reveal { opacity: 1; transform: none; } /* cards fora da tela não ficam esperando a animação */
  .project:hover { transform: none; }
  .projects__nav { display: flex; align-items: center; gap: 16px; margin-top: 18px; }
  .projects__bar { position: relative; flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
  .projects__bar i { position: absolute; inset: 0 auto 0 0; width: calc(100% / var(--n, 9)); background: var(--gold); transform: translateX(calc(var(--i, 0) * 100%)); transition: transform .35s ease; }
  .projects__count { font-size: .8rem; letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .projects__count b { color: var(--ivory); font-weight: 600; }
  .projects__more { margin-top: 30px; }
  .project__meta { padding: 18px 20px 20px; }
  .container { padding: 0 16px; }
  .brand__logo { height: 24px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .features, .services, .steps { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(odd), .feature:nth-child(even) { border-right: 0; padding: 32px 0; }
  .service { padding: 32px 26px; }
  .segment { padding: 34px 24px; }
  .segment h3 { font-size: 1.6rem; }
  .form { padding: 30px 20px; }
  .form__grid { grid-template-columns: 1fr; }
  .faq summary { font-size: 1.25rem; padding-right: 40px; }
  .faq details p { padding-right: 0; }
  .whats-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
