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

    :root {
      --blue:   #002D62;
      --cyan:   #00A8CC;
      --slate:  #2C3E50;
      --off:    #F7F9FC;
      --white:  #FFFFFF;
      --shadow: 0 4px 24px rgba(0,45,98,0.08);
      --max:    1280px;
    }

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Inter', sans-serif;
      color: var(--slate);
      background: var(--white);
      font-size: 16px;
      line-height: 1.6;
      -webkit-font-smoothing: antialiased;
    }

    /* ─── TYPOGRAPHY ─── */
    h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; line-height: 1.15; color: var(--blue); }
    .mono { font-family: 'JetBrains Mono', monospace; }

    /* ─── LAYOUT ─── */
    .container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
    section { padding: 96px 0; }
    @media(max-width:768px){ section { padding: 56px 0; } }

    /* ─── BUTTONS ─── */
    .btn-primary {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--blue); color: var(--white);
      font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
      padding: 14px 28px; border-radius: 4px; border: none;
      cursor: pointer; text-decoration: none;
      transition: background 0.2s, transform 0.15s;
      white-space: nowrap;
    }
    .btn-primary:hover { background: #003a7a; transform: translateY(-1px); }

    .btn-cyan {
      display: inline-flex; align-items: center; gap: 8px;
      background: var(--cyan); color: var(--white);
      font-family: 'Inter', sans-serif; font-weight: 600; font-size: 15px;
      padding: 13px 26px; border-radius: 4px; border: none;
      cursor: pointer; text-decoration: none;
      transition: background 0.2s, transform 0.15s;
      white-space: nowrap;
    }
    .btn-cyan:hover { background: #0090b0; transform: translateY(-1px); }

    .btn-ghost {
      display: inline-flex; align-items: center; gap: 6px;
      background: transparent; color: var(--white);
      font-family: 'Inter', sans-serif; font-weight: 500; font-size: 15px;
      padding: 13px 0; border: none; cursor: pointer;
      text-decoration: none; opacity: 0.85;
      transition: opacity 0.2s;
    }
    .btn-ghost:hover { opacity: 1; }

    /* ─── HEADER ─── */
    header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      height: 64px;
      background: rgba(0, 45, 98, 0.96);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      transition: box-shadow 0.3s;
      border-bottom: 1px solid rgba(255,255,255,0.06);
    }
    header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.25); }

    .header-inner {
      max-width: var(--max); margin: 0 auto;
      padding: 0 24px; height: 64px;
      display: flex; align-items: center; justify-content: space-between; gap: 20px;
    }

    .logo-svg { height: 36px; width: auto; display: block; }
    .logo-img {
      display: block;
      height: 36px;
      width: auto;
      flex-shrink: 0;
    }
    .logo-img-footer {
      height: 42px;
      margin-bottom: 8px;
    }

    .nav-links {
      display: flex; align-items: center; gap: 18px;
      list-style: none;
      flex-wrap: nowrap;
      flex-shrink: 1;
      min-width: 0;
    }
    .nav-links a {
      color: rgba(255,255,255,0.78); font-weight: 500; font-size: 13px;
      text-decoration: none; transition: color 0.2s; letter-spacing: 0.01em;
      white-space: nowrap;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--cyan); }

    .header-right {
      display: flex; align-items: center; gap: 12px;
      flex-shrink: 0;
    }

    /* Lang switcher */
    .lang-switcher {
      display: flex; align-items: center; gap: 4px;
    }
    a.lang-btn {
      background: none; border: none; cursor: pointer;
      color: rgba(255,255,255,0.55); font-size: 12px; font-weight: 600;
      font-family: 'Inter', sans-serif; letter-spacing: 0.04em;
      padding: 4px 6px; border-radius: 3px;
      transition: color 0.2s, background 0.2s;
    }
    .lang-btn:hover { color: var(--white); }
    .lang-btn.active { color: var(--cyan); background: rgba(0,168,204,0.12); }
    .lang-sep { color: rgba(255,255,255,0.2); font-size: 11px; }

    /* Hamburger */
    .hamburger {
      display: none; flex-direction: column; gap: 5px; background: none;
      border: none; cursor: pointer; padding: 4px;
    }
    .hamburger span {
      display: block; width: 22px; height: 2px;
      background: var(--white); border-radius: 2px; transition: 0.3s;
    }

    /* Mobile nav drawer */
    .mobile-nav {
      position: fixed; top: 64px; left: 0; right: 0;
      background: var(--blue); padding: 24px;
      display: none; flex-direction: column; gap: 20px; z-index: 99;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .mobile-nav.open { display: flex; }
    .mobile-nav a {
      color: var(--white); font-weight: 500; font-size: 16px;
      text-decoration: none; padding: 8px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    @media(max-width:1100px){
      .nav-links { display: none; }
      .hamburger { display: flex; }
    }
    @media(max-width:640px){
      .header-cta { display: none; }
    }

    /* ─── HERO ─── */
    #hero {
      min-height: 100vh;
      background: linear-gradient(140deg, #002D62 0%, #1a2f44 60%, #2C3E50 100%);
      position: relative; overflow: hidden;
      display: flex; align-items: center;
      padding: 100px 0 64px;
    }

    /* dot grid overlay */
    #hero::before {
      content: '';
      position: absolute; inset: 0;
      background-image: radial-gradient(circle, rgba(0,168,204,0.12) 1px, transparent 1px);
      background-size: 32px 32px;
      pointer-events: none;
    }

    .hero-inner {
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
      align-items: center; position: relative; z-index: 1;
    }

    .hero-label {
      display: inline-block; margin-bottom: 20px;
      font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 500;
      color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase;
      border: 1px solid rgba(0,168,204,0.35); padding: 5px 12px; border-radius: 3px;
    }

    .hero-title {
      font-size: clamp(36px, 4.5vw, 64px); font-weight: 800;
      color: var(--white); line-height: 1.08; margin-bottom: 24px;
      letter-spacing: -0.02em;
    }
    .hero-title em { color: var(--cyan); font-style: normal; }

    .hero-sub {
      font-size: 18px; color: rgba(255,255,255,0.72);
      max-width: 480px; margin-bottom: 40px; line-height: 1.65;
    }

    .hero-ctas {
      display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
      margin-bottom: 40px;
    }

    .hero-badges {
      display: flex; align-items: center; gap: 0; flex-wrap: wrap;
    }
    .badge {
      font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.55);
      letter-spacing: 0.04em; padding: 0 16px;
      border-right: 1px solid rgba(255,255,255,0.15);
    }
    .badge:first-child { padding-left: 0; }
    .badge:last-child { border-right: none; }

    /* SVG flow diagram */
    .hero-visual { display: flex; justify-content: center; align-items: center; }
    .flow-svg { width: 100%; max-width: 480px; height: auto; }

    @media(max-width:900px){
      .hero-inner { grid-template-columns: 1fr; }
      .hero-visual { display: none; }
    }

    /* ─── SECTION LABELS ─── */
    .section-label {
      font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
      color: var(--cyan); letter-spacing: 0.14em; text-transform: uppercase;
      margin-bottom: 12px; display: block;
    }
    .section-title {
      font-size: clamp(28px, 3vw, 40px); font-weight: 700;
      color: var(--blue); margin-bottom: 16px; line-height: 1.15;
    }
    .section-title.light { color: var(--white); }
    .section-sub {
      font-size: 17px; color: rgba(44,62,80,0.7); max-width: 600px;
      margin-bottom: 56px; line-height: 1.65;
    }
    .section-sub.light { color: rgba(255,255,255,0.65); }

    /* ─── PROBLEM SECTION ─── */
    #problema { background: var(--off); }

    .problem-cards {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
      margin-bottom: 56px;
    }
    @media(max-width:768px){ .problem-cards { grid-template-columns: 1fr; } }

    .problem-card {
      background: var(--white); border-radius: 8px;
      border-left: 3px solid var(--cyan);
      padding: 28px 24px; box-shadow: var(--shadow);
    }
    .problem-card .icon {
      width: 40px; height: 40px; margin-bottom: 16px;
      color: var(--cyan); stroke: var(--cyan);
    }
    .problem-card h3 {
      font-size: 15px; font-weight: 700; color: var(--blue);
      margin-bottom: 8px; line-height: 1.3;
    }
    .problem-card p {
      font-size: 14px; color: rgba(44,62,80,0.75); line-height: 1.6;
    }

    .transition-quote {
      text-align: center; padding: 40px 24px;
      font-family: 'Montserrat', sans-serif; font-size: clamp(18px,2vw,24px);
      font-weight: 700; color: var(--blue); line-height: 1.4;
      border-top: 1px solid rgba(0,45,98,0.08);
    }
    .transition-quote em { color: var(--cyan); font-style: normal; }

    /* ─── PILLARS SECTION ─── */
    #pilares { background: var(--blue); }

    .pillars-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    }
    .pillars-grid-4 {
      grid-template-columns: repeat(2, 1fr);
    }
    @media(max-width:768px){ .pillars-grid { grid-template-columns: 1fr; } }
    @media(max-width:768px){ .pillars-grid-4 { grid-template-columns: 1fr; } }

    .pillar-card {
      background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
      border-radius: 8px; padding: 36px 28px;
      transition: transform 0.25s, background 0.25s, border-color 0.25s;
      cursor: default;
    }
    .pillar-card:hover {
      transform: translateY(-4px);
      background: rgba(255,255,255,0.07);
      border-color: rgba(0,168,204,0.3);
    }
    .pillar-icon {
      width: 48px; height: 48px; color: var(--cyan);
      margin-bottom: 20px;
    }
    .pillar-card h3 {
      font-size: 18px; font-weight: 700; color: var(--white);
      margin-bottom: 12px;
    }
    .pillar-card p {
      font-size: 14px; color: rgba(255,255,255,0.62); line-height: 1.65;
      margin-bottom: 20px;
    }
    .tech-pills { display: flex; flex-wrap: wrap; gap: 6px; }
    .pill {
      font-family: 'JetBrains Mono', monospace;
      font-size: 10px; font-weight: 500; letter-spacing: 0.06em;
      color: var(--cyan); border: 1px solid rgba(0,168,204,0.35);
      padding: 3px 8px; border-radius: 3px;
    }

    /* ─── KPIs SECTION ─── */
    #kpis { background: var(--off); }

    .kpis-grid {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    }
    @media(max-width:640px){ .kpis-grid { grid-template-columns: 1fr; } }

    .kpi-card {
      background: var(--white); border-radius: 8px; padding: 32px 28px;
      box-shadow: var(--shadow);
    }
    .kpi-key {
      font-family: 'JetBrains Mono', monospace;
      font-size: 40px; font-weight: 500; color: var(--cyan);
      letter-spacing: -0.02em; line-height: 1; margin-bottom: 12px;
      display: block;
    }
    .kpi-divider {
      width: 40px; height: 2px; background: var(--cyan);
      margin-bottom: 12px; border-radius: 1px;
    }
    .kpi-card h3 {
      font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 6px;
    }
    .kpi-card p { font-size: 13px; color: rgba(44,62,80,0.7); line-height: 1.6; }

    /* ─── MODEL SECTION ─── */
    #modelo { background: linear-gradient(180deg, var(--off) 0%, var(--white) 100%); }

    .timeline {
      display: flex; align-items: flex-start; gap: 0; position: relative;
      margin-bottom: 64px;
    }
    .timeline::before {
      content: '';
      position: absolute; top: 28px; left: 28px; right: 28px; height: 2px;
      background: linear-gradient(90deg, var(--cyan), rgba(0,168,204,0.2));
      z-index: 0;
    }
    .timeline-step {
      flex: 1; display: flex; flex-direction: column; align-items: center;
      text-align: center; padding: 0 16px; position: relative; z-index: 1;
    }
    .step-circle {
      width: 56px; height: 56px; border-radius: 50%;
      background: var(--cyan); color: var(--white);
      font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 20px;
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 20px; flex-shrink: 0; box-shadow: 0 0 0 6px rgba(0,168,204,0.12);
    }
    .timeline-step h3 { font-size: 16px; color: var(--blue); margin-bottom: 8px; }
    .timeline-step p { font-size: 13px; color: rgba(44,62,80,0.7); line-height: 1.6; }

    @media(max-width:768px){
      .timeline { flex-direction: column; gap: 32px; }
      .timeline::before {
        top: 28px; left: 27px; bottom: 28px; right: auto;
        width: 2px; height: auto;
      }
      .timeline-step { flex-direction: row; text-align: left; gap: 20px; align-items: flex-start; }
      .step-circle { margin-bottom: 0; flex-shrink: 0; }
    }

    .remuneration-grid {
      display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    }
    @media(max-width:640px){ .remuneration-grid { grid-template-columns: 1fr; } }

    .rem-card {
      border: 1px solid rgba(0,45,98,0.1); border-radius: 8px; padding: 24px 20px;
      background: var(--white);
    }
    .rem-label {
      font-family: 'JetBrains Mono', monospace; font-size: 11px;
      color: var(--cyan); letter-spacing: 0.1em; text-transform: uppercase;
      margin-bottom: 8px; display: block;
    }
    .rem-card h3 { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
    .rem-card p { font-size: 13px; color: rgba(44,62,80,0.7); line-height: 1.55; }

    /* ─── CASES (legacy styles kept for case-card components) ─── */
    #cases { background: var(--blue); }

    .cases-grid {
      display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    }
    @media(max-width:768px){ .cases-grid { grid-template-columns: 1fr; } }

    .case-card {
      background: var(--white); border-radius: 8px;
      border-top: 4px solid var(--cyan); padding: 36px 32px;
      display: flex; flex-direction: column;
    }
    .case-sector {
      font-family: 'JetBrains Mono', monospace; font-size: 11px;
      color: var(--cyan); letter-spacing: 0.12em; text-transform: uppercase;
      margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
    }
    .case-card h3 { font-size: 20px; font-weight: 700; color: var(--blue); margin-bottom: 12px; }
    .case-card p { font-size: 14px; color: rgba(44,62,80,0.75); line-height: 1.65; margin-bottom: 20px; }
    .deliverables { list-style: none; margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
    .deliverables li {
      font-size: 13px; color: rgba(44,62,80,0.8); display: flex; align-items: flex-start; gap: 8px;
    }
    .deliverables li::before { content: '→'; color: var(--cyan); font-weight: 700; flex-shrink: 0; }
    .case-result {
      margin-top: auto; padding: 16px; background: var(--off); border-radius: 6px;
      display: flex; flex-direction: column; gap: 6px;
    }
    .case-result-label {
      font-size: 10px; font-weight: 600; letter-spacing: 0.1em; color: rgba(44,62,80,0.5);
      text-transform: uppercase; font-family: 'JetBrains Mono', monospace;
    }
    .case-result-values {
      display: flex; gap: 16px; flex-wrap: wrap;
    }
    .result-metric {
      font-family: 'JetBrains Mono', monospace; font-size: 14px;
      font-weight: 500; color: var(--blue);
    }
    .case-card .btn-ghost-dark {
      margin-top: 20px; display: inline-flex; align-items: center; gap: 6px;
      font-size: 13px; font-weight: 600; color: var(--cyan); text-decoration: none;
      transition: gap 0.2s;
    }
    .case-card .btn-ghost-dark:hover { gap: 10px; }

    /* ─── CONTACT SECTION ─── */
    #contato { background: var(--off); }

    .contact-inner {
      display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
    }
    @media(max-width:900px){ .contact-inner { grid-template-columns: 1fr; gap: 48px; } }

    .contact-reasons { display: flex; flex-direction: column; gap: 24px; }
    .reason {
      display: flex; align-items: flex-start; gap: 16px;
    }
    .reason-icon {
      width: 40px; height: 40px; background: rgba(0,168,204,0.08);
      border-radius: 8px; display: flex; align-items: center; justify-content: center;
      flex-shrink: 0; color: var(--cyan);
    }
    .reason h4 { font-size: 15px; color: var(--blue); margin-bottom: 4px; }
    .reason p { font-size: 13px; color: rgba(44,62,80,0.7); line-height: 1.55; }

    form { display: flex; flex-direction: column; gap: 16px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    @media(max-width:640px){ .form-row { grid-template-columns: 1fr; } }

    label { font-size: 13px; font-weight: 600; color: var(--slate); display: block; margin-bottom: 6px; }
    input, select, textarea {
      width: 100%; padding: 11px 14px;
      border: 1px solid rgba(0,45,98,0.18); border-radius: 4px;
      font-family: 'Inter', sans-serif; font-size: 14px; color: var(--slate);
      background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
      outline: none;
    }
    input:focus, select:focus, textarea:focus {
      border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,168,204,0.12);
    }
    textarea { resize: vertical; min-height: 100px; }
    select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232C3E50' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

    .submit-btn {
      width: 100%; padding: 15px; background: var(--blue);
      color: var(--white); font-family: 'Inter', sans-serif;
      font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
      border: none; border-radius: 4px; cursor: pointer;
      transition: background 0.2s, transform 0.15s;
    }
    .submit-btn:hover { background: #003a7a; transform: translateY(-1px); }
    .submit-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

    .btn-secondary {
      display: inline-flex; align-items: center; justify-content: center;
      padding: 12px 18px; background: transparent; color: var(--blue);
      font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px;
      border: 1px solid rgba(0,45,98,0.25); border-radius: 4px; cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }

    .privacy-note, .form-note {
      font-size: 11px; color: rgba(44,62,80,0.45); text-align: center;
      line-height: 1.5;
    }
    .privacy-note a, .form-note a { color: var(--cyan); text-decoration: none; }
    .privacy-note a:hover, .form-note a:hover { text-decoration: underline; }

    .form-check {
      display: flex; align-items: flex-start; gap: 10px;
      font-size: 13px; color: rgba(44,62,80,0.75); line-height: 1.45;
      cursor: pointer;
    }
    .form-check input { width: auto; margin-top: 3px; flex-shrink: 0; }

    .cf-turnstile-host { margin: 4px 0 8px; min-height: 65px; }

    /* OTP stage */
    .form-verify { display: none; flex-direction: column; gap: 14px; }
    .form-verifying #contact-form { display: none !important; }
    .form-verifying .form-verify { display: flex; }
    .form-verifying .form-success { display: none; }
    .form-sent #contact-form { display: none !important; }
    .form-sent .form-verify { display: none !important; }
    .form-verify-intro {
      font-family: 'Montserrat', sans-serif; font-size: 20px; font-weight: 700;
      color: var(--blue); margin: 0;
    }
    .form-verify-hint {
      font-size: 13px; color: rgba(44,62,80,0.65); line-height: 1.5; margin: 0 0 8px;
    }
    .form-verify-block { margin-bottom: 8px; }
    .form-verify-row {
      display: flex; align-items: stretch; gap: 10px; flex-wrap: wrap;
    }
    .form-verify-row input { flex: 1 1 140px; min-width: 0; }
    .form-verify-one {
      flex: 0 0 auto; align-self: stretch;
      padding-left: 18px; padding-right: 18px; white-space: nowrap;
    }
    .form-verify-already { align-self: flex-start; margin-top: 4px; }
    .form-verify-note { text-align: left; }

    .form-success {
      display: none; text-align: center; padding: 40px 24px;
      background: var(--white); border-radius: 8px; border: 1px solid rgba(0,168,204,0.2);
    }
    .form-sent .form-success { display: block; }
    .form-success .check { font-size: 40px; margin-bottom: 12px; }
    .form-success h3 { color: var(--blue); margin-bottom: 8px; }
    .form-success p { font-size: 14px; color: rgba(44,62,80,0.7); }

    /* ─── REFERÊNCIAS METODOLÓGICAS ─── */
    #referencias {
      background: linear-gradient(180deg, var(--white) 0%, var(--off) 100%);
      border-top: 1px solid rgba(0,45,98,0.06);
    }
    .ref-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
    .ref-header > div { max-width: 640px; }
    .ref-meta {
      font-family: 'JetBrains Mono', monospace; font-size: 11px;
      color: rgba(44,62,80,0.45); letter-spacing: 0.08em; text-transform: uppercase;
      display: inline-flex; align-items: center; gap: 8px;
      padding: 6px 10px; border: 1px solid rgba(0,45,98,0.1); border-radius: 3px;
      background: var(--white);
    }
    .ref-meta::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

    .ref-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    @media(max-width:768px){ .ref-categories { grid-template-columns: 1fr; } }

    .ref-card {
      background: var(--white); border-radius: 8px;
      border: 1px solid rgba(0,45,98,0.08);
      padding: 32px 28px;
      display: flex; flex-direction: column;
      transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    }
    .ref-card:hover {
      transform: translateY(-3px);
      border-color: rgba(0,168,204,0.4);
      box-shadow: var(--shadow);
    }
    .ref-card-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
    .ref-num {
      font-family: 'JetBrains Mono', monospace; font-weight: 500;
      font-size: 12px; color: var(--cyan); letter-spacing: 0.1em;
      padding: 4px 10px; border: 1px solid rgba(0,168,204,0.4);
      border-radius: 3px; flex-shrink: 0;
    }
    .ref-icon-wrap {
      width: 44px; height: 44px; flex-shrink: 0;
      background: rgba(0,168,204,0.08); border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: var(--cyan);
    }
    .ref-card h3 { font-size: 18px; font-weight: 700; color: var(--blue); margin-bottom: 6px; line-height: 1.25; }
    .ref-card-sub {
      font-family: 'JetBrains Mono', monospace; font-size: 11px;
      color: rgba(44,62,80,0.55); letter-spacing: 0.06em;
      text-transform: uppercase; margin-bottom: 18px;
    }
    .ref-card > p {
      font-size: 14px; color: rgba(44,62,80,0.72); line-height: 1.65;
      margin-bottom: 20px;
    }
    .ref-list {
      list-style: none; display: flex; flex-direction: column; gap: 10px;
      padding-top: 18px; border-top: 1px dashed rgba(0,45,98,0.12);
    }
    .ref-list li {
      display: flex; align-items: flex-start; gap: 12px;
      font-size: 13px; color: var(--slate); line-height: 1.5;
    }
    .ref-tag {
      flex-shrink: 0; font-family: 'JetBrains Mono', monospace;
      font-size: 10px; font-weight: 500; letter-spacing: 0.04em;
      color: var(--blue); background: rgba(0,45,98,0.06);
      padding: 3px 8px; border-radius: 3px; min-width: 70px; text-align: center;
    }
    .ref-list li strong { color: var(--blue); font-weight: 600; }

    /* ─── FOOTER ─── */
    footer {
      background: var(--blue); padding: 56px 0 32px;
    }
    .footer-inner {
      display: flex; justify-content: space-between; align-items: flex-start;
      gap: 48px; flex-wrap: wrap; margin-bottom: 40px;
    }
    .footer-brand {}
    .footer-logo-text {
      font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 24px;
      color: var(--white); letter-spacing: -0.02em; margin-bottom: 8px;
    }
    .footer-logo-text span { color: var(--cyan); }
    .footer-tagline {
      font-family: 'JetBrains Mono', monospace; font-size: 11px;
      color: rgba(255,255,255,0.4); letter-spacing: 0.08em;
    }
    .footer-links {
      display: flex; flex-direction: column; gap: 12px;
    }
    .footer-links a {
      color: rgba(255,255,255,0.6); font-size: 14px; text-decoration: none;
      transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--cyan); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding-top: 24px; display: flex;
      justify-content: space-between; align-items: center;
      gap: 16px; flex-wrap: wrap;
    }
    .footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }

    /* ─── SCROLL ANIMATIONS ─── */
    .fade-up {
      opacity: 0; transform: translateY(28px);
      transition: opacity 0.55s ease, transform 0.55s ease;
    }
    .fade-up.visible { opacity: 1; transform: translateY(0); }
    .fade-up-delay-1 { transition-delay: 0.1s; }
    .fade-up-delay-2 { transition-delay: 0.2s; }
    .fade-up-delay-3 { transition-delay: 0.3s; }

/* Legal pages */
.legal-page { padding: 120px 0 80px; background: var(--off); }
.legal-page .container { max-width: 800px; }
.legal-page h1 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 12px; }
.legal-page .legal-updated { font-size: 13px; color: rgba(44,62,80,0.55); margin-bottom: 40px; }
.legal-page h2 { font-size: 20px; margin: 36px 0 12px; }
.legal-page h3 { font-size: 16px; margin: 24px 0 8px; }
.legal-page p, .legal-page li { font-size: 15px; color: rgba(44,62,80,0.85); line-height: 1.7; margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; margin-bottom: 16px; }
.legal-page a { color: var(--cyan); }

/* Cookie banner (analytics) */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: rgba(0,45,98,0.97); color: #fff; padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner-inner { max-width: var(--max); margin: 0 auto; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.cookie-banner p { font-size: 13px; color: rgba(255,255,255,0.75); max-width: 640px; line-height: 1.5; }
.cookie-banner a { color: var(--cyan); }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner button {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  padding: 10px 16px; border-radius: 4px; border: none; cursor: pointer;
}
.cookie-btn-deny { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.3) !important; }
.cookie-btn-allow { background: var(--cyan); color: #fff; }

/* Legal / privacy pages */
.priv-hero {
  background: linear-gradient(140deg, #002D62 0%, #1a2f44 60%, #2C3E50 100%);
  padding: 120px 24px 64px; text-align: center;
}
.priv-eyebrow {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 500;
  color: var(--cyan); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px;
}
.priv-title {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: #fff; margin-bottom: 16px;
}
.priv-title em { color: var(--cyan); font-style: normal; }
.priv-meta { font-size: 14px; color: rgba(255,255,255,0.55); }
.priv-content { max-width: 800px; margin: 0 auto; padding: 80px 24px 120px; }
.priv-toc {
  background: var(--off); border: 1px solid rgba(0,45,98,0.08);
  border-radius: 8px; padding: 32px; margin-bottom: 60px; box-shadow: var(--shadow);
}
.priv-toc h3 {
  font-family: 'JetBrains Mono', monospace; font-size: 13px; font-weight: 600;
  color: var(--blue); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px;
}
.priv-toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.priv-toc li a { color: var(--slate); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.priv-toc li a:hover { color: var(--cyan); }
.priv-section { margin-bottom: 60px; padding-top: 24px; scroll-margin-top: 80px; }
.priv-section-num {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; font-weight: 600;
  color: var(--cyan); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}
.priv-section h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; margin-bottom: 20px; }
.priv-section p, .priv-section ul, .priv-section ol {
  color: rgba(44,62,80,0.8); font-size: 15px; line-height: 1.75; margin-bottom: 16px;
}
.priv-section p:last-child { margin-bottom: 0; }
.priv-section ul, .priv-section ol { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.priv-section strong { color: var(--blue); font-weight: 600; }
.priv-section a { color: var(--cyan); }
.priv-divider { height: 1px; background: rgba(0,45,98,0.08); margin: 60px 0; }
.priv-table {
  width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0;
  background: var(--white); box-shadow: var(--shadow); border-radius: 8px; overflow: hidden;
}
.priv-table th {
  text-align: left; padding: 16px; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: 0.06em;
  text-transform: uppercase; background: var(--off); border-bottom: 1px solid rgba(0,45,98,0.08);
}
.priv-table td {
  padding: 16px; color: rgba(44,62,80,0.8); border-bottom: 1px solid rgba(0,45,98,0.08);
  vertical-align: top; line-height: 1.55;
}
.priv-table tr:last-child td { border-bottom: none; }
.priv-table tr:hover td { background: var(--off); }
.rights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
@media(max-width:640px){ .rights-grid { grid-template-columns: 1fr; } }
.right-card { background: var(--white); border: 1px solid rgba(0,45,98,0.08); border-radius: 8px; padding: 20px; box-shadow: var(--shadow); }
.right-card-title { font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.right-card-text { font-size: 13px; color: rgba(44,62,80,0.8); line-height: 1.55; }
.contact-box { background: var(--off); border: 1px solid rgba(0,168,204,0.2); border-radius: 8px; padding: 32px; margin-top: 32px; display: flex; align-items: flex-start; gap: 20px; }
.contact-box-icon { font-size: 28px; margin-top: 2px; }
.contact-box-title { font-size: 16px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.contact-box-text { font-size: 14px; color: rgba(44,62,80,0.8); line-height: 1.65; }
.contact-box-text a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.contact-box-text a:hover { text-decoration: underline; }
.highlight-box {
  background: var(--off); border-left: 3px solid var(--cyan);
  padding: 20px 24px; margin: 20px 0; border-radius: 0 8px 8px 0;
}
.highlight-box p { margin: 0; color: rgba(44,62,80,0.85); font-size: 14px; line-height: 1.65; }
.highlight-box a { color: var(--cyan); }
a.lang-btn {
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.55); font-size: 12px; font-weight: 600;
  font-family: 'Inter', sans-serif; letter-spacing: 0.04em;
  padding: 4px 6px; border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
a.lang-btn:hover { color: var(--white); }
a.lang-btn.active { color: var(--cyan); background: rgba(0,168,204,0.12); }

/* WhatsApp floating widget */
.wa-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: 'Inter', sans-serif;
}
body:has(#tr-cookie-banner) .wa-widget {
  bottom: 120px;
}
.wa-panel {
  width: min(300px, calc(100vw - 48px));
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 45, 98, 0.18);
  border: 1px solid rgba(0, 45, 98, 0.08);
  padding: 20px;
  display: none;
  flex-direction: column;
  gap: 14px;
  transform-origin: bottom right;
  animation: wa-panel-in 0.2s ease;
}
.wa-panel.open {
  display: flex;
}
@keyframes wa-panel-in {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.wa-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.wa-panel-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 4px;
  line-height: 1.3;
}
.wa-panel-sub {
  font-size: 13px;
  color: rgba(44, 62, 80, 0.7);
  margin: 0;
  line-height: 1.45;
}
.wa-panel-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: rgba(44, 62, 80, 0.55);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.wa-panel-close:hover {
  background: var(--off);
  color: var(--blue);
}
.wa-chat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  background: #25D366;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}
.wa-chat-btn:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  color: #fff;
}
.wa-chat-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.wa-qr-block {
  text-align: center;
  padding-top: 4px;
  border-top: 1px solid rgba(0, 45, 98, 0.08);
}
.wa-qr-label {
  font-size: 12px;
  color: rgba(44, 62, 80, 0.65);
  margin: 0 0 10px;
  line-height: 1.4;
}
.wa-qr-img {
  width: 160px;
  height: 160px;
  display: block;
  margin: 0 auto;
  border-radius: 6px;
  background: #fff;
}
.wa-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: #25D366;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.wa-fab:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}
.wa-fab:focus-visible {
  outline: 3px solid rgba(37, 211, 102, 0.45);
  outline-offset: 3px;
}
.wa-fab svg {
  width: 32px;
  height: 32px;
}
@media (max-width: 480px) {
  .wa-widget {
    right: 16px;
    bottom: 16px;
  }
  body:has(#tr-cookie-banner) .wa-widget {
    bottom: 140px;
  }
  .wa-fab {
    width: 56px;
    height: 56px;
  }
  .wa-fab svg {
    width: 28px;
    height: 28px;
  }
}
