@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root{
  /* Brand */
  --rolex:#006039;
  --rolex-700:#0b5a3b;
  --rolex-800:#004d2c;
  --rolex-soft: rgba(0,96,57,.10);

  /* Neutrals */
  --bg:#f6f4f2;
  --paper:#fbfaf9;
  --ink:#0f1d17;

  /* Effects */
  --shadow: 0 18px 60px rgba(15,29,23,.10);
  --shadow2: 0 14px 38px rgba(15,29,23,.10);
  --radius: 22px;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

/* Evita “sobra” lateral no mobile (melhor que hidden) */
html, body{ overflow-x: clip; }
@supports not (overflow: clip){
  html, body{ overflow-x: hidden; }
}

body{
  margin:0;
  min-height:100%;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: #f6f5f4;
}

a{ color: inherit; text-decoration:none; }

.container{
  width:100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* =========================
   TOPBAR
========================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: var(--rolex);
  border-bottom: 1px solid rgba(15,29,23,.06);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 18px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 210px;
}
.brand img{
  height: 46px;
  width: auto;
  display:block;
}

.navlinks{
  display:flex;
  align-items:center;
  gap: 26px;
}
.navlinks a{
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  padding: 10px 0;
  position: relative;
  transition: .15s ease;
  white-space:nowrap;
}
.navlinks a:hover{ color: #efd4a9; }

.navRight{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Botão */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height: 44px;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.92);
  font-weight: 800;
  letter-spacing:.14em;
  text-transform: uppercase;
  font-size: 12px;
  transition:.15s ease;
  user-select:none;
  white-space:nowrap;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.16);
  color: #efd4a9;
}

/* Hamburguer */
.hamb{
  display:none;               /* desktop escondido */
  width:44px; height:44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.15s ease;
}
.hamb:hover{ transform: translateY(-1px); background: rgba(255,255,255,.18); }
.hamb span{
  width:18px; height:2px; border-radius:999px;
  background: rgba(255,255,255,.92);
  display:block;
  position:relative;
}
.hamb span:before,.hamb span:after{
  content:"";
  width:18px; height:2px; border-radius:999px;
  background: rgba(255,255,255,.92);
  position:absolute; left:0;
}
.hamb span:before{ top:-6px; }
.hamb span:after{ top:6px; }

/* Menu mobile */
.mobilePanel{
  display:none;
  padding: 6px 0 16px;
}
body.menu-open .mobilePanel{ display:block; }
.mobilePanel .links{
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.mobilePanel .links a{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.92);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}

/* =========================
   HERO / LANDING
========================= */
.landing{
  padding: clamp(28px, 4vw, 54px) 0;
  padding-bottom: calc(clamp(28px, 4vw, 54px) + env(safe-area-inset-bottom));
}

.landing-hero{
  text-align:center;
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(40px, 7vh, 86px) 0 36px;
}

.landing-title{
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 62px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--rolex);
  margin: 0 0 18px;
}
.landing-title strong{ font-weight: 700; }

.landing-subtitle{
  margin: 0 auto 26px;
  max-width: 64ch;
  color: rgba(15,29,23,.55);
  font-size: 16.5px;
  line-height: 1.9;
}

.landing-cta{
  display:flex;
  justify-content:center;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 10px;
}
.landing-cta .btn{
  height: 50px;
  padding: 0 26px;
  border-radius: 14px;
  letter-spacing: .16em;
  background: linear-gradient(180deg, rgba(0,96,57,.92), rgba(0,77,44,.92));
  border-color: rgba(0,96,57,.45);
  color: rgba(255,255,255,.96);
}
.landing-cta .btn:hover{
  background: linear-gradient(0deg, rgba(0,96,57,.92), rgba(0,77,44,.92));
}

/* =========================
   DECOR (cards fantasma)
   -> Aqui corrigimos o “vazamento” mobile
========================= */
.landing-decor{
  position: relative;
  height: 320px;
  margin-top: 20px;
  overflow: hidden; /* corta qualquer sobra */
}

.ghost-card{
  position:absolute;
  width: 300px;
  height: 220px;
  border-radius: 22px;
  border: 1px solid rgba(15,29,23,.08);
  background: rgba(255,255,255,.60);
  box-shadow: 0 18px 60px rgba(15,29,23,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ghost-left{ left: 0; bottom: 0; }

.ghost-right{
  right: 0;
  bottom: 16px;
  width: 340px;
  height: 240px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 22px;
}

.checklist{
  width:100%;
  max-width: 260px;
  display:flex;
  flex-direction:column;
  gap: 16px;
}
.check-row{
  display:flex;
  align-items:center;
  gap: 14px;
}
.check{
  width: 34px; height: 34px;
  border-radius: 12px;
  background: rgba(0,96,57,.14);
  border: 1px solid rgba(0,96,57,.20);
  display:flex;
  align-items:center;
  justify-content:center;
  flex: 0 0 34px;
}
.check svg{ width:18px; height:18px; fill: var(--rolex); opacity:.95; }
.line{
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15,29,23,.20), rgba(15,29,23,.10));
  border: 1px solid rgba(15,29,23,.06);
  width: 100%;
}
.w1{ width: 90%; }
.w2{ width: 78%; opacity:.92; }
.w3{ width: 94%; opacity:.86; }

/* =========================
   SECTIONS
========================= */
.landing-section{
  padding: 56px 0;
  border-top: 1px solid rgba(15,29,23,.06);
}

.section-title{
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 10px;
  color: rgba(15,29,23,.90);
  text-align:center;
}

.section-text{
  margin: 0 auto 18px;
  max-width: 80ch;
  color: rgba(15,29,23,.58);
  line-height: 1.85;
  text-align:center;
  font-size: 15.5px;
}

/* =========================
   SOBRE (premium)
========================= */
#sobre .about-text{
  max-width: 860px;
  margin: 0 auto;
}

#sobre .section-text{
  text-align: left;
  max-width: none;
  margin: 0 0 14px;
}

.about-stats{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.stat{
  border-radius: 18px;
  border: 1px solid rgba(15,29,23,.10);
  background: rgba(255,255,255,.55);
  box-shadow: var(--shadow2);
  padding: 14px 16px;
}

.stat-k{
  font-family: var(--font-serif);
  color: var(--rolex);
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-v{
  color: rgba(15,29,23,.58);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
}

.hl{
  color: rgba(15,29,23,.86);
  background: rgba(0,96,57,.10);
  border: 1px solid rgba(0,96,57,.16);
  padding: 0 .35em;
  border-radius: 10px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.about-quote{
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 3px solid rgba(0,96,57,.55);
  background: rgba(255,255,255,.48);
  border-radius: 16px;
  color: rgba(15,29,23,.72);
  line-height: 1.75;
}

/* =========================
   FOOTER
========================= */
.footer{
  padding: 18px 0 0;
  color: rgba(15,29,23,.48);
  font-size: 12.5px;
  text-align:center;
  border-top: 1px solid rgba(15,29,23,.08);
  background: rgba(251,250,249,.70);
}

/* Acessibilidade */
:focus-visible{
  outline: 3px solid rgba(0,96,57,.25);
  outline-offset: 3px;
  border-radius: 12px;
}

/* =========================
   RESPONSIVO
========================= */
@media (max-width: 980px){
  .navlinks{ display:none; }
  .hamb{ display:inline-flex; }

  /* Esconde botão do topo no mobile (fica no menu) */
  .topbar .navRight > a.btn{ display:none; }

  /* Centralização segura (corrige sobra direita) */
  .ghost-left{
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
  }
  .ghost-right{
    left: 50%;
    right: auto;
    transform: translateX(-50%); /* <-- antes era translateX(50%) */
    bottom: 240px;
  }

  .landing-decor{ height: 520px; }
}

@media (max-width: 720px){
  .about-stats{ grid-template-columns: 1fr; }
}

@media (max-width: 560px){
  .ghost-card{ width: 88vw; max-width: 340px; }
  .ghost-right{ height: 230px; }
  .landing-cta .btn{ width: min(340px, 100%); }
}

@media (max-width: 420px){
  .btn{ height: 46px; padding: 0 16px; }
  .brand img{ height: 42px; }
}

@media (prefers-reduced-motion: reduce){
  *{ transition:none !important; }
}








/* 1) Evita overflow horizontal real */
html, body { overflow-x: hidden; }

/* 2) No mobile, o container não pode “comer” largura demais */
@media (max-width: 480px){
  .container{ padding: 0 14px; } /* antes 22px */

  /* 3) Permite o header encolher sem estourar */
  .nav{ min-width: 0; }
  .brand{
    min-width: 0;          /* REMOVE o 210px no mobile */
    flex: 1 1 auto;        /* pode encolher */
  }
  .brand img{
    max-width: 100%;
    height: 40px;          /* levemente menor no mobile */
    width: auto;
  }

  .navRight{ flex: 0 0 auto; }
}

/* 4) Segurança extra: imagens nunca passam do container */
img{ max-width: 100%; }