/* Beringuel Advocacia — estilos compartilhados (site geral + LPs) */
:root{
  /* Paleta oficial do escritório */
  --ink:#18070A;
  --wine:#8D2245;
  --brown:#61381B;
  --gold:#F5D79E;

  --wine-deep:var(--ink);
  --wine-foreground:#FDF6EA;
  --gold-deep:var(--brown);
  --gold-foreground:var(--ink);
  --cream:#FDF6EA;

  --background:#FDF6EA;
  --foreground:var(--ink);
  --card:color-mix(in srgb, var(--gold) 6%, #ffffff);
  --primary:var(--ink);
  --primary-foreground:#FDF6EA;
  --secondary:color-mix(in srgb, var(--gold) 35%, var(--background));
  --muted-foreground:color-mix(in srgb, var(--brown) 78%, var(--ink));
  --border:color-mix(in srgb, var(--gold) 55%, var(--background));

  --gradient-wine: linear-gradient(155deg, var(--ink) 0%, var(--wine) 190%);
  --gradient-gold: linear-gradient(100deg, var(--brown), var(--gold) 55%, var(--brown));
  --shadow-elegant: 0 24px 60px -28px color-mix(in oklab, var(--ink) 55%, transparent);
  --shadow-gold: 0 12px 34px -14px color-mix(in oklab, var(--gold) 55%, transparent);
  --dots: radial-gradient(color-mix(in oklab, var(--gold) 45%, transparent) 1px, transparent 1px);

  --font-display: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --font-sans: "Manrope", system-ui, sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  background-color:var(--background);
  color:var(--foreground);
  font-family:var(--font-sans);
  font-size:1.0625rem;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  letter-spacing:-0.022em;
}
a{color:inherit;text-decoration:none;}
img,svg{display:block;}
.icon{width:1em;height:1em;stroke-width:1.5;}
.container{max-width:72rem;margin:0 auto;padding-left:1.25rem;padding-right:1.25rem;}

.surface-wine{background-image:var(--gradient-wine);color:var(--wine-foreground);}
.text-gold-gradient{
  background-image:linear-gradient(100deg, var(--gold), color-mix(in srgb, var(--gold) 62%, var(--brown)));
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.eyebrow{
  font-family:var(--font-sans);
  font-size:0.6875rem;font-weight:500;text-transform:uppercase;
  letter-spacing:0.36em;color:var(--gold-deep);
}
.eyebrow.gold{color:var(--gold);}
.dotted-corner{background-image:var(--dots);background-size:12px 12px;}
.hairline-gold{background-image:var(--gradient-gold);height:1px;width:100%;border:0;display:block;}
.shadow-elegant{box-shadow:var(--shadow-elegant);}
.shadow-gold-s{box-shadow:var(--shadow-gold);}

/* buttons */
.btn-wa{
  display:inline-flex;align-items:center;justify-content:center;gap:0.5rem;
  border-radius:9999px;padding:0.75rem 1.5rem;font-size:0.875rem;font-weight:600;
  letter-spacing:0.02em;transition:all .3s ease;
}
.btn-wa:hover{transform:translateY(-2px);}
.btn-wa.gold{background:var(--gold);color:var(--gold-foreground);}
.btn-wa.gold:hover{box-shadow:var(--shadow-gold);}
.btn-wa.outline{border:1px solid color-mix(in oklab, var(--gold) 60%, transparent);color:var(--gold);}
.btn-wa.outline:hover{background:color-mix(in oklab, var(--gold) 10%, transparent);}
.btn-wa.wine{background:var(--wine);color:var(--cream);}
.btn-wa.wine:hover{box-shadow:0 12px 30px -14px color-mix(in oklab, var(--wine) 70%, transparent);}

/* header */
header{
  position:fixed;inset:0 0 auto 0;z-index:50;
  border-bottom:1px solid transparent;background:transparent;
  transition:all .5s ease;
}
header.scrolled{
  border-bottom:1px solid color-mix(in oklab, var(--gold) 20%, transparent);
  background:color-mix(in oklab, var(--ink) 88%, transparent);
  backdrop-filter:blur(12px);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-top:0.55rem;padding-bottom:0.55rem;}
.brand{display:flex;align-items:center;}
.brand img{height:3.6rem;width:auto;display:block;}
@media(min-width:640px){.brand img{height:4.5rem;}}
nav.desktop-nav{display:none;align-items:center;gap:1.5rem;}
nav.desktop-nav a, .wa-header-btn{white-space:nowrap;}
@media(min-width:1360px){nav.desktop-nav{gap:1.75rem;}}
nav.desktop-nav a{font-size:0.875rem;font-weight:600;color:var(--cream);text-shadow:0 1px 10px rgba(24,7,10,.65);transition:color .2s;}
nav.desktop-nav a:hover{color:var(--gold);}
.header-actions{display:flex;align-items:center;gap:0.75rem;}
.wa-header-btn{display:none;}
.menu-btn{
  display:inline-flex;align-items:center;justify-content:center;
  width:2.5rem;height:2.5rem;border-radius:0.5rem;background:transparent;border:0;
  color:var(--cream);cursor:pointer;
}
.menu-btn:hover{background:color-mix(in oklab, var(--cream) 10%, transparent);}
.menu-lines{display:flex;flex-direction:column;gap:0.35rem;}
.menu-lines span{display:block;height:1px;background:currentColor;width:1.25rem;}
.menu-lines span:last-child{width:0.75rem;}
.mobile-nav{
  display:none;border-top:1px solid color-mix(in oklab, var(--gold) 20%, transparent);
  background:var(--ink);padding:0.5rem 1.25rem 1.5rem;
}
.mobile-nav.open{display:block;}
.mobile-nav a{
  display:block;border-bottom:1px solid color-mix(in oklab, var(--cream) 10%, transparent);
  padding:0.75rem 0;font-size:0.875rem;color:color-mix(in oklab, var(--cream) 80%, transparent);
}
.mobile-nav .btn-wa{margin-top:1.25rem;width:100%;}

@media(min-width:1200px){
  nav.desktop-nav{display:flex;}
  .mobile-nav{display:none !important;}
  .menu-btn{display:none;}
}
@media(min-width:640px){
  .wa-header-btn{display:inline-flex;padding:0.625rem 1.25rem;}
}

/* hero */
#top{position:relative;overflow:hidden;}
.hero-inner{position:relative;padding-top:9rem;padding-bottom:5rem;}
@media(min-width:640px){.hero-inner{padding-top:11rem;}}
.hero-monogram{position:absolute;right:-2.5rem;top:4rem;height:34rem;width:auto;opacity:0.08;pointer-events:none;}
@media(min-width:640px){.hero-monogram{right:1rem;}}
.hero h1{font-size:2.25rem;line-height:1.1;color:var(--cream);max-width:32ch;margin-top:1.5rem;}
@media(min-width:640px){.hero h1{font-size:3rem;}}
@media(min-width:768px){.hero h1{font-size:3.4rem;}}
.hero p.lead{margin-top:1.75rem;max-width:58ch;font-size:1rem;line-height:1.85;color:color-mix(in oklab, var(--cream) 80%, transparent);}
@media(min-width:640px){.hero p.lead{font-size:1.125rem;}}
.hero-cta{margin-top:2.25rem;display:flex;flex-wrap:wrap;align-items:center;gap:1rem;}
.hero-cta .link{font-size:0.875rem;color:color-mix(in oklab, var(--cream) 70%, transparent);text-underline-offset:8px;transition:color .2s;}
.hero-cta .link:hover{color:var(--gold);text-decoration:underline;}

/* sections general */
section{padding:6rem 0;}
.section-title{max-width:42rem;}
.section-title h2{font-size:1.875rem;line-height:1.2;margin-top:1rem;color:var(--wine);}
@media(min-width:640px){.section-title h2{font-size:2.25rem;}}
@media(min-width:768px){.section-title h2{font-size:3rem;}}
.section-title.light h2{color:var(--cream);}
.section-title .rule{margin-top:1.5rem;max-width:6rem;}
.section-title p.desc{margin-top:1.5rem;font-size:1rem;line-height:1.7;color:var(--muted-foreground);}
.section-title.light p.desc{color:color-mix(in oklab, var(--cream) 70%, transparent);}

/* about */
.about-grid{display:grid;gap:3.5rem;align-items:center;}
@media(min-width:1024px){.about-grid{grid-template-columns:1.1fr 0.9fr;}}
.about-text{margin-top:2rem;max-width:62ch;font-size:1.0625rem;line-height:1.85;color:var(--muted-foreground);}
.about-text p{margin-top:1.5rem;}
.about-text p:first-child{margin-top:0;}
.about-link{margin-top:2.25rem;display:inline-flex;align-items:center;gap:0.75rem;font-size:0.875rem;font-weight:600;color:var(--primary);transition:color .2s;}
.about-link:hover{color:var(--wine);}
.about-link .hairline-gold{width:2.5rem;}
.about-card{position:relative;overflow:hidden;border-radius:1rem;padding:3.5rem 2rem;text-align:center;min-height:22rem;display:flex;flex-direction:column;justify-content:flex-end;}
.about-card-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.about-card-overlay{position:absolute;inset:0;background:linear-gradient(0deg, color-mix(in oklab, var(--wine-deep) 88%, transparent) 10%, color-mix(in oklab, var(--wine-deep) 20%, transparent) 70%);}
.about-card .credit{position:relative;z-index:1;margin-top:1rem;font-size:0.7rem;text-transform:uppercase;letter-spacing:0.28em;color:color-mix(in oklab, var(--gold) 80%, transparent);}

/* specialties */
.grid-3{margin-top:3.5rem;display:grid;gap:1.5rem;}
@media(min-width:768px){.grid-3{grid-template-columns:repeat(3,1fr);}}
.card{
  height:100%;border-radius:1rem;border:1px solid var(--border);background:var(--card);
  padding:2rem;transition:all .3s ease;
}
.card:hover{transform:translateY(-6px);border-color:color-mix(in oklab, var(--gold) 60%, transparent);box-shadow:var(--shadow-elegant);}
.card .icn{color:var(--gold-deep);}
.card h3{margin-top:1.75rem;font-size:1.25rem;line-height:1.3;color:var(--primary);}
.card .rule{margin-top:1.25rem;width:2.5rem;opacity:.7;}
.card p{margin-top:1.25rem;font-size:0.875rem;line-height:1.7;color:var(--muted-foreground);}

/* history */
#historia{position:relative;overflow:hidden;}
.history-grid{margin-top:4rem;display:grid;gap:2.5rem;}
@media(min-width:1024px){.history-grid{grid-template-columns:0.9fr 1.1fr;}}
.history-box{border-radius:1rem;border:1px solid color-mix(in oklab, var(--gold) 25%, transparent);background:color-mix(in oklab, var(--cream) 5%, transparent);padding:2rem;}
.history-box .big{margin-top:1rem;font-family:var(--font-display);font-size:3.75rem;color:var(--gold);}
.history-box p{margin-top:1rem;font-size:0.875rem;line-height:1.85;color:color-mix(in oklab, var(--cream) 75%, transparent);}
.history-box .btn-wa{margin-top:2rem;width:100%;}
.timeline{position:relative;list-style:none;border-left:1px solid color-mix(in oklab, var(--gold) 30%, transparent);padding-left:2rem;display:flex;flex-direction:column;gap:2rem;}
.timeline li{position:relative;}
.timeline li::before{
  content:"";position:absolute;left:-2.3rem;top:0.35rem;width:0.625rem;height:0.625rem;
  border-radius:9999px;background:var(--gold);
}
.timeline h3{margin-top:0.75rem;font-size:1.25rem;color:var(--cream);}
.timeline p{margin-top:0.5rem;font-size:0.875rem;line-height:1.6;color:color-mix(in oklab, var(--cream) 70%, transparent);}

/* faq */
.faq-grid{display:grid;gap:3rem;}
@media(min-width:1024px){.faq-grid{grid-template-columns:0.8fr 1.2fr;}}
.accordion-item{border-bottom:1px solid var(--border);}
.accordion-trigger{
  width:100%;text-align:left;background:none;border:0;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:1rem;
  padding:1.25rem 0;font-family:var(--font-display);font-size:1.125rem;color:var(--primary);
}
.accordion-trigger .chev{transition:transform .25s ease;flex-shrink:0;color:var(--gold-deep);}
.accordion-item.open .accordion-trigger .chev{transform:rotate(180deg);}
.accordion-content{max-height:0;overflow:hidden;transition:max-height .3s ease;}
.accordion-content .inner{padding-bottom:1.25rem;font-size:0.875rem;line-height:1.7;color:var(--muted-foreground);}

/* footer */
footer{position:relative;overflow:hidden;padding-top:6rem;}
.footer-grid{display:grid;gap:3.5rem;}
@media(min-width:1024px){.footer-grid{grid-template-columns:1fr 1fr;}}
.footer-cta{margin-top:2.25rem;width:100%;padding:1rem 2rem;font-size:1rem;}
@media(min-width:640px){.footer-cta{width:auto;}}
.addr-grid{margin-top:2.5rem;display:grid;gap:1.5rem;}
@media(min-width:640px){.addr-grid{grid-template-columns:1fr 1.1fr;align-items:center;}}
.addr{display:flex;gap:1rem;}
.addr strong{display:block;font-weight:600;color:var(--cream);}
.addr span, .addr div{font-size:0.875rem;line-height:1.85;color:color-mix(in oklab, var(--cream) 80%, transparent);}
.map-wrap{overflow:hidden;border-radius:1rem;border:1px solid color-mix(in oklab, var(--gold) 25%, transparent);}
.map-wrap iframe{height:12rem;width:100%;border:0;display:block;}
.contact-list{list-style:none;display:flex;flex-direction:column;gap:1.5rem;}
@media(min-width:1024px){.contact-list{padding-top:2.5rem;}}
.contact-list li{display:flex;gap:1rem;align-items:flex-start;}
.contact-list a, .contact-list span{font-size:0.875rem;line-height:1.85;color:color-mix(in oklab, var(--cream) 75%, transparent);}
.contact-list a:hover{color:var(--gold);}
.footer-bottom{
  margin-top:5rem;display:flex;flex-direction:column;align-items:center;gap:1rem;
  border-top:1px solid color-mix(in oklab, var(--cream) 10%, transparent);padding:2rem 0;text-align:center;
}
@media(min-width:640px){.footer-bottom{flex-direction:row;justify-content:space-between;text-align:left;}}
.footer-bottom p{font-size:0.75rem;color:color-mix(in oklab, var(--cream) 50%, transparent);}
.footer-bottom .brand-tag{letter-spacing:0.2em;}
.footer-bottom .brand-tag span{color:var(--gold);}
.footer-mono{position:absolute;left:-4rem;bottom:0;height:24rem;width:auto;opacity:0.06;pointer-events:none;}

/* floating whatsapp — cores e logo oficiais do WhatsApp */
.floating-wa{
  position:fixed;bottom:1.25rem;right:1.25rem;z-index:50;display:flex;align-items:center;justify-content:center;gap:0.6rem;
  min-width:3.5rem;min-height:3.5rem;border-radius:9999px;background:#25D366;padding:0.875rem;color:#fff;
  box-shadow:0 10px 26px -10px rgba(7,94,84,.55);
  transition:transform .3s ease, background-color .2s ease;animation:pulse-wa 3.2s ease-in-out infinite;
}
.floating-wa:hover{transform:scale(1.05);background:#1EBE5A;}
.floating-wa:focus-visible{outline:3px solid #128C7E;outline-offset:3px;}
.floating-wa .wa-logo{width:1.75rem;height:1.75rem;flex-shrink:0;display:block;}
.floating-wa span{display:none;font-size:0.9rem;font-weight:700;letter-spacing:0.01em;}
@media(min-width:640px){.floating-wa span{display:inline;}.floating-wa{padding:0.8rem 1.25rem 0.8rem 1rem;}}
@keyframes pulse-wa{
  0%,70%,100%{box-shadow:0 10px 26px -10px rgba(7,94,84,.55), 0 0 0 0 rgba(37,211,102,.45);}
  35%{box-shadow:0 10px 26px -10px rgba(7,94,84,.55), 0 0 0 14px rgba(37,211,102,0);}
}


/* reveal on scroll */
.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .8s cubic-bezier(.22,1,.36,1),transform .8s cubic-bezier(.22,1,.36,1);}
.js .reveal.is-visible{opacity:1;transform:none;}
@media (prefers-reduced-motion: reduce){.js .reveal{opacity:1;transform:none;transition:none;}}

::selection{background:color-mix(in oklab, var(--gold) 40%, transparent);}

/* ---- site institucional ---- */
/* História em fundo claro */
.history-box.light{background:var(--card);border-color:var(--border);}
.history-box.light .big{color:var(--wine);}
.history-box.light p{color:var(--muted-foreground);}
.purpose{margin-top:1.75rem;padding-top:1.5rem;border-top:1px solid var(--border);}
.purpose p:last-child{margin-top:0.75rem;font-size:0.95rem;line-height:1.75;color:var(--foreground);}
.timeline.light{border-left-color:color-mix(in oklab, var(--brown) 30%, transparent);}
.timeline.light li::before{background:var(--wine);}
.timeline.light h3{color:var(--primary);}
.timeline.light p{color:var(--muted-foreground);}
/* Quem somos em fundo escuro */
.about-text.on-dark{color:color-mix(in oklab, var(--cream) 78%, transparent);}
.about-link.on-dark{color:var(--gold);}
.about-link.on-dark:hover{color:var(--cream);}
/* Cards de "como trabalhamos" */
/* Ética */
.ethics{
  margin-top:2rem;display:flex;gap:1rem;align-items:flex-start;border-radius:1rem;
  border:1px solid color-mix(in oklab, var(--gold) 55%, transparent);
  background:color-mix(in oklab, var(--gold) 14%, var(--background));padding:1.25rem 1.5rem;
}
.ethics svg{color:var(--brown);flex-shrink:0;margin-top:0.2rem;width:1.25rem;height:1.25rem;}
.ethics p{font-size:0.9375rem;line-height:1.65;color:var(--foreground);}
.ethics strong{color:var(--wine);}
.contact-list li span a{color:inherit;}

/* ---- seção Educacional (site geral) ---- */
.educ-grid{display:grid;gap:3rem;align-items:center;}
@media(min-width:1024px){.educ-grid{grid-template-columns:1fr 1fr;}}
.educ-img{width:100%;height:auto;border-radius:1rem;display:block;}
.educ-text h2{margin-top:1rem;font-size:1.875rem;line-height:1.2;color:var(--wine);}
@media(min-width:768px){.educ-text h2{font-size:2.25rem;}}
.educ-text .rule{margin-top:1.5rem;max-width:6rem;}
.educ-text p.body{margin-top:1.25rem;font-size:1rem;line-height:1.8;color:var(--muted-foreground);}
.educ-audience{margin-top:1.5rem;display:flex;flex-wrap:wrap;gap:0.5rem;}
.educ-audience span{
  display:inline-flex;align-items:center;gap:0.4rem;border-radius:9999px;
  border:1px solid var(--border);background:var(--card);padding:0.4rem 0.9rem;
  font-size:0.8125rem;font-weight:600;color:var(--primary);
}
.educ-audience svg{width:0.95rem;height:0.95rem;color:var(--gold-deep);}
.educ-detail{margin-top:4rem;display:grid;gap:2.5rem;}
@media(min-width:1024px){.educ-detail{grid-template-columns:1.1fr 0.9fr;align-items:start;}}
.educ-detail h3.sub{font-size:1.25rem;color:var(--primary);}
.educ-steps{list-style:none;margin-top:1.25rem;display:flex;flex-direction:column;gap:0.9rem;counter-reset:es;}
.educ-steps li{
  display:flex;gap:1rem;align-items:flex-start;border-radius:0.875rem;border:1px solid var(--border);
  background:var(--card);padding:1.1rem 1.25rem;
}
.educ-steps li::before{
  counter-increment:es;content:"0" counter(es);flex-shrink:0;
  font-family:var(--font-display);font-size:1.5rem;line-height:1.1;color:var(--wine);
}
.educ-steps strong{display:block;font-size:0.95rem;color:var(--primary);}
.educ-steps span{display:block;margin-top:0.25rem;font-size:0.875rem;line-height:1.6;color:var(--muted-foreground);}
.neg-box{border-radius:1rem;border:1px solid var(--border);background:var(--card);padding:2rem;box-shadow:var(--shadow-elegant);}
.neg-box h3{margin-top:0.75rem;font-size:1.25rem;color:var(--primary);}
.neg-box .lead-s{margin-top:0.75rem;font-size:0.9rem;line-height:1.7;color:var(--muted-foreground);}
.neg-box .note{
  margin-top:1.25rem;border-radius:0.75rem;padding:0.9rem 1rem;font-size:0.875rem;line-height:1.65;
  background:color-mix(in oklab, var(--gold) 16%, var(--background));color:var(--foreground);
}
.neg-box .note strong{color:var(--wine);}
.neg-box .lines{margin-top:1.25rem;display:flex;flex-direction:column;gap:0.65rem;}
.neg-box .lines a{display:inline-flex;align-items:center;gap:0.6rem;font-size:0.95rem;font-weight:600;color:var(--primary);overflow-wrap:anywhere;}
.neg-box .lines a:hover{color:var(--wine);}
.neg-box .lines svg{width:1.1rem;height:1.1rem;color:var(--gold-deep);flex-shrink:0;}

/* ---- "Com o que trabalhamos": heroes de entrada para os LPs ---- */
.area-hero{
  position:relative;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;
  min-height:20rem;border-radius:1.25rem;padding:2.25rem 2rem;color:var(--cream);
  background-image:var(--gradient-wine);box-shadow:var(--shadow-elegant);
  border:1px solid color-mix(in oklab, var(--gold) 22%, transparent);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.area-hero::before{content:"";position:absolute;inset:0;z-index:-1;background-image:var(--dots);background-size:12px 12px;opacity:.18;
  -webkit-mask-image:linear-gradient(135deg,#000 0%,transparent 55%);mask-image:linear-gradient(135deg,#000 0%,transparent 55%);}
.area-hero .mono{position:absolute;right:-2rem;top:-1rem;height:15rem;width:auto;opacity:.07;z-index:-1;pointer-events:none;transition:transform .5s ease;}
.area-hero .ico{display:flex;align-items:center;justify-content:center;width:3.25rem;height:3.25rem;border-radius:9999px;
  border:1px solid color-mix(in oklab, var(--gold) 45%, transparent);color:var(--gold);margin-bottom:auto;}
.area-hero .ico svg{width:1.4rem;height:1.4rem;}
.area-hero h3{margin-top:2.5rem;font-size:1.75rem;line-height:1.15;color:var(--cream);}
@media(min-width:640px){.area-hero h3{font-size:2.1rem;}}
.area-hero p.txt{margin-top:0.9rem;max-width:40ch;font-size:0.95rem;line-height:1.7;color:color-mix(in oklab, var(--cream) 75%, transparent);}
.area-hero .go{margin-top:1.75rem;display:inline-flex;align-self:flex-start;align-items:center;gap:0.5rem;border-radius:9999px;
  background:var(--gold);color:var(--gold-foreground);padding:0.7rem 1.35rem;font-size:0.875rem;font-weight:600;transition:gap .25s ease, box-shadow .25s ease;}
.area-hero .go svg{width:1rem;height:1rem;}
.area-hero:hover{transform:translateY(-6px);border-color:color-mix(in oklab, var(--gold) 55%, transparent);}
.area-hero:hover .go{gap:0.8rem;box-shadow:var(--shadow-gold);}
.area-hero:hover .mono{transform:scale(1.06) rotate(-3deg);}
.area-hero:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
.areas-note{margin-top:2rem;font-size:0.9375rem;line-height:1.7;color:var(--muted-foreground);}

/* Botão flutuante: respeita a área segura do iPhone e sai de cena quando a
   última linha do rodapé aparece, para não cobrir o copyright/créditos. */
.floating-wa{bottom:calc(1.25rem + env(safe-area-inset-bottom, 0px));transition:transform .3s ease, opacity .3s ease, background-color .2s ease;}
.floating-wa.is-hidden{opacity:0;transform:translateY(1rem);pointer-events:none;}
/* Sem JS o botão não some: reserva espaço para ele no fim do rodapé */
html:not(.js) .footer-bottom{padding-bottom:calc(2rem + 4.5rem + env(safe-area-inset-bottom, 0px));}

/* Mapa: fundo neutro enquanto carrega e link alternativo caso o embed falhe */
.map-wrap{background:color-mix(in oklab, var(--cream) 6%, transparent);}
.addr .map-link{display:inline-block;margin-top:0.35rem;color:var(--gold);font-weight:600;text-decoration:underline;text-underline-offset:4px;}
.addr .map-link:hover{color:var(--cream);}
/* números de telefone não quebram no meio */
.contact-list a[href^="tel:"], .lp-footer a[href^="tel:"], .neg-box a[href^="tel:"]{white-space:nowrap;}

/* ---- Quem Somos: liderança (fotos com função revelada) ---- */
.team{margin-top:4.5rem;text-align:center;}
.team-eyebrow{display:block;}
.team-grid{margin:1.75rem auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(0.75rem,3vw,2rem);max-width:42rem;}
.person{
  position:relative;display:block;width:100%;aspect-ratio:4/5;overflow:hidden;cursor:pointer;
  border:1px solid color-mix(in oklab, var(--gold) 28%, transparent);border-radius:1rem;padding:0;
  background:color-mix(in oklab, var(--cream) 6%, transparent);box-shadow:var(--shadow-elegant);
  -webkit-tap-highlight-color:transparent;font:inherit;color:inherit;
}
.person img{width:100%;height:100%;object-fit:cover;object-position:center top;display:block;transition:transform .6s cubic-bezier(.22,1,.36,1);}
.person-overlay{
  position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:0.6rem;
  padding:1.25rem 0.75rem clamp(1rem,4vw,1.75rem);
  background:linear-gradient(0deg, color-mix(in oklab, var(--ink) 88%, transparent) 0%, color-mix(in oklab, var(--ink) 45%, transparent) 45%, transparent 75%);
  opacity:0;transition:opacity .4s ease;
}
.person-role{font-family:var(--font-display);font-weight:600;font-size:clamp(0.95rem,3.4vw,1.35rem);line-height:1.2;color:var(--cream);letter-spacing:-0.01em;}
.person-rule{width:2.5rem;transform:scaleX(.4);transition:transform .45s ease .05s;}
/* revela: hover só em dispositivos com mouse; foco do teclado; toque/clique (aria-pressed) */
@media (hover:hover) and (pointer:fine){
  .person:hover .person-overlay{opacity:1;}
  .person:hover .person-rule{transform:scaleX(1);}
  .person:hover img{transform:scale(1.04);}
}
.person:focus-visible .person-overlay, .person[aria-pressed="true"] .person-overlay{opacity:1;}
.person:focus-visible .person-rule, .person[aria-pressed="true"] .person-rule{transform:scaleX(1);}
.person:focus-visible{outline:2px solid var(--gold);outline-offset:3px;}
/* imagem ausente: mantém o card com fundo neutro, sem ícone quebrado */
.person img.img-missing{visibility:hidden;}
.team-hint{margin-top:1.25rem;font-size:0.75rem;letter-spacing:0.04em;color:color-mix(in oklab, var(--cream) 55%, transparent);}
.team-hint .hint-touch{display:none;}
@media (hover:none), (pointer:coarse){.team-hint .hint-hover{display:none;}.team-hint .hint-touch{display:inline;}}
@media (prefers-reduced-motion: reduce){.person img,.person-overlay,.person-rule{transition:none;}}

/* ---- Abertura (site geral) ----
   Só existe quando o script do <head> adiciona html.intro (1ª visita da sessão, com JS e sem
   "reduzir movimento"). As animações terminam sozinhas e escondem a tela mesmo se algum JS falhar. */
#intro{display:none;}
html.intro{overflow:hidden;}
html.intro #intro{
  display:flex;position:fixed;inset:0;z-index:100;align-items:center;justify-content:center;
  animation:intro-out 0s linear 3.15s forwards;
}
.intro-panel{position:absolute;top:0;bottom:0;width:50.5%;background-image:var(--gradient-wine);
  animation:intro-door .8s cubic-bezier(.76,0,.24,1) 2.35s forwards;}
.intro-panel.l{left:0;background-size:200% 100%;background-position:0 0;}
.intro-panel.r{right:0;background-size:200% 100%;background-position:100% 0;--door:100%;}
.intro-panel.l{--door:-100%;}
.intro-panel::after{content:"";position:absolute;inset:0;background-image:var(--dots);background-size:12px 12px;opacity:.12;}
.intro-panel.l::before,.intro-panel.r::before{content:"";position:absolute;top:0;bottom:0;width:1px;
  background:linear-gradient(180deg,transparent,color-mix(in oklab, var(--gold) 55%, transparent),transparent);opacity:0;
  animation:intro-fade .4s ease 2.2s forwards;}
.intro-panel.l::before{right:0;} .intro-panel.r::before{left:0;}
.intro-stage{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.5rem;
  animation:intro-fade-out .35s ease 2.2s forwards;}
.intro-seal{position:relative;width:8.5rem;height:8.5rem;display:grid;place-items:center;}
@media(min-width:640px){.intro-seal{width:10rem;height:10rem;}}
.intro-seal svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);}
.intro-seal circle{fill:none;stroke:var(--gold);stroke-width:1;stroke-dasharray:302;stroke-dashoffset:302;
  animation:intro-draw 1.1s cubic-bezier(.65,0,.35,1) .15s forwards;}
.intro-seal circle.inner{stroke-width:.6;opacity:.45;stroke-dasharray:264;stroke-dashoffset:264;animation-delay:.35s;}
.intro-mono{width:56%;height:auto;opacity:0;transform:scale(.86);animation:intro-in .8s cubic-bezier(.22,1,.36,1) .45s forwards;}
.intro-mono-fb{font-family:var(--font-display);font-size:3.25rem;color:var(--gold);opacity:0;animation:intro-in .8s ease .45s forwards;}
.intro-line{margin-top:1.6rem;height:1px;width:min(16rem,60vw);background-image:var(--gradient-gold);transform:scaleX(0);
  animation:intro-grow .7s cubic-bezier(.65,0,.35,1) .85s forwards;}
.intro-logo{margin-top:1.4rem;height:4.25rem;width:auto;opacity:0;transform:translateY(10px);
  animation:intro-in .7s cubic-bezier(.22,1,.36,1) 1.05s forwards;}
@media(min-width:640px){.intro-logo{height:5rem;}}
.intro-word{margin-top:1.4rem;font-family:var(--font-display);font-size:1.6rem;letter-spacing:.32em;color:var(--cream);
  opacity:0;animation:intro-in .7s ease 1.05s forwards;}
.intro-motto{margin-top:1rem;font-size:0.6875rem;font-weight:500;text-transform:uppercase;letter-spacing:.36em;
  color:color-mix(in oklab, var(--gold) 85%, transparent);opacity:0;animation:intro-in .7s ease 1.35s forwards;}
.intro-skip{position:absolute;z-index:2;right:1.25rem;bottom:calc(1.25rem + env(safe-area-inset-bottom,0px));
  background:none;border:1px solid color-mix(in oklab, var(--gold) 35%, transparent);border-radius:9999px;cursor:pointer;
  padding:0.45rem 1rem;font:500 0.75rem var(--font-sans);letter-spacing:.12em;text-transform:uppercase;
  color:color-mix(in oklab, var(--cream) 75%, transparent);animation:intro-fade-out .3s ease 2.2s forwards;}
.intro-skip:hover,.intro-skip:focus-visible{color:var(--gold);border-color:var(--gold);outline:none;}
/* Pular: tudo some rápido */
html.intro-skip #intro .intro-panel,html.intro-skip #intro .intro-stage,html.intro-skip #intro .intro-skip{
  animation:none;opacity:0;transition:opacity .35s ease;}
html.intro-skip #intro{pointer-events:none;}
@keyframes intro-draw{to{stroke-dashoffset:0;}}
@keyframes intro-in{to{opacity:1;transform:none;}}
@keyframes intro-grow{to{transform:scaleX(1);}}
@keyframes intro-fade{to{opacity:1;}}
@keyframes intro-fade-out{to{opacity:0;visibility:hidden;}}
@keyframes intro-door{to{transform:translateX(var(--door));}}
@keyframes intro-out{to{visibility:hidden;pointer-events:none;}}
#intro [hidden]{display:none !important;} /* o CSS global img{display:block} anularia o atributo hidden */

/* ---- Áreas de Atuação: carrossel ----
   Sem JS: faixa com rolagem horizontal. Com JS (.is-ready): rotação por transform, sem clones. */
.area-carousel{margin-top:3rem;--ac-gap:1.5rem;--ac-per:1;}
.ac-viewport{overflow-x:auto;scroll-snap-type:x mandatory;padding:0.5rem 0 1.75rem;scrollbar-width:none;}
.ac-viewport::-webkit-scrollbar{display:none;}
.ac-track{display:flex;gap:var(--ac-gap);}
.ac-track > .area-hero{flex:0 0 calc((100% - (var(--ac-per) - 1) * var(--ac-gap)) / var(--ac-per));scroll-snap-align:start;min-width:0;}
.area-carousel.is-ready .ac-viewport{overflow:hidden;scroll-snap-type:none;touch-action:pan-y;}
.area-carousel.is-ready .ac-track{will-change:transform;}
.ac-controls{margin-top:0.25rem;display:flex;align-items:center;justify-content:center;gap:0.5rem;}
.ac-controls[hidden]{display:none;}
.ac-btn{display:inline-flex;align-items:center;justify-content:center;width:2.5rem;height:2.5rem;border-radius:9999px;cursor:pointer;
  border:1px solid var(--border);background:var(--card);color:var(--wine);transition:border-color .2s ease, background-color .2s ease;}
.ac-btn:hover{border-color:color-mix(in oklab, var(--wine) 40%, transparent);}
.ac-btn:focus-visible,.ac-dot:focus-visible,.area-hero:focus-visible{outline:2px solid var(--wine);outline-offset:3px;}
.ac-btn svg{width:1.1rem;height:1.1rem;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.ac-toggle .i-play{display:none;fill:currentColor;stroke:none;}
.ac-toggle[aria-pressed="true"] .i-play{display:block;} .ac-toggle[aria-pressed="true"] .i-pause{display:none;}
.ac-dots{display:flex;align-items:center;gap:0.25rem;padding:0 0.35rem;}
.ac-dot{width:1.75rem;height:1.75rem;border:0;background:none;cursor:pointer;padding:0;display:grid;place-items:center;}
.ac-dot::before{content:"";width:0.5rem;height:0.5rem;border-radius:9999px;background:color-mix(in oklab, var(--brown) 35%, transparent);transition:width .3s ease, background-color .3s ease;}
.ac-dot[aria-current="true"]::before{width:1.5rem;background:var(--wine);}
@media (prefers-reduced-motion: reduce){.ac-dot::before{transition:none;}}

/* Selos dentro da linha do tempo (Nossa História) */
.milestone-seals{margin-top:1rem;display:flex;flex-wrap:wrap;gap:1rem;}
.milestone-seals figure{margin:0;width:8.5rem;text-align:center;}
.milestone-seals img{width:100%;height:auto;border-radius:0.5rem;border:1px solid var(--border);background:var(--card);}
.milestone-seals figcaption{margin-top:0.4rem;font-size:0.6875rem;font-weight:600;text-transform:uppercase;letter-spacing:0.14em;color:var(--gold-deep);}
/* Sombra contida: o carrossel recorta as laterais, então a sombra não pode vazar para os lados */
.ac-track > .area-hero{box-shadow:0 18px 30px -22px color-mix(in oklab, var(--ink) 60%, transparent);}
