:root {
  --black: #070506;
  --black-soft: #0d090b;
  --surface: rgba(18, 12, 14, .82);
  --surface-2: rgba(28, 16, 20, .68);
  --burgundy: #650f25;
  --burgundy-bright: #a41f42;
  --burgundy-soft: rgba(130, 20, 50, .18);
  --gold: #d2a34b;
  --gold-light: #f5d88a;
  --gold-deep: #805614;
  --gold-line: rgba(210, 163, 75, .35);
  --text: #f7f2e9;
  --muted: #bcb2b4;
  --line: rgba(234, 199, 126, .14);
  --shadow: 0 24px 70px rgba(0, 0, 0, .45);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 92% 9%, rgba(114, 15, 42, .22), transparent 28rem),
    radial-gradient(circle at 7% 42%, rgba(105, 57, 9, .12), transparent 30rem),
    var(--black);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: currentColor; }

.page-texture {
  position: fixed; inset: 0; pointer-events: none; z-index: -2; opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.ambient { position: fixed; border-radius: 50%; filter: blur(100px); pointer-events: none; z-index: -1; }
.ambient-one { width: 380px; height: 380px; right: -180px; top: 35%; background: rgba(112, 7, 36, .25); }
.ambient-two { width: 280px; height: 280px; left: -130px; bottom: 5%; background: rgba(159, 103, 22, .10); }

.header {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(1240px, calc(100% - 32px)); height: 70px; padding: 0 18px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(8, 5, 6, .82); backdrop-filter: blur(18px);
  box-shadow: 0 15px 45px rgba(0,0,0,.28);
}
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: max-content; }
.brand-mark {
  position: relative; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--gold-line); border-radius: 10px;
  background: linear-gradient(145deg, rgba(210,163,75,.10), rgba(255,255,255,.01));
  color: var(--gold-light); font-family: var(--serif); box-shadow: inset 0 0 20px rgba(210,163,75,.05);
}
.brand-mark span { position: absolute; font-size: 29px; left: 8px; top: 1px; }
.brand-mark i { position: absolute; font-size: 20px; right: 7px; bottom: 2px; font-style: normal; opacity: .7; }
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-copy strong { font-family: var(--serif); font-size: 1.16rem; letter-spacing: .07em; text-transform: uppercase; color: var(--gold-light); }
.brand-copy small { color: var(--burgundy-bright); font-size: .62rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 700; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 27px; font-size: .84rem; }
.nav > a:not(.nav-cta) { color: #ddd4d5; transition: .2s ease; }
.nav > a:not(.nav-cta):hover { color: var(--gold-light); }
.nav-cta { padding: 11px 16px; border: 1px solid var(--gold-line); border-radius: 9px; color: var(--gold-light); background: linear-gradient(100deg, rgba(109,11,38,.30), rgba(210,163,75,.07)); }
.nav-cta span { color: var(--gold); margin-left: 7px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: transparent; padding: 11px; }
.menu-toggle span { display: block; height: 1px; background: var(--gold-light); margin: 5px 0; }

.section { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.section-space { padding: 104px 0; }
.hero { min-height: 100vh; padding-top: 128px; padding-bottom: 70px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 74px; }
.eyebrow { margin: 0 0 12px; color: var(--burgundy-bright); font-size: .75rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(4.6rem, 9vw, 8.1rem); line-height: .74; font-weight: 600; letter-spacing: -.04em; text-transform: uppercase; }
.hero h1 span, .hero h1 strong { display: block; }
.hero h1 span { color: #fffaf0; }
.hero h1 strong {
  margin-top: 22px; font-weight: 600;
  background: linear-gradient(110deg, var(--gold-deep) 3%, var(--gold-light) 23%, #fff1bc 39%, var(--gold) 56%, #7e5012 80%, var(--gold-light) 98%);
  background-size: 220% auto; color: transparent; -webkit-background-clip: text; background-clip: text;
  animation: goldShine 7s linear infinite;
  filter: drop-shadow(0 5px 20px rgba(210,163,75,.12));
}
@keyframes goldShine { to { background-position: 220% center; } }
.role { display: flex; align-items: center; gap: 18px; margin: 28px 0 25px; color: var(--burgundy-bright); font-size: .78rem; text-transform: uppercase; letter-spacing: .55em; font-weight: 700; }
.role::after { content: ""; width: 130px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.hero-description, .hero-support { max-width: 680px; color: #d6cdcf; }
.hero-description { font-size: 1.03rem; }
.hero-description strong { color: var(--gold-light); }
.hero-description em { color: #db496b; font-style: normal; }
.hero-support { color: var(--muted); font-size: .94rem; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; margin: 30px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding: 0 20px; border-radius: 9px; font-size: .86rem; font-weight: 600; transition: .24s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary {
  position: relative; overflow: hidden; color: #160b06;
  background: linear-gradient(105deg, #8e5b13, var(--gold-light) 42%, var(--gold) 70%, #7b480c);
  box-shadow: 0 10px 35px rgba(181,119,23,.18);
}
.button-primary::after { content: ""; position: absolute; inset: -50% auto -50% -35%; width: 30%; transform: skewX(-24deg); background: rgba(255,255,255,.5); filter: blur(4px); animation: buttonShine 4.8s ease-in-out infinite; }
@keyframes buttonShine { 0%,55%{left:-40%} 75%,100%{left:130%} }
.button-primary svg { width: 18px; height: 18px; }
.button-outline { color: var(--gold-light); border: 1px solid var(--gold-line); background: rgba(93,10,34,.10); }
.button-outline:hover { background: rgba(112,13,39,.25); border-color: rgba(245,216,138,.5); }
.hero-highlights { display: grid; grid-template-columns: repeat(3,1fr); max-width: 650px; margin-top: 34px; border-top: 1px solid var(--line); padding-top: 20px; gap: 18px; }
.hero-highlights strong, .hero-highlights span { display: block; }
.hero-highlights strong { color: var(--gold-light); font-family: var(--serif); font-size: 1.18rem; }
.hero-highlights span { color: #8f8587; font-size: .72rem; margin-top: 3px; }

.hero-media { position: relative; min-height: 580px; display: grid; place-items: center; }
.portrait-shell { position: relative; width: min(100%, 480px); }
.portrait-frame {
  position: relative; overflow: hidden; aspect-ratio: .78; border: 1px solid rgba(230,182,84,.62); border-radius: 28px 28px 90px 28px;
  background: #0d0809; box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 0 0 5px rgba(8,4,5,.78);
}
.portrait-frame::before { content: ""; position: absolute; inset: 10px; z-index: 3; border: 1px solid rgba(244,213,142,.18); border-radius: 20px 20px 82px 20px; pointer-events: none; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 27%; filter: saturate(.92) contrast(1.02); transform: scale(1.02); }
.portrait-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,3,5,.82) 0%, transparent 38%), linear-gradient(115deg, transparent 55%, rgba(107,9,38,.20)); }
.portrait-monogram { position: absolute; right: 30px; bottom: 55px; z-index: 4; font-family: var(--serif); font-size: 5rem; color: rgba(236,193,97,.12); letter-spacing: -.25em; }
.gold-orbit { position: absolute; pointer-events: none; border: 1px solid rgba(210,163,75,.28); border-radius: 50%; }
.orbit-one { width: 510px; height: 510px; top: -24px; left: -70px; clip-path: inset(0 0 43% 0); transform: rotate(-15deg); }
.orbit-two { width: 410px; height: 410px; right: -42px; bottom: -45px; clip-path: inset(54% 0 0 0); transform: rotate(21deg); }
.profile-chip { position: absolute; left: -38px; bottom: 38px; z-index: 5; display: flex; align-items: center; gap: 12px; padding: 15px 18px; border: 1px solid var(--gold-line); border-radius: 13px; background: rgba(10,6,7,.88); backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.profile-chip strong, .profile-chip small { display: block; }
.profile-chip strong { font-size: .82rem; color: var(--gold-light); }
.profile-chip small { font-size: .68rem; color: #9f9597; margin-top: 3px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 5px rgba(37,211,102,.11), 0 0 18px rgba(37,211,102,.55); }
.social-rail { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; }
.social-button { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--gold-line); border-radius: 10px; color: var(--gold-light); background: rgba(10,6,7,.82); transition: .22s ease; }
.social-button:hover { transform: translateX(-4px); color: #fff3c4; background: rgba(105,12,39,.42); box-shadow: 0 0 25px rgba(177,34,70,.16); }
.social-button svg { width: 19px; height: 19px; }

.authority { padding: 28px 30px; border: 1px solid var(--gold-line); border-radius: 22px; background: linear-gradient(90deg, rgba(103,10,35,.13), rgba(20,12,14,.86) 38%, rgba(134,83,12,.08)); box-shadow: inset 0 1px rgba(255,255,255,.035); }
.authority > p { margin: 0 0 22px; text-align: center; color: var(--gold); font-size: .67rem; letter-spacing: .21em; text-transform: uppercase; }
.authority-grid { display: grid; grid-template-columns: .9fr 1.25fr 1fr; align-items: stretch; }
.authority article { display: flex; align-items: center; justify-content: center; gap: 15px; min-height: 68px; padding: 0 22px; border-right: 1px solid var(--line); }
.authority article:last-child { border-right: 0; }
.authority small, .authority strong { display: block; }
.authority small { color: #968b8d; font-size: .72rem; }
.authority strong { color: var(--gold-light); font-family: var(--serif); font-size: 1.15rem; line-height: 1.15; }
.authority-icon { color: var(--gold); font-family: var(--serif); font-size: 2.4rem; }
.bank-icon { color: #d52349; font-family: var(--sans); font-weight: 800; }

.section-heading { max-width: 810px; margin-bottom: 48px; }
.section-heading h2, .faq h2, .contact-card h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem,5vw,4.6rem); line-height: .98; font-weight: 600; letter-spacing: -.025em; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.1fr .7fr; gap: 80px; align-items: end; }
.split-heading > p { margin: 0; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-copy p { margin-top: 0; color: #c7bdbe; font-size: 1.04rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--gold-light); font-weight: 600; }
.principles { display: grid; gap: 12px; }
.principles article { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 21px; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(130deg, rgba(102,12,38,.10), rgba(255,255,255,.018)); }
.principles article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold-line); color: var(--gold); font-family: var(--serif); font-size: 1.05rem; }
.principles h3 { margin: 0; font-family: var(--serif); font-size: 1.35rem; color: var(--gold-light); }
.principles p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { position: relative; overflow: hidden; min-height: 500px; padding: 30px; border: 1px solid var(--gold-line); border-radius: 19px; background: linear-gradient(150deg, rgba(108,12,39,.10), rgba(255,255,255,.018) 48%, rgba(143,87,12,.05)); transition: .3s ease; }
.service-card::before { content: ""; position: absolute; width: 180px; height: 180px; right: -80px; bottom: -100px; border-radius: 50%; background: rgba(133,14,45,.18); filter: blur(65px); }
.service-card:hover { transform: translateY(-7px); border-color: rgba(245,216,138,.52); box-shadow: 0 22px 65px rgba(0,0,0,.28), inset 0 -3px rgba(128,15,44,.30); }
.service-card > span { position: absolute; top: 26px; right: 27px; color: rgba(245,216,138,.48); font-family: var(--serif); font-size: 1.1rem; }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 27px; border: 1px solid var(--gold-line); border-radius: 14px; color: var(--gold); background: rgba(7,5,6,.52); }
.service-icon svg { width: 25px; height: 25px; }
.service-card h3 { margin: 0; font-family: var(--serif); font-size: 1.65rem; color: #fff7e9; }
.service-card p { color: var(--muted); min-height: 100px; font-size: .92rem; }
.service-card ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.service-card li { padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.055); color: #c9bfc0; font-size: .85rem; }
.service-card li::before { content: "✓"; color: var(--burgundy-bright); margin-right: 9px; }
.service-card a { position: absolute; left: 30px; bottom: 27px; color: var(--gold-light); font-size: .86rem; font-weight: 600; }
.service-card a b { color: var(--burgundy-bright); margin-left: 5px; }

.projects-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.project-card { overflow: hidden; border: 1px solid var(--gold-line); border-radius: 18px; background: rgba(15,9,11,.75); transition: .3s ease; }
.project-card:hover { transform: translateY(-7px); box-shadow: 0 24px 65px rgba(0,0,0,.32); border-color: rgba(245,216,138,.48); }
.project-preview { min-height: 290px; padding: 15px; }
.browser-bar { height: 31px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: rgba(6,4,5,.76); border-radius: 10px 10px 0 0; }
.browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.33); }
.browser-bar span { margin-left: auto; margin-right: auto; color: rgba(255,255,255,.37); font-size: .55rem; }
.clinic-page, .cafe-page, .studio-page { position: relative; min-height: 228px; padding: 27px; overflow: hidden; border-radius: 0 0 10px 10px; }
.clinic-page { background: linear-gradient(135deg, #f0e4dc, #c9a293); color: #4b2525; }
.cafe-page { background: radial-gradient(circle at 72% 55%, rgba(190,117,49,.45), transparent 25%), linear-gradient(130deg, #1d100c, #4c2515); color: #f6d5a6; }
.studio-page { background: linear-gradient(135deg, #ebe4dc, #bd9d8f); color: #4a302f; }
.project-preview small { text-transform: uppercase; letter-spacing: .17em; font-size: .56rem; font-weight: 700; }
.project-preview h3 { max-width: 230px; margin: 16px 0; font-family: var(--serif); font-size: 1.85rem; line-height: .95; }
.project-preview button { border: 1px solid currentColor; border-radius: 999px; padding: 7px 11px; color: inherit; background: transparent; font-size: .57rem; }
.clinic-cards { position: absolute; left: 26px; right: 26px; bottom: 18px; display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; }
.clinic-cards i { height: 34px; border-radius: 6px; background: rgba(255,255,255,.44); }
.coffee-cup { position: absolute; right: 34px; bottom: 23px; font-size: 4.4rem; filter: drop-shadow(0 12px 13px rgba(0,0,0,.45)); }
.studio-shapes i { position: absolute; display: block; border-radius: 50%; border: 1px solid rgba(87,43,37,.30); }
.studio-shapes i:first-child { width: 125px; height: 125px; right: -10px; bottom: -25px; }
.studio-shapes i:last-child { width: 70px; height: 70px; right: 75px; bottom: 15px; }
.project-copy { padding: 23px; }
.project-copy > span { color: var(--burgundy-bright); font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; }
.project-copy h3 { margin: 8px 0 6px; font-family: var(--serif); font-size: 1.55rem; color: var(--gold-light); }
.project-copy p { margin: 0 0 18px; color: var(--muted); font-size: .85rem; }
.project-copy div { display: flex; gap: 7px; flex-wrap: wrap; }
.project-copy div small { padding: 4px 7px; border: 1px solid rgba(210,163,75,.20); border-radius: 5px; color: #bca874; font-size: .58rem; }
.project-note { text-align: center; color: #7f7476; font-size: .76rem; margin: 26px 0 0; }

.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(100deg, rgba(101,15,39,.08), rgba(255,255,255,.015), rgba(148,94,16,.06)); }
.tech-grid span { padding: 10px 14px; border: 1px solid rgba(210,163,75,.19); border-radius: 999px; color: #c9bfc0; background: rgba(4,3,3,.44); font-size: .83rem; transition: .2s; }
.tech-grid span:hover { color: var(--gold-light); border-color: rgba(245,216,138,.43); transform: translateY(-2px); }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.process-grid article { position: relative; text-align: center; padding: 28px 20px; border-top: 1px solid var(--gold-line); background: linear-gradient(to bottom, rgba(111,13,40,.08), transparent); }
.process-grid article:not(:last-child)::after { content: "→"; position: absolute; top: 56px; right: -14px; color: var(--gold-deep); }
.process-grid article > span { position: absolute; top: 9px; left: 14px; color: var(--burgundy-bright); font-size: .66rem; }
.process-icon { width: 54px; height: 54px; margin: 0 auto 17px; display: grid; place-items: center; border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold); font-family: var(--serif); font-size: 1.4rem; }
.process-grid h3 { margin: 0; font-family: var(--serif); color: var(--gold-light); font-size: 1.35rem; }
.process-grid p { color: var(--muted); font-size: .79rem; }

.faq-contact { display: grid; grid-template-columns: 1fr .9fr; gap: 70px; align-items: start; }
.faq h2 { margin-bottom: 27px; font-size: clamp(2.4rem,4vw,3.6rem); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 17px 0; color: #e6dcde; font-size: .88rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.2rem; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; color: var(--muted); font-size: .84rem; }
.contact-card { position: relative; overflow: hidden; padding: 42px; border: 1px solid var(--gold-line); border-radius: 24px; background: radial-gradient(circle at 88% 14%, rgba(137,17,49,.20), transparent 35%), linear-gradient(145deg, rgba(112,13,40,.13), rgba(255,255,255,.018)); box-shadow: var(--shadow); }
.contact-card::after { content: "FF"; position: absolute; right: -4px; bottom: -38px; font-family: var(--serif); font-size: 11rem; color: rgba(224,179,81,.045); letter-spacing: -.25em; }
.contact-card h2 { position: relative; z-index: 1; font-size: clamp(2.6rem,4vw,4rem); }
.contact-card > p:not(.eyebrow) { position: relative; z-index: 1; color: var(--muted); }
.contact-card .button { position: relative; z-index: 1; margin: 16px 0 24px; }
.contact-links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 18px; font-size: .79rem; }
.contact-links a { color: #bdb2b4; }
.contact-links a:hover { color: var(--gold-light); }

.footer { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 42px; display: flex; justify-content: space-between; align-items: center; gap: 25px; border-top: 1px solid var(--line); }
.footer p { color: #756b6d; font-size: .74rem; text-align: center; }
.footer-brand .brand-mark { width: 38px; height: 38px; }
.footer-brand .brand-copy strong { font-size: .92rem; }
.back-top { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--gold-line); border-radius: 9px; color: var(--gold); }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 59px; height: 59px; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.92); border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 15px 40px rgba(0,0,0,.4), 0 0 0 7px rgba(37,211,102,.08); transition: .24s ease; }
.whatsapp-float:hover { transform: translateY(-5px) scale(1.03); }
.whatsapp-float svg { width: 29px; height: 29px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-one { transition-delay: .11s; }
.delay-two { transition-delay: .21s; }
.delay-three { transition-delay: .31s; }

@media (max-width: 1080px) {
  .nav { gap: 17px; }
  .hero { gap: 40px; }
  .social-rail { right: -12px; }
  .profile-chip { left: -10px; }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .project-card:last-child { grid-column: 1 / -1; max-width: 570px; justify-self: center; width: 100%; }
}
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(8,5,6,.98); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav-cta { margin-top: 5px; text-align: center; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { max-width: 760px; }
  .hero-media { min-height: 560px; }
  .portrait-shell { width: 470px; max-width: 86%; }
  .social-rail { right: 2%; }
  .authority-grid { grid-template-columns: 1fr; }
  .authority article { justify-content: flex-start; border-right: 0; border-bottom: 1px solid var(--line); }
  .authority article:last-child { border-bottom: 0; }
  .about-grid, .faq-contact { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 440px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid article:nth-child(2)::after { display: none; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 660px) {
  .header { top: 9px; width: calc(100% - 18px); height: 64px; }
  .brand-copy strong { font-size: .94rem; }
  .brand-copy small { font-size: .52rem; }
  .brand-mark { width: 40px; height: 40px; }
  .section { width: min(100% - 28px, 1180px); }
  .section-space { padding: 78px 0; }
  .hero { padding-top: 112px; gap: 34px; }
  .hero h1 { font-size: clamp(3.6rem,20vw,5.1rem); line-height: .77; }
  .hero h1 strong { margin-top: 15px; }
  .role { letter-spacing: .29em; }
  .hero-actions .button { width: 100%; }
  .hero-highlights { grid-template-columns: 1fr; gap: 12px; }
  .hero-highlights div { display: grid; grid-template-columns: 120px 1fr; align-items: center; }
  .hero-highlights span { margin: 0; }
  .hero-media { min-height: 470px; }
  .portrait-shell { max-width: 88%; }
  .profile-chip { left: 50%; transform: translateX(-50%); bottom: -23px; width: max-content; max-width: 92%; }
  .social-rail { right: -2px; gap: 8px; }
  .social-button { width: 40px; height: 40px; }
  .authority { padding: 23px 18px; }
  .authority article { padding: 13px 4px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card:last-child { grid-column: auto; max-width: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article::after { display: none; }
  .contact-card { padding: 30px 22px; }
  .footer { flex-direction: column; }
  .footer p { order: 3; }
  .whatsapp-float { right: 15px; bottom: 15px; width: 54px; height: 54px; }
}


/* Ajustes de responsividade para celulares: hero mais compacto e foto menos ampliada */
@media (max-width: 660px) {
  body { overflow-x: hidden; }

  .hero {
    padding-top: 94px;
    padding-bottom: 34px;
    gap: 26px;
  }

  .hero-copy { min-width: 0; }

  .eyebrow {
    margin-bottom: 8px;
    font-size: .64rem;
    letter-spacing: .2em;
  }

  .hero h1 {
    font-size: clamp(2.85rem, 14.5vw, 3.65rem);
    line-height: .84;
    letter-spacing: -.035em;
  }

  .hero h1 strong { margin-top: 9px; }

  .role {
    gap: 10px;
    margin: 18px 0;
    font-size: .66rem;
    letter-spacing: .22em;
  }

  .role::after { width: 68px; }

  .hero-description {
    font-size: .93rem;
    line-height: 1.65;
  }

  .hero-support {
    font-size: .84rem;
    line-height: 1.65;
  }

  .hero-actions { margin: 22px 0; }

  .hero-highlights {
    margin-top: 23px;
    padding-top: 16px;
  }

  .hero-media {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: auto;
    width: 100%;
    padding: 4px 0 8px;
  }

  .portrait-shell {
    width: min(76vw, 288px);
    max-width: none;
  }

  .portrait-frame {
    aspect-ratio: 1 / 1.08;
    border-radius: 21px 21px 58px 21px;
  }

  .portrait-frame::before {
    inset: 7px;
    border-radius: 15px 15px 52px 15px;
  }

  .portrait-frame img {
    object-position: center 34%;
    transform: scale(1);
  }

  .portrait-monogram {
    right: 20px;
    bottom: 39px;
    font-size: 3.35rem;
  }

  .orbit-one {
    width: 320px;
    height: 320px;
    top: -15px;
    left: -36px;
  }

  .orbit-two {
    width: 270px;
    height: 270px;
    right: -20px;
    bottom: -24px;
  }

  .profile-chip {
    bottom: -18px;
    padding: 11px 13px;
    gap: 9px;
  }

  .profile-chip strong { font-size: .73rem; }
  .profile-chip small { font-size: .58rem; }

  .social-rail {
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    gap: 9px;
    margin-top: 37px;
  }

  .social-button {
    width: 38px;
    height: 38px;
  }

  .social-button:hover { transform: translateY(-3px); }
}

@media (max-width: 380px) {
  .section { width: min(100% - 22px, 1180px); }
  .hero h1 { font-size: clamp(2.55rem, 14vw, 3.1rem); }
  .portrait-shell { width: min(74vw, 264px); }
  .role { letter-spacing: .17em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Correção mobile v3: elimina rolagem horizontal e organiza os destaques */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  position: relative;
}

main,
.header,
.footer,
.section,
.hero,
.hero-copy,
.hero-media,
.portrait-shell,
.authority,
.services-grid,
.projects-grid,
.tech-grid,
.process-grid,
.faq-contact {
  min-width: 0;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 660px) {
  .header {
    left: 9px;
    right: 9px;
    transform: none;
    width: auto;
    max-width: calc(100vw - 18px);
  }

  .section {
    width: auto;
    max-width: calc(100vw - 28px);
    margin-left: 14px;
    margin-right: 14px;
  }

  .hero-copy,
  .hero-media,
  .hero-actions,
  .hero-highlights,
  .authority-grid,
  .projects-grid,
  .services-grid,
  .process-grid,
  .faq-contact {
    width: 100%;
    max-width: 100%;
  }

  .hero h1,
  .hero-description,
  .hero-support,
  .role {
    max-width: 100%;
  }

  .hero-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
  }

  .hero-highlights div {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(234, 199, 126, .10);
  }

  .hero-highlights div:last-child {
    border-bottom: 0;
  }

  .hero-highlights strong {
    flex: 0 1 46%;
    min-width: 0;
    font-size: 1.05rem;
    line-height: 1.15;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero-highlights span {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    text-align: right;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .hero-media {
    overflow: hidden;
  }

  .portrait-shell {
    max-width: calc(100vw - 72px);
  }

  .gold-orbit {
    max-width: 115vw;
    max-height: 115vw;
  }

  .social-rail {
    position: static !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100%;
    max-width: 100%;
  }

  .profile-chip {
    max-width: calc(100vw - 52px);
  }

  .profile-chip div {
    min-width: 0;
  }

  .profile-chip small {
    white-space: normal;
  }

  .authority,
  .contact-card,
  .service-card,
  .project-card,
  .tech-grid,
  .faq {
    max-width: 100%;
  }

  .whatsapp-float {
    right: 12px;
  }
}

@media (max-width: 390px) {
  .hero-highlights div {
    gap: 12px;
  }

  .hero-highlights strong {
    flex-basis: 48%;
    font-size: .98rem;
  }

  .hero-highlights span {
    font-size: .69rem;
  }
}


/* Atualização dos projetos publicados */
@media (min-width: 1081px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}
.project-copy .project-tags { display:flex; gap:7px; flex-wrap:wrap; }
.project-copy .project-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:20px; }
.project-actions a { min-height:38px; padding:0 13px; display:inline-flex; align-items:center; justify-content:center; border:1px solid rgba(210,163,75,.28); border-radius:8px; color:var(--gold-light); font-size:.72rem; font-weight:700; transition:.2s; }
.project-actions a:first-child { background:linear-gradient(110deg,rgba(139,22,54,.7),rgba(81,12,32,.8)); border-color:rgba(231,187,88,.34); }
.project-actions a:hover { transform:translateY(-2px); border-color:rgba(245,216,138,.58); }
.project-card .project-copy { min-height:250px; }
.api-page { background:linear-gradient(135deg,#07090c,#151016); }
.api-terminal { min-height:228px; padding:27px; border-radius:0 0 10px 10px; color:#eee7e0; background:radial-gradient(circle at 82% 15%,rgba(122,18,49,.25),transparent 27%),linear-gradient(145deg,#0d1014,#191017); }
.api-terminal small { color:#dfad4d; letter-spacing:.16em; }
.api-terminal h3 { max-width:330px; margin:16px 0; font-family:var(--serif); font-size:1.8rem; line-height:1.05; }
.api-terminal pre { margin:18px 0; padding:14px; border:1px solid rgba(210,163,75,.15); border-radius:9px; background:rgba(0,0,0,.32); color:#cfc4b5; font-size:.67rem; line-height:1.7; overflow:auto; }
.api-status { color:#9a8e82; font-size:.64rem; }
.api-status i { display:inline-block; width:7px; height:7px; margin-right:7px; border-radius:50%; background:#25d366; box-shadow:0 0 10px rgba(37,211,102,.6); }
@media(max-width:660px){.project-copy .project-actions{flex-direction:column}.project-actions a{width:100%}.project-card .project-copy{min-height:0}}


/* Pré-visualizações atualizadas dos projetos */
.project-preview-image {
  min-height: 0;
  padding: 15px;
}
.project-shot {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 0 0 10px 10px;
  background: #090607;
}
.project-shot::after {
  content: "Abrir projeto ↗";
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border: 1px solid rgba(245,216,138,.48);
  border-radius: 999px;
  color: #fff7e9;
  background: rgba(8,5,6,.78);
  backdrop-filter: blur(10px);
  font-size: .66rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(7px);
  transition: .25s ease;
}
.project-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease, filter .45s ease;
}
.project-card:hover .project-shot img {
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}
.project-card:hover .project-shot::after {
  opacity: 1;
  transform: none;
}
@media (max-width: 720px) {
  .project-preview-image { padding: 10px; }
  .project-shot::after { display: none; }
}
