:root{
  --navy-900:#040b1d;
  --navy-800:#03152d;
  --navy-700:#0a1f3d;
  --blue-600:#0d67f0;
  --blue-500:#2f7dfb;
  --blue-300:#7fb0ff;
  --label-blue:#1a56db;
  --text-dark:#0f172a;
  --text-body:#3f4a5c;
  --muted:#526079;
  --bg-light:#f6f8fb;
  --card-bg:#ffffff;
  --border:#e6e9ef;
  --white:#ffffff;
  --radius:14px;
  --max:1180px;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  color:var(--text-body);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px;}
h1,h2,h3,h4{color:var(--text-dark);font-weight:700;letter-spacing:-0.01em;}
section{padding:88px 0;}
@media (max-width:768px){ section{padding:56px 0;} }

.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  font-size:12.5px;font-weight:700;letter-spacing:0.14em;
  text-transform:uppercase;color:var(--label-blue);
  margin-bottom:14px;
}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--blue-500);display:inline-block;}

.btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:14px 26px;border-radius:8px;font-weight:600;font-size:15px;
  border:1.5px solid transparent;cursor:pointer;transition:all .18s ease;
  white-space:nowrap;
}
.btn-primary{background:var(--blue-600);color:#fff;}
.btn-primary:hover{background:#0b57cf;transform:translateY(-1px);}
.btn-outline-dark{border-color:rgba(255,255,255,0.35);color:#fff;}
.btn-outline-dark:hover{border-color:#fff;background:rgba(255,255,255,0.06);}
.btn-outline-light{border-color:var(--border);color:var(--text-dark);}
.btn-outline-light:hover{border-color:var(--blue-600);color:var(--blue-600);}

/* ---------- HEADER ---------- */
header{
  position:sticky;top:0;z-index:100;
  background:rgba(4,11,29,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,0.06);
}
.nav{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;gap:24px;}
.nav-logo img{height:38px;width:auto;}
.nav-links{display:flex;align-items:center;gap:30px;flex:1;justify-content:center;}
.nav-links a{font-size:14px;font-weight:600;color:#cbd5e1;letter-spacing:0.03em;transition:color .15s;}
.nav-links a:hover{color:#fff;}
.nav-cta{display:flex;align-items:center;}
.burger{display:none;background:none;border:none;color:#fff;font-size:26px;cursor:pointer;}
@media (max-width:960px){
  .nav-links{
    position:absolute;top:100%;left:0;right:0;
    background:var(--navy-900);
    flex-direction:column;align-items:flex-start;
    padding:18px 24px;gap:16px;
    border-bottom:1px solid rgba(255,255,255,0.08);
    display:none;
  }
  .nav-links.open{display:flex;}
  .nav-cta{display:none;}
  .burger{display:block;}
}

/* ---------- HERO ---------- */
.hero{
  background:radial-gradient(ellipse 900px 500px at 15% 0%, #0a1f3d 0%, var(--navy-900) 55%);
  color:#fff;padding:96px 0 100px;
}
.hero-inner{display:flex;align-items:center;gap:60px;}
.hero-text{flex:1.05;}
.hero-text h1{
  font-size:clamp(32px,4.6vw,50px);line-height:1.12;color:#fff;margin-bottom:20px;
}
.hero-text h1 span{color:var(--blue-500);}
.hero-text p{font-size:17px;color:#aab6c7;max-width:520px;margin-bottom:34px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}
.hero-visual{flex:0.9;display:flex;justify-content:center;}
.hero-visual img{width:100%;max-width:380px;height:auto;}
@media (max-width:900px){
  .hero-inner{flex-direction:column;text-align:center;}
  .hero-text p{margin-left:auto;margin-right:auto;}
  .hero-actions{justify-content:center;}
}

/* ---------- SERVICES ---------- */
.section-head{text-align:center;max-width:640px;margin:0 auto 52px;}
.section-head h2{font-size:clamp(26px,3.4vw,36px);}
.section-head p{color:var(--muted);margin-top:14px;font-size:16px;}

.services-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:22px;
}
@media (max-width:900px){.services-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:600px){.services-grid{grid-template-columns:1fr;}}
.service-card{
  background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);
  padding:30px 26px;transition:transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.service-card:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(13,103,240,0.12);border-color:#cfe0fd;}
.icon-badge{
  width:52px;height:52px;border-radius:12px;
  background:linear-gradient(135deg,#eaf1ff,#dbe8ff);
  display:flex;align-items:center;justify-content:center;margin-bottom:18px;
}
.icon-badge svg{width:26px;height:26px;stroke:var(--blue-600);}
.service-card h3{font-size:17.5px;margin-bottom:8px;}
.service-card p{font-size:14.5px;color:var(--muted);}
.section-cta{text-align:center;margin-top:44px;}

.bg-light{background:var(--bg-light);}

/* ---------- MÉTODO DR² ---------- */
.dr-pillars{
  display:grid;grid-template-columns:repeat(3,1fr);gap:26px;
  max-width:980px;margin:0 auto;
}
@media (max-width:768px){.dr-pillars{grid-template-columns:1fr;}}
.dr-pillar{
  background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);
  padding:32px 26px;text-align:center;
}
.dr-letter{
  width:56px;height:56px;border-radius:50%;margin:0 auto 18px;
  background:linear-gradient(135deg,var(--blue-500),var(--blue-600));
  color:#fff;font-size:24px;font-weight:800;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 22px rgba(13,103,240,0.28);
}
.dr-pillar h3{font-size:17px;margin-bottom:8px;}
.dr-pillar p{font-size:14.5px;color:var(--muted);}

/* ---------- ABOUT ---------- */
.about{background:var(--navy-900);color:#fff;}
.about-inner{display:flex;align-items:center;gap:64px;}
.about-text{flex:1;}
.about-text .eyebrow{color:var(--blue-300);}
.about-text h2{color:#fff;font-size:clamp(24px,3.2vw,32px);margin-bottom:18px;line-height:1.25;}
.about-text > p{color:#aab6c7;font-size:15.5px;margin-bottom:22px;}
.check-list li{display:flex;gap:12px;align-items:flex-start;margin-bottom:13px;font-size:15px;color:#e2e8f0;}
.check-list svg{flex-shrink:0;width:19px;height:19px;stroke:var(--blue-500);margin-top:2px;}
.about-visual{flex:1;position:relative;}
.about-panel{
  border-radius:18px;overflow:hidden;position:relative;
  background:linear-gradient(155deg,#0a1f3d 0%, #041228 70%);
  border:1px solid rgba(255,255,255,0.08);
  min-height:340px;display:flex;align-items:center;justify-content:center;
}
.about-panel img{width:62%;opacity:0.9;}
.stat-chip{
  position:absolute;bottom:-22px;right:-14px;
  background:var(--blue-600);color:#fff;border-radius:14px;
  padding:18px 22px;display:flex;align-items:center;gap:14px;
  box-shadow:0 18px 34px rgba(13,103,240,0.35);max-width:250px;
}
.stat-chip .num{font-size:24px;font-weight:800;line-height:1;white-space:nowrap;}
.stat-chip .label{font-size:12.5px;color:#ffffff;margin-top:2px;}
@media (max-width:900px){
  .about-inner{flex-direction:column;}
  .about-visual{width:100%;margin-top:32px;}
  .stat-chip{right:8px;}
}

/* ---------- FRAMEWORKS ---------- */
.frameworks-inner{display:flex;justify-content:space-between;gap:50px;align-items:flex-start;flex-wrap:wrap;}
.frameworks-inner .fw-left{max-width:440px;}
.frameworks-inner .fw-right{max-width:420px;color:var(--muted);font-size:15px;padding-top:6px;}
.fw-badges{display:flex;flex-wrap:wrap;gap:14px;margin-top:44px;}
.fw-badge{
  border:1px solid var(--border);border-radius:10px;padding:14px 20px;
  font-weight:700;font-size:14px;color:var(--text-dark);letter-spacing:0.02em;
  background:#fff;display:flex;flex-direction:column;gap:2px;min-width:130px;
}
.fw-badge small{font-weight:500;color:var(--muted);font-size:11px;text-transform:none;letter-spacing:0;}

/* ---------- WHY ---------- */
.why{background:var(--navy-800);color:#fff;}
.why .eyebrow{color:var(--blue-300);}
.why .section-head h2{color:#fff;}
.why .section-head p{color:#9fb0c6;}
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.08);border-radius:var(--radius);overflow:hidden;}
@media (max-width:900px){.why-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){.why-grid{grid-template-columns:1fr;}}
.why-card{background:var(--navy-800);padding:34px 26px;}
.why-card .icon-badge{background:rgba(13,103,240,0.15);}
.why-card .icon-badge svg{stroke:var(--blue-300);}
.why-card h3{color:#fff;font-size:16px;margin-bottom:8px;}
.why-card p{color:#9fb0c6;font-size:14px;}

/* ---------- FINAL CTA ---------- */
.final-cta{
  background:linear-gradient(120deg,#0a1f3d,#040b1d 70%);
  color:#fff;
}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap;}
.cta-inner h2{color:#fff;font-size:clamp(22px,3vw,30px);margin-bottom:8px;}
.cta-inner p{color:#aab6c7;font-size:15px;}
.cta-icon{
  width:64px;height:64px;border-radius:16px;background:rgba(13,103,240,0.15);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.cta-icon svg{width:32px;height:32px;stroke:var(--blue-300);}
.cta-left{display:flex;align-items:center;gap:22px;flex:1;min-width:260px;}

/* ---------- CONTACT ---------- */
.contact-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:50px;}
@media (max-width:860px){.contact-grid{grid-template-columns:1fr;}}
.contact-card{
  background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);
  padding:34px;
}
.contact-row{display:flex;gap:16px;align-items:flex-start;margin-bottom:22px;}
.contact-row:last-child{margin-bottom:0;}
.contact-row .icon-badge{width:44px;height:44px;margin-bottom:0;flex-shrink:0;}
.contact-row .icon-badge svg{width:20px;height:20px;}
.contact-row h3{font-size:14.5px;color:var(--text-dark);margin-bottom:3px;}
.contact-row p{font-size:14.5px;color:var(--muted);}
.placeholder-tag{
  display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:0.04em;
  color:#b45309;background:#fef3c7;border-radius:5px;padding:1px 6px;margin-left:6px;
  vertical-align:middle;
}
.form-card{background:var(--bg-light);border-radius:var(--radius);padding:34px;border:1px solid var(--border);}
.form-card h3{margin-bottom:6px;font-size:19px;}
.form-card > p{color:var(--muted);font-size:14px;margin-bottom:22px;}
.form-row{margin-bottom:16px;}
.form-row label{display:block;font-size:13px;font-weight:600;color:var(--text-dark);margin-bottom:6px;}
.form-row input, .form-row textarea, .form-row select{
  width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:8px;
  font-family:inherit;font-size:14px;background:#fff;color:var(--text-dark);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus{outline:2px solid var(--blue-500);outline-offset:1px;}
.form-row textarea{resize:vertical;min-height:100px;}
.form-row select{appearance:none;-webkit-appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:16px;padding-right:38px;
}
.form-checkbox-row{display:flex;gap:10px;align-items:flex-start;}
.form-checkbox-row input[type="checkbox"]{width:auto;flex-shrink:0;margin-top:3px;accent-color:var(--blue-600);cursor:pointer;}
.form-checkbox-row label{font-size:12.5px;font-weight:400;color:var(--muted);line-height:1.5;margin-bottom:0;}
.form-checkbox-row label a{color:var(--blue-600);text-decoration:underline;}
.form-note{font-size:12px;color:var(--muted);margin-top:12px;}
.btn:disabled{opacity:0.65;cursor:not-allowed;}
.form-message{
  margin-top:16px;padding:12px 14px;border-radius:8px;font-size:13.5px;font-weight:500;
}
.form-message-success{background:#e7f7ee;color:#166534;border:1px solid #bbf0d1;}
.form-message-error{background:#fdeceb;color:#b42318;border:1px solid #f8c9c4;}

/* ---------- FOOTER ---------- */
footer{background:var(--navy-900);color:#9fb0c6;padding:64px 0 26px;}
.footer-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:40px;margin-bottom:48px;}
@media (max-width:820px){.footer-grid{grid-template-columns:repeat(2,1fr);}}
@media (max-width:520px){.footer-grid{grid-template-columns:1fr;}}
.footer-brand img{height:34px;margin-bottom:16px;}
.footer-brand p{font-size:13.5px;line-height:1.7;max-width:280px;color:#8296ac;}
.footer-social{display:flex;gap:10px;margin-top:20px;}
.footer-social a{
  width:36px;height:36px;border-radius:8px;border:1px solid rgba(255,255,255,0.12);
  display:flex;align-items:center;justify-content:center;transition:background .15s;
}
.footer-social a:hover{background:rgba(255,255,255,0.08);}
.footer-social svg{width:16px;height:16px;stroke:#cbd5e1;}
footer h3{color:#fff;font-size:14px;margin-bottom:18px;letter-spacing:0.03em;}
footer ul li{margin-bottom:11px;}
footer ul a{font-size:13.5px;color:#9fb0c6;transition:color .15s;}
footer ul a:hover{color:#fff;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);padding-top:22px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12.5px;color:#748296;
}
.footer-bottom a{color:#748296;}
.footer-bottom a:hover{color:#fff;}

/* ---------- BOTÃO VOLTAR AO TOPO ---------- */
.back-to-top{
  position:fixed;right:24px;bottom:24px;z-index:999;
  width:46px;height:46px;border-radius:50%;border:none;
  background:var(--blue-600);color:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 4px 14px rgba(0,0,0,0.2);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .25s ease,transform .25s ease,visibility .25s ease,background .15s ease;
}
.back-to-top.show{opacity:1;visibility:visible;transform:translateY(0);}
.back-to-top:hover{background:#0b57cf;}
.back-to-top svg{width:20px;height:20px;}
@media (max-width:520px){
  .back-to-top{width:42px;height:42px;right:16px;bottom:16px;}
  .back-to-top svg{width:18px;height:18px;}
}

.footer-link-btn{
  background:none;border:none;padding:0;margin:0;font:inherit;color:#748296;cursor:pointer;text-decoration:none;
}
.footer-link-btn:hover{color:#fff;}

/* ---------- CONSENTIMENTO DE COOKIES ---------- */
.cookie-consent{
  position:fixed;left:0;right:0;bottom:0;z-index:1200;
  padding:16px;
}
.cookie-consent:not([hidden]){display:flex;justify-content:center;}
.cookie-consent-box{
  width:100%;max-width:900px;
  background:var(--navy-900);color:#cbd5e1;
  border-radius:var(--radius);
  box-shadow:0 12px 40px rgba(0,0,0,0.35);
  padding:22px 26px;
  display:flex;align-items:center;gap:24px;flex-wrap:wrap;
}
.cookie-consent-text{font-size:13.5px;line-height:1.6;flex:1;min-width:240px;}
.cookie-consent-text a{color:var(--blue-300);text-decoration:underline;}
.cookie-consent-actions{display:flex;gap:10px;flex-wrap:wrap;}

.btn-cookie{
  border-radius:8px;padding:10px 16px;font-size:13px;font-weight:600;cursor:pointer;white-space:nowrap;
  border:1px solid transparent;transition:background .15s,border-color .15s,color .15s;
}
.btn-cookie-primary{background:var(--blue-600);color:#fff;}
.btn-cookie-primary:hover{background:#0b57cf;}
.btn-cookie-outline{background:transparent;color:#fff;border-color:rgba(255,255,255,0.3);}
.btn-cookie-outline:hover{border-color:#fff;}
.btn-cookie-ghost{background:transparent;color:#9fb0c6;}
.btn-cookie-ghost:hover{color:#fff;}

@media (max-width:640px){
  .cookie-consent-box{flex-direction:column;align-items:stretch;padding:20px;}
  .cookie-consent-actions{justify-content:stretch;}
  .btn-cookie{flex:1;}
}

.cookie-prefs{
  position:fixed;inset:0;z-index:1300;
  background:rgba(4,11,29,0.6);
  padding:16px;
}
.cookie-prefs:not([hidden]){display:flex;align-items:center;justify-content:center;}
.cookie-prefs-box{
  width:100%;max-width:480px;max-height:85vh;overflow-y:auto;
  background:#fff;border-radius:var(--radius);
  box-shadow:0 20px 60px rgba(0,0,0,0.3);
}
.cookie-prefs-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:20px 24px;border-bottom:1px solid var(--border);
}
.cookie-prefs-header h3{font-size:17px;}
.cookie-prefs-close{
  background:none;border:none;font-size:22px;line-height:1;color:var(--muted);cursor:pointer;padding:4px;
}
.cookie-prefs-close:hover{color:var(--text-dark);}
.cookie-prefs-body{padding:8px 24px;}
.cookie-prefs-item{padding:16px 0;border-bottom:1px solid var(--border);}
.cookie-prefs-item:last-child{border-bottom:none;}
.cookie-prefs-item-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px;}
.cookie-prefs-item-head label{font-size:14.5px;font-weight:700;color:var(--text-dark);}
.cookie-prefs-item p{font-size:12.5px;color:var(--muted);line-height:1.55;}
.cookie-toggle-locked{font-size:11.5px;font-weight:700;color:var(--blue-600);background:#e8f0fe;padding:3px 10px;border-radius:20px;}
.cookie-toggle{width:38px;height:22px;appearance:none;-webkit-appearance:none;background:#d7dde6;border-radius:20px;position:relative;cursor:pointer;transition:background .15s;flex-shrink:0;}
.cookie-toggle::before{content:"";position:absolute;top:2px;left:2px;width:18px;height:18px;border-radius:50%;background:#fff;transition:transform .15s;box-shadow:0 1px 3px rgba(0,0,0,0.3);}
.cookie-toggle:checked{background:var(--blue-600);}
.cookie-toggle:checked::before{transform:translateX(16px);}
.cookie-prefs-footer{padding:18px 24px 24px;}
.cookie-prefs-footer .btn-cookie{width:100%;text-align:center;}
