:root {
  --preto: #0d0d0d;
  --grafite: #1a1a1a;
  --creme: #f6f3ec;
  --areia: #ece5d8;
  --ambar: #faa61a;
  --ambar-escuro: #8f5d00; /* âmbar para texto sobre fundo claro (contraste AA) */
  --texto: #1c1c1c;
  --cinza: #9a958c;
  --raio: 14px;
  --gutter: clamp(16px, 5vw, 72px);
  --titulo: "Sora", system-ui, sans-serif;
  --corpo: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; overflow-x: clip; font-family: var(--corpo); background: var(--preto); color: #fff; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--titulo); font-weight: 600; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }

.rotulo { font-family: var(--titulo); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ambar); margin: 0 0 14px; }
.rotulo--escuro { color: var(--ambar-escuro); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 30px; border-radius: 999px; border: 2px solid var(--ambar); background: var(--ambar); color: var(--preto); font: 600 .95rem var(--titulo); text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); background: #ffb93d; }
.btn--sm { padding: 10px 20px; font-size: .82rem; }
.btn--linha { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--linha:hover { background: #fff; color: var(--preto); }
.btn--escuro { background: var(--preto); border-color: var(--preto); color: #fff; }
.btn--escuro:hover { background: var(--grafite); }

/* TOPO */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px var(--gutter); transition: background .4s, padding .4s; }
/* O fundo fica num pseudo-elemento: backdrop-filter no próprio .topo prenderia o menu do celular (position: fixed) dentro dele */
.topo::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: background .4s; }
.topo.rolado { padding-block: 10px; }
.topo.rolado::before { background: rgba(13,13,13,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topo__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.05rem var(--titulo); margin-right: auto; }
.topo__logo img { width: 44px; height: 44px; object-fit: contain; }
.topo__logo img.topo__marca { width: auto; height: 34px; }
.topo__menu { display: flex; gap: 26px; }
.topo__menu a { text-decoration: none; font-size: .9rem; opacity: .85; }
.topo__menu a:hover { opacity: 1; color: var(--ambar); }
.topo__burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.3); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.topo__burger span { width: 18px; height: 2px; background: #fff; transition: transform .3s; }
.topo__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.topo__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 120px var(--gutter) clamp(90px, 12vh, 140px); overflow: hidden; }
.hero__fotos, .hero__fotos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__fotos img { opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s ease-out; }
.hero__fotos img.ativo { opacity: 1; transform: scale(1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.25) 65%), linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.85) 100%); }
.hero__conteudo { position: relative; z-index: 1; max-width: 900px; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 300; text-transform: uppercase; }
.hero h1 em { font-style: normal; font-weight: 700; color: var(--ambar); }
.hero h1::after { content: ""; display: block; width: 120px; height: 3px; margin-top: 26px; background: linear-gradient(90deg, var(--ambar), transparent); }
.hero__sub { max-width: 640px; margin: 24px 0 0; font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.6; color: #e9e5dd; }
.hero__tipos { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 22px 0 34px; font: 400 clamp(.95rem, 1.6vw, 1.15rem) var(--titulo); }
.hero__tipos li { opacity: .55; cursor: default; transition: opacity .4s, color .4s; }
.hero__tipos li.ativo { opacity: 1; color: var(--ambar); }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; }

/* FAIXA */
.faixa { position: relative; z-index: 2; margin: -46px -2% 0; transform: rotate(-2.2deg); background: var(--ambar); overflow: hidden; padding: 16px 0; box-shadow: 0 10px 40px rgba(0,0,0,.35), 0 70px 0 var(--creme); }
.faixa__trilho { display: flex; width: max-content; animation: rolar 32s linear infinite; }
.faixa__trilho span { font: 700 clamp(1.1rem, 2.4vw, 1.9rem) var(--titulo); text-transform: uppercase; color: var(--preto); white-space: nowrap; padding: 0 22px; }
.faixa__trilho span::after { content: "/"; margin-left: 44px; opacity: .45; }
@keyframes rolar { to { transform: translateX(-50%); } }

/* SEÇÕES */
.secao { padding: clamp(90px, 12vw, 150px) var(--gutter); }
.secao--clara { background: var(--creme); color: var(--texto); }
.secao--curta { padding-block: clamp(70px, 9vw, 110px); }
.cabeca { max-width: 860px; margin-bottom: clamp(40px, 6vw, 64px); }
.cabeca--linha { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cabeca--centro { margin-inline: auto; text-align: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.65; margin: 22px 0 0; color: #3a3a3a; }

/* QUEM SOMOS */
#quem-somos { padding-top: clamp(130px, 15vw, 190px); }
.quem { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1200px; }
.quem__360 { font: 700 clamp(5rem, 15vw, 12rem) var(--titulo); line-height: .85; color: var(--preto); letter-spacing: -.04em; }
.quem__360 span { color: var(--ambar); }
.etapas { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: clamp(60px, 8vw, 100px) 0 0; border-top: 1px solid #d8d1c3; }
.etapas li { position: relative; padding: 26px 16px 0 0; font: 600 clamp(1rem, 1.6vw, 1.25rem) var(--titulo); }
.etapas li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--ambar); }
.etapas span { display: block; font-size: .8rem; color: var(--cinza); margin-bottom: 6px; }
.numeros { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: clamp(60px, 8vw, 90px) 0 0; }
.numeros li { background: #fff; border-radius: var(--raio); padding: 28px 24px; color: #555; font-size: .95rem; }
.numeros strong { display: block; font: 700 clamp(1.9rem, 3.6vw, 2.9rem) var(--titulo); color: var(--preto); margin-bottom: 4px; }

/* CASES */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { all: unset; cursor: pointer; display: flex; flex-direction: column; gap: 16px; }
.case__foto { display: block; overflow: hidden; border-radius: var(--raio); aspect-ratio: 4 / 5; background: var(--grafite); }
.case__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.case:hover .case__foto img, .case:focus-visible .case__foto img { transform: scale(1.06); }
.case:focus-visible .case__foto { outline: 3px solid var(--ambar); outline-offset: 4px; }
.case__info strong { display: block; font: 600 1.2rem var(--titulo); line-height: 1.3; }
.case__info small { color: var(--cinza); font-size: .9rem; }
.case__dado { font: 600 .9rem var(--titulo); color: var(--preto); }
.case__mais { font: 600 .85rem var(--titulo); color: var(--ambar-escuro); }
.case__mais::after { content: " →"; transition: margin .3s; }
.case:hover .case__mais::after { margin-left: 6px; }

/* MODAL */
.modal { width: min(1100px, 100%); max-height: 100%; height: 100%; margin: auto; padding: 0; border: 0; background: var(--creme); color: var(--texto); border-radius: 0; overflow: auto; }
@media (min-width: 900px) { .modal { height: auto; max-height: 92vh; border-radius: 20px; } }
.modal::backdrop { background: rgba(0,0,0,.8); backdrop-filter: blur(6px); }
.modal[open] { animation: subir .45s cubic-bezier(.2,.7,.2,1); }
@keyframes subir { from { opacity: 0; transform: translateY(40px); } }
.modal__fechar { position: sticky; top: 14px; display: block; margin: 14px 14px -60px auto; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--preto); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.modal__capa { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.modal__texto { padding: clamp(28px, 5vw, 64px); max-width: 780px; }
.modal__texto h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.modal__local { color: var(--ambar-escuro); font: 600 .85rem var(--titulo); letter-spacing: .12em; text-transform: uppercase; margin: 12px 0 30px; }
.modal__texto h4 { font: 600 1.25rem var(--titulo); margin: 0 0 18px; }
.modal__texto p { color: #3a3a3a; }
.modal__galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 clamp(28px, 5vw, 64px) clamp(28px, 5vw, 64px); }
.modal__galeria img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.modal__galeria img:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; height: 100%; }
.modal__cta { padding: 0 clamp(28px, 5vw, 64px) clamp(36px, 5vw, 64px); }

/* PORTFÓLIO */
.insta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.insta a { overflow: hidden; border-radius: 10px; aspect-ratio: 1; }
.insta img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .3s; }
.insta a:hover img { transform: scale(1.05); opacity: .85; }

/* FEEDBACKS */
.feedbacks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feedback__tempo { display: block; font-style: normal; font-weight: 600; color: var(--ambar-escuro); margin-top: 2px; }
.feedback { margin: 0; padding: clamp(26px, 3.5vw, 40px); background: #fff; border-radius: var(--raio); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.feedback blockquote { margin: 0; font-size: 1.02rem; line-height: 1.7; color: #3a3a3a; }
.feedback blockquote::before { content: "“"; display: block; font: 700 3.6rem/0.6 var(--titulo); color: var(--ambar); margin-bottom: 18px; }
.feedback figcaption { display: flex; align-items: center; gap: 14px; font-size: .88rem; color: #6b665d; }
.feedback figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.feedback figcaption strong { display: block; color: var(--preto); font: 600 1rem var(--titulo); }

/* CLIENTES */
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__trilho { display: flex; gap: 18px; width: max-content; animation: rolar 45s linear infinite; }
.logos:hover .logos__trilho { animation-play-state: paused; }
.logos__trilho img { width: 190px; height: 104px; padding: 22px 26px; object-fit: contain; background: #fff; border-radius: var(--raio); }

/* CONTATO */
.contato { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 6vw, 90px); background: #2a2929; }
.contato__texto > p:not(.rotulo) { color: #cfcac0; margin: 22px 0 30px; }
.contato__canais { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contato__canais a { text-decoration: none; }
.contato__canais a:hover { color: var(--ambar); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #cfcac0; }
.form input, .form select, .form textarea { font: 400 1rem var(--corpo); color: #fff; background: rgba(255,255,255,.04); border: 1px solid #4a4847; border-radius: 10px; padding: 14px 16px; text-transform: none; letter-spacing: 0; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #cfcac0 50%), linear-gradient(135deg, #cfcac0 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.form select option { color: #000; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ambar); }
.form .invalido { border-color: #ff6b5b; }
.form__inteiro { grid-column: 1 / -1; }
.form__privacidade { margin: 0; font-size: .85rem; opacity: .75; }
.form__privacidade a { color: inherit; text-decoration: underline; }
.form__aviso { margin: 0; min-height: 1.4em; font-size: .92rem; color: var(--ambar); }

/* RODAPÉ */
.rodape { background: #000; color: var(--cinza); padding: 56px var(--gutter) 30px; display: grid; justify-items: center; gap: 10px; text-align: center; font-size: .9rem; }
.rodape address { font-style: normal; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--ambar); }
.rodape__redes { display: flex; gap: 22px; }
.rodape small { margin-top: 20px; font-size: .78rem; }

/* APARECER AO ROLAR */
.revelar { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.revelar.visivel { opacity: 1; transform: none; }

/* O QUE FAZEMOS */
.servicos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.servico img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--raio); margin-bottom: 20px; }
.servico h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: 10px; }
.servico p { margin: 0; color: #cfcac0; font-size: .95rem; }

.servico--link { text-decoration: none; display: block; }
.servico--link .case__mais { display: inline-block; margin-top: 14px; color: var(--ambar); }
.servico--link:hover img { opacity: .85; }
.servico__mais { display: inline-block; margin-top: 14px; font: 600 .85rem var(--titulo); color: var(--ambar); text-decoration: none; }
.servico__mais::after { content: " →"; }

/* PÁGINAS INTERNAS (serviços e cases) */
.hero--interna { min-height: 78svh; }
.hero--interna h1 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-weight: 600; text-transform: none; max-width: 900px; }
.migalhas { font-size: .82rem; color: #cfcac0; margin-bottom: 18px; }
.migalhas a { color: var(--ambar); text-decoration: none; }
.entregas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.entregas li { background: #fff; border-radius: var(--raio); padding: 28px 26px; border-top: 3px solid var(--ambar); }
.entregas h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 10px; }
.entregas p { margin: 0; color: #4a4741; font-size: .95rem; }
.cases--1 { grid-template-columns: minmax(0, 900px); }
.cases--1 .case__foto { aspect-ratio: 16 / 9; }
.secao:not(.secao--clara) .case__dado { color: #fff; }
.secao:not(.secao--clara) .case__mais { color: var(--ambar); }
.cases--2 { grid-template-columns: repeat(2, 1fr); max-width: 1000px; }
.case-texto { max-width: 760px; }
.case-texto h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 26px; }
.case-texto p { color: #3a3a3a; font-size: 1.05rem; line-height: 1.75; }
.case-dados { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.case-dados li { background: var(--preto); color: #fff; border-radius: 999px; padding: 8px 16px; font: 600 .85rem var(--titulo); }
.case-servicos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: clamp(40px, 6vw, 70px); }
.galeria img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.modal__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.modal__link { font: 600 .9rem var(--titulo); color: var(--texto); }
.rodape__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: 10px 0 6px; }
.rodape__links a { color: #cfcac0; }

.quem__historia { margin: 16px 0 0; color: #5a564e; font-size: 1rem; }

/* PERGUNTAS FREQUENTES */
.faq { max-width: 900px; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--raio); padding: 0 24px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 36px 22px 0; position: relative; font: 600 1.05rem/1.4 var(--titulo); color: var(--preto); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--ambar-escuro); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 22px; color: #4a4741; }

/* QUANDO NOS PROCURAM */
.ocasioes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.ocasioes li { background: #fff; border-radius: var(--raio); padding: 20px 22px 20px 48px; position: relative; font: 600 1rem/1.4 var(--titulo); }
.ocasioes li::before { content: ""; position: absolute; left: 22px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--ambar); }
.ocasioes__extra { margin: 30px 0 0; max-width: 900px; color: #4a4741; }

.form__nota { margin: 0; font-size: .85rem; color: #cfcac0; }

/* WHATSAPP FIXO */
.whats { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; border-radius: 999px; background: #25d366; color: #0d2b18; font: 600 .9rem var(--titulo); text-decoration: none; box-shadow: 0 8px 30px rgba(0,0,0,.35); transition: transform .2s; }
.whats:hover { transform: translateY(-2px); }

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

/* RESPONSIVO */
@media (max-width: 1000px) {
  .topo__menu { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 28px; background: var(--preto); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .topo__menu a { font: 600 1.5rem var(--titulo); }
  .topo__menu.aberto { opacity: 1; pointer-events: auto; }
  .topo__burger { display: flex; }
  .cases { grid-template-columns: 1fr; max-width: 560px; }
  .servicos { grid-template-columns: repeat(2, 1fr); }
  .feedbacks { grid-template-columns: 1fr; max-width: 640px; }
  .case__foto { aspect-ratio: 4 / 3; }
  .contato { grid-template-columns: 1fr; }
  .numeros { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .topo__logo img.topo__marca { height: 28px; }
  .topo .btn--sm { display: none; }
  .quem { grid-template-columns: 1fr; }
  .etapas { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid #d8d1c3; margin-left: 5px; }
  .etapas li { padding: 0 0 26px 26px; }
  .etapas li::before { top: 8px; left: -6px; }
  .etapas span { display: inline; margin-right: 10px; }
  .feedbacks { grid-template-columns: 1fr; }
  .servicos { grid-template-columns: 1fr; }
  .cases--2 { grid-template-columns: 1fr; }
  .galeria { grid-template-columns: repeat(2, 1fr); }
  .whats { padding: 14px; }
  .whats span { display: none; }
  .insta { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr; }
  .modal__galeria { grid-template-columns: repeat(2, 1fr); }
  .modal__galeria img:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .modal__galeria img:nth-child(n+6) { display: none; }
  .logos__trilho img { width: 150px; height: 84px; padding: 16px 20px; }
}
/* "Reduzir movimento" ligado (acessibilidade ou economia de bateria no celular): as faixas continuam
   rodando, mais devagar, e as fotos do topo trocam com fade. Saem o zoom, os deslizes e os efeitos de hover. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .faixa__trilho { animation-duration: 60s; }
  .logos__trilho { animation-duration: 90s; }
  .hero__fotos img { transform: none; transition: opacity 1.2s ease; }
  .revelar { opacity: 1; transform: none; transition: none; }
  .case__foto img, .insta img, .btn, .whats, .modal[open] { transition: none; animation: none; transform: none; }
}
