/* ============================================================
   Delson Lyra & Advogados Associados — Vanilla CSS
   Premium dark + gold theme
   ============================================================ */

:root{
  --background:#0d1117;
  --foreground:#ece4d3;
  --card:#13171f;
  --muted:#1d212b;
  --muted-foreground:#a59f8e;
  --border:#262b36;
  --primary:#c9a25b;
  --primary-glow:#e6c684;
  --primary-foreground:#15110a;
  --gold-dark:#8a6c34;
  --gradient-gold:linear-gradient(135deg,#8a6c34,#e6c684,#8a6c34);
  --gradient-hero:linear-gradient(180deg,rgba(13,17,23,.55) 0%,rgba(13,17,23,.85) 60%,#0d1117 100%);
  --gradient-radial-gold:radial-gradient(ellipse at top,rgba(201,162,91,.18),transparent 60%);
  --shadow-gold:0 20px 60px -20px rgba(201,162,91,.4);
  --shadow-elegant:0 30px 80px -30px rgba(0,0,0,.6);
  --ease:cubic-bezier(.16,1,.3,1);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  background:var(--background);
  color:var(--foreground);
  font-family:'Inter',sans-serif;
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  background-image:
    radial-gradient(ellipse at top,rgba(201,162,91,.06),transparent 60%),
    radial-gradient(ellipse at bottom right,rgba(60,90,150,.18),transparent 60%);
  background-attachment:fixed;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit;background:none;border:none;color:inherit;cursor:pointer}
::selection{background:rgba(201,162,91,.3);color:var(--foreground)}

h1,h2,h3,h4,.font-serif{
  font-family:'Cormorant Garamond',serif;
  font-weight:500;
  letter-spacing:-.01em;
  line-height:1.1;
}

.container{max-width:1280px;margin:0 auto;padding:0 1.5rem}
@media(min-width:768px){.container{padding:0 2.5rem}}
@media(min-width:1024px){.container{padding:0 4rem}}

/* Utilities */
.text-gold{color:var(--primary)}
.eyebrow{font-size:.7rem;text-transform:uppercase;letter-spacing:.3em;color:var(--primary)}
.gold-divider{width:60px;height:2px;background:var(--gradient-gold);margin:.75rem 0 1.5rem}
.text-gradient-gold{
  background:var(--gradient-gold);
  background-size:200% auto;
  -webkit-background-clip:text;background-clip:text;
  color:transparent;
  animation:shimmer 6s linear infinite;
}
.italic{font-style:italic}
.muted{color:var(--muted-foreground)}

.glass{
  background:rgba(19,23,31,.6);
  backdrop-filter:blur(20px) saturate(160%);
  -webkit-backdrop-filter:blur(20px) saturate(160%);
  border:1px solid rgba(236,228,211,.06);
}
.glass-gold{
  background:linear-gradient(135deg,rgba(201,162,91,.10),rgba(201,162,91,.02));
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border:1px solid rgba(201,162,91,.22);
}

/* Buttons */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  padding:1rem 2rem;border-radius:9999px;font-weight:500;font-size:.95rem;
  transition:all .5s var(--ease);white-space:nowrap;
}
.btn-gold{
  background:var(--gradient-gold);background-size:200% auto;
  color:var(--primary-foreground);box-shadow:var(--shadow-gold);
}
.btn-gold:hover{transform:scale(1.03);box-shadow:0 30px 80px -20px rgba(201,162,91,.6)}
.btn-ghost{
  border:1px solid var(--border);background:rgba(19,23,31,.4);
  backdrop-filter:blur(12px);color:var(--foreground);
}
.btn-ghost:hover{border-color:var(--primary);color:var(--primary)}
.btn-sm{padding:.65rem 1.25rem;font-size:.85rem}
.btn .arrow{transition:transform .3s}
.btn:hover .arrow{transform:translateX(3px)}

/* Reveal animation */
.reveal{opacity:0;transform:translateY(30px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
.reveal.in{opacity:1;transform:translateY(0)}
@media(prefers-reduced-motion:reduce){
  .reveal{opacity:1;transform:none}
  *{animation:none!important;transition:none!important}
}

/* ===================== Header ===================== */
.header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  padding:1.25rem 0;transition:all .5s var(--ease);
}
.header.scrolled{
  background:rgba(19,23,31,.6);backdrop-filter:blur(20px) saturate(160%);
  border-bottom:1px solid rgba(38,43,54,.6);padding:.75rem 0;
}
.header-inner{display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:.75rem}
.logo-mark{
  width:40px;height:40px;border-radius:.4rem;
  background:var(--gradient-gold);box-shadow:var(--shadow-gold);
  display:flex;align-items:center;justify-content:center;color:var(--primary-foreground);
  transition:transform .5s var(--ease);
}
.logo:hover .logo-mark{transform:scale(1.1)}
.logo-name{font-family:'Cormorant Garamond',serif;font-size:1.15rem;line-height:1.1}
.logo-sub{font-size:.625rem;text-transform:uppercase;letter-spacing:.25em;color:var(--primary)}
.nav{display:none;gap:2rem;align-items:center}
@media(min-width:1024px){.nav{display:flex}}
.nav a{font-size:.875rem;color:var(--muted-foreground);position:relative;transition:color .3s}
.nav a::after{content:"";position:absolute;left:0;bottom:-4px;height:1px;width:0;background:var(--primary);transition:width .3s}
.nav a:hover{color:var(--primary)}
.nav a:hover::after{width:100%}
.header-cta{display:none}
@media(min-width:768px){.header-cta{display:inline-flex}}
.menu-btn{display:inline-flex;padding:.5rem;color:var(--foreground)}
@media(min-width:1024px){.menu-btn{display:none}}
.mobile-nav{display:none;border-top:1px solid rgba(38,43,54,.6);margin-top:.75rem;padding:1.5rem 0}
.mobile-nav.open{display:block;animation:slide-down .3s var(--ease)}
.mobile-nav .container{display:flex;flex-direction:column;gap:1rem}
.mobile-nav a{font-size:.9rem;color:var(--muted-foreground);padding:.25rem 0}

@keyframes slide-down{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}

/* ===================== Hero ===================== */
.hero{position:relative;min-height:100vh;display:flex;align-items:center;overflow:hidden;padding:8rem 0 6rem}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:120%;object-fit:cover;will-change:transform}
.hero-bg::after{content:"";position:absolute;inset:0;background:var(--gradient-hero)}
.hero-bg::before{content:"";position:absolute;inset:0;background:var(--gradient-radial-gold);z-index:1}
.hero-inner{position:relative;z-index:2;max-width:820px}
.hero-badge{
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.4rem 1rem;border-radius:9999px;margin-bottom:2rem;
}
.hero-badge .dot{width:6px;height:6px;border-radius:50%;background:var(--primary);animation:pulse 2s infinite}
.hero-badge span{font-size:.7rem;text-transform:uppercase;letter-spacing:.25em;color:var(--primary)}
.hero h1{
  font-size:clamp(3rem,7vw,6.5rem);
  line-height:.95;margin-bottom:1.5rem;
}
.hero p.lead{
  font-size:clamp(1.05rem,1.4vw,1.25rem);
  color:var(--muted-foreground);max-width:36rem;margin-bottom:2.5rem;
}
.hero-cta{display:flex;flex-direction:column;gap:1rem}
@media(min-width:640px){.hero-cta{flex-direction:row}}
.scroll-indicator{
  position:absolute;bottom:2rem;left:50%;transform:translateX(-50%);z-index:3;
  width:24px;height:40px;border:1px solid rgba(201,162,91,.4);border-radius:9999px;
  display:flex;justify-content:center;padding-top:6px;
}
.scroll-indicator .dot{width:4px;height:8px;border-radius:9999px;background:var(--primary);animation:scrollDot 2s infinite ease-in-out}

@keyframes scrollDot{0%,100%{transform:translateY(0)}50%{transform:translateY(12px)}}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.4}}
@keyframes shimmer{0%{background-position:0% 50%}100%{background-position:200% 50%}}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}
@keyframes glow{0%,100%{box-shadow:0 0 20px rgba(201,162,91,.3)}50%{box-shadow:0 0 40px rgba(201,162,91,.6)}}

/* ===================== Authority Strip ===================== */
.authority{padding:5rem 0;border-top:1px solid rgba(38,43,54,.6);border-bottom:1px solid rgba(38,43,54,.6);background:rgba(19,23,31,.3);backdrop-filter:blur(8px)}
.authority-grid{display:grid;grid-template-columns:1fr;gap:2.5rem}
@media(min-width:768px){.authority-grid{grid-template-columns:repeat(3,1fr)}}
.authority-item{display:flex;align-items:center;gap:1.25rem}
.authority-icon{
  width:56px;height:56px;border-radius:.75rem;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  transition:transform .5s var(--ease);
}
.authority-item:hover .authority-icon{transform:scale(1.1) rotate(3deg)}
.authority-value{font-family:'Cormorant Garamond',serif;font-size:clamp(2.5rem,4vw,3rem);line-height:1}
.authority-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted-foreground);margin-top:.5rem}

/* ===================== Generic Section ===================== */
section{position:relative}
.section{padding:7rem 0}
.section-head{max-width:42rem;margin-bottom:4rem}
.section-head h2{font-size:clamp(2.25rem,4.5vw,3.75rem);line-height:1.05}

/* ===================== About ===================== */
.about-grid{display:grid;grid-template-columns:1fr;gap:4rem;align-items:center}
@media(min-width:1024px){.about-grid{grid-template-columns:1fr 1fr;gap:6rem}}
.about-img-wrap{position:relative}
.about-img-wrap::before{content:"";position:absolute;inset:-1rem;background:var(--gradient-gold);opacity:.2;filter:blur(60px);border-radius:9999px}
.about-img{position:relative;border-radius:1rem;overflow:hidden;box-shadow:var(--shadow-elegant);border:1px solid rgba(38,43,54,.5)}
.about-img img{width:100%;height:560px;object-fit:cover}
.about-img::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(13,17,23,.6),transparent 50%)}
.about-badge{
  position:absolute;bottom:-1.5rem;right:-1.5rem;
  border-radius:.75rem;padding:1.5rem;max-width:220px;
  box-shadow:var(--shadow-gold);
}
@media(max-width:767px){.about-badge{display:none}}
.about-badge-num{font-family:'Cormorant Garamond',serif;font-size:2rem;line-height:1}
.about-badge-text{font-size:.7rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted-foreground);margin-top:.5rem}

.pillars{display:grid;grid-template-columns:1fr;gap:1.25rem;margin-top:2.5rem}
@media(min-width:640px){.pillars{grid-template-columns:1fr 1fr}}
.pillar{
  border-radius:.75rem;padding:1.25rem;height:100%;
  transition:border-color .5s;
}
.pillar:hover{border-color:rgba(201,162,91,.4)}
.pillar-icon{
  width:40px;height:40px;border-radius:.5rem;background:rgba(201,162,91,.1);
  display:flex;align-items:center;justify-content:center;color:var(--primary);
  margin-bottom:.75rem;transition:background .3s;
}
.pillar:hover .pillar-icon{background:rgba(201,162,91,.2)}
.pillar h3{font-size:1.15rem;margin-bottom:.25rem}
.pillar p{font-size:.85rem;color:var(--muted-foreground)}

/* ===================== Services ===================== */
.services-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:640px){.services-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.services-grid{grid-template-columns:repeat(3,1fr)}}
.service-card{
  position:relative;height:100%;border-radius:1rem;padding:2rem;overflow:hidden;
  transition:all .7s var(--ease);
}
.service-card:hover{transform:translateY(-4px);border-color:rgba(201,162,91,.4);box-shadow:var(--shadow-gold)}
.service-card::before{
  content:"";position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(201,162,91,.06),transparent);
  opacity:0;transition:opacity .5s;
}
.service-card:hover::before{opacity:1}
.service-card::after{
  content:"";position:absolute;left:0;bottom:0;height:2px;width:0;
  background:var(--gradient-gold);transition:width .7s var(--ease);
}
.service-card:hover::after{width:100%}
.service-icon{
  position:relative;width:56px;height:56px;border-radius:.75rem;
  background:linear-gradient(135deg,rgba(201,162,91,.18),rgba(201,162,91,.05));
  border:1px solid rgba(201,162,91,.22);
  display:flex;align-items:center;justify-content:center;color:var(--primary);
  margin-bottom:1.5rem;transition:all .5s var(--ease);
}
.service-card:hover .service-icon{transform:scale(1.1);border-color:rgba(201,162,91,.5)}
.service-card h3{position:relative;font-size:1.5rem;margin-bottom:.75rem;transition:color .5s}
.service-card:hover h3{color:var(--primary)}
.service-card p{position:relative;font-size:.875rem;color:var(--muted-foreground);line-height:1.65}

/* ===================== Differentials ===================== */
.differentials{background:rgba(19,23,31,.4)}
.diff-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:1024px){.diff-grid{grid-template-columns:5fr 7fr}}
.diff-tabs{display:flex;flex-direction:column;gap:.75rem}
.diff-tab{
  width:100%;text-align:left;border-radius:.75rem;padding:1.25rem;
  border:1px solid var(--border);display:flex;align-items:center;gap:1rem;
  transition:all .5s var(--ease);
}
.diff-tab:hover{border-color:rgba(201,162,91,.3)}
.diff-tab.active{
  background:linear-gradient(135deg,rgba(201,162,91,.10),rgba(201,162,91,.02));
  border-color:rgba(201,162,91,.4);box-shadow:var(--shadow-gold);
}
.diff-tab-icon{
  width:48px;height:48px;border-radius:.5rem;background:rgba(201,162,91,.1);
  color:var(--primary);display:flex;align-items:center;justify-content:center;
  transition:background .3s;
}
.diff-tab.active .diff-tab-icon{background:var(--gradient-gold);color:var(--primary-foreground)}
.diff-tab p{font-family:'Cormorant Garamond',serif;font-size:1.25rem}
.diff-panel{
  position:relative;border-radius:1rem;padding:2rem;min-height:360px;overflow:hidden;
}
@media(min-width:768px){.diff-panel{padding:2.5rem}}
.diff-panel::before{content:"";position:absolute;top:-5rem;right:-5rem;width:240px;height:240px;background:rgba(201,162,91,.10);border-radius:50%;filter:blur(60px)}
.diff-panel-content{position:relative;animation:fadeUp .5s var(--ease)}
.diff-panel-icon{color:var(--primary);margin-bottom:1.5rem}
.diff-panel h3{font-size:clamp(1.75rem,3vw,2.25rem);margin-bottom:1rem}
.diff-panel p{color:var(--muted-foreground);margin-bottom:2rem;line-height:1.7}
.diff-panel ul{list-style:none;display:flex;flex-direction:column;gap:.75rem}
.diff-panel li{display:flex;align-items:center;gap:.75rem;color:rgba(236,228,211,.9)}
.diff-panel li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--gradient-gold);flex-shrink:0}
@keyframes fadeUp{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:none}}

/* ===================== Team ===================== */
.team-grid{display:grid;grid-template-columns:1fr;gap:2rem}
@media(min-width:768px){.team-grid{grid-template-columns:repeat(3,1fr)}}
.team-card{
  position:relative;border-radius:1rem;overflow:hidden;
  border:1px solid var(--border);background:var(--card);
  transition:all .7s var(--ease);
}
.team-card:hover{transform:translateY(-8px);box-shadow:var(--shadow-elegant)}
.team-img{position:relative;aspect-ratio:4/5;overflow:hidden}
.team-img img{width:100%;height:100%;object-fit:cover;transition:transform 1s}
.team-card:hover .team-img img{transform:scale(1.1)}
.team-img::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,var(--background),rgba(13,17,23,.4) 50%,transparent)}
.team-social{
  position:absolute;top:1rem;right:1rem;width:36px;height:36px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:var(--foreground);
  opacity:0;transition:all .5s;z-index:2;
}
.team-card:hover .team-social{opacity:1}
.team-social:hover{background:var(--primary);color:var(--primary-foreground)}
.team-info{padding:1.5rem;margin-top:-4rem;position:relative;z-index:1}
.team-role{font-size:.7rem;text-transform:uppercase;letter-spacing:.25em;color:var(--primary);margin-bottom:.5rem}
.team-info h3{font-size:1.5rem;margin-bottom:.75rem}
.team-info p{font-size:.875rem;color:var(--muted-foreground);line-height:1.65}
.team-line{margin-top:1.25rem;height:1px;width:48px;background:var(--gradient-gold);transition:width .5s}
.team-card:hover .team-line{width:100%}

/* ===================== CTA Banner ===================== */
.cta-banner{padding:6rem 0}
.cta-box{
  position:relative;border-radius:1.5rem;overflow:hidden;
  padding:3rem 2rem;text-align:center;
}
@media(min-width:768px){.cta-box{padding:4rem}}
.cta-box .blob{position:absolute;width:24rem;height:24rem;border-radius:50%;filter:blur(64px);background:rgba(201,162,91,.3);animation:float 6s ease-in-out infinite}
.cta-box .blob.b1{top:-8rem;left:-8rem}
.cta-box .blob.b2{bottom:-8rem;right:-8rem;background:rgba(201,162,91,.2);animation-delay:2s}
.cta-box-inner{position:relative;max-width:48rem;margin:0 auto}
.cta-box h2{font-size:clamp(2rem,4.5vw,3.75rem);margin:1rem 0 1.5rem;line-height:1.1}
.cta-box p{color:var(--muted-foreground);font-size:1.1rem;margin-bottom:2.5rem}

/* ===================== Contact ===================== */
.contact-grid{display:grid;grid-template-columns:1fr;gap:3rem}
@media(min-width:1024px){.contact-grid{grid-template-columns:1fr 1fr}}
.contact-info{display:flex;flex-direction:column;gap:1.5rem}
.contact-item{
  display:flex;align-items:flex-start;gap:1rem;border-radius:1rem;padding:1.5rem;
  transition:border-color .3s;
}
.contact-item:hover{border-color:rgba(201,162,91,.3)}
.contact-icon{
  width:44px;height:44px;border-radius:.5rem;background:rgba(201,162,91,.1);
  color:var(--primary);display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.contact-item .label{font-size:.7rem;text-transform:uppercase;letter-spacing:.15em;color:var(--primary);margin-bottom:.25rem}
.map-wrap{border-radius:1rem;overflow:hidden;border:1px solid var(--border);height:16rem}
.map-wrap iframe{width:100%;height:100%;border:0;filter:grayscale(100%) contrast(110%)}

.contact-form{border-radius:1rem;padding:2rem}
@media(min-width:768px){.contact-form{padding:2.5rem}}
.form-row{display:grid;grid-template-columns:1fr;gap:1.25rem;margin-bottom:1.25rem}
@media(min-width:640px){.form-row.two{grid-template-columns:1fr 1fr}}
.field label{display:block;font-size:.7rem;text-transform:uppercase;letter-spacing:.15em;color:var(--muted-foreground);margin-bottom:.5rem}
.field input,.field textarea{
  width:100%;padding:.85rem 1rem;border-radius:.5rem;
  background:rgba(29,33,43,.6);border:1px solid var(--border);
  color:var(--foreground);font:inherit;font-size:.95rem;outline:none;
  transition:all .3s;
}
.field input:focus,.field textarea:focus{
  border-color:var(--primary);box-shadow:0 0 0 3px rgba(201,162,91,.2);
}
.field textarea{resize:none;min-height:140px}
.contact-form .btn{width:100%}

/* Toast */
.toast{
  position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%) translateY(20px);
  background:var(--card);border:1px solid var(--border);
  padding:.85rem 1.25rem;border-radius:.5rem;font-size:.875rem;
  box-shadow:var(--shadow-soft);opacity:0;pointer-events:none;
  transition:all .3s;z-index:60;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
.toast.error{border-color:rgba(220,80,80,.5)}

/* ===================== Footer ===================== */
.footer{padding:5rem 0 2.5rem;border-top:1px solid rgba(38,43,54,.5);background:rgba(19,23,31,.4)}
.footer-grid{display:grid;grid-template-columns:1fr;gap:3rem;margin-bottom:3rem}
@media(min-width:768px){.footer-grid{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.footer-grid{grid-template-columns:repeat(4,1fr)}}
.footer h4{font-size:1.1rem;margin-bottom:1.25rem}
.footer ul{list-style:none;display:flex;flex-direction:column;gap:.75rem;font-size:.875rem}
.footer ul a{color:var(--muted-foreground);transition:color .3s}
.footer ul a:hover{color:var(--primary)}
.footer-contact li{display:flex;align-items:flex-start;gap:.5rem;color:var(--muted-foreground)}
.footer-contact svg{color:var(--primary);margin-top:2px;flex-shrink:0}
.footer-social{margin-top:1.25rem;display:inline-flex;width:40px;height:40px;border-radius:50%;align-items:center;justify-content:center;color:var(--primary);transition:transform .3s}
.footer-social:hover{transform:scale(1.1)}
.footer-bottom{
  padding-top:2rem;border-top:1px solid rgba(38,43,54,.5);
  display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:1rem;
  font-size:.75rem;color:var(--muted-foreground);text-align:center;
}
@media(min-width:768px){.footer-bottom{flex-direction:row;text-align:left}}

/* ===================== WhatsApp FAB ===================== */
.fab{
  position:fixed;bottom:1.5rem;right:1.5rem;z-index:40;
  width:56px;height:56px;border-radius:50%;
  background:var(--gradient-gold);color:var(--primary-foreground);
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-gold);animation:glow 3s ease-in-out infinite;
  transition:transform .3s;
}
@media(min-width:768px){.fab{width:64px;height:64px;bottom:2rem;right:2rem}}
.fab:hover{transform:scale(1.1)}
.fab::after{content:"";position:absolute;inset:0;border-radius:50%;background:rgba(201,162,91,.3);animation:ping 2s cubic-bezier(0,0,.2,1) infinite}
@keyframes ping{75%,100%{transform:scale(1.6);opacity:0}}

/* Icon sizing */
.i-lg{width:24px;height:24px}
.i-md{width:20px;height:20px}
.i-sm{width:16px;height:16px}
