@import './tokens.css';
@import './base.css';
@import '../sections/hero.css';

:root {
  --orange: #ff9d21;
  --dark: #151311;
  --light: #faf5ec;
  --muted: #56504a;
  --cor-ceu-1: #192331;
  --cor-ceu-2: #3c414b;
  --cor-ceu-3: #99755d;
  --cor-ceu-4: #cd996f;
  --cor-ceu-5: #f0c293;
  --cor-nevoa: #f1c294;
  --cor-sol: #ffbf70;
  --cor-papel: #fffaf2;
  --cor-papel-2: var(--light);
  --cor-tinta: var(--dark);
  --t-marca: clamp(3.5rem, 8vw, 8.7rem);
  --grotesca: system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body { overflow-x: clip; color: var(--dark); background: var(--light); }
.wrap { width: min(100% - 72px, 1220px); margin-inline: auto; }
section[id] { scroll-margin-top: 85px; }
:focus-visible { outline: 2px solid #ad5500; outline-offset: 4px; }
.dark :focus-visible, .nav :focus-visible, .hero :focus-visible { outline-color: var(--orange); }
.skip { position: fixed; left: 1rem; top: 1rem; z-index: 99; transform: translateY(-180%); background: white; padding: .7rem; }
.skip:focus { transform: none; }
.nav { position: fixed; z-index: 20; inset: 0 0 auto; background: rgb(0 0 0 / 93%); color: white; border-bottom: 1px solid #ffffff24; backdrop-filter: blur(14px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 78px; width: min(100% - 56px, 1320px); margin-inline: auto; }
.logo { display: inline-block; flex: 0 0 auto; padding: 4px; border-radius: 6px; background: black; }
.logo img { width: 140px; height: auto; }
.menu { display: flex; align-items: center; gap: clamp(15px, 2.3vw, 33px); }
.menu a { padding: 13px 0; font-size: .92rem; font-weight: 560; }
.menu a:hover, .contact-links a:hover, footer a:hover { color: var(--orange); }
.menu-toggle { display: none; }
.botao { min-height: 48px; height: auto; justify-content: center; padding: 12px 23px; background: var(--orange); color: #17100a; font: 740 .94rem/1.35 var(--grotesca); border: 0; cursor: pointer; white-space: normal; }
.botao:hover { background: #ffb65b; }
.hero .wrap { width: min(100%, 1340px); }
.hero { height: 166svh; }
.ilha { --ilha-w: min(70vw, 92svh); top: 42%; }
.texto { grid-template-columns: minmax(0, 1fr) minmax(195px, .32fr); align-items: end; padding: 0 clamp(26px, 4vw, 60px) 9svh; }
.marca { margin: 0; font-weight: 810; line-height: .93; letter-spacing: -.081em; text-shadow: 0 4px 34px #0009; }
.marca__linha { padding-block: .04em .12em; }
.accent, .dark .eyebrow, .hero .eyebrow { color: var(--orange); }
.hero .eyebrow { text-shadow: 0 1px 10px #000; margin-bottom: .65rem; }
.chamada { width: auto; gap: 17px; padding-bottom: 9px; }
.chamada__texto { line-height: 1.36; font-size: clamp(1rem, 1.45vw, 1.23rem); font-weight: 550; color: #fffbf5; text-shadow: 0 2px 12px #000; }
.sombra { background: linear-gradient(0deg, #151311f5, #1c1714b0 27%, #20191520 59%, transparent 72%); }
.section { padding: clamp(4rem, 8vw, 7.5rem) 0; }
.hero + main > .services { margin-top: -28svh; background: var(--light); }
.hero + main > .services::before { height: 28svh; }
.eyebrow { color: #94500b; font: 700 .82rem/1.4 var(--mono); letter-spacing: .105em; margin: 0 0 .85rem; }
h2 { font-size: clamp(2.15rem, 5vw, 4.6rem); line-height: .99; letter-spacing: -.067em; max-width: 16ch; }
h3 { margin: 0; line-height: 1.14; letter-spacing: -.035em; font-size: 1.43rem; }
p + p { margin-top: .85rem; }
.lead { color: var(--muted); margin-top: 1.25rem; font-size: clamp(1.02rem, 1.7vw, 1.24rem); line-height: 1.55; max-width: 58ch; }
.service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: start; gap: 14px; margin-top: 2.5rem; }
.service { grid-column: span 2; display: flex; align-items: flex-start; flex-direction: column; gap: .95rem; min-height: 280px; background: #fffaf4; padding: clamp(1.15rem, 2.5vw, 2rem); border: 1px solid #ded3c4; border-radius: 16px; }
.service:nth-last-child(-n+2) { grid-column: span 3; }
.symbol { display: grid; place-items: center; width: 46px; height: 46px; background: #ffebcf; color: #8d4200; border-radius: 10px; font-size: 1.6rem; }
.service p, .steps p, details p, li { color: var(--muted); line-height: 1.55; }
.service details { width: 100%; font-size: .94rem; }
.service ul { padding-left: 1.15rem; }
.service li + li { margin-top: .6rem; }
.text-link { color: #904300; text-decoration: underline; text-underline-offset: 4px; font-weight: 720; margin-top: auto; }
.process { background: #f0e7da; }
.steps { list-style: decimal-leading-zero; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 2.5rem 0 0; padding-left: 1.8rem; }
.steps li { padding: .85rem .5rem .85rem 0; border-top: 1px solid #c6af97; }
.steps li::marker { color: #8a4405; font: 650 .9rem var(--mono); }
.steps h3 { color: var(--dark); margin-bottom: .5rem; }
.dark { background: var(--dark); color: var(--light); }
.dark .lead { color: #e3d2bf; }
.photos { display: grid; grid-template-columns: 1fr 1fr .78fr; gap: 14px; margin-top: 2rem; }
figure { margin: 0; }
.photos a { display: block; overflow: hidden; border-radius: 14px; }
.photos img { width: 100%; height: clamp(180px, 24vw, 345px); object-fit: cover; transition: transform .4s; }
.photos a:hover img { transform: scale(1.035); }
.photos figure:last-child img { object-position: center 45%; }
figcaption { margin-top: .7rem; color: #e3d2bf; }
.about { padding-top: 0; }
.about-grid, .area-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(28px, 7vw, 95px); }
.about-grid { align-items: center; grid-template-columns: .78fr 1fr; }
.about img { width: 100%; max-height: 490px; aspect-ratio: 4/5; object-fit: cover; object-position: center 46%; border-radius: 16px; }
.about .lead { margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin-bottom: 0; }
.tags li { color: #f0dcc6; border: 1px solid #705134; border-radius: 999px; padding: .35rem .8rem; }
.region { display: grid; gap: 1.1rem; align-content: space-between; justify-items: start; min-height: 300px; border-radius: 16px; background: radial-gradient(at 90% 0%, #483221, var(--dark) 72%); color: var(--light); padding: clamp(20px, 4vw, 44px); }
.region .eyebrow { color: var(--orange); }
.region strong { font-size: clamp(2rem, 4.25vw, 4.2rem); line-height: 1; letter-spacing: -.06em; }
.region strong span { font: 600 .9rem var(--mono); color: var(--orange); }
details { border-top: 1px solid #d8c9b8; padding: .75rem 0; }
summary { cursor: pointer; font-weight: 700; padding-block: .3rem; }
details p { margin: .65rem 0 0; }
#area details, .hours { margin-top: 1.2rem; }
.faq { background: #f0e7da; }
form { display: grid; gap: 13px; background: #211e1a; padding: clamp(17px, 3vw, 30px); border: 1px solid #514437; border-radius: 16px; }
form label, .form-pair { display: grid; gap: 7px; }
.form-pair { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
input, select, textarea { width: 100%; min-width: 0; border: 1px solid #70645a; border-radius: 8px; min-height: 46px; color: #fff8ed; background: #151311; font: inherit; padding: .65rem; }
textarea { resize: vertical; }
form .botao { justify-self: start; margin-top: .4rem; }
.contact-links { display: grid; gap: .7rem; margin-top: 1.55rem; }
.contact-links a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
footer { border-top: 1px solid #4c4237; padding: 1.35rem 0 5.1rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
footer small { color: #d1c3b5; }
.floating { position: fixed; z-index: 15; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); background: #136745; color: white; padding: .84rem 1.14rem; border-radius: 999px; box-shadow: 0 4px 20px #0004; font-weight: 740; }
.floating:hover { background: #0c5136; }
@media (max-width: 860px) {
  .wrap { width: min(100% - 40px, 1220px); }
  .nav-inner { min-height: 67px; width: calc(100% - 28px); gap: 14px; flex-wrap: wrap; }
  .logo img { width: 112px; }
  .nav-cta { display: none; }
  .menu-toggle:not([hidden]) { display: inline-block; border-radius: 999px; border: 1px solid #aa8062; background: #1b1714; padding: 10px 15px; color: white; font: inherit; min-height: 44px; }
  .menu { flex-wrap: wrap; gap: 0 16px; flex-basis: 100%; padding-bottom: 12px; }
  .menu-toggle:not([hidden]) + .menu { display: none; }
  .menu-toggle:not([hidden]) + .menu.open { display: flex; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service, .service:nth-last-child(-n+2) { grid-column: auto; min-height: 0; }
}
@media (max-width: 760px) {
  .hero { height: 155svh; }
  .ilha { --ilha-w: min(106vw, 650px); top: 35%; }
  .texto { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 0 20px max(69px, 10svh); }
  .marca { --t-marca: clamp(2.95rem, 11vw, 5.5rem); margin: 0; }
  .chamada { padding-bottom: 0; max-width: 420px; }
  .sombra { background: linear-gradient(0deg, #151311fa, #1c1714db 25%, #1c171467 50%, transparent 76%); }
  .about-grid, .area-grid { grid-template-columns: 1fr; }
  .about img { max-height: 360px; aspect-ratio: 5/4; }
  .photos { grid-template-columns: 1fr 1fr; }
  .photos figure:first-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: .65rem; }
}
@media (max-width: 530px) {
  .service-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: start; }
}
@media (max-height: 510px) and (min-width: 761px) {
  .marca { --t-marca: clamp(2.8rem, 12svh, 5.4rem); }
  .texto { padding-bottom: 6svh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero { height: auto; }
  .hero + main > .services { margin-top: 0; }
  .photos img { transition: none; }
}
