/* Ribeiro Tech Store — HTML5/CSS3 (no frameworks) */
:root{
  --bg:#0b0907;
  --bg2:#120d09;
  --panel:#15100c;
  --panel2:#1b140f;
  --text:#f3f1ee;
  --muted:#c8c1ba;
  --muted2:#a69e96;
  --neon:#33ff8a;
  --neon2:#19d96b;
  --line:rgba(255,255,255,.10);
  --shadow:0 18px 60px rgba(0,0,0,.55);
  --radius:18px;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1200px 800px at 30% -10%, rgba(51,255,138,.12), transparent 60%),
              radial-gradient(900px 700px at 90% 10%, rgba(51,255,138,.08), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg2));
  line-height:1.55;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}

/* A11y */
.skip-link{
  position:absolute;left:-999px;top:8px;
  background:var(--neon);
  color:#000;
  padding:10px 12px;
  border-radius:12px;
  z-index:9999;
}
.skip-link:focus{left:10px;outline:3px solid #000}

.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 18px}

/* Header */
.header{
  position:sticky;top:0;z-index:500;
  backdrop-filter: blur(10px);
  background: rgba(11,9,7,.75);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;padding:14px 0;
}
.brand{
  display:flex;align-items:center;gap:12px;text-decoration:none;
}
.brand-mark{
  width:38px;height:38px;border-radius:14px;
  background:
    radial-gradient(12px 12px at 30% 30%, #fff, transparent 60%),
    radial-gradient(20px 20px at 70% 70%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, rgba(51,255,138,.95), rgba(25,217,107,.70));
  box-shadow:0 10px 35px rgba(51,255,138,.15);
}
.brand-text{display:flex;flex-direction:column;line-height:1.1}
.brand-text strong{font-size:15px;letter-spacing:.2px}
.brand-text span{font-size:12px;color:var(--muted2)}

.nav{
  display:flex;align-items:center;gap:14px;
}
.nav a{
  text-decoration:none;
  padding:10px 10px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
}
.nav a:hover, .nav a:focus{
  color:var(--text);
  border-color: rgba(51,255,138,.25);
  outline:none;
}
.nav a.active{
  color:var(--text);
  border-color: rgba(51,255,138,.35);
  background: rgba(51,255,138,.06);
}

.header-actions{display:flex;align-items:center;gap:10px}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(51,255,138,.35);
  background: rgba(51,255,138,.10);
  color:var(--text);
  text-decoration:none;
  cursor:pointer;
  transition:transform .08s ease;
}
.btn:hover{transform: translateY(-1px)}
.btn:active{transform: translateY(0)}
.btn-primary{
  background: linear-gradient(135deg, rgba(51,255,138,.95), rgba(25,217,107,.70));
  border-color: transparent;
  color:#001b0d;
  font-weight:700;
}
.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,.14);
  color:var(--muted);
}

.icon{width:18px;height:18px;flex:none}

.menu-toggle{
  display:none;
  border:1px solid rgba(255,255,255,.14);
  background:transparent;
  color:var(--text);
  border-radius:14px;
  padding:10px 12px;
}
.menu-toggle:focus{outline:2px solid rgba(51,255,138,.6);outline-offset:2px}

.lang-toggle{
  border:1px solid rgba(255,255,255,.14);
  background:transparent;
  color:var(--muted);
  border-radius:14px;
  padding:10px 12px;
  cursor:pointer;
}
.lang-toggle:hover{color:var(--text);border-color:rgba(51,255,138,.25)}

@media (max-width: 920px){
  .menu-toggle{display:inline-flex;align-items:center;gap:8px}
  .nav{
    position:absolute;left:0;right:0;top:64px;
    background: rgba(11,9,7,.92);
    border-bottom:1px solid var(--line);
    display:none;
    flex-direction:column;
    padding:12px 18px;
  }
  .nav.open{display:flex}
  .nav a{width:100%}
}

/* Hero */
.hero{
  padding:44px 0 18px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
.card{
  background: linear-gradient(180deg, rgba(21,16,12,.95), rgba(21,16,12,.85));
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero-copy{padding:26px}
.kicker{
  display:inline-flex;align-items:center;gap:10px;
  color:var(--muted);
  font-size:13px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.kicker b{color:var(--neon)}

h1{margin:14px 0 10px;font-size:40px;line-height:1.08;letter-spacing:-.4px}
.lead{margin:0 0 18px;color:var(--muted);font-size:16px;max-width:60ch}

.hero-ctas{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}

.hero-visual{
  overflow:hidden;
  position:relative;
}
.hero-visual img{
  width:100%;height:100%;object-fit:cover;
  filter:saturate(1.02) contrast(1.02);
}
.hero-visual::after{
  content:"";
  position:absolute;inset:0;
  background: linear-gradient(180deg, rgba(11,9,7,.10), rgba(11,9,7,.78));
}

@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:34px}
}

/* Sections */
.section{padding:28px 0}
.section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.section-header h2{margin:0;font-size:24px;letter-spacing:-.2px}
.section-header p{margin:0;color:var(--muted);max-width:70ch}

.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}

@media (max-width: 920px){
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
}

.feature{
  padding:18px;
  border-radius:var(--radius);
  background: linear-gradient(180deg, rgba(27,20,15,.92), rgba(21,16,12,.80));
  border:1px solid rgba(255,255,255,.10);
}
.feature h3{margin:0 0 6px;font-size:16px}
.feature p{margin:0;color:var(--muted);font-size:14px}

.badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(51,255,138,.30);
  background: rgba(51,255,138,.08);
  color:var(--text);
  font-size:12px;
}

.media{
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.media img{width:100%;height:auto}

/* Services list */
.list{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
}
.list li{
  display:flex;gap:10px;align-items:flex-start;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}
.check{
  width:22px;height:22px;border-radius:8px;
  background: rgba(51,255,138,.14);
  border:1px solid rgba(51,255,138,.30);
  display:inline-grid;place-items:center;
  flex:none;
}
.check svg{width:14px;height:14px}

/* FAQ */
.faq details{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  padding:12px 14px;
}
.faq details + details{margin-top:10px}
.faq summary{cursor:pointer;font-weight:650}
.faq p{color:var(--muted);margin:10px 0 0}

/* Contact */
.contact-wrap{padding:18px}
.form{
  display:grid;
  gap:10px;
}
.field{display:grid;gap:6px}
label{font-size:13px;color:var(--muted)}
input, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:var(--text);
}
textarea{min-height:120px;resize:vertical}
input:focus, textarea:focus{outline:2px solid rgba(51,255,138,.55);outline-offset:2px}
.helper{color:var(--muted2);font-size:12px}

/* Footer */
.footer{
  margin-top:30px;
  border-top:1px solid var(--line);
  background: rgba(11,9,7,.65);
}
.footer-inner{padding:22px 0}
.footer-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:18px}
.footer small{color:var(--muted2)}
.footer a{color:var(--muted);text-decoration:none}
.footer a:hover{color:var(--text)}
.footer-links{display:flex;flex-wrap:wrap;gap:10px}

@media (max-width: 920px){
  .footer-grid{grid-template-columns:1fr}
}

/* Floating WhatsApp */
.fab{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:900;
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius:999px;
  background: linear-gradient(135deg, rgba(51,255,138,.95), rgba(25,217,107,.75));
  color:#001b0d;
  text-decoration:none;
  font-weight:800;
  box-shadow:0 20px 60px rgba(0,0,0,.55);
}
.fab .icon{width:19px;height:19px}

/* Cookie banner */
.cookie{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:950;
  display:none;
}
.cookie.open{display:block}
.cookie .card{padding:14px}
.cookie-row{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;flex-wrap:wrap}
.cookie p{margin:0;color:var(--muted);font-size:13px;max-width:78ch}
.cookie-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Page header */
.page-hero{
  padding:22px 0 10px;
}
.page-hero h1{font-size:32px;margin:0}
.page-hero p{margin:8px 0 0;color:var(--muted)}

/* Legal text */
.legal{
  padding:16px;
}
.legal h2{margin:18px 0 8px;font-size:18px}
.legal p, .legal li{color:var(--muted)}
.legal ul{margin:8px 0 0 18px}
.legal code{background:rgba(255,255,255,.06);padding:2px 6px;border-radius:8px}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .btn{transition:none}
}
