
:root{
  --bg:#17100c;
  --bg-2:#21160f;
  --bg-3:#100b08;
  --panel:#291b13;
  --wood:#6d4227;
  --gold:#d6ae70;
  --gold-2:#f0d5a2;
  --text:#fff8ef;
  --muted:#c9b8a7;
  --line:rgba(214,174,112,.24);
  --shadow:0 28px 90px rgba(0,0,0,.38);
  --radius:28px;
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.65;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(circle at 16% 12%, rgba(214,174,112,.13), transparent 26%),
    radial-gradient(circle at 84% 22%, rgba(109,66,39,.18), transparent 34%),
    linear-gradient(180deg,#17100c 0%,#20140e 48%,#100b08 100%);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input,select{font:inherit}

.container{width:min(var(--max),calc(100% - 36px));margin-inline:auto}
.skip{position:fixed;left:16px;top:-90px;background:var(--gold);color:#17100c;padding:10px 14px;border-radius:10px;z-index:1000}
.skip:focus{top:16px}

.site-header{
  position:sticky;
  top:0;
  z-index:80;
  background:rgba(23,16,12,.86);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(214,174,112,.16);
}
.header-inner{
  min-height:74px;
  display:flex;
  align-items:center;
  gap:28px;
}
.brand{
  width:238px;
  min-width:210px;
  display:flex;
  align-items:center;
}
.brand img{
  width:100%;
  max-height:54px;
  object-fit:contain;
  object-position:left center;
  filter:drop-shadow(0 12px 18px rgba(0,0,0,.25));
}
.main-nav{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:24px;
  color:var(--muted);
  font-size:15px;
}
.main-nav a{transition:.2s}
.main-nav a:hover{color:var(--gold-2)}
.nav-cta{
  color:var(--text)!important;
  border:1px solid var(--gold);
  border-radius:999px;
  padding:11px 18px;
}
.menu-button{
  display:none;
  margin-left:auto;
  background:transparent;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:999px;
  padding:10px 14px;
  align-items:center;
  gap:8px;
}
.menu-button span{width:18px;height:1px;background:var(--gold);display:block}
.menu-button span:nth-child(2){transform:translateY(5px)}
.menu-button strong{font-size:12px;text-transform:uppercase;letter-spacing:.1em}

.kicker{
  margin:0 0 14px;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:12px;
  font-weight:800;
}
h1,h2{
  font-family:"Playfair Display",Georgia,"Times New Roman",serif;
  font-weight:600;
  line-height:1.02;
  letter-spacing:-.045em;
  margin:0;
}
h1{font-size:clamp(46px,6.2vw,82px);max-width:760px}
h2{font-size:clamp(38px,5vw,66px)}

.hero{padding:58px 0 52px}
.hero-grid{
  display:grid;
  grid-template-columns:.88fr 1.12fr;
  gap:46px;
  align-items:center;
}
.lead{
  color:var(--muted);
  font-size:18px;
  max-width:660px;
  margin:24px 0 30px;
}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 22px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:800;
  cursor:pointer;
}
.button-gold{background:var(--gold);color:#17100c}
.button-gold:hover{background:var(--gold-2)}
.button-outline{background:rgba(255,255,255,.04);border-color:var(--line);color:var(--text)}

.hero-stage{
  position:relative;
  min-height:590px;
}
.hero-photo{
  margin:0;
  position:absolute;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:34px;
  box-shadow:var(--shadow);
}
.hero-photo img{width:100%;height:100%;object-fit:cover}
.hero-photo-main{
  inset:0 72px 58px 0;
}
.hero-photo-main img{object-position:center}
.hero-photo-small{
  right:0;
  bottom:0;
  width:42%;
  height:38%;
}
.hero-photo-small img{object-position:center}
.hero-badge{
  position:absolute;
  right:14px;
  top:26px;
  max-width:330px;
  background:rgba(28,18,13,.82);
  border:1px solid var(--line);
  backdrop-filter:blur(14px);
  border-radius:22px;
  padding:18px 20px;
}
.hero-badge span{
  display:block;
  color:var(--gold);
  font-size:12px;
  font-weight:800;
  margin-bottom:8px;
}
.hero-badge strong{font-size:19px}

.proof{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  padding:36px 0 84px;
}
.proof-card{
  background:linear-gradient(180deg,rgba(42,27,19,.94),rgba(25,16,11,.94));
  border:1px solid var(--line);
  border-radius:24px;
  padding:24px;
}
.proof-card span{color:var(--gold);font-weight:800}
.proof-card strong{display:block;margin:10px 0 8px;font-size:21px}
.proof-card p{margin:0;color:var(--muted)}

.portfolio{padding:88px 0;background:rgba(16,11,8,.42);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.section-head{
  display:grid;
  grid-template-columns:1fr .68fr;
  gap:32px;
  align-items:end;
  margin-bottom:34px;
}
.section-head>p{margin:0;color:var(--muted)}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:18px;
}
.project{
  position:relative;
  grid-column:span 4;
  min-height:340px;
  overflow:hidden;
  border-radius:26px;
  border:1px solid var(--line);
  background:#1b120d;
}
.project-large{grid-column:span 7;grid-row:span 2;min-height:698px}
.project-wide{grid-column:span 5}
.project img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .65s ease,filter .65s ease;
}
.project::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 48%,rgba(16,10,7,.92));
}
.project-info{
  position:absolute;
  z-index:2;
  left:20px;
  right:20px;
  bottom:18px;
}
.project small{
  display:block;
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:11px;
  font-weight:900;
}
.project strong{font-size:19px}
.project:hover img{transform:scale(1.035);filter:brightness(1.06)}

.split-section{padding:96px 0;background:linear-gradient(180deg,#120c08,#1a100b)}
.split-grid{display:grid;grid-template-columns:.82fr 1.18fr;gap:46px;align-items:center}
.split-copy p:not(.kicker){color:var(--muted)}
.service-list{margin-top:28px;border-top:1px solid var(--line)}
.service-list article{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid var(--line);
}
.service-list span{color:var(--gold);font-weight:800}
.service-list strong{font-size:20px}
.service-list p{margin:4px 0 0;color:var(--muted)}
.split-photos{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.split-photos img{
  width:100%;
  height:540px;
  object-fit:cover;
  border-radius:28px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.split-photos img:nth-child(2){margin-top:58px}

.details{padding:90px 0}
.details-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.detail-card{
  position:relative;
  min-height:440px;
  border-radius:26px;
  overflow:hidden;
  border:1px solid var(--line);
}
.detail-card img{width:100%;height:100%;object-fit:cover;transition:transform .65s ease}
.detail-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(16,10,7,.9))}
.detail-card span{position:absolute;left:20px;bottom:18px;z-index:2;font-weight:900}
.detail-card:hover img{transform:scale(1.035)}

.process{padding:92px 0;background:#100b08;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  list-style:none;
  padding:0;
  margin:0;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.steps li{
  padding:26px 22px;
  min-height:226px;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.steps span{display:block;color:var(--gold);font-weight:900;margin-bottom:14px}
.steps strong{display:block;font-size:22px}
.steps p{margin:10px 0 0;color:var(--muted)}

.contact{
  padding:94px 0;
  background:linear-gradient(180deg,#eadcc7,#d4b282);
  color:#21160f;
}
.contact-box{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:34px;
  align-items:center;
}
.contact p:not(.kicker){color:#5c4631}
.contact-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}
.contact-form label{
  display:flex;
  flex-direction:column;
  gap:7px;
  font-weight:800;
  color:#2a1b13;
}
.contact-form input,.contact-form select{
  height:52px;
  border:1px solid rgba(33,22,15,.18);
  border-radius:16px;
  background:rgba(255,255,255,.66);
  padding:0 15px;
  color:#21160f;
}
.contact-form button{grid-column:1/-1}
.form-status{grid-column:1/-1;min-height:20px;margin:0;color:#5c4631}

.footer{padding:28px 0;border-top:1px solid var(--line)}
.footer-inner{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:18px 26px;
  align-items:center;
}
.footer img{width:240px;max-height:64px;object-fit:contain;object-position:left center}
.footer p{margin:0;font-weight:900}
.footer span{color:var(--muted)}

.lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index:999;
  background:rgba(9,6,4,.94);
  align-items:center;
  justify-content:center;
  flex-direction:column;
  padding:24px;
}
.lightbox.open{display:flex}
.lightbox img{
  max-width:min(1120px,92vw);
  max-height:78vh;
  border-radius:18px;
  box-shadow:var(--shadow);
}
.lightbox p{margin:14px 0 0;color:var(--text)}
.lightbox button{
  position:absolute;
  top:18px;
  right:18px;
  width:48px;
  height:48px;
  border-radius:50%;
  border:1px solid var(--line);
  background:rgba(255,255,255,.08);
  color:#fff;
  font-size:32px;
  cursor:pointer;
}

.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.visible{opacity:1;transform:none}


@media(min-width:821px) and (max-width:1100px){
  .container{width:min(var(--max),calc(100% - 52px))}
  .header-inner{min-height:72px}
  .brand{width:214px;min-width:190px}
  .brand img{max-height:48px}
  .main-nav{gap:16px;font-size:14px}
  .nav-cta{padding:9px 14px}
  .hero{padding:46px 0 44px}
  .hero-grid{grid-template-columns:.9fr 1.1fr;gap:28px}
  h1{font-size:clamp(42px,5.2vw,60px)}
  h2{font-size:clamp(34px,4.4vw,54px)}
  .lead{font-size:16px;margin:18px 0 24px}
  .button{min-height:46px;padding:0 18px}
  .hero-stage{min-height:500px}
  .hero-photo-main{inset:0 54px 52px 0}
  .hero-photo-small{width:42%;height:34%}
  .hero-badge{right:8px;top:20px;max-width:270px;padding:15px 17px}
  .hero-badge strong{font-size:16px}
  .proof{grid-template-columns:repeat(3,1fr);gap:12px;padding:26px 0 70px}
  .proof-card{padding:20px}
  .gallery-grid{gap:14px}
  .project{min-height:300px}
  .project-large{min-height:618px}
  .split-grid{gap:32px}
  .split-photos img{height:470px}
  .details-grid{gap:14px}
  .detail-card{min-height:390px}
  .steps li{padding:22px 18px}
}

@media(max-width:900px) and (min-width:821px){
  .hero-grid{grid-template-columns:1fr;gap:30px}
  .hero-stage{min-height:520px}
  .hero-copy{max-width:760px}
}

/* =========================================================
   ATTOS VFINAL2 — MOBILE REFINADO R1
   Objetivo: preservar desktop e refinar smartphone/tablet.
   ========================================================= */

/* Identidade visual aprovada — desktop */
.brand{
  width:250px;
  min-width:210px;
}
.brand img{
  max-height:58px;
  object-fit:contain;
  object-position:left center;
}
.footer img{
  width:270px;
  max-height:104px;
  object-fit:contain;
  object-position:left center;
}
.hero-photo-main img,
.hero-photo-small img,
.split-photos img{
  object-position:center;
}
.project img,
.detail-card img{
  background:#130d09;
}
.project-large img{
  object-position:center;
}

/* Tablet / notebook estreito */
@media(min-width:821px) and (max-width:1100px){
  .brand{
    width:220px;
    min-width:180px;
  }
  .brand img{max-height:52px}
  .footer img{width:230px}
}

/* Tablet e mobile */
@media(max-width:820px){
  body{overflow-x:hidden}

  .container{
    width:min(var(--max),calc(100% - 36px));
  }

  .site-header{
    position:sticky;
    top:0;
  }

  .header-inner{
    min-height:68px;
    gap:16px;
    justify-content:space-between;
  }

  .brand{
    width:clamp(150px,30vw,188px);
    min-width:0;
    flex:0 1 auto;
  }

  .brand img{
    width:100%;
    max-height:46px;
  }

  .menu-button{
    display:flex;
    flex:0 0 auto;
    min-height:40px;
    margin-left:auto;
    padding:0 13px;
    gap:7px;
    white-space:nowrap;
  }

  .menu-button span{
    width:15px;
  }

  .menu-button strong{
    font-size:11px;
    letter-spacing:.11em;
  }

  .main-nav{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    margin:0;
    padding:12px 18px 18px;
    background:rgba(23,16,12,.98);
    border-top:1px solid rgba(214,174,112,.10);
    border-bottom:1px solid var(--line);
    box-shadow:0 24px 48px rgba(0,0,0,.28);
    flex-direction:column;
    align-items:stretch;
    gap:0;
  }

  .main-nav.open{display:flex}

  .main-nav a{
    width:100%;
    padding:12px 2px;
    border-bottom:1px solid rgba(214,174,112,.12);
  }

  .main-nav .nav-cta{
    margin-top:10px;
    padding:11px 16px;
    text-align:center;
    border-bottom:1px solid var(--gold);
  }

  .hero{
    padding:30px 0 34px;
  }

  .hero-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:26px;
  }

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

  .kicker{
    margin-bottom:12px;
  }

  h1{
    max-width:680px;
    font-size:clamp(38px,8.2vw,50px);
    line-height:1.04;
    letter-spacing:-.038em;
  }

  h2{
    font-size:clamp(34px,7vw,48px);
    line-height:1.05;
  }

  .lead{
    max-width:680px;
    margin:18px 0 24px;
    font-size:16px;
    line-height:1.68;
  }

  .hero-actions{
    gap:10px;
  }

  .button{
    min-height:48px;
    padding:0 18px;
  }

  .hero-stage{
    position:relative;
    display:grid;
    gap:14px;
    min-height:0;
    overflow:visible;
  }

  .hero-photo{
    position:relative;
    inset:auto;
    right:auto;
    bottom:auto;
    width:100%;
    height:auto;
    border-radius:24px;
  }

  .hero-photo-main img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    object-position:center;
  }

  .hero-photo-small{
    display:none;
  }

  .hero-badge{
    position:relative;
    right:auto;
    top:auto;
    max-width:none;
    margin:0;
    padding:16px 18px;
    border-radius:20px;
  }

  .hero-badge strong{
    font-size:17px;
    line-height:1.45;
  }

  .proof{
    grid-template-columns:1fr;
    gap:12px;
    padding:20px 0 58px;
  }

  .proof-card{
    padding:20px;
  }

  .section-head{
    grid-template-columns:1fr;
    gap:12px;
    margin-bottom:24px;
  }

  .portfolio,
  .split-section,
  .details,
  .process,
  .contact{
    padding:64px 0;
  }

  .gallery-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .project,
  .project-large,
  .project-wide{
    grid-column:auto;
    grid-row:auto;
    min-height:0;
    height:auto;
  }

  .project img{
    width:100%;
    height:auto;
    object-fit:contain;
  }

  .project::after{
    background:linear-gradient(180deg,transparent 55%,rgba(16,10,7,.94));
  }

  .project-info{
    left:18px;
    right:18px;
    bottom:16px;
  }

  .split-grid{
    grid-template-columns:1fr;
    gap:26px;
  }

  .split-photos{
    grid-template-columns:1fr;
    gap:14px;
  }

  .split-photos img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    border-radius:24px;
  }

  .split-photos img:nth-child(2){
    margin-top:0;
  }

  .details-grid{
    grid-template-columns:1fr;
    gap:14px;
  }

  .detail-card{
    min-height:0;
    height:auto;
  }

  .detail-card img{
    width:100%;
    height:auto;
    object-fit:contain;
  }

  .steps{
    grid-template-columns:1fr;
  }

  .steps li{
    min-height:auto;
  }

  .contact-box{
    grid-template-columns:1fr;
    gap:24px;
  }

  .contact-form{
    grid-template-columns:1fr;
  }

  .footer-inner{
    grid-template-columns:1fr;
  }

  .footer img{
    width:215px;
    max-height:84px;
  }
}

/* Smartphone */
@media(max-width:560px){
  .container{
    width:min(var(--max),calc(100% - 32px));
  }

  .header-inner{
    min-height:64px;
    gap:12px;
  }

  .brand{
    width:148px;
  }

  .brand img{
    max-height:42px;
  }

  .menu-button{
    min-height:38px;
    padding:0 11px;
    gap:6px;
  }

  .menu-button span{
    width:14px;
  }

  .menu-button strong{
    font-size:10.5px;
  }

  .hero{
    padding:26px 0 30px;
  }

  h1{
    font-size:38px;
    line-height:1.045;
    letter-spacing:-.035em;
  }

  h2{
    font-size:34px;
  }

  .lead{
    margin:16px 0 22px;
    font-size:15.5px;
    line-height:1.65;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-actions .button{
    width:100%;
  }

  .hero-photo{
    border-radius:22px;
  }

  .hero-badge{
    padding:15px 16px;
  }

  .kicker{
    font-size:10.5px;
    letter-spacing:.17em;
  }

  .portfolio,
  .split-section,
  .details,
  .process,
  .contact{
    padding:58px 0;
  }

  .project-info,
  .detail-card span{
    left:16px;
    right:16px;
    bottom:14px;
  }

  .footer img{
    width:195px;
  }
}

/* Smartphones estreitos */
@media(max-width:380px){
  .container{
    width:min(var(--max),calc(100% - 26px));
  }

  .brand{
    width:140px;
  }

  .menu-button{
    padding:0 10px;
  }

  h1{
    font-size:35px;
  }

  h2{
    font-size:32px;
  }
}

/* Respeita preferência do sistema por menos animação */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{
    opacity:1;
    transform:none;
    transition:none;
  }
  .project img,
  .detail-card img{
    transition:none;
  }
}
