﻿/* =========================================================
   DECORAN CORTINAS â€” Campos dos Goytacazes/RJ
   Identidade: navio/petrÃ³leo (#0b3a54) sobre creme editorial,
   heranca familiar desde 1969, fotografia real em protagonismo.
   ========================================================= */

:root{
  --navy: #0b3a54;
  --navy-deep: #082a3e;
  --navy-soft: #17516f;
  --cream: #faf6ef;
  --cream-deep: #f2ead9;
  --paper: #fffdf9;
  --logo-light: #fefefe;
  --ink: #1c2b33;
  --ink-soft: #4c5f68;
  --brass: #a9773f;
  --brass-soft: #c99a63;
  --line: rgba(11,58,84,.14);
  --shadow: 0 24px 48px -28px rgba(8,42,62,.35);
  --shadow-sm: 0 10px 24px -16px rgba(8,42,62,.28);
  --radius: 4px;
  --radius-lg: 6px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --maxw: 1200px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--cream);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family:var(--serif); font-weight:600; margin:0; color:var(--navy); }
p{ margin:0; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }

::selection{ background:var(--brass-soft); color:var(--navy-deep); }

/* ---------- reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- botoes ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px; border-radius:999px;
  font-weight:600; font-size:.96rem; letter-spacing:.01em;
  border:1.5px solid transparent; cursor:pointer; white-space:nowrap;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn svg{ width:19px; height:19px; fill:currentColor; flex-shrink:0; }
.btn-primary{ background:var(--navy); color:#fff; box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--navy-deep); transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-outline{ background:transparent; color:var(--navy); border-color:var(--navy); }
.btn-outline:hover{ background:var(--navy); color:#fff; transform:translateY(-2px); }
.btn-brass{ background:var(--brass); color:#fff; box-shadow:var(--shadow-sm); }
.btn-brass:hover{ background:#8f622f; transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-ghost-light{ background:rgba(255,255,255,.1); color:#fff; border-color:rgba(255,255,255,.55); }
.btn-ghost-light:hover{ background:#fff; color:var(--navy); }

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background:var(--logo-light);
  border-bottom:1px solid var(--line);
}
.nav-inner{ display:flex; align-items:center; gap:24px; padding:14px 28px; }
.nav-logo img{ height:42px; width:auto; }
.nav-links{ display:flex; align-items:center; gap:30px; margin-left:12px; flex:1; }
.nav-links a{
  font-size:.92rem; font-weight:600; color:var(--ink-soft);
  position:relative; padding:6px 0; transition:color .2s ease;
}
.nav-links a:hover{ color:var(--navy); }
.nav-links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:2px;
  background:var(--brass); transition:right .25s ease;
}
.nav-links a:hover::after{ right:0; }
.nav-cta{ margin-left:auto; }
.nav-toggle{
  display:none; width:42px; height:42px; border-radius:50%;
  border:1px solid var(--line); background:transparent; cursor:pointer;
  align-items:center; justify-content:center; flex-direction:column; gap:5px;
}
.nav-toggle span{ width:19px; height:2px; background:var(--navy); display:block; transition:.25s; }
.nav-toggle.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero{
  display:grid; grid-template-columns:minmax(360px,44%) 1fr;
  min-height:640px; background:var(--cream);
}
.hero-copy{
  display:flex; flex-direction:column; justify-content:center;
  gap:22px; padding:64px 48px 64px 6vw;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-size:.8rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--brass);
}
.hero-eyebrow::before{ content:""; width:26px; height:1.5px; background:var(--brass); }
.hero h1{
  font-size:clamp(2.2rem, 3.6vw, 3.4rem); line-height:1.08; letter-spacing:-.01em;
}
.hero h1 em{ font-style:italic; color:var(--brass); }
.hero-lead{
  font-size:1.08rem; line-height:1.65; color:var(--ink-soft); max-width:46ch;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-top:6px; }
.hero-meta{
  display:flex; flex-wrap:wrap; gap:10px 28px; margin-top:18px;
  padding-top:22px; border-top:1px solid var(--line);
}
.hero-meta div{ font-size:.86rem; color:var(--ink-soft); }
.hero-meta b{ display:block; font-family:var(--serif); font-size:1.5rem; color:var(--navy); font-weight:600; }

.hero-visual{ position:relative; overflow:hidden; }
.hero-visual img{ width:100%; height:100%; object-fit:cover; }
.hero-badge{
  position:absolute; left:-1px; bottom:32px;
  background:var(--navy); color:#fff; padding:16px 26px 16px 22px;
  border-radius:0 8px 8px 0; box-shadow:var(--shadow);
  font-family:var(--serif);
}
.hero-badge .yr{ font-size:1.9rem; font-weight:700; line-height:1; }
.hero-badge .txt{ font-family:var(--sans); font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; opacity:.85; margin-top:4px; }

/* ---------- faixa de fatos ---------- */
.factstrip{
  background:var(--paper); border-bottom:1px solid var(--line);
}
.factstrip .container{
  display:flex; flex-wrap:wrap; gap:8px 0;
  padding:20px 28px;
}
.factstrip span{
  font-size:.88rem; color:var(--ink-soft); font-weight:600;
  padding:0 22px; border-right:1px solid var(--line);
}
.factstrip span:first-child{ padding-left:0; }
.factstrip span:last-child{ border-right:none; }
.factstrip strong{ color:var(--navy); }

/* ---------- section shell ---------- */
section{ padding:96px 0; }
.eyebrow{
  font-size:.8rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--brass); margin-bottom:14px; display:block;
}
.head{ max-width:720px; margin-bottom:56px; }
.head h2{ font-size:clamp(1.8rem,2.6vw,2.5rem); line-height:1.18; }
.head p{ margin-top:16px; font-size:1.05rem; color:var(--ink-soft); line-height:1.6; }
.head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- produtos ---------- */
.produtos{ background:var(--cream); }
.grid-produtos{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
.card-produto{
  background:var(--paper); border-radius:var(--radius-lg); overflow:hidden;
  border:1px solid var(--line); transition:transform .3s ease, box-shadow .3s ease;
}
.card-produto:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.card-produto .thumb{ aspect-ratio:4/3.1; overflow:hidden; background:#e9e1d0; }
.card-produto .thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.card-produto:hover .thumb img{ transform:scale(1.06); }
.card-produto .body{ padding:22px 24px 26px; }
.card-produto h3{ font-size:1.18rem; margin-bottom:8px; }
.card-produto p{ color:var(--ink-soft); font-size:.94rem; line-height:1.55; }
.produtos-cta{ text-align:center; margin-top:52px; }

/* ---------- condicoes / impacto ---------- */
.condicoes{
  background:linear-gradient(155deg,var(--navy) 0%, var(--navy-deep) 100%);
  color:#fff; position:relative; overflow:hidden;
}
.condicoes::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 82% 18%, rgba(255,255,255,.08), transparent 55%);
}
.condicoes .container{ position:relative; }
.condicoes-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:rgba(255,255,255,.16); border-radius:var(--radius-lg); overflow:hidden; }
.condicoes-item{ background:var(--navy); padding:38px 32px; }
.condicoes-item .num{ font-family:var(--serif); font-size:2.1rem; color:var(--brass-soft); display:block; margin-bottom:10px; }
.condicoes-item h4{ color:#fff; font-size:1.08rem; margin-bottom:10px; }
.condicoes-item p{ color:rgba(255,255,255,.72); font-size:.92rem; line-height:1.55; }
.condicoes-head{ max-width:640px; margin-bottom:44px; }
.condicoes-head .eyebrow{ color:var(--brass-soft); }
.condicoes-head h2{ color:#fff; }
.condicoes-head p{ color:rgba(255,255,255,.75); margin-top:14px; }

/* ---------- sobre ---------- */
.sobre{ background:var(--paper); }
.sobre-grid{
  display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:center;
}
.sobre-img{ position:relative; }
.sobre-img img{ border-radius:var(--radius-lg); box-shadow:var(--shadow); width:100%; aspect-ratio:4/5; object-fit:cover; }
.sobre-img .tag{
  position:absolute; left:-22px; bottom:-22px; background:var(--cream);
  border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:20px 26px; box-shadow:var(--shadow-sm);
}
.sobre-img .tag .yr{ font-family:var(--serif); font-size:2.2rem; color:var(--navy); font-weight:700; line-height:1; }
.sobre-img .tag .txt{ font-size:.78rem; color:var(--ink-soft); margin-top:4px; }
.sobre-txt p{ font-size:1.05rem; line-height:1.72; color:var(--ink-soft); margin-bottom:18px; }
.sobre-txt p:first-of-type{ font-family:var(--serif); font-size:1.32rem; line-height:1.5; color:var(--navy); font-style:italic; }
.sobre-list{ margin-top:30px; display:flex; flex-direction:column; gap:14px; }
.sobre-list li{ display:flex; gap:12px; align-items:flex-start; font-size:.96rem; color:var(--ink-soft); }
.sobre-list li::before{ content:"—"; color:var(--brass); font-weight:700; flex-shrink:0; }

/* ---------- trabalhos (masonry) ---------- */
.trabalhos{ background:var(--cream); }
.masonry{
  columns:3 220px; column-gap:20px;
}
.masonry figure{
  margin:0 0 20px; break-inside:avoid; border-radius:var(--radius); overflow:hidden;
  position:relative; cursor:zoom-in; box-shadow:var(--shadow-sm);
}
.masonry img{ width:100%; display:block; transition:transform .5s ease; }
.masonry figure:hover img{ transform:scale(1.05); }
.masonry figcaption{
  position:absolute; left:0; right:0; bottom:0; padding:26px 16px 14px;
  background:linear-gradient(to top, rgba(8,42,62,.85), transparent);
  color:#fff; font-size:.82rem; font-weight:600; opacity:0; transition:opacity .3s ease;
}
.masonry figure:hover figcaption{ opacity:1; }

/* ---------- regioes ---------- */
.regioes{ background:var(--paper); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.regioes .container{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:26px; padding-top:44px; padding-bottom:44px; }
.regioes-txt h3{ font-size:1.3rem; margin-bottom:6px; }
.regioes-txt p{ color:var(--ink-soft); font-size:.95rem; }
.regioes-tags{ display:flex; flex-wrap:wrap; gap:10px; }
.regioes-tags span{
  border:1px solid var(--navy); color:var(--navy); font-weight:600; font-size:.85rem;
  padding:9px 18px; border-radius:999px;
}
.regioes-tags span.principal{ background:var(--navy); color:#fff; }

/* ---------- cta band ---------- */
.ctaband{
  background:var(--brass); color:#fff; text-align:center;
}
.ctaband h2{ color:#fff; font-size:clamp(1.6rem,3vw,2.3rem); margin-bottom:22px; }
.ctaband .sub{ color:rgba(255,255,255,.85); max-width:52ch; margin:0 auto 30px; font-size:1.02rem; }

/* ---------- footer ---------- */
footer{ background:#01344D; color:rgba(255,255,255,.75); padding-top:72px; }
.foot-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:44px; padding-bottom:52px; border-bottom:1px solid rgba(255,255,255,.12); }
.foot-logo{ display:inline-block; margin-bottom:18px; }
.foot-logo img{ height:34px; width:auto; }
.foot-brand p{ font-size:.92rem; line-height:1.6; max-width:34ch; }
.foot-col h4{ color:#fff; font-size:.86rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:18px; }
.foot-col a, .foot-col p{ display:block; font-size:.92rem; margin-bottom:11px; color:rgba(255,255,255,.75); transition:color .2s ease; }
.foot-col a:hover{ color:#fff; }
.foot-bottom{ padding:26px 0; text-align:center; font-size:.8rem; color:rgba(255,255,255,.5); }

/* ---------- whatsapp flutuante ---------- */
.float-wpp{
  position:fixed; right:22px; bottom:22px; z-index:70;
  width:60px; height:60px; border-radius:50%;
  background:#25d366; display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 28px -8px rgba(0,0,0,.4);
  transition:transform .25s ease;
}
.float-wpp:hover{ transform:scale(1.08); }
.float-wpp svg{ width:30px; height:30px; fill:#fff; }

/* ---------- lightbox ---------- */
.lb{
  position:fixed; inset:0; background:rgba(8,20,26,.94); z-index:100;
  display:none; align-items:center; justify-content:center; padding:5vh 4vw;
}
.lb.open{ display:flex; }
.lb img{ max-width:100%; max-height:90vh; border-radius:6px; box-shadow:0 30px 60px rgba(0,0,0,.5); }
.lb .x{ position:absolute; top:20px; right:26px; background:none; border:none; color:#fff; font-size:2.2rem; cursor:pointer; line-height:1; }
.lb .arrow{ position:absolute; top:50%; transform:translateY(-50%); background:rgba(255,255,255,.12); border:none; color:#fff; width:52px; height:52px; border-radius:50%; font-size:1.4rem; cursor:pointer; }
.lb .prev{ left:18px; } .lb .next{ right:18px; }
.lb .arrow:hover{ background:rgba(255,255,255,.25); }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width:1080px){
  .hero{ grid-template-columns:1fr; }
  .hero-visual{ min-height:360px; order:-1; }
  .hero-copy{ padding:48px 28px; }
  .sobre-grid{ grid-template-columns:1fr; gap:60px; }
  .sobre-img{ max-width:460px; margin:0 auto; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width:860px){
  .nav-inner{ flex-wrap:wrap; }
  .nav-links{ display:none; order:2; flex-basis:100%; }
  .nav-toggle{ display:flex; order:1; margin-left:auto; }
  .nav-cta{ display:none; order:3; }
  .site-header.open .nav-links{
    display:flex; flex-direction:column; align-items:flex-start; gap:4px;
    margin-left:0; background:var(--logo-light);
    padding:14px 28px 22px; border-bottom:1px solid var(--line); box-shadow:var(--shadow-sm);
  }
  .site-header.open .nav-links a{ padding:12px 0; width:100%; border-bottom:1px solid var(--line); }
  .site-header.open .nav-cta{ display:inline-flex; margin:14px 28px 22px; }
  .site-header{ position:sticky; }

  section{ padding:68px 0; }
  .grid-produtos{ grid-template-columns:repeat(2,1fr); }
  .condicoes-grid{ grid-template-columns:1fr; }
  .factstrip span{ padding:0 14px; font-size:.82rem; }
  .foot-grid{ grid-template-columns:1fr; gap:36px; }
  .regioes .container{ flex-direction:column; align-items:flex-start; }
}

@media (max-width:620px){
  .hero-copy{ padding:40px 20px; gap:18px; }
  .hero h1{ font-size:2rem; }
  .hero-actions{ flex-direction:column; align-items:stretch; }
  .hero-actions .btn{ justify-content:center; }
  .hero-badge{ bottom:18px; padding:12px 18px 12px 16px; }
  .hero-badge .yr{ font-size:1.4rem; }
  .grid-produtos{ grid-template-columns:1fr; }
  .masonry{ columns:2 140px; column-gap:12px; }
  .masonry figure{ margin-bottom:12px; }
  .sobre-img .tag{ left:12px; bottom:-18px; padding:14px 18px; }
  .condicoes-item{ padding:30px 24px; }
  .lb .arrow{ width:42px; height:42px; }
}
