/* =========================================================
   WAYLINK SERVICES - SOCIEDADE UNIPESSOAL, LIMITADA
   Stylesheet institucional
   ========================================================= */

:root{
  --navy:#0F172A;
  --cobalt:#1E3A8A;
  --cobalt-light:#2547a8;
  --gold:#D97706;
  --gold-light:#F59E0B;
  --bg:#F8FAFC;
  --bg-alt:#EEF2F7;
  --white:#FFFFFF;
  --text:#1E293B;
  --text-muted:#64748B;
  --border:#E2E8F0;
  --success:#16A34A;
  --danger:#DC2626;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-md: 0 8px 24px rgba(15,23,42,.08);
  --shadow-lg: 0 20px 50px rgba(15,23,42,.14);
  --radius: 14px;
  --radius-sm: 8px;
  --max-w: 1200px;
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:88px; }
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ margin:0 0 .5em; line-height:1.2; font-weight:700; color:var(--navy); }
p{ margin:0 0 1em; }
.container{ max-width:var(--max-w); margin:0 auto; padding:0 24px; }
section{ padding:96px 0; }
.section-alt{ background:var(--bg-alt); }
.section-dark{ background:var(--navy); color:#CBD5E1; }
.section-dark h2, .section-dark h3{ color:var(--white); }

.eyebrow{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  background:rgba(217,119,6,.1);
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:16px;
}
.section-head{ max-width:680px; margin:0 auto 56px; text-align:center; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); }
.section-head p{ color:var(--text-muted); font-size:1.05rem; }
.section-dark .section-head p{ color:#94A3B8; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 28px;
  border-radius:10px;
  font-weight:600;
  font-size:.98rem;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--gold-light); color:var(--navy); box-shadow:0 6px 18px rgba(245,158,11,.35); }
.btn-primary:hover{ background:var(--gold); box-shadow:0 10px 24px rgba(217,119,6,.4); }
.btn-outline{ background:transparent; border-color:rgba(248,250,252,.5); color:var(--white); }
.btn-outline:hover{ background:rgba(248,250,252,.12); border-color:var(--white); }
.btn-navy{ background:var(--navy); color:var(--white); }
.btn-navy:hover{ background:var(--cobalt); }
.btn-ghost{ background:transparent; color:var(--navy); border-color:var(--border); }
.btn-ghost:hover{ border-color:var(--navy); }
.btn-wa{ background:#25D366; color:#fff; }
.btn-wa:hover{ background:#1fb957; }
.btn-block{ width:100%; }
.btn svg{ width:18px; height:18px; flex:none; }

/* =================== TOP INFO BAR =================== */
.topbar{
  background:var(--navy);
  color:#CBD5E1;
  font-size:.82rem;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.topbar .container{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
  gap:8px; padding-top:8px; padding-bottom:8px;
}
.topbar-left{ display:flex; flex-wrap:wrap; gap:20px; }
.topbar a{ color:#CBD5E1; transition:color .2s; }
.topbar a:hover{ color:var(--gold-light); }
.topbar-item{ display:inline-flex; align-items:center; gap:6px; }
.topbar-item svg{ width:14px; height:14px; color:var(--gold-light); flex:none; }
.topbar-legal{ color:#94A3B8; }

/* =================== HEADER =================== */
header.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(248,250,252,.97);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.nav-links{ display:flex; align-items:center; gap:32px; }
.nav-links a{
  font-weight:600; font-size:.95rem; color:var(--text);
  position:relative; padding:4px 0;
  transition:color .2s;
}
.nav-links a:hover, .nav-links a.active{ color:var(--cobalt); }
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px;
  background:var(--gold-light); transform:scaleX(0); transition:transform .2s;
}
.nav-links a:hover::after, .nav-links a.active::after{ transform:scaleX(1); }
.nav-cta{ display:flex; align-items:center; gap:12px; }
.nav-toggle{
  display:none; background:none; border:none; cursor:pointer;
  width:40px; height:40px; align-items:center; justify-content:center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:22px; height:2px; background:var(--navy);
  position:relative; transition:.2s;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }

/* =================== HERO =================== */
.hero{
  position:relative;
  background:
    radial-gradient(circle at 85% 15%, rgba(245,158,11,.18), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 100%);
  color:var(--white);
  overflow:hidden;
  padding:120px 0 110px;
}
.hero::before{
  content:"";
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom, black, transparent 85%);
  pointer-events:none;
}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.15fr .85fr; gap:56px; align-items:center;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.8rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--gold-light); background:rgba(245,158,11,.12);
  border:1px solid rgba(245,158,11,.3);
  padding:8px 16px; border-radius:999px; margin-bottom:24px;
}
.hero h1{
  color:var(--white);
  font-size:clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing:-.02em;
  margin-bottom:22px;
}
.hero h1 span{ color:var(--gold-light); }
.hero p.lead{
  font-size:1.15rem; color:#CBD5E1; max-width:560px; margin-bottom:36px;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; margin-bottom:44px; }
.hero-stats{ display:flex; flex-wrap:wrap; gap:36px; }
.hero-stat b{ display:block; font-size:1.8rem; color:var(--white); font-weight:800; }
.hero-stat span{ font-size:.85rem; color:#94A3B8; }

.hero-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--radius);
  padding:28px;
  backdrop-filter:blur(6px);
}
.hero-card h3{ color:var(--white); font-size:1.05rem; margin-bottom:18px; }
.hero-card ul{ display:flex; flex-direction:column; gap:14px; }
.hero-card li{
  display:flex; align-items:flex-start; gap:12px;
  font-size:.92rem; color:#E2E8F0;
}
.hero-card li svg{ width:20px; height:20px; flex:none; color:var(--gold-light); margin-top:2px; }

/* =================== TRUST BAR =================== */
.trustbar{ background:var(--white); border-bottom:1px solid var(--border); padding:22px 0; }
.trustbar .container{
  display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between;
  font-size:.85rem; color:var(--text-muted);
}
.trustbar-item{ display:flex; align-items:center; gap:10px; font-weight:600; color:var(--navy); }
.trustbar-item svg{ width:20px; height:20px; color:var(--gold); flex:none; }

/* =================== ABOUT =================== */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.about-media{
  background:linear-gradient(160deg, var(--cobalt), var(--navy));
  border-radius:var(--radius);
  padding:40px;
  color:#fff;
  position:relative;
  box-shadow:var(--shadow-lg);
}
.about-media .yr{ font-size:3.4rem; font-weight:800; color:var(--gold-light); }
.about-media .yr-label{ text-transform:uppercase; letter-spacing:.12em; font-size:.78rem; color:#CBD5E1; }
.about-media hr{ border:none; border-top:1px solid rgba(255,255,255,.15); margin:28px 0; }
.about-facts{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.about-facts div b{ display:block; font-size:1.4rem; color:#fff; }
.about-facts div span{ font-size:.8rem; color:#94A3B8; }

.pillars{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:40px; }
.pillar{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; box-shadow:var(--shadow-sm);
}
.pillar .icon{
  width:48px; height:48px; border-radius:12px;
  background:linear-gradient(135deg, var(--gold-light), var(--gold));
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.pillar .icon svg{ width:24px; height:24px; color:var(--navy); }
.pillar h3{ font-size:1.1rem; }
.pillar p{ color:var(--text-muted); font-size:.92rem; margin:0; }

.values-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:16px; margin-top:40px; }
.value-chip{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:20px 16px; text-align:center; font-weight:600; font-size:.88rem; color:var(--navy);
  box-shadow:var(--shadow-sm);
}
.value-chip svg{ width:26px; height:26px; color:var(--gold); margin:0 auto 10px; display:block; }

/* =================== SERVICES =================== */
.services-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px;
}
.service-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:30px 26px; box-shadow:var(--shadow-sm);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display:flex; flex-direction:column;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-lg);
  border-color:rgba(217,119,6,.35);
}
.service-card .num{
  font-size:.78rem; font-weight:800; color:var(--gold); letter-spacing:.08em; margin-bottom:14px;
}
.service-card .icon{
  width:52px; height:52px; border-radius:14px;
  background:linear-gradient(135deg, var(--navy), var(--cobalt));
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.service-card .icon svg{ width:26px; height:26px; color:var(--gold-light); }
.service-card h3{ font-size:1.08rem; margin-bottom:10px; }
.service-card p{ color:var(--text-muted); font-size:.92rem; margin:0; flex:1; }

/* =================== AREAS DE ATUAÇÃO =================== */
.areas-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
.area-list{ display:flex; flex-direction:column; gap:18px; }
.area-item{
  display:flex; gap:18px; align-items:flex-start;
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:20px;
}
.area-item .dot{
  width:38px; height:38px; border-radius:50%; flex:none;
  background:rgba(217,119,6,.12); color:var(--gold);
  display:flex; align-items:center; justify-content:center; font-weight:800;
}
.area-item h4{ margin:0 0 4px; font-size:1rem; color:var(--navy); }
.area-item p{ margin:0; font-size:.88rem; color:var(--text-muted); }

.map-card{
  background:linear-gradient(160deg, var(--navy), var(--cobalt));
  border-radius:var(--radius); padding:36px; color:#fff; box-shadow:var(--shadow-lg);
  position:sticky; top:110px;
}
.map-card h3{ color:#fff; }
.map-card .addr{ display:flex; gap:14px; align-items:flex-start; margin:20px 0; }
.map-card .addr svg{ width:22px; height:22px; color:var(--gold-light); flex:none; margin-top:2px; }
.map-embed{
  border-radius:10px; overflow:hidden; border:1px solid rgba(255,255,255,.15); margin-top:20px;
}
.map-embed iframe{ width:100%; height:220px; border:0; display:block; filter:grayscale(.15) contrast(1.05); }

/* =================== CONTACT =================== */
.contact-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:56px; }
.contact-info-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px; box-shadow:var(--shadow-sm);
}
.contact-info-card h3{ font-size:1.15rem; }
.contact-row{
  display:flex; gap:16px; align-items:flex-start; padding:16px 0; border-top:1px solid var(--border);
}
.contact-row:first-of-type{ border-top:none; }
.contact-row .ic{
  width:42px; height:42px; border-radius:10px; flex:none;
  background:rgba(30,58,138,.08); color:var(--cobalt);
  display:flex; align-items:center; justify-content:center;
}
.contact-row .ic svg{ width:20px; height:20px; }
.contact-row b{ display:block; font-size:.78rem; text-transform:uppercase; letter-spacing:.06em; color:var(--text-muted); margin-bottom:2px; }
.contact-row a, .contact-row span{ font-weight:600; color:var(--navy); font-size:.95rem; }

.form-card{
  background:var(--white); border:1px solid var(--border); border-radius:var(--radius);
  padding:36px; box-shadow:var(--shadow-sm);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.field{ margin-bottom:18px; }
.field label{ display:block; font-size:.85rem; font-weight:600; color:var(--navy); margin-bottom:6px; }
.field input, .field select, .field textarea{
  width:100%; padding:13px 14px; border:1.5px solid var(--border); border-radius:8px;
  font-family:var(--font); font-size:.95rem; color:var(--text); background:var(--bg);
  transition:border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--cobalt); box-shadow:0 0 0 3px rgba(30,58,138,.12); background:#fff;
}
.field textarea{ resize:vertical; min-height:120px; }
.field-check{ display:flex; align-items:flex-start; gap:10px; font-size:.85rem; color:var(--text-muted); margin:6px 0 22px; }
.field-check input{ margin-top:3px; width:auto; }
.field-check a{ color:var(--cobalt); font-weight:600; text-decoration:underline; }
.form-msg{ font-size:.9rem; margin-top:14px; padding:12px 14px; border-radius:8px; display:none; }
.form-msg.ok{ display:block; background:rgba(22,163,74,.1); color:var(--success); }
.form-msg.err{ display:block; background:rgba(220,38,38,.1); color:var(--danger); }

/* =================== CTA BAND =================== */
.cta-band{
  background:linear-gradient(120deg, var(--gold-light), var(--gold));
  color:var(--navy);
  padding:56px 0;
}
.cta-band .container{ display:flex; flex-wrap:wrap; gap:24px; align-items:center; justify-content:space-between; }
.cta-band h3{ color:var(--navy); font-size:1.5rem; margin-bottom:6px; }
.cta-band p{ margin:0; color:rgba(15,23,42,.75); }
.cta-band .btn-navy:hover{ background:#1e293b; }

/* =================== FOOTER =================== */
footer.site-footer{ background:var(--navy); color:#94A3B8; padding-top:72px; font-size:.92rem; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand p{ color:#94A3B8; max-width:320px; margin:18px 0 20px; }
.footer-social{ display:flex; gap:12px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.06);
  display:flex; align-items:center; justify-content:center; transition:background .2s;
}
.footer-social a:hover{ background:var(--gold); }
.footer-social svg{ width:17px; height:17px; color:#fff; }
footer h4{ color:#fff; font-size:.9rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:18px; }
.footer-links li{ margin-bottom:12px; }
.footer-links a{ color:#94A3B8; transition:color .2s; }
.footer-links a:hover{ color:var(--gold-light); }
.footer-legal-block p{ margin-bottom:10px; }
.footer-legal-block b{ color:#CBD5E1; }
.footer-bottom{
  display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between;
  padding:26px 0; font-size:.82rem; color:#64748B;
}
.footer-bottom .legal-links{ display:flex; gap:20px; flex-wrap:wrap; }
.footer-bottom a{ color:#94A3B8; }
.footer-bottom a:hover{ color:var(--gold-light); }
.footer-note{
  background:rgba(255,255,255,.04); border-top:1px solid rgba(255,255,255,.08);
  padding:16px 0; font-size:.78rem; color:#64748B; text-align:center;
}

/* =================== WHATSAPP FLOAT =================== */
.wa-float{
  position:fixed; bottom:24px; right:24px; z-index:200;
  width:60px; height:60px; border-radius:50%; background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 30px rgba(37,211,102,.5);
  transition:transform .2s;
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:30px; height:30px; color:#fff; }

/* =================== COOKIE BANNER =================== */
.cookie-banner{
  position:fixed; left:20px; right:20px; bottom:20px; z-index:300;
  max-width:560px; margin:0 auto;
  background:var(--navy); color:#E2E8F0; border-radius:var(--radius);
  padding:22px 24px; box-shadow:var(--shadow-lg);
  display:none; gap:16px; flex-wrap:wrap; align-items:center; justify-content:space-between;
  border:1px solid rgba(255,255,255,.1);
}
.cookie-banner.show{ display:flex; }
.cookie-banner p{ margin:0; font-size:.86rem; color:#CBD5E1; flex:1 1 260px; }
.cookie-banner p a{ color:var(--gold-light); text-decoration:underline; }
.cookie-banner .actions{ display:flex; gap:10px; }
.cookie-banner .btn{ padding:10px 18px; font-size:.85rem; }

/* =================== LEGAL PAGES =================== */
.legal-hero{
  background:linear-gradient(135deg, var(--navy), var(--cobalt)); color:#fff; padding:80px 0 56px;
}
.legal-hero h1{ color:#fff; font-size:clamp(1.7rem,3vw,2.4rem); }
.legal-hero p{ color:#CBD5E1; max-width:640px; }
.legal-updated{ font-size:.85rem; color:var(--gold-light); font-weight:600; }
.legal-body{ padding:64px 0 96px; }
.legal-layout{ display:grid; grid-template-columns:280px 1fr; gap:56px; align-items:start; }
.legal-toc{
  position:sticky; top:110px; background:var(--white); border:1px solid var(--border);
  border-radius:var(--radius); padding:24px;
}
.legal-toc h4{ font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--text-muted); margin-bottom:14px; }
.legal-toc li{ margin-bottom:10px; }
.legal-toc a{ font-size:.88rem; color:var(--text); font-weight:500; }
.legal-toc a:hover{ color:var(--cobalt); }
.legal-content{ background:var(--white); border:1px solid var(--border); border-radius:var(--radius); padding:44px; }
.legal-content h2{ font-size:1.35rem; margin-top:2.2em; scroll-margin-top:100px; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content h3{ font-size:1.05rem; margin-top:1.6em; }
.legal-content p, .legal-content li{ color:#334155; font-size:.96rem; }
.legal-content ul{ list-style:disc; padding-left:22px; margin-bottom:1em; }
.legal-content ul li{ margin-bottom:8px; }
.legal-content table{ width:100%; border-collapse:collapse; margin:20px 0; font-size:.9rem; }
.legal-content th, .legal-content td{ border:1px solid var(--border); padding:10px 12px; text-align:left; }
.legal-content th{ background:var(--bg-alt); }
.legal-callout{
  background:rgba(30,58,138,.06); border-left:4px solid var(--cobalt); border-radius:8px;
  padding:16px 20px; margin:24px 0; font-size:.92rem;
}

/* =================== 404 / misc =================== */
.page-hero-simple{ background:linear-gradient(135deg, var(--navy), var(--cobalt)); color:#fff; padding:70px 0; text-align:center; }
.page-hero-simple h1{ color:#fff; }

/* =================== RESPONSIVE =================== */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns:1fr; }
  .about-grid{ grid-template-columns:1fr; }
  .areas-wrap{ grid-template-columns:1fr; }
  .map-card{ position:static; }
  .services-grid{ grid-template-columns:repeat(2,1fr); }
  .pillars{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .legal-layout{ grid-template-columns:1fr; }
  .legal-toc{ position:static; }
}
@media (max-width: 720px){
  section{ padding:64px 0; }
  .nav-links{
    position:fixed; inset:64px 0 0 0; background:var(--bg);
    flex-direction:column; align-items:flex-start; padding:32px 24px; gap:22px;
    transform:translateX(100%); transition:transform .25s ease; overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-toggle{ display:flex; }
  .nav-cta{ display:none; }
  .services-grid{ grid-template-columns:1fr; }
  .values-grid{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr; gap:32px; }
  .form-row{ grid-template-columns:1fr; }
  .topbar-left{ gap:12px; }
  .hero{ padding:96px 0 72px; }
  .cta-band .container{ flex-direction:column; align-items:flex-start; }
}
