/* ═══════════════════════════════════════════════════════════════
   GTA — Gabinete Técnico Automóvel
   Design System v3 
   Primary: #00AAE4 (Spanish Sky) · Accent: #10B981 (Emerald)
   Font: Montserrat · Bootstrap 5.3 Override Layer
   ═══════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-VF.woff2') format('woff2-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: block;
}

body {
  font-family: 'Montserrat', sans-serif;
}

/* ── CUSTOM PROPERTIES ── */
:root {
  /* Brand Blues (ordered dark → light) */
  --deep:       #033452;
  --baltic:     #1E6285;
  --sky:        #00AAE4;   /* ← primary brand color */
  --sky-hover:  #0095C8;
  --aqua:       #3AC4EC;
  --frozen:     #6BCDF4;
  --ice:        #B8E6F8;

  /* Emerald Accent (replaces orange — NOT autodoc) */
  --accent:       #10B981;
  --accent-hover: #059669;
  --accent-soft:  #D1FAE5;

  /* Neutrals */
  --white:      #FFFFFF;
  --snow:       #F7FAFC;
  --pearl:      #EDF2F7;
  --mist:       #E2E8F0;
  --slate:      #94A3B8;
  --graphite:   #64748B;
  --ink:        #334155;
  --charcoal:   #1E293B;

  /* Semantic */
  --success:    #10B981;
  --danger:     #EF4444;
  --warning:    #F59E0B;

  /* Shadows (blue-tinted) */
  --sh-xs:   0 1px 3px rgba(3,52,82,.04);
  --sh-sm:   0 2px 8px rgba(3,52,82,.06);
  --sh-md:   0 4px 20px rgba(3,52,82,.08);
  --sh-lg:   0 8px 40px rgba(3,52,82,.1);
  --sh-xl:   0 16px 56px rgba(3,52,82,.14);
  --sh-sky:  0 6px 24px rgba(0,170,228,.25);
  --sh-deep: 0 6px 24px rgba(3,52,82,.2);

  /* Radii */
  --r-sm:    8px;
  --r-md:    12px;
  --r-lg:    20px;
  --r-xl:    28px;
  --r-pill:  50px;

  /* Motion */
  --ease:    cubic-bezier(.4,0,.2,1);
  --bounce:  cubic-bezier(.34,1.56,.64,1);
  --t-fast:  .18s;
  --t-base:  .3s;
  --t-slow:  .5s;
}

.drop-shadow {
    filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, .7));
}
.zindex-1 {
  z-index: 1;
}
.zindex-2 {
  z-index: 2;
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*,*::before,*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--baltic);
}
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--ink);
  line-height: 1.72;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: .92rem;
  font-weight: 400;
}
::selection { background: var(--sky); color: var(--white); }
img { max-width: 100%; height: auto; display: block; }

/* ── FIX: Main content below fixed navbar ── 
main { padding-top: 72px; }
*/

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--deep);
  line-height: 1.18;
  font-weight: 700;
}
h1 { letter-spacing: -.03em; }
h2 { letter-spacing: -.02em; }

.text-sky       { color: var(--sky) !important; }
.text-sky-hover       { color: var(--sky-hover) !important; }
.text-aqua      { color: var(--aqua) !important; }
.text-accent    { color: var(--accent) !important; }
.text-deep      { color: var(--deep) !important; }
.text-baltic    { color: var(--baltic) !important; }
.text-slate     { color: var(--slate) !important; }
.text-graphite  { color: var(--graphite) !important; }
.text-whatsapp  { color: #25D366 !important; }
.text-white-60  { color: rgba(255,255,255,.6) !important; }
.text-white-45  { color: rgba(255,255,255,.45) !important; }
.text-white-80  { color: rgba(255,255,255,.8) !important; }
.text-footnote  { font-size: .76rem; color: var(--slate); font-style: italic; }
.text-small     { font-size: .8rem; }
.fw-800         { font-weight: 800 !important; }
.fw-900         { font-weight: 800 !important; }
.ls-tight       { letter-spacing: -.02em; }
.ls-wide        { letter-spacing: .12em; }

.lead-gta {
  font-size: 1.08rem;
  color: var(--graphite);
  line-height: 1.78;
  font-weight: 400;
}

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar-gta {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 1rem 0;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1),
              opacity    0.4s ease,
              background 0.5s ease,
              padding    0.4s ease,
              box-shadow 0.5s ease;
  z-index: 1060;
}
.navbar-gta.nav-up {
  transform: translateY(-110%) !important;
  opacity: 0;
  pointer-events: none;
}
.navbar-gta.scrolled {
  padding: .4rem 0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 2px 28px rgba(3,52,82,.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.navbar-gta .navbar-brand img,
.navbar-gta .navbar-brand svg  {
  height: 42px;
  width: auto;
  transition: all var(--t-fast) var(--ease);
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, .2));
}
.navbar-gta.scrolled .navbar-brand img,
.navbar-gta.scrolled .navbar-brand svg { 
  height: 30px; 
  filter: unset;
  transition: all var(--t-fast) var(--ease);
}

.footer-brand path.cls-1.main,
.footer-brand path.cls-1.sub,
.navbar-gta .navbar-brand svg path.cls-1.main,
.navbar-gta .navbar-brand svg path.cls-1.sub {
  fill: var(--pearl);
  transition: all var(--t-fast) var(--ease);
}

.navbar-gta.scrolled .navbar-brand svg path.cls-1.main,
.navbar-gta.scrolled .navbar-brand svg .cls-1.sub {
  fill: var(--baltic);
}

.navbar-gta .nav-link {
  color: var(--deep);
  font-size: .76rem;
  font-weight: 600;
  padding: .5rem .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: all var(--t-fast) var(--ease);
  position: relative;
}

.navbar-gta.scrolled .nav-link:hover,
.navbar-gta.scrolled .nav-link:focus, 
.navbar-gta.scrolled .nav-link.active{ color: var(--sky); }
.navbar-gta.scrolled .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: .7rem; right: .7rem;
  height: 2px;
  background: var(--sky);
  border-radius: 2px;
}

.navbar-gta .nav-link:hover,
.navbar-gta .nav-link:focus,
.navbar-gta .nav-link.active { color: var(--pearl); }
.navbar-gta .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: .7rem; right: .7rem;
  height: 2px;
  background: var(--pearl);
  border-radius: 2px;
}

    .navbar-toggler.navbar-toggler-gta {
      border: none;
      padding: 0;
      width: 90px;
      height: 90px;
      background: transparent;
      box-shadow: none !important;
      outline: none !important;
    }
    .navbar-toggler.navbar-toggler-gta:focus {
      box-shadow: none !important;
    }

    .navbar-toggler.navbar-toggler-gta:focus path {
filter: drop-shadow(1px 1px 8px rgba(0,170,228,.8));
    }    

    .navbar-toggler-gta svg {
      display: block;
      width: 100%;
      height: 100%;
    }

    /* --- Line paths: hamburger state --- */
    .navbar-toggler-gta path {
      fill: none;
      stroke: var(--baltic);
      stroke-width: 3;
      stroke-linecap: round;
      stroke-linejoin: round;
      transition: all .65s cubic-bezier(.645, .045, .355, 1);
    }

    .navbar-toggler-gta .line--1,
    .navbar-toggler-gta .line--3 {
      --total-length: 111.22813415527344;
      stroke-dasharray: 24 var(--total-length);
      stroke-dashoffset: -50.22813415527344;
    }

    .navbar-toggler-gta .line--2 {
      --total-length: 99;
      stroke-dasharray: 24 var(--total-length);
      stroke-dashoffset: -38;
    }

    /* --- Cross state --- */
    .navbar-toggler-gta[aria-expanded="true"] path {
      transform: translateX(30px);
    }

    .navbar-toggler-gta[aria-expanded="true"] .line--1,
    .navbar-toggler-gta[aria-expanded="true"] .line--3 {
      stroke-dasharray: 22.627416998 var(--total-length);
      stroke-dashoffset: -16.9705627485;
    }

    .navbar-toggler-gta[aria-expanded="true"] .line--2 {
      stroke-dasharray: 0 var(--total-length);
      stroke-dashoffset: -20;
    }


/* Nav CTA  */
.btn-nav-cta {
  background: var(--sky);
  color: var(--white);
  border: 0;
  border-radius: var(--r-pill);
  padding: .45rem 1.3rem;
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.btn-nav-cta:hover {
  background: var(--baltic);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--sh-deep);
}


/* ═══════════════════════════════════════════
   HERO — HOMEPAGE (Parallax)
   ═══════════════════════════════════════════ */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    url('../assets/images/hero-homepage.webp') center/cover no-repeat;
}

.hero-home::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 98, 133, .1) 0%, rgba(3, 52, 82, .6) 70%);
}

.hero-home { margin-top: -72px; padding-top: 72px; }

.hero-parallax-bg { display: none; }
.hero-parallax-img { display: none; }
.hero-content { position: relative; z-index: 3; }

.hero-home h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.hero-home h1 .text-sky {
  background: linear-gradient(135deg, var(--sky) 0%, var(--aqua) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,.65);
  line-height: 1.75;
  max-width: 540px;
  font-weight: 400;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(0,170,228,.12);
  border: 1px solid rgba(0,170,228,.25);
  color: var(--aqua);
  padding: .3rem .9rem;
  border-radius: var(--r-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-badge .pulse-dot {
  width: 7px; height: 7px;
  background: var(--warning);
  border-radius: 50%;
  animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0,170,228,.4); }
  50%     { opacity: .5; box-shadow: 0 0 0 6px rgba(0,170,228,0); }
}

/* Hero Animated Icon */
.hero-visual svg {
    width: 150%;
    height: 150%;
    position: absolute;
    opacity: 0.5;
    top: -50%;
    right: -70%;
}

    /* Each ring spins continuously */
    .ring {
      transform-origin: 1000px 1000px;
      will-change: transform;
      animation: spin infinite linear;
    }

    #ring-outer   { animation-duration: 36s; }
    #ring-second  { animation-duration: 28s; animation-direction: reverse; }
    #ring-third   { animation-duration: 22s; }
    #ring-inner   { animation-duration: 18s; animation-direction: reverse; }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }


    /* Original colors */
    .svg-elem-1, .svg-elem-2, .svg-elem-3, .svg-elem-4,
    .svg-elem-5, .svg-elem-6, .svg-elem-7, .svg-elem-8   { fill: #00AAE4; }

    .svg-elem-9, .svg-elem-10, .svg-elem-11, .svg-elem-12,
    .svg-elem-13, .svg-elem-14, .svg-elem-15, .svg-elem-16 { fill: #3AC4EC; }

    .svg-elem-17, .svg-elem-18, .svg-elem-19, .svg-elem-20,
    .svg-elem-21, .svg-elem-22, .svg-elem-23, .svg-elem-24 { fill: #6BCDF4; }

    .svg-elem-25, .svg-elem-26, .svg-elem-27, .svg-elem-28,
    .svg-elem-29, .svg-elem-30, .svg-elem-31, .svg-elem-32 { fill: #033452; }

    .svg-elem-33, .svg-elem-34, .svg-elem-35, .svg-elem-36,
    .svg-elem-37, .svg-elem-38, .svg-elem-39, .svg-elem-40 { fill: #1E6285; }


.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual img {
  width: 100%;
  max-width: 360px;
  filter: drop-shadow(0 0 60px rgba(0,170,228,.15));
  animation: float-gentle 6s ease-in-out infinite;
}
@keyframes float-gentle {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
.hero-glow {
  position: absolute;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(0,170,228,.4) 0%, transparent 100%);
  border-radius: 50%;
  filter: blur(200px);
  pointer-events: none;
  top: -35%; right: -35%;
  animation: glow-pulse 4s ease-in-out infinite;
}

.hero-home h3 {
    font-weight: 700;
}

/* Hero stats bar */
.hero-stats-bar {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat h3 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .1rem;
}
.hero-stat p {
  font-size: .7rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin: 0;
}
/* ═══════════════════════════════════════════
   PAGE HERO (inner pages)
   ═══════════════════════════════════════════ */
.page-hero {
    background: var(--sky);
    background-image: url(../assets/svg/icon-animado.svg), linear-gradient(15deg, var(--deep) 0%, var(--baltic) 50%, var(--sky) 100%);;
    background-position: 165% 0%, center center;
    background-repeat: no-repeat, no-repeat;
    background-origin: border-box, border-box;
    background-size: 60%, auto;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--white);
  font-weight: 800;
  max-width: 700px;
}
.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  max-width: 580px;
  line-height: 1.7;
  margin-top: .5rem;
}
.page-hero .breadcrumb { margin-bottom: 1rem; }
.page-hero .breadcrumb-item a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 500;
  transition: color var(--t-fast);
  vertical-align: text-bottom;
}
.page-hero .breadcrumb-item a:hover { color: var(--aqua); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.3); font-size: .78rem; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.2); }


/* ═══════════════════════════════════════════
   BUTTONS — Sky Blue Primary
   ═══════════════════════════════════════════ */
.btn-gta {
  background: linear-gradient(135deg, var(--sky) 0%, var(--sky-hover) 100%);
  color: var(--white)!important;
  border: 0;
  border-radius: var(--r-pill);
  padding: .75rem 1.9rem;
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  cursor: pointer;
  box-shadow: unset;
  transition: all var(--t-base) var(--ease);  
}
.btn-gta:hover, .btn-gta:focus {
  background: linear-gradient(205deg, var(--sky-hover) 0%, var(--baltic) 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-sky);
}
.btn-gta-dark {
  background: var(--deep);
  color: var(--white);
  border: 0;
  border-radius: var(--r-pill);
  padding: .75rem 1.9rem;
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: all var(--t-base) var(--ease);
}
.btn-gta-dark:hover {
  background: var(--baltic);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-deep);
}
.btn-gta-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
  padding: .68rem 1.9rem;
  font-weight: 700;
  font-size: .86rem;
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.btn-gta-outline:hover {
  border-color: var(--sky);
  color: var(--aqua);
  background: rgba(0,170,228,.08);
}
.btn-gta-outline-dark {
  background: transparent;
  color: var(--deep);
  border: 2px solid var(--mist);
  border-radius: var(--r-pill);
  padding: .68rem 1.9rem;
  font-weight: 700;
  font-size: .86rem;
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.btn-gta-outline-dark:hover {
  border-color: var(--sky);
  color: var(--sky);
}
.btn-gta-whatsapp {
  background: #25D366;
  color: var(--white);
  border: 0;
  border-radius: var(--r-pill);
  padding: .75rem 1.9rem;
  font-weight: 700;
  font-size: .86rem;
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.btn-gta-whatsapp:hover {
  background: #1eba5a;
  color: var(--white);
  transform: translateY(-2px);
}
.btn-gta-accent {
  background: var(--accent);
  color: var(--white);
  border: 0;
  border-radius: var(--r-pill);
  padding: .75rem 1.9rem;
  font-weight: 700;
  font-size: .86rem;
  transition: all var(--t-base) var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}
.btn-gta-accent:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-block { width: 100%; justify-content: center; }
.btn-sm-gta { padding: .55rem 1.3rem; font-size: .8rem; }
.btn-lg-gta { padding: .9rem 2.4rem; font-size: .92rem; }


/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.sec-pad    { padding: 5.5rem 0; }
.sec-pad-sm { padding: 3.5rem 0; }
.sec-pad-lg { padding: 7rem 0; }
.bg-snow    { background: var(--snow); }
.bg-pearl   { background: var(--pearl); }
.bg-dark {
  background: linear-gradient(165deg, var(--deep) 0%, #0d2e48 50%, var(--baltic) 100%);
  color: var(--white);
}
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--white); }

.sec-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--sky);
  margin-bottom: .5rem;
}
.sec-label-light { color: var(--aqua); }
.sec-title {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  font-weight: 800;
  margin-bottom: .8rem;
}
.sec-sub {
  font-size: .98rem;
  color: var(--graphite);
  max-width: 600px;
  line-height: 1.72;
}
.sec-sub-light { color: rgba(255,255,255,.55); }
.sec-divider {
  width: 48px;
  height: 3px;
  background: var(--sky);
  border-radius: 3px;
  margin-bottom: 1.2rem;
}

/* Section Alternating Backgrounds */
.sec-alt {
  background: var(--snow);
  border-top: 1px solid var(--pearl);
  border-bottom: 1px solid var(--pearl);
}

  .sec-pad .feature-item strong {
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .02em;
  }

  .sec-pad .feature-item i.bi {
    font-size: 160%;
    margin-top: -7px;
}
/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */
.card-gta {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  padding: 1.8rem;
  transition: all var(--t-base) var(--ease);
  position: relative;
  overflow: hidden;
}
.card-gta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--aqua));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}
.card-gta:hover::before { transform: scaleX(1); }
.card-gta:hover {
  border-color: var(--sky);
  box-shadow: var(--sh-xl);
  transform: translateY(-3px);
}
.card-flat {
  background: var(--snow);
  border: 0;
  border-radius: var(--r-md);
  padding: 1.8rem;
}
.card-dark {
  background: var(--deep);
  border: 0;
  border-radius: var(--r-md);
  padding: 1.8rem;
  color: var(--white);
}
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,.6); }
.card-glass {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 2rem;
  transition: all var(--t-base) var(--ease);
}
.card-glass:hover {
  border-color: rgba(0,170,228,.35);
  background: rgba(255,255,255,.07);
  transform: translateY(-2px);
}
.card-glass h3, .card-glass h4 { color: var(--white); }
.card-glass p { color: rgba(255,255,255,.6); }

.card-shadow {
  box-shadow: var(--sh-md);
}
/* Card icon */
.c-icon {
  width: 50px; height: 50px;
  background: rgba(0,170,228,.08);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--sky);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.c-icon-lg { width: 56px; height: 56px; font-size: 1.4rem; }
.c-icon-accent { background: rgba(16,185,129,.08); color: var(--accent); }
.c-icon-light  { background: rgba(0,170,228,.12); color: var(--aqua); }

.c-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .45rem;
}
.c-text {
  font-size: .88rem;
  color: var(--graphite);
  line-height: 1.65;
}
.c-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--sky);
  font-weight: 600;
  font-size: .84rem;
  text-decoration: none;
  margin-top: .8rem;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast);
}
.c-link:hover { gap: .6rem; color: var(--baltic); }

.c-link-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  text-decoration: none;
  margin-top: .8rem;
  transition: gap var(--t-fast) var(--ease), color var(--t-fast);
}
.c-link-btn:hover { gap: .6rem; }

/* Service card (image + body) */
.card-service {
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  transition: all var(--t-base) var(--ease);
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.card-service:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
}
.card-service-img {
  height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pearl) 0%, var(--mist) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.card-service-img .placeholder-icon {
  font-size: 3.5rem;
  color: var(--sky);
  opacity: .22;
}
.card-service-img img {
  width: 100%; height: 100%;
  object-fit: cover;

  opacity: .9;
  transition: transform .7s var(--ease);
}
.card-service:hover .card-service-img img { transform: scale(1.01); }
.card-service-body {
  padding: 1.7rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-service-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: .55rem;
}
.card-service-body p {
  font-size: .88rem;
  color: var(--graphite);
  line-height: 1.65;
  flex: 1;
}

/* Hero Card (Transformation types â€” with image placeholder) */
.hero-card {
  will-change: transform;
  display: flex;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--pearl);
  box-shadow: var(--sh-md);
  transition: all var(--t-base) var(--ease);
  margin-bottom: 1.2rem;
}
.hero-card:hover {
  box-shadow: var(--sh-xl);
  transform: translateY(-3px);
  border-color: rgba(0,170,228,.2);
}
.hero-card-img {
  flex: 0 0 40%;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;

}/*  
.hero-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 16px 16px;
}*/
.hero-card-img i {
  font-size: 3.5rem;
  color: rgba(0,170,228,.4);
  position: relative;
  z-index: 2;
  transition: all var(--t-base) var(--ease);
}
.hero-card:hover .hero-card-img i {
  color: var(--sky);
  transform: scale(1.1);
}

/* Hero card body link animation */
.hero-card-body a,
.accordion-body a {
  background: linear-gradient(var(--sky), var(--sky)) no-repeat left bottom / 0 2px;
  transition: background-size var(--t-fast) ease;
  text-decoration: none;
  color: var(--sky);
}
.hero-card-body a:hover,
.accordion-body a:hover {
  background-size: 100% 2px;
}
.hero-card-img .hero-card-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  background: var(--sky);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: .06em;
  z-index: 3;
}
.hero-card-body {
  flex: 1;
  padding: 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: .4rem;
}
.hero-card-body p {
  font-size: .82rem;
  color: var(--graphite);
  line-height: 1.6;
  margin-bottom: 0;
}
@media (max-width: 575.98px) {
  .hero-card { flex-direction: column; }
  .hero-card-img { flex: none; min-height: 140px; }
}

.title-badge {
  display: inline-block;
  background: var(--sky);
  color: var(--white);
  font-size: .65rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: var(--r-pill);
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  vertical-align: middle;
  margin-left: .5rem;
  transition: all var(--t-base) var(--ease);  
}

.title-badge:hover {
  background: var(--sky-hover);
  transform: translateY(-2px); 
}

/* Compact Type Grid (secondary transformation types) */
.type-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 1rem;
}
@media (max-width: 575.98px) { .type-grid-compact { grid-template-columns: 1fr; } }
.type-compact {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem;
  background: var(--snow);
  border: 1px solid var(--pearl);
  border-radius: var(--r-md);
  transition: all var(--t-base) var(--ease);
}
.type-compact:hover {
  background: var(--white);
  box-shadow: var(--sh-md);
  border-color: rgba(0,170,228,.2);
  transform: translateY(-2px);
}
.type-compact-icon {
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky), var(--aqua));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--white);
}
.type-compact h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--deep);
  margin: 0 0 .2rem;
}
.type-compact p {
  font-size: .76rem;
  color: var(--graphite);
  line-height: 1.5;
  margin: 0;
}



/* Compact Icon Grid (Outros Serviços) */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
}
@media (max-width: 767.98px) { .icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)    { .icon-grid { grid-template-columns: 1fr; } }
.icon-grid-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  background: var(--white);
  border: 1px solid var(--pearl);
  border-radius: var(--r-md);
  transition: all var(--t-base) var(--ease);
  cursor: default;
  position: relative;
  overflow: hidden;
}
.icon-grid-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sky);
  transform: scaleX(0);
  transition: transform var(--t-base) var(--ease);
}
.icon-grid-item:hover {
  border-color: rgba(0,170,228,.25);
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.icon-grid-item:hover::after { transform: scaleX(1); }
.icon-grid-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(0,170,228,.1) 0%, rgba(0,170,228,.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--sky);
  transition: all var(--t-base) var(--ease);
}
.icon-grid-item:hover .icon-grid-icon {
  background: var(--sky);
  color: var(--white);
}
.icon-grid-text h4 {
  font-size: .8rem;
  font-weight: 700;
  color: var(--deep);
  margin: 0 0 .1rem;
  line-height: 1.25;
}
.icon-grid-text p {
  font-size: .72rem;
  color: var(--slate);
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.icon-grid-item:hover .icon-grid-text p {
  -webkit-line-clamp: unset;
}


/* ═══════════════════════════════════════════
   CERT BADGES
   ═══════════════════════════════════════════ */
.cert-bar { 
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0;
  align-items: center;
  justify-items: center;
}
.cert-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-bar-item img {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  mix-blend-mode: multiply;
  filter: grayscale(0);
  transition: all var(--t-base) var(--ease);
}
.cert-bar-item img:hover {
  filter: grayscale(1);
}
@media (max-width: 575.98px) {
  .cert-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
    padding: 1.25rem 1rem;
  }
  .cert-bar-item img {
    max-height: 60px;
  }
}
.cert-badge {
  border-radius: 5px;
}

/* ═══════════════════════════════════════════
   PROCESS STEPS
   ═══════════════════════════════════════════ */
/*v3 timeline line*/  
.step {
  position: relative;
}
.step::before {
  content: '';
  position: absolute;
  left: -30px; top: 42px; bottom: 0;
  width: 2px;
  background: var(--pearl);
}
.step:last-child::before { display: none; }
.step:last-child { padding-bottom: 0; }



/* Timeline v4 (vertical process steps) */
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: .5rem;
  bottom: .5rem;
  width: 3px;
  background: linear-gradient(180deg, var(--sky) 0%, var(--frozen) 50%, var(--emerald) 100%);
  border-radius: 3px;
}
.timeline-step {
  position: relative;
  padding-bottom: 2rem;
}
.timeline-step:last-child { padding-bottom: 0; }
.timeline-num {
  position: absolute;
  left: -3rem;
  top: 0;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--sky);
  color: var(--white);
  font-weight: 800;
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 5px rgba(0,170,228,.12), var(--sh-md);
  z-index: 2;
  transition: all var(--t-base) var(--ease);
}
.timeline-step:hover .timeline-num {
  transform: scale(1.15);
  box-shadow: 0 0 0 8px rgba(0,170,228,.18), var(--sh-lg);
}
.timeline-step h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: .25rem;
}
.timeline-step p {
  font-size: .84rem;
  color: var(--graphite);
  line-height: 1.6;
  margin-bottom: 0;
}
.timeline-step .tl-meta {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: .4rem;
  font-size: .72rem;
  font-weight: 600;
  color: var(--sky);
  background: rgba(0,170,228,.06);
  padding: .2rem .6rem;
  border-radius: var(--r-pill);
}




/* ═══════════════════════════════════════════
   TABLES
   ═══════════════════════════════════════════ */
.tbl-gta {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-xs);

}
.tbl-gta thead  { background: linear-gradient(15deg, var(--sky-hover) 0%, var(--baltic) 50%, var(--deep) 100%); }

.tbl-gta thead th {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .8rem 1.1rem;
  border: 0;
}
.tbl-gta tbody td {
  padding: .3rem 1.1rem;
  font-size: .88rem;
  color: var(--ink);
  border-color: var(--pearl);
  vertical-align: middle;
}
.tbl-gta tbody tr:nth-child(even) { background: var(--snow); }
.tbl-gta a { color: var(--sky); font-weight: 600; text-decoration: none; }
.tbl-gta a:hover { color: var(--baltic); }


/* ═══════════════════════════════════════════
   FAQ ACCORDION (h3, not h2)
   ═══════════════════════════════════════════ */
.faq-wrap .accordion-item {
  border: 1px solid var(--mist);
  border-radius: var(--r-sm) !important;
  margin-bottom: .6rem;
  overflow: hidden;
}
.faq-wrap .accordion-button {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  color: var(--deep);
  padding: 1rem 1.3rem;
  background: var(--white);
}
.faq-wrap .accordion-button:not(.collapsed) {
  background: var(--snow);
  color: var(--baltic);
  box-shadow: none;
}
.faq-wrap .accordion-button:focus { box-shadow: none; border-color: var(--sky); }
.faq-wrap .accordion-body {
  padding: 0 1.3rem 1.1rem;
  font-size: .88rem;
  color: var(--graphite);
  line-height: 1.7;
}
.faq-wrap .accordion-body a { color: var(--sky); font-weight: 600; text-decoration: none; }
.faq-wrap .accordion-body a:hover { color: var(--baltic); }


/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.testi-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: -.6rem;
  right: .8rem;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: rgba(0,170,228,.06);
  line-height: 1;
  pointer-events: none;
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-xl);
}
.testi-stars i { color: var(--warning); font-size: .9rem; margin:1px; }

.testi-quote {
    font-size: 2rem;
    color: var(--sky);
    margin-bottom: -.7rem;
    margin-left: -0.3rem;
}

.testi-card blockquote {
  font-size: .9rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.65;
  margin: 0 0 .8rem;
  border: 0; padding: 0;
}
.testi-author { font-weight: 700; font-size: .8rem; color: var(--deep); line-height: 2.1;}


/* ═══════════════════════════════════════════
   CTA BLOCK
   ═══════════════════════════════════════════ */
.cta-block {
  background: linear-gradient(15deg, var(--sky-hover) 0%, var(--baltic) 50%, var(--deep) 100%);
  border-radius: var(--r-xl);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(0,170,228,.08) 0%, transparent 60%);
  pointer-events: none;
}
.cta-block h3 { color: var(--white); font-size: 1.45rem; font-weight: 800; margin-bottom: .5rem; drop}
.cta-block p { color: rgba(255,255,255,.55); font-size: .92rem; }


/* ═══════════════════════════════════════════
   SIDEBAR 
   ═══════════════════════════════════════════ */
.sidebar-card {
  border-radius: var(--r-md);
  padding: 1.6rem;
  margin-bottom: 1.1rem;
  transition: all var(--t-base) var(--ease);
}
.sidebar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-lg);
}
.sidebar-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.sidebar-card p { font-size: .86rem; line-height: 1.6; margin-bottom: .65rem; }
.sidebar-card ul { font-size: .86rem; padding-left: 1.1rem; margin-bottom: 0; }
.sidebar-card ul li { margin-bottom: .4rem; }
.sidebar-card ul a { color: var(--sky); text-decoration: none; font-weight: 500; }
.sidebar-card ul a:hover { color: var(--baltic); }
.sidebar-stat-big {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--sky);
  line-height: 1;
  margin-bottom: .15rem;
}


/* ═══════════════════════════════════════════
   SIMULATOR ISV
   ═══════════════════════════════════════════ */
.sim-card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  padding: 2.5rem;
  border: 1px solid var(--pearl);
}
.sim-card label {
  font-weight: 600;
  font-size: .78rem;
  color: var(--deep);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .3rem;
}
.sim-card .form-select,
.sim-card .form-control {
  border: 2px solid var(--mist);
  border-radius: var(--r-sm);
  padding: .65rem .9rem;
  font-size: .88rem;
  font-family: 'Montserrat', sans-serif;
  transition: border-color var(--t-fast);
}
.sim-card .form-select:focus,
.sim-card .form-control:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(0,170,228,.1);
}


/* ═══════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════ */
.form-gta .form-label {
  font-weight: 600; font-size: .8rem;
  color: var(--deep); margin-bottom: .25rem;
}
.form-gta .form-control,
.form-gta .form-select {
  border: 2px solid var(--mist);
  border-radius: var(--r-sm);
  padding: .7rem .95rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .88rem;
  transition: border-color var(--t-fast);
}
.form-gta .form-control:focus,
.form-gta .form-select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(0,170,228,.08);
}
.form-gta .form-check-input:checked {
  background-color: var(--sky);
  border-color: var(--sky);
}


/* ═══════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════ */
.blog-card {
  background: var(--white);
  border: 1px solid var(--mist);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-xl);
}

.blog-card-img {
  height: 190px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pearl) 0%, var(--mist) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-card-img .placeholder-icon {
  font-size: 2.5rem;
  color: var(--sky);
  opacity: .2;
}
.blog-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  font-size: .66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--sky);
  background: rgba(0,170,228,.07);
  padding: .15rem .55rem;
  border-radius: 4px;
  margin-bottom: .55rem;
}
.blog-card-body h3 { font-size: .98rem; font-weight: 700; line-height: 1.32; }
.blog-card-body h3 a {
  color: var(--deep);
  text-decoration: none;
  transition: color var(--t-fast);
}
.blog-card-body h3 a:hover { color: var(--sky); }
.blog-meta {
  font-size: .72rem;
  color: var(--slate);
  margin-top: auto;
  padding-top: .5rem;
  font-weight: 500;
}

/* Article content */
.article-body h2 {
  font-size: 1.3rem; font-weight: 700;
  margin-top: 2.2rem; margin-bottom: .8rem;
  padding-bottom: .45rem;
  border-bottom: 2px solid var(--pearl);
}
.article-body h3 { font-size: 1.05rem; font-weight: 600; color: var(--baltic); margin-top: 1.6rem; }
.article-body p { font-size: .93rem; line-height: 1.8; margin-bottom: 1.1rem; }
.article-body a { color: var(--sky); font-weight: 600; text-decoration: none; }
.article-body a:hover { color: var(--baltic); }
.article-body ul, .article-body ol { font-size: .93rem; line-height: 1.8; }
.article-toc {
  background: var(--snow);
  border-left: 3px solid var(--sky);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.4rem 1.8rem;
  margin-bottom: 1.8rem;
}
.article-toc h4 { font-size: .88rem; font-weight: 700; margin-bottom: .5rem; }
.article-toc a {
  display: block; color: var(--graphite); text-decoration: none;
  font-size: .84rem; font-weight: 500; padding: .18rem 0;
  transition: all var(--t-fast);
}
.article-toc a:hover { color: var(--sky); padding-left: .4rem; }

.article-main-img img {
  margin-bottom: 2rem;
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}
/* ═══════════════════════════════════════════
   FEATURES ROW
   ═══════════════════════════════════════════ */
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1.5rem;
}
.feat-item h4 { font-size: .95rem; font-weight: 700; margin-bottom: .15rem; }
.feat-item p { font-size: .86rem; color: var(--graphite); margin-bottom: 0; line-height: 1.6; }


/* ═══════════════════════════════════════════
   PLACEHOLDER IMAGES
   ═══════════════════════════════════════════ */
.img-ph {
  background: linear-gradient(135deg, var(--pearl) 0%, var(--mist) 100%);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-ph .bi { font-size: 2.8rem; color: var(--sky); opacity: .18; }
.img-ph-lg { height: 210px; }
.img-ph-md { height: 170px; }
.img-ph-sm { height: 130px; }

@keyframes float {
  0% {
    filter: drop-shadow(-3px 3px 6px rgba(3,52,82,.3));
    transform: translatey(0px);
  }
  50% {
    filter: drop-shadow(-25px 35px 20px rgba(3,52,82,.2));
    transform: translatey(-20px);
  }
  100% {
    filter: drop-shadow(-3px 3px 6px rgba(3,52,82,.3));
    transform: translatey(0px);
  }
}

.portal-main-img {
  filter: drop-shadow(-3px 3px 6px rgba(3,52,82,.3));
  transform: translatey(0px);  
  animation: float 6s ease-in-out infinite;
}


/* Gallery Placeholder Cards */
.gallery-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--pearl);
  box-shadow: var(--sh-sm);
  transition: all var(--t-base) var(--ease);
}
.gallery-card:hover {
  box-shadow: var(--sh-lg);
  transform: translateY(-4px);
}
.gallery-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--deep), var(--baltic));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
  overflow: hidden;
  transition: all .5s var(--ease);
}
.gallery-card-img i {
  font-size: 2.5rem;
  color: rgba(0,170,228,.35);
}
.gallery-card-img img {
    width: 100%; height: 100%;
  object-fit: cover;
  /*
  display: block;
  max-width:400px;
  max-height:400px;
  height: auto;
  width: auto;
  */
}

.gallery-card-img .gallery-label {
  position: absolute;
  bottom: .6rem;
  left: .6rem;
  background: rgba(3,52,82,.8);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: var(--r-pill);
}
.gallery-card-body {
  padding: 1rem;
}
.gallery-card-body h4 {
  font-size: .85rem;
  font-weight: 700;
  color: var(--deep);
  margin: 0 0 .2rem;
}
.gallery-card-body p {
  font-size: .76rem;
  color: var(--graphite);
  margin: 0;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer-gta {
  background: linear-gradient(0deg, var(--charcoal) 5%, var(--deep) 100%);
  color: rgba(255,255,255,.6);
  padding: 4rem 0 0;
}
.footer-brand { height: 48px; width: auto; margin-bottom: 1.14rem; margin-left: -3px; }
.footer-gta h5 {
  color: var(--white);
  font-weight: 700; font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.1rem;
}
.footer-gta p { font-size: .82rem; line-height: 1.65; }
.footer-gta a {
  color: rgba(255,255,255,.48);
  text-decoration: none; font-size: .82rem;
  transition: color var(--t-fast);
}
.footer-gta a:hover { color: var(--aqua); }
.footer-gta ul { list-style: none; padding: 0; margin: 0; }
.footer-gta ul li { margin-bottom: .4rem; }
.footer-addr { font-size: .8rem; line-height: 1.55; margin-top: .5rem; }
.footer-hours { font-size: .76rem; margin-top: .35rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 1.2rem 0 1.5;
  margin-top: 2.5rem;
  font-size: .74rem;
  color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.25); }
.footer-bottom a:hover { color: rgba(255,255,255,.45); }

.footer-gta .footer-social a {
  background: linear-gradient(15deg, var(--baltic) 0%, var(--graphite) 50%, var(--baltic) 100%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
  padding-right: 1.5rem;
  filter: unset;
  transition: all var(--t-base) var(--ease);
  margin-left: .1rem;
}
.footer-gta .footer-social a:hover {
  transform: translateY(-2px);
  filter: drop-shadow(1px 1px 8px var(--sh-sky));
}

.footer-bottom .prr {
  max-height: 46px;
  filter: grayscale(70%);
  opacity: .6;
}

.footer-bottom .lr-link {
  max-height: 16px;
  display: inline-block;
  opacity: .25;
  margin-left: 34x;
  transition: opacity var(--t-base) var(--ease);
}

.footer-bottom .lr-link:hover {opacity: .4}
/* ═══════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.fade-up.vis { opacity: 1; transform: translateY(0); }
.fade-up.d1 { transition-delay: .08s; }
.fade-up.d2 { transition-delay: .16s; }
.fade-up.d3 { transition-delay: .24s; }
.fade-up.d4 { transition-delay: .32s; }
.fade-up.d5 { transition-delay: .4s; }


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 991.98px) {
  main { padding-top: 64px; }
  .hero-home { margin-top: -64px; padding-top: 64px; min-height: 85vh; }
  .sec-pad { padding: 3.8rem 0; }
  .cta-block { padding: 2.5rem 1.5rem; }
  .navbar-gta .navbar-collapse { padding: 1rem; }

.navbar-gta {
  background: rgba(255, 255, 255, .6);
  padding: 0;
}
    .navbar-gta .nav-link.active::after {
        height: 0 !important;
    }
.navbar-gta .navbar-brand {filter: unset;}
.navbar-gta .navbar-brand svg path.cls-1.main,
.navbar-gta .navbar-brand svg path.cls-1.sub {
  fill: var(--baltic);
  transition: all var(--t-fast) var(--ease);
}



}
@media (max-width: 575.98px) {
  main { padding-top: 60px; }
  .hero-home { margin-top: -60px; padding-top: 60px; }
  .hero-home h1 { font-size: 1.75rem; }
  .hero-stats-bar { gap: 1rem; }
  .hero-stat h3 { font-size: 1.3rem; }
  .card-gta, .card-flat, .card-dark { padding: 1.4rem; }
  .step { padding-left: 3.2rem; }
  .sim-card { padding: 1.4rem; }
  .cta-block { padding: 2rem 1.2rem; border-radius: var(--r-lg); }
  .footer-gta { padding-top: 2.2rem; }
}
/* ISV Card Structure */
.card-isv {
  background: var(--white);
  border: 1px solid var(--pearl);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  margin-bottom: 1.5rem;
}
.card-header-isv {
  background: linear-gradient(135deg, var(--deep) 0%, var(--baltic) 100%);
  padding: 1.1rem 1.6rem;
}
.card-header-isv h5 {
    color: var(--white);
    font-weight: 600;
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    border: 0;
    margin: 0;
}
.card-body-isv {
  padding: 1.6rem;
}

/* ISV Header */
.header-isv {
  text-align: center;
  margin-bottom: 1.5rem;
}
.header-isv h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--deep);
  margin-bottom: .3rem;
}
.header-isv p {
  color: var(--graphite);
  font-size: .95rem;
}

/* Alert Info (ISV context) */
.card-isv .alert-info {
  background: rgba(0,170,228,.06);
  border: 1px solid rgba(0,170,228,.15);
  border-radius: var(--r-sm);
  padding: .85rem 1.1rem;
  font-size: .84rem;
  color: var(--baltic);
  margin-bottom: 1.3rem;
  line-height: 1.55;
}
.card-isv .alert-info strong { color: var(--deep); }

/* Toggle Section (Origem, Estado, Data) */
.toggle-section {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: .5rem;
  margin-bottom: 1.3rem;
}
@media (max-width: 767.98px) {
  .toggle-section { grid-template-columns: 1fr; }
}
.toggle-wrapper {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.toggle-label {
  font-weight: 600;
  font-size: .76rem;
  color: var(--deep);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.toggle-wrapper .btn-group {
  display: flex;
  gap: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 2px solid var(--mist);
}
.btn-toggle {
  flex: 1;
  padding: .55rem .8rem;
  border: 0;
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: .82rem;
  font-weight: 600;
  color: var(--graphite);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.btn-toggle:not(:last-child) { border-right: 1px solid var(--mist); }
.btn-toggle:hover { background: var(--snow); color: var(--deep); }
.btn-toggle.active {
  background: var(--sky);
  color: var(--white);
  border-color: var(--sky);
}

/* Date Group (DD/MM/YYYY) */
/* Remove spinners dos inputs numéricos da data */
.data-group input::-webkit-outer-spin-button,
.data-group input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.data-group input[type="number"] {
  -moz-appearance: textfield;
}

.data-group input#dataMatriculaDia,
.data-group input#dataMatriculaMes {
  flex: 0 0 30%;
}
.data-group input#dataMatriculaAno {
  flex: 0 0 38%;
}

.data-group {
  display: flex;
  gap: .25rem;
}
.data-group input {
  flex: 1;
  padding: .55rem .5rem;
  border: 2px solid var(--mist);
  border-radius: var(--r-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: .85rem;
  text-align: center;
  transition: border-color var(--t-fast);
  min-width: 0;
}
.data-group input:focus {
  border-color: var(--sky);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,170,228,.1);
}
.data-group input:disabled {
  background: var(--pearl);
  color: var(--slate);
  cursor: not-allowed;
}

/* 2-Column Form Sections */
.form-section-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 575.98px) {
  .form-section-2col { grid-template-columns: 1fr; }
}

/* Form Groups (ISV) */
.card-isv .form-group {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.card-isv .form-group label {
  font-weight: 600;
  font-size: .76rem;
  color: var(--deep);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.card-isv .form-group select,
.card-isv .form-group input[type="number"] {
  padding: .6rem .85rem;
  border: 2px solid var(--mist);
  border-radius: var(--r-sm);
  font-family: 'Montserrat', sans-serif;
  font-size: .86rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t-fast);
  width: 100%;
}
.card-isv .form-group select:focus,
.card-isv .form-group input[type="number"]:focus {
  border-color: var(--sky);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,170,228,.1);
}
.card-isv .form-group select.highlight,
.card-isv .form-group input.highlight { /* ready state */ }

.card-isv .form-group select {
  padding-right: 2.25rem;
  background: var(--white) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748B' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right .75rem center / 16px 12px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Input Group (with suffix) */
.card-isv .input-group {
  display: flex;
  align-items: stretch;
}
.card-isv .input-group input {
  flex: 1;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  min-width: 0;
}
.card-isv .input-group .input-group-text {
  padding: .6rem .7rem;
  background: var(--snow);
  border: 2px solid var(--mist);
  border-left: 0;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .78rem;
  font-weight: 600;
  color: var(--graphite);
}

/* Info Button (ⓘ) */
.btn-info-isv {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,170,228,.1);
  color: var(--sky);
  font-size: .65rem;
  cursor: pointer;
  vertical-align: middle;
  margin-left: .2rem;
  transition: background var(--t-fast);
}
.btn-info-isv:hover { background: rgba(0,170,228,.2); }

/* Hidden Fields */
/* Hidden Fields (global utility) */
.hidden { display: none !important; }

/* Error States */
.field-error select,
.field-error input,
.field-error .btn-group { border-color: var(--danger) !important; }
.error-message {
  display: none;
  font-size: .72rem;
  color: var(--danger);
  font-weight: 500;
  margin-top: .15rem;
}
.field-error .error-message { display: block; }

/* Validation Summary */
.validation-summary {
  display: none;
  background: rgba(239,68,68,.06);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: var(--r-sm);
  padding: .85rem 1.1rem;
  margin-bottom: 1rem;
  font-size: .82rem;
  color: var(--danger);
}
.validation-summary.show { display: block; }
.validation-summary strong { display: block; margin-bottom: .3rem; }
.validation-summary ul {
  margin: 0; padding-left: 1.2rem;
  list-style: disc;
}
.validation-summary ul li { margin-bottom: .15rem; }

/* ISV Buttons */
.button-group {
  display: flex;
  gap: .8rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}
.btn-clear-isv {
  padding: .65rem 1.5rem;
  border: 2px solid var(--mist);
  border-radius: var(--r-pill);
  background: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .84rem;
  color: var(--graphite);
  cursor: pointer;
  transition: all var(--t-fast) var(--ease);
}
.btn-clear-isv:hover { border-color: var(--slate); color: var(--ink); }
.btn-primary-isv {
  padding: .65rem 2rem;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--sky);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .86rem;
  cursor: pointer;
  transition: all var(--t-base) var(--ease);
}
.btn-primary-isv:hover {
  background: var(--sky-hover);
  transform: translateY(-1px);
  box-shadow: var(--sh-sky);
}

/* Results Card */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.results-grid strong {
    font-weight: 600;
}

@media (max-width: 575.98px) {
  .results-grid { grid-template-columns: 1fr; }
}
.result-card {
  background: var(--snow);
  border-radius: var(--r-md);
  padding: 1.3rem;
}
.result-card:last-child {
  background: linear-gradient(145deg, var(--deep) 0%, var(--baltic) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 0;
  border-bottom: 1px solid var(--mist);
  font-size: .84rem;
}
.breakdown-item:last-child { border-bottom: 0; }
.breakdown-item span { color: var(--graphite); }
.breakdown-item strong { color: var(--deep); font-weight: 700; }
.result-header h6 {
  color: rgba(255,255,255,.5);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: .3rem;
}
.result-value {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin-bottom: 1rem;
}
.result-value span:first-child {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.result-value .currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
}

/* ISV Final CTA Button */
.isv-final-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.8rem;
  border-radius: var(--r-pill);
  background: var(--sky);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
  transition: all var(--t-base) var(--ease);
}
.isv-final-btn:hover {
  background: var(--aqua);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-sky);
}
.isv-final-btn.glow {
  animation: btn-glow 2.5s ease-in-out infinite;
}
@keyframes btn-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(0,170,228,.3); }
  50%     { box-shadow: 0 0 20px 4px rgba(0,170,228,.2); }
}
.isv-final-btn .arrow { font-weight: 400; }

/* ISV Resumo */
.resumo-text {
  font-size: .82rem;
  color: var(--ink);
  line-height: 1.6;
  margin-top: .4rem;
}
.mt-isv-resumo { margin-top: 1.5rem; }



/* ISV Modal Overrides */
.modal-isv .modal-header {
  background: linear-gradient(135deg, var(--deep) 0%, var(--baltic) 100%);
  padding: .85rem 1.2rem;
}
.modal-isv .modal-title {
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
}
.modal-isv .modal-body {
  padding: 1.3rem;
  font-size: .86rem;
  color: var(--ink);
  line-height: 1.65;
}
.modal-isv .table thead { background: var(--deep); }
.modal-isv .table thead th {
  color: var(--white);
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .7rem .9rem;
  border: 0;
}
.modal-isv .table tbody td {
  padding: .65rem .9rem;
  font-size: .82rem;
  vertical-align: top;
  border-color: var(--pearl);
}
.modal-isv .table-striped > tbody > tr:nth-of-type(odd) > * {
  background: var(--snow);
}
.col-tipo-veiculo { width: 25%; }

/* Used vehicle modal positioning */
#modalVeiculoUsado .modal-dialog {
  margin-top: 50px;
  margin-bottom: auto;
  max-width: 500px;
}
#modalVeiculoUsado .modal-body { color: var(--ink); }
#modalTiposVeiculo .modal-content { max-height: 92vh; }
#modalVeiculoUsado .modal-content { max-height: 50vh; }

.modal-isv {
  z-index: 9999;
}
/* ═══════════════════════════════════════
   MICRO-INTERACTIONS & ANIMATIONS (v4)
   ═══════════════════════════════════════ */


/* Timeline Step Animations */
.timeline-step {
  opacity: 0;
  transform: translateX(-20px);
  transition: all .5s var(--ease);
}
.timeline-step.tl-visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Grid Items */
.icon-grid-item,
.type-compact {
  opacity: 0;
  transform: translateY(12px) scale(.97);
  transition: all .4s var(--ease);
}
.icon-grid-item.stagger-in,
.type-compact.stagger-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* Enhanced Accordion */
.accordion-item {
  border: 1px solid var(--pearl);
  border-radius: var(--r-md) !important;
  margin-bottom: .5rem;
  overflow: hidden;
  transition: all var(--t-base) var(--ease);
}
.accordion-item:hover {
  border-color: rgba(0,170,228,.2);
}
.accordion-button {
  font-weight: 600;
  font-size: .88rem;
  color: var(--deep);
  padding: 1rem 1.2rem;
  transition: all var(--t-base) var(--ease);
}
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(0,170,228,.04), rgba(0,170,228,.01));
  color: var(--sky);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(0,170,228,.12);
  border-color: transparent;
}
.accordion-button::after {
  transition: transform .3s var(--ease);
}
.accordion-body {
  font-size: .86rem;
  line-height: 1.7;
  color: var(--graphite);
  padding: 0 1.2rem 1rem;
}


/* Counter value glow on visible */
.counter-value {
  transition: text-shadow .6s ease;
}

/* CTA Banner shimmer effect */
.cta-banner {
  overflow: hidden;
}
.cta-banner .btn-gta-ghost {
  display: inline-flex;
  align-items: center;
  padding: .7rem 1.6rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  background: transparent;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: all var(--t-base) var(--ease);
}
.cta-banner .btn-gta-ghost:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-2px);
}
@keyframes banner-shimmer {
  0% { transform: translateX(-100%) skewX(-15deg); }
  100% { transform: translateX(200%) skewX(-15deg); }
}
.cta-banner:hover::before {
  animation: banner-shimmer 1.5s ease infinite;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
}

.gallery-card:hover .gallery-card-img i {
  transform: scale(1.15);
  color: var(--sky);
}
.gallery-card:hover .gallery-card-img .gallery-label {
  background: var(--sky);
}


/* Hero glow pulse */
@keyframes glow-pulse {
  0%, 100% { opacity: .3; transform: scale(1); }
  50% { opacity: .6; transform: scale(1.1); }
}

/* ═════════════════════════════════════════════
   WHATSAPP WIDGET
   ═════════════════════════════════════════════ */
:root {
  --whatsapp-green: #25D366;
  --whatsapp-dark:  #128C7E;
}

/* Widget container — hidden by default, shown by JS on mobile */
#whatsapp-widget { display: none; font-family: sans-serif; }

/* Floating bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 1050;
  cursor: pointer;
  transition: transform .3s cubic-bezier(.68,-.55,.265,1.55);
}
.whatsapp-bubble:hover { transform: scale(1.1); }

.bubble-button {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(37,211,102,.4);
  border: none; position: relative;
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 12px rgba(37,211,102,.6); }
  50%      { box-shadow: 0 4px 20px rgba(37,211,102,.8); }
}
.bubble-button i { font-size: 28px; color: #fff; }

.status-badge {
  position: absolute; top: -2px; right: -2px;
  width: 17px; height: 17px;
  background: #34B7F1; border: 2px solid #fff; border-radius: 50%;
}
.status-badge.offline { background: #E62020; animation: none; }

/* Chat window */
.chat-window {
  position: fixed; bottom: 90px; right: 20px;
  width: 360px; max-width: calc(100vw - 40px);
  background: #fff; border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
  z-index: 1049; display: none;
  animation: wa-slideUp .3s ease-out;
}
@keyframes wa-slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-window.show { display: block; }

/* Chat header */
.chat-header {
  background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
  color: #fff; padding: 16px; border-radius: 16px 16px 0 0;
  display: flex; align-items: center; justify-content: space-between;
}
.chat-header-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
  width: 45px; height: 45px; background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--whatsapp-green);
}
.chat-title { font-weight: 600; font-size: 16px; margin: 0; }
.chat-status {
  font-size: 12px; opacity: 1;
  display: flex; align-items: center; gap: 1px;
  margin: 3px 0 0;
}
.chat-status::before {
  content: '';
  width: 8px; height: 8px;
  background: #6bcdf4;
  border-radius: 50%; display: inline-block;
  margin-right: 2px;
  animation: wa-blink 2s infinite;
}
.chat-status.offline { color: #eee; white-space: pre-line; line-height: 1; }
.chat-status.offline::before { background: #FF2400; margin-top: -12px; animation: none; }
@keyframes wa-blink {
  0%,100% { opacity: 1; }
  50%     { opacity: .4; }
}
.close-chat {
  background: transparent; border: none; color: #fff;
  font-size: 14px; cursor: pointer; padding: 0;
  width: 30px; height: 30px;
  display: flex; align-items: normal; justify-content: center;
  opacity: .9; transition: opacity .2s;
}
.close-chat:hover { opacity: 1; }

/* Chat body */
.chat-body { padding: 20px; background: #ece5dd; min-height: 180px; }
.welcome-message {
  background: #fff; padding: 12px 16px;
  border-radius: 8px; margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,.1);
  position: relative;
}
.welcome-message::before {
  content: '';
  position: absolute; left: -8px; top: 12px;
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid #fff;
}
.welcome-message p { margin: 0 0 4px; font-size: 14px; color: #333; }
.welcome-message p:last-child { margin-bottom: 0; }
.welcome-time { font-size: 11px; color: #999; text-align: right; margin-top: 4px; }
.business-hours {
  background: rgba(255,255,255,.6); padding: 12px 16px;
  border-radius: 8px; text-align: center; margin-bottom: 12px;
}
.hours-label {
  font-size: 11px; color: #888; text-transform: uppercase;
  letter-spacing: .5px; margin: 0 0 6px; font-weight: 500;
}
.hours-text { font-size: 12px; color: #666; margin: 0 0 2px; line-height: 1.4; }
.hours-text:last-child { margin-bottom: 0; }

/* Message form */
.message-form { background: #fff; padding: 16px; border-radius: 0 0 16px 16px; }
.message-textarea {
  width: 100%; border: 1px solid #ddd; border-radius: 20px;
  padding: 10px 16px; font-size: 14px; resize: none;
  min-height: 44px; max-height: 120px;
  transition: border-color .2s; font-family: inherit;
}
.message-textarea:focus { outline: none; border-color: var(--whatsapp-green); }
.message-textarea::placeholder { color: #999; }
.char-counter { text-align: right; font-size: 11px; color: #999; margin-top: 4px; }
.send-button {
  background: var(--whatsapp-green); color: #fff; border: none;
  border-radius: 20px; padding: 10px 24px; font-weight: 600; font-size: 14px;
  margin-top: 12px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .2s; cursor: pointer;
}
.send-button:hover:not(:disabled) { background: var(--whatsapp-dark); }
.send-button:active:not(:disabled) { transform: scale(.98); }
.send-button:disabled { background: #ccc; cursor: not-allowed; opacity: .6; }
.send-button i { font-size: 16px; }

@media (max-width: 576px) {
  .chat-window { bottom: 85px; right: 10px; width: calc(100vw - 20px); }
  .whatsapp-bubble { bottom: 15px; right: 15px; }
  .bubble-button { width: 56px; height: 56px; }
  .bubble-button i { font-size: 26px; }
}

/* Print styles */
@media print {
  .wa-float, .navbar-gta { display: none !important; }
  .fade-up { opacity: 1 !important; transform: none !important; }
  .timeline-step { opacity: 1 !important; transform: none !important; }
}
/* ======================================================================
   Simulador ISV — Breakdown (resumo simples + detalhe expansível)
   Adicionado em conjunto com a migração para o backend .cgi.
   ====================================================================== */

/* Resumo (sempre visível) */
.breakdown-resumo .breakdown-item {
  font-size: .84rem;
}

/* Botão "Ver detalhe do cálculo" */
.btn-ver-detalhe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: .9rem;
  padding: .55rem .85rem;
  background: transparent;
  border: 1px solid var(--mist);
  border-radius: var(--r-sm, .5rem);
  color: var(--deep);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: all var(--t-base, .2s) var(--ease, ease);
}
.btn-ver-detalhe:hover {
  background: var(--snow);
  border-color: var(--sky);
  color: var(--baltic);
}
.btn-ver-detalhe .btn-detalhe-chevron {
  display: inline-block;
  transition: transform var(--t-base, .2s) var(--ease, ease);
  font-size: .9rem;
  line-height: 1;
}
.btn-ver-detalhe[aria-expanded="true"] .btn-detalhe-chevron {
  transform: rotate(180deg);
}

/* Detalhe expansível */
.breakdown-detalhe {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin-top .25s ease, padding-top .25s ease;
  margin-top: 0;
  padding-top: 0;
  border-top: 0 solid var(--mist);
}
.breakdown-detalhe.open {
  max-height: 1500px; /* large enough for any breakdown */
  margin-top: .8rem;
  padding-top: .8rem;
  border-top: 1px solid var(--mist);
}

/* Section titles dentro do breakdown */
.breakdown-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--graphite);
  padding: .4rem 0 .25rem;
  border-bottom: 1px solid var(--mist);
  margin-bottom: .25rem;
}
.breakdown-section-title.mt-2 { margin-top: .8rem; }

/* Variantes de breakdown-item */
.breakdown-item.subtotal {
  border-top: 1px dashed var(--mist);
  padding-top: .55rem;
  margin-top: .15rem;
}
.breakdown-item.subtotal strong {
  color: var(--baltic);
}
.breakdown-item.reducao strong {
  color: #2e9b4f; /* verde para reduções */
}
.breakdown-item.agravamento strong {
  color: #c75a1a; /* laranja para agravamento */
}
.breakdown-item.total {
  margin-top: .7rem;
  padding-top: .65rem;
  border-top: 2px solid var(--sky);
}
.breakdown-item.total .total-value {
  font-size: 1.05em;
  color: var(--deep);
}

/* Nota explicativa */
.breakdown-nota {
  font-size: .72rem;
  color: var(--graphite);
  background: var(--snow);
  border-left: 3px solid var(--sky);
  padding: .5rem .65rem;
  margin-top: .7rem;
  border-radius: 0 .35rem .35rem 0;
  line-height: 1.45;
}

/* ======================================================================
   Formulário de proposta — feedback de envio (sucesso / erro)
   ====================================================================== */
.form-feedback {
  padding: .7rem .95rem;
  border-radius: var(--r-sm, .5rem);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
}
.form-feedback--ok {
  background: #e6f7ec;
  border: 1px solid #2e9b4f;
  color: #1d6b35;
}
.form-feedback--erro {
  background: #fdecea;
  border: 1px solid #d9534f;
  color: #a3302c;
}
