/* ============================================================
   DIGITAL CONSULTING — CSS PÁGINAS INTERNAS
   Compartilhado entre todas as páginas de frentes e segmentos
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #001F54;
  --navy-dark: #001240;
  --orange:  #FF6B1A;
  --orange-dark: #e55a0a;
  --white:   #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100:#F1F3F5;
  --gray-200:#E9ECEF;
  --gray-400:#ADB5BD;
  --gray-600:#6C757D;
  --gray-800:#343A40;
  --text:    #1A1A2E;
  --radius:  12px;
  --shadow:  0 4px 24px rgba(0,31,84,.10);
  --shadow-lg: 0 8px 40px rgba(0,31,84,.15);
  --transition: .25s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

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

a { color: inherit; text-decoration: none; }

/* ---- TIPOGRAFIA ---- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 800; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 700; }
p  { font-size: 1.05rem; color: var(--gray-800); }

.text-orange { color: var(--orange); }
.text-white  { color: var(--white); }

/* ---- BOTÕES ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 8px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  border: 2px solid transparent; transition: var(--transition);
  white-space: nowrap;
}
.btn--orange  { background: var(--orange); color: var(--white); }
.btn--orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,26,.35); }
.btn--navy   { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.btn--outline { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--navy); }
.btn--ghost  { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.22); }
.btn--lg { padding: 18px 36px; font-size: 1.1rem; }
.btn--sm { padding: 10px 20px; font-size: .9rem; }

/* ---- BADGES ---- */
.section-badge {
  display: inline-block; background: rgba(255,107,26,.12);
  color: var(--orange); font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 16px;
}
.section-badge--light { background: rgba(255,255,255,.15); color: var(--white); }
.section-badge--navy  { background: rgba(0,31,84,.08); color: var(--navy); }

/* ---- HEADER ---- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(0,18,64,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.3); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.header__logo img { height: 36px; width: auto; }

.header__nav { display: flex; align-items: center; gap: 8px; }
.header__nav > a, .header__nav > .nav-dropdown > .nav-dropdown__trigger {
  color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500;
  padding: 8px 14px; border-radius: 6px; transition: var(--transition);
  cursor: pointer; background: none; border: none; font-family: inherit;
  display: flex; align-items: center; gap: 5px;
}
.header__nav > a:hover,
.header__nav > .nav-dropdown > .nav-dropdown__trigger:hover { color: var(--white); background: rgba(255,255,255,.1); }
.header__nav > a.active { color: var(--orange); }

/* ---- DROPDOWN MENU ---- */
.nav-dropdown { position: relative; }
.nav-dropdown__trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-dropdown:hover .nav-dropdown__trigger svg { transform: rotate(180deg); }

.nav-dropdown__menu {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%); min-width: 220px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s, transform .2s;
  transform: translateX(-50%) translateY(-8px);
  z-index: 2000;
}
.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; color: var(--gray-800); font-size: .9rem;
  font-weight: 500; transition: var(--transition);
  border-bottom: 1px solid var(--gray-100);
}
.nav-dropdown__menu a:last-child { border-bottom: none; }
.nav-dropdown__menu a:hover { background: var(--gray-50); color: var(--navy); padding-left: 24px; }
.nav-dropdown__menu a .menu-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
}

.header__menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.header__menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: var(--transition);
}

.header__mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 24px 20px; border-top: 1px solid rgba(255,255,255,.08);
}
.header__mobile-nav.open { display: flex; }
.mobile-link { color: rgba(255,255,255,.85); font-size: 1rem; padding: 10px 0; font-weight: 500; }
.mobile-section-title { color: var(--orange); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 12px 0 4px; }

/* ---- HERO INTERNO ---- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, #0a3070 100%);
  padding: 140px 0 80px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,107,26,.12) 0%, transparent 60%);
}
.page-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; color: rgba(255,255,255,.6); margin-bottom: 20px;
}
.page-hero__breadcrumb a { color: rgba(255,255,255,.6); transition: color .2s; }
.page-hero__breadcrumb a:hover { color: var(--white); }
.page-hero__breadcrumb span { color: rgba(255,255,255,.3); }
.page-hero__content { position: relative; z-index: 1; max-width: 760px; }
.page-hero__badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,107,26,.15); border: 1px solid rgba(255,107,26,.3); color: var(--orange); font-size: .85rem; font-weight: 700; padding: 8px 16px; border-radius: 100px; margin-bottom: 24px; }
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,.8); margin-bottom: 36px; max-width: 620px; }
.page-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.page-hero__stats { display: flex; gap: 40px; margin-top: 52px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.page-hero__stat strong { display: block; font-size: 2rem; font-weight: 900; color: var(--orange); }
.page-hero__stat span { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ---- SEÇÃO GENÉRICA ---- */
.section { padding: 88px 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy); }
.section--dark { background: var(--navy-dark); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--gray-600); }
.section-header--left { text-align: left; margin: 0 0 48px; }

/* ---- CARDS GENÉRICOS ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border-radius: var(--radius);
  padding: 36px 32px; border: 1px solid var(--gray-200);
  transition: var(--transition); position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(255,107,26,.2); }
.card__icon { width: 52px; height: 52px; background: rgba(255,107,26,.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.card__icon svg { width: 26px; height: 26px; stroke: var(--orange); }
.card h3 { margin-bottom: 12px; }
.card p { font-size: .97rem; color: var(--gray-600); }
.card__tag { display: inline-block; background: var(--gray-100); color: var(--gray-600); font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 100px; margin-top: 16px; }

.card--featured { border-color: var(--orange); background: linear-gradient(135deg, #fff8f5 0%, var(--white) 100%); }
.card--featured::before { content: 'Destaque'; position: absolute; top: -1px; right: 24px; background: var(--orange); color: var(--white); font-size: .72rem; font-weight: 700; padding: 4px 12px; border-radius: 0 0 8px 8px; }

.card--navy { background: var(--navy); border-color: transparent; }
.card--navy h3, .card--navy p { color: var(--white); }
.card--navy p { color: rgba(255,255,255,.75); }
.card--navy .card__icon { background: rgba(255,255,255,.1); }
.card--navy .card__icon svg { stroke: var(--orange); }

/* ---- LISTA DE BENEFÍCIOS ---- */
.benefits-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.benefits-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: var(--gray-800); }
.benefits-list li::before { content: ''; width: 22px; height: 22px; min-width: 22px; background: rgba(255,107,26,.12); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF6B1A' stroke-width='2.5'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E"); background-size: 14px; background-position: center; background-repeat: no-repeat; margin-top: 2px; }

/* ---- SEÇÃO SPLIT (texto + visual) ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__text h2 { margin-bottom: 20px; }
.split__text p { margin-bottom: 24px; }
.split__visual { background: var(--gray-50); border-radius: 16px; padding: 40px; border: 1px solid var(--gray-200); }

/* ---- PROCESSO / STEPS ---- */
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 24px; position: relative; padding-bottom: 40px; }
.step:last-child { padding-bottom: 0; }
.step:last-child .step__line { display: none; }
.step__number { width: 48px; height: 48px; min-width: 48px; background: var(--orange); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; position: relative; z-index: 1; }
.step__line { position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--gray-200); }
.step__content { padding-top: 8px; }
.step__content h3 { margin-bottom: 8px; }
.step__content p { color: var(--gray-600); }

/* ---- DESTAQUE IA / WHATSAPP ---- */
.ai-highlight {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0a2d6e 100%);
  border-radius: 20px; padding: 56px 48px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.ai-highlight::before {
  content: ''; position: absolute; right: -60px; top: -60px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,26,.15) 0%, transparent 70%);
}
.ai-highlight h2 { color: var(--white); margin-bottom: 16px; }
.ai-highlight p { color: rgba(255,255,255,.75); margin-bottom: 28px; }
.ai-highlight__features { display: flex; flex-direction: column; gap: 16px; }
.ai-feature { display: flex; align-items: flex-start; gap: 14px; }
.ai-feature__icon { width: 40px; height: 40px; min-width: 40px; background: rgba(255,107,26,.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.ai-feature__icon svg { width: 20px; height: 20px; stroke: var(--orange); }
.ai-feature h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.ai-feature p { color: rgba(255,255,255,.65); font-size: .9rem; }

/* ---- FAQ ---- */
.faq-grid { display: flex; flex-direction: column; gap: 12px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gray-200); border-radius: var(--radius); overflow: hidden; }
.faq-question {
  padding: 20px 24px; font-weight: 700; font-size: 1rem; color: var(--navy);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--gray-50); }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--orange); font-weight: 300; transition: transform .2s; }
details[open] .faq-question::after { content: '−'; }
.faq-answer { padding: 0 24px 20px; color: var(--gray-600); font-size: .97rem; }

/* ---- FORMULÁRIO DE CONTATO ---- */
.contact-section { background: var(--gray-50); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { margin-bottom: 32px; color: var(--gray-600); }
.contact-info__items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-item__icon { width: 44px; height: 44px; min-width: 44px; background: var(--navy); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.contact-item__icon svg { width: 20px; height: 20px; stroke: var(--white); }
.contact-item h4 { font-size: .85rem; color: var(--gray-400); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.contact-item a, .contact-item p { color: var(--navy); font-weight: 600; font-size: 1rem; }

.contact-form { background: var(--white); border-radius: 16px; padding: 40px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 8px; }
.form-group label span { color: var(--orange); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-200);
  border-radius: 8px; font-size: 1rem; font-family: inherit;
  color: var(--text); background: var(--white); transition: border-color .2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,26,.1); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-privacy { font-size: .82rem; color: var(--gray-400); text-align: center; margin-top: 12px; }
.form-success { display: none; text-align: center; padding: 32px; }
.form-success h3 { color: var(--navy); margin-bottom: 8px; }
.form-success p { color: var(--gray-600); }

/* ---- CTA FINAL ---- */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, #e55a0a 100%);
  padding: 80px 0; text-align: center;
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-section .btn--navy { background: var(--navy); }
.cta-section .btn--white { background: var(--white); color: var(--orange); }
.cta-section .btn--white:hover { background: var(--gray-100); }

/* ---- FOOTER ---- */
.footer { background: var(--navy-dark); padding: 64px 0 0; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand p { color: rgba(255,255,255,.55); font-size: .9rem; margin-top: 16px; max-width: 280px; }
.footer__logo { height: 32px; width: auto; margin-bottom: 0; }
.footer__links h4, .footer__contact h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 20px; }
.footer__links a, .footer__contact a { display: block; color: rgba(255,255,255,.55); font-size: .9rem; margin-bottom: 10px; transition: color .2s; }
.footer__links a:hover, .footer__contact a:hover { color: var(--orange); }
.footer__bottom { padding: 20px 0; text-align: center; }
.footer__bottom p { color: rgba(255,255,255,.35); font-size: .82rem; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.55); }
.whatsapp-float__tooltip {
  position: absolute; right: 70px; background: var(--navy);
  color: var(--white); font-size: .82rem; font-weight: 600;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.whatsapp-float:hover .whatsapp-float__tooltip { opacity: 1; }

/* ---- RESPONSIVO ---- */
@media (max-width: 1024px) {
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 48px; }
  .ai-highlight { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .header__nav { display: none; }
  .header__menu-toggle { display: flex; }
  .section { padding: 64px 0; }
  .cards-grid--3, .cards-grid--2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero__stats { gap: 24px; }
  .ai-highlight { padding: 36px 28px; }
}

@media (max-width: 480px) {
  .page-hero__ctas { flex-direction: column; }
  .btn--lg { width: 100%; justify-content: center; }
}
