/* ============================================
   ÍMPAR CASA — Estilos partilhados
   ============================================ */

:root{
  --fundo:#FAF8F3;
  --fundo-alt:#F3ECDD;
  --oliva:#6E7D3B;
  --lima:#A7CF2A;
  --texto:#3D3D3D;
  --branco:#FFFFFF;
  --card-bg:#F5F1E6;
  --borda:rgba(110,125,59,0.14);
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Segoe UI', Helvetica, Arial, sans-serif;
  color:var(--texto);
  line-height:1.6;
  background:var(--fundo);
}
a{color:inherit;}
img{max-width:100%;display:block;}

/* ---------- HEADER ---------- */
header{
  background:var(--fundo);
  padding:22px 48px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid rgba(110,125,59,0.12);
  flex-wrap:wrap;
  gap:16px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:1.35rem;
  font-weight:600;
  color:var(--oliva);
  text-decoration:none;
}
.logo svg{width:30px;height:30px;}
.logo .casa{color:var(--texto);font-weight:400;}
nav{display:flex;align-items:center;gap:26px;flex-wrap:wrap;}
nav a{
  text-decoration:none;
  color:var(--texto);
  font-size:0.95rem;
}
nav a:hover{color:var(--oliva);}
nav a.active{color:var(--oliva);font-weight:600;}
.btn-nav{
  background:var(--lima);
  color:var(--oliva);
  font-weight:600;
  padding:10px 22px;
  border-radius:24px;
  text-decoration:none;
  font-size:0.9rem;
  transition:opacity .2s;
}
.btn-nav:hover{opacity:.85;}

/* ---------- HERO ---------- */
.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:50px;
  padding:70px 48px;
  max-width:1200px;
  margin:0 auto;
}
.hero-text .tag,
.hero-sub .tag{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--oliva);
  font-size:0.85rem;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
  margin-bottom:18px;
}
.hero-text .tag::before,
.hero-sub .tag::before{
  content:"";
  width:8px;height:8px;
  background:var(--lima);
  border-radius:50%;
  display:inline-block;
}
.hero-text h1{
  font-size:2.5rem;
  font-weight:600;
  color:var(--oliva);
  line-height:1.25;
  margin-bottom:20px;
}
.hero-text p{
  font-size:1.1rem;
  color:var(--texto);
  max-width:480px;
  margin-bottom:30px;
  opacity:.9;
}
.hero-ctas{display:flex;align-items:center;gap:20px;flex-wrap:wrap;}
.hero-image{
  border-radius:20px;
  overflow:hidden;
  background:var(--fundo-alt);
  aspect-ratio:4/3.2;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-image img{width:100%;height:100%;object-fit:cover;}

/* Hero de subpágina */
.hero-sub{
  max-width:840px;
  margin:0 auto;
  padding:60px 48px 50px;
  text-align:center;
}
.hero-sub h1{
  font-size:2.3rem;
  font-weight:600;
  color:var(--oliva);
  line-height:1.28;
  margin-bottom:20px;
}
.hero-sub .lead{
  font-size:1.06rem;
  opacity:.9;
  max-width:660px;
  margin:0 auto 32px;
}
.hero-sub .hero-ctas{justify-content:center;}
.eyebrow-services{
  font-size:0.88rem;
  color:var(--oliva);
  opacity:.75;
  margin-bottom:24px;
}

/* Breadcrumb */
.breadcrumb{
  max-width:1200px;
  margin:0 auto;
  padding:18px 48px 0;
  font-size:0.85rem;
  opacity:.7;
}
.breadcrumb a{text-decoration:none;}
.breadcrumb a:hover{color:var(--oliva);}

/* ---------- BOTÕES ---------- */
.btn-primary{
  background:var(--lima);
  color:var(--oliva);
  font-weight:600;
  padding:15px 32px;
  border-radius:28px;
  text-decoration:none;
  display:inline-block;
  transition:opacity .2s;
  border:none;
  cursor:pointer;
  font-size:1rem;
  font-family:inherit;
}
.btn-primary:hover{opacity:.85;}
.btn-outline{
  background:transparent;
  color:var(--oliva);
  font-weight:600;
  padding:13.5px 30px;
  border-radius:28px;
  text-decoration:none;
  display:inline-block;
  border:1.5px solid var(--oliva);
  transition:background .2s, color .2s;
  cursor:pointer;
  font-size:1rem;
  font-family:inherit;
}
.btn-outline:hover{background:var(--oliva);color:var(--branco);}
.link-arrow{
  color:var(--oliva);
  font-weight:600;
  text-decoration:none;
  font-size:0.98rem;
}
.link-arrow:hover{color:var(--lima);}

/* ---------- SECÇÕES ---------- */
section{
  padding:70px 48px;
  max-width:1200px;
  margin:0 auto;
}
.section-alt{
  background:var(--fundo-alt);
  max-width:none;
  padding:70px 48px;
}
.section-alt > .inner{max-width:1200px;margin:0 auto;}

.section-head{
  text-align:center;
  max-width:680px;
  margin:0 auto 50px;
}
.section-head .tag{
  color:var(--oliva);
  font-size:0.85rem;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
  display:block;
  margin-bottom:12px;
}
.section-head h2{
  font-size:2rem;
  font-weight:600;
  color:var(--oliva);
  margin-bottom:14px;
}
.section-head p{color:var(--texto);opacity:.85;}

/* ---------- CARDS ---------- */
.grid3{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:26px;
}
/* Sempre 2 colunas — cards em número par ficam equilibrados 2 a 2 */
.grid2{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:26px;
}
.card{
  background:var(--card-bg);
  border:1px solid var(--borda);
  border-radius:16px;
  padding:30px 26px;
  transition:transform .2s, box-shadow .2s;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 24px rgba(110,125,59,0.12);
}
a.card{text-decoration:none;display:flex;flex-direction:column;}
.card .icon-wrap,
.svc .icon-wrap{
  width:48px;height:48px;
  border-radius:12px;
  background:var(--fundo-alt);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  position:relative;
}
.card .icon-wrap svg,
.svc .icon-wrap svg{
  width:24px;height:24px;
  stroke:var(--oliva);
  display:block;
  margin:auto;
}
.card .icon-wrap::after,
.svc .icon-wrap::after{
  content:"";
  position:absolute;
  top:-4px;right:-4px;
  width:9px;height:9px;
  background:var(--lima);
  border-radius:50%;
}
.card h3{
  font-size:1.15rem;
  color:var(--oliva);
  font-weight:600;
  margin-bottom:8px;
}
.card p{font-size:0.94rem;color:var(--texto);opacity:.85;}
.card .services-line{
  font-size:0.8rem;
  color:var(--oliva);
  opacity:.7;
  margin-bottom:10px;
  letter-spacing:.2px;
}
.card .card-cta{
  margin-top:auto;
  padding-top:18px;
  color:var(--oliva);
  font-weight:600;
  font-size:0.92rem;
}
a.card:hover .card-cta{color:var(--lima);}

/* Card de serviço com lista de sub-itens */
.svc{
  background:var(--card-bg);
  border:1px solid var(--borda);
  border-radius:16px;
  padding:34px 30px;
  display:flex;
  flex-direction:column;
}
.svc h3{
  font-size:1.3rem;
  color:var(--oliva);
  font-weight:600;
  margin-bottom:10px;
}
.svc > p{font-size:0.98rem;opacity:.88;margin-bottom:20px;}
.svc-list{list-style:none;margin-bottom:24px;}
.svc-list li{padding:14px 0;border-top:1px solid var(--borda);}
.svc-list li:last-child{border-bottom:1px solid var(--borda);}
.svc-list strong{
  display:block;
  color:var(--oliva);
  font-weight:600;
  font-size:0.96rem;
  margin-bottom:2px;
}
.svc-list span{font-size:0.9rem;opacity:.82;}
.svc-list.compact li{padding:10px 0;}
.svc .link-arrow{margin-top:auto;}

/* ---------- CHIPS ---------- */
.chips{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:center;
  max-width:780px;
  margin:0 auto 40px;
}
.chip{
  background:var(--branco);
  border:1.5px solid var(--borda);
  border-radius:26px;
  padding:11px 24px;
  font-size:0.94rem;
  color:var(--texto);
  cursor:pointer;
  transition:all .18s;
  font-family:inherit;
}
.chip:hover{border-color:var(--oliva);color:var(--oliva);}
.chip.selected{
  background:var(--lima);
  border-color:var(--lima);
  color:var(--oliva);
  font-weight:600;
}

/* ---------- BLOCO DESTACADO ---------- */
.highlight-block{
  background:var(--card-bg);
  border:1px solid var(--borda);
  border-left:4px solid var(--lima);
  border-radius:16px;
  padding:44px 40px;
}
.highlight-block h2{
  font-size:1.7rem;
  color:var(--oliva);
  font-weight:600;
  margin-bottom:16px;
  line-height:1.3;
}
.highlight-block p{opacity:.88;margin-bottom:14px;max-width:780px;}

/* ---------- PASSOS ---------- */
.steps{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px,1fr));
  gap:22px;
  margin-top:34px;
}
.step{
  background:var(--branco);
  border:1px solid var(--borda);
  border-radius:14px;
  padding:24px 22px;
}
.step .num{
  width:32px;height:32px;
  border-radius:50%;
  background:var(--lima);
  color:var(--oliva);
  font-weight:700;
  font-size:0.9rem;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:14px;
}
.step h4{font-size:1rem;color:var(--oliva);font-weight:600;}

/* ---------- TRUST ---------- */
.trust{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}
.trust-visual{
  background:var(--card-bg);
  border:1px solid var(--borda);
  border-radius:20px;
  padding:40px;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.trust-visual .row{display:flex;align-items:center;gap:14px;}
.trust-visual .badge{
  width:38px;height:38px;
  border-radius:10px;
  background:var(--fundo-alt);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;
}
.trust-visual .badge svg{width:18px;height:18px;stroke:var(--oliva);display:block;margin:auto;}
.trust-visual .row span{font-size:0.95rem;color:var(--texto);}
.trust-text h2{
  font-size:1.9rem;
  color:var(--oliva);
  font-weight:600;
  margin-bottom:18px;
  line-height:1.3;
}
.trust-text p{color:var(--texto);opacity:.88;margin-bottom:14px;}
.trust-text .highlight{color:var(--oliva);font-weight:600;}

/* ---------- FORMULÁRIO (maquete) ---------- */
.form-mock{
  background:var(--branco);
  border:1px solid var(--borda);
  border-radius:18px;
  padding:36px 34px;
  max-width:560px;
  margin:0 auto;
}
.form-row{margin-bottom:18px;}
.form-row label{
  display:block;
  font-size:0.85rem;
  font-weight:600;
  color:var(--oliva);
  margin-bottom:7px;
}
.form-row input,
.form-row select{
  width:100%;
  padding:12px 15px;
  border:1px solid var(--borda);
  border-radius:10px;
  font-size:0.95rem;
  font-family:inherit;
  color:var(--texto);
  background:var(--fundo);
}
.form-row input:focus,
.form-row select:focus{outline:2px solid var(--lima);outline-offset:1px;}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.form-note{font-size:0.78rem;opacity:.65;margin-top:16px;text-align:center;}
.form-mock .btn-primary{width:100%;margin-top:8px;}

/* ---------- CTA FINAL ---------- */
.final-cta{
  text-align:center;
  background:var(--fundo-alt);
  max-width:none;
  padding:80px 48px;
}
.final-cta h2{
  font-size:2rem;
  color:var(--oliva);
  font-weight:600;
  margin-bottom:14px;
}
.final-cta p{
  color:var(--texto);
  opacity:.85;
  max-width:560px;
  margin:0 auto 30px;
}

/* ---------- WATERMARK ---------- */
.watermark{position:relative;}
.watermark::before{
  content:"";
  position:absolute;
  top:-10px;
  right:0;
  width:70px;height:70px;
  background:url('isotipo-transparent.png') no-repeat center/contain;
  opacity:.08;
  pointer-events:none;
}

/* ---------- FOOTER ---------- */
footer{
  background:var(--fundo);
  border-top:1px solid var(--borda);
  padding:40px 48px;
  text-align:center;
  color:var(--texto);
  font-size:0.85rem;
  opacity:.85;
}
footer a{text-decoration:underline;}
footer .flogo{
  color:var(--oliva);
  font-weight:600;
  margin-bottom:8px;
  display:block;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width:800px){
  .hero, .trust, .grid2{grid-template-columns:1fr;}
  .hero-image{order:-1;}
  .watermark::before{display:none;}
  header{padding:18px 24px;}
  section, .section-alt, .final-cta{padding:50px 24px;}
  .hero{padding:50px 24px;}
  .hero-sub{padding:45px 24px 40px;}
  .breadcrumb{padding:16px 24px 0;}
  .hero-text h1{font-size:2rem;}
  .hero-sub h1{font-size:1.85rem;}
  .form-grid{grid-template-columns:1fr;}
  .highlight-block{padding:32px 24px;}
}
