:root {
    --bg: #0a0a0a;
    --bg-elevated: #141414;
    --bg-card: #1a1a1a;
    --line: rgba(255,255,255,0.08);
    --line-strong: rgba(255,255,255,0.16);
    --text: #f5f5f5;
    --text-muted: #999;
    --text-soft: #cccccc;
    --accent: #E8302A;
    --accent-orange: #F39200;
    --accent-green: #4FB546;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
    --mono: 'JetBrains Mono', monospace;
  }

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

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* Grain overlay para textura premium */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
    z-index: 1000;
    mix-blend-mode: overlay;
  }

  .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
  }

  /* ============ NAVIGATION ============ */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 20px 0;
    background: rgba(10,10,10,0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
  }

  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
  }

  .logo-img {
    width: 36px; height: 36px;
    object-fit: contain;
    display: block;
  }

  .logo-img-large {
    width: 56px; height: 56px;
    object-fit: contain;
    display: block;
  }

  .logo-text {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
  }

  .nav-menu {
    display: flex;
    gap: 40px;
    list-style: none;
  }

  .nav-menu a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
  }

  .nav-menu a:hover { color: var(--text); }
  .nav-menu a.active { color: var(--text); }
  .nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0; right: 0;
    height: 1px;
    background: var(--accent);
  }

  .nav-cta {
    background: var(--text);
    color: var(--bg);
    padding: 10px 20px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, background 0.2s;
  }

  .nav-cta:hover {
    background: var(--accent);
    color: var(--text);
    transform: translateY(-1px);
  }

  /* ============ PAGE SECTIONS ============ */
  .page {
    display: none;
    padding-top: 90px;
  }
  .page.active { display: block; }

  /* ============ HERO ============ */
  .hero {
    min-height: 90vh;
    padding: 80px 0 120px;
    position: relative;
    display: flex;
    align-items: center;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
  }

  .hero-bg::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(232,48,42,0.15), transparent 70%);
    filter: blur(80px);
  }

  .hero-bg::after {
    content: '';
    position: absolute;
    bottom: -20%; left: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(243,146,0,0.08), transparent 70%);
    filter: blur(100px);
  }

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

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-soft);
    margin-bottom: 32px;
    animation: fadeUp 0.8s ease;
  }

  .hero-tag .dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px var(--accent-green);
  }

  h1.hero-title {
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    animation: fadeUp 0.8s 0.1s ease backwards;
  }

  h1.hero-title em {
    font-style: italic;
    color: var(--accent);
    font-weight: 500;
  }

  .hero-subtitle {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-soft);
    margin-bottom: 48px;
    max-width: 540px;
    animation: fadeUp 0.8s 0.2s ease backwards;
  }

  .hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    animation: fadeUp 0.8s 0.3s ease backwards;
  }

  .btn-primary {
    background: var(--accent);
    color: white;
    padding: 16px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
  }

  .btn-primary:hover {
    background: #ff3d36;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232,48,42,0.3);
  }

  /* WhatsApp button variant */
  .btn-whatsapp {
    background: #25D366;
    color: white;
    padding: 16px 28px;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
  }

  .btn-whatsapp:hover {
    background: #1ebd5b;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.35);
  }

  .btn-whatsapp svg.wa-icon {
    width: 18px; height: 18px;
    fill: white;
  }

  /* Floating WhatsApp button (FAB) */
  .fab-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.6);
    z-index: 90;
    cursor: pointer;
    text-decoration: none;
    animation: fabPulse 2.4s ease-in-out infinite;
    transition: transform 0.3s;
  }

  .fab-whatsapp:hover {
    transform: scale(1.08);
  }

  .fab-whatsapp svg {
    width: 32px; height: 32px;
    fill: white;
  }

  @keyframes fabPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
    50% { box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 0 0 14px rgba(37,211,102,0); }
  }

  /* Cookie banner */
  .cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    max-width: 420px;
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    padding: 24px;
    z-index: 95;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transform: translateY(20px);
    opacity: 0;
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
  }

  .cookie-banner.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .cookie-banner h4 {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }

  .cookie-banner p {
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .cookie-banner p a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }

  .cookie-btn {
    padding: 10px 16px;
    border-radius: 100px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--text);
    transition: all 0.2s;
  }

  .cookie-btn:hover {
    border-color: var(--text);
    background: rgba(255,255,255,0.04);
  }

  .cookie-btn.primary {
    background: var(--text);
    color: var(--bg);
    border-color: var(--text);
  }

  .cookie-btn.primary:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
  }

  .cookie-prefs {
    width: 100%;
    padding: 8px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--sans);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .cookie-prefs:hover {
    color: var(--text);
  }

  /* Cookie preferences modal */
  .cookie-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .cookie-modal-overlay.visible {
    display: flex;
  }

  .cookie-modal {
    background: var(--bg-elevated);
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: 36px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
  }

  .cookie-modal h3 {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }

  .cookie-modal-intro {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .cookie-category {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
  }

  .cookie-category:last-of-type {
    border-bottom: 1px solid var(--line);
    margin-bottom: 24px;
  }

  .cookie-category-info strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    font-weight: 600;
  }

  .cookie-category-info span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
  }

  /* Toggle switch */
  .cookie-toggle {
    position: relative;
    width: 42px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .cookie-toggle .slider {
    position: absolute;
    inset: 0;
    background: var(--line-strong);
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.2s;
  }

  .cookie-toggle .slider::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 18px; height: 18px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
  }

  .cookie-toggle input:checked + .slider {
    background: var(--accent-green);
  }

  .cookie-toggle input:checked + .slider::before {
    transform: translateX(18px);
  }

  .cookie-toggle input:disabled + .slider {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .cookie-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .btn-secondary {
    color: var(--text);
    padding: 16px 28px;
    border: 1px solid var(--line-strong);
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
  }

  .btn-secondary:hover {
    border-color: var(--text);
    background: rgba(255,255,255,0.05);
  }

  /* Visual side card */
  .hero-visual {
    position: relative;
    animation: fadeUp 0.8s 0.4s ease backwards;
  }

  .compliance-card {
    background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px;
    position: relative;
    overflow: hidden;
  }

  .compliance-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
  }

  .compliance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
  }

  .compliance-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
  }

  .compliance-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--accent-green);
    font-weight: 500;
  }

  .pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse 2s infinite;
  }

  .compliance-metrics {
    display: grid;
    gap: 20px;
  }

  .metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .metric-row:last-child { border-bottom: none; padding-bottom: 0; }

  .metric-name {
    font-size: 14px;
    color: var(--text-soft);
  }

  .metric-value {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: -0.02em;
  }

  .metric-trend {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent-green);
    margin-left: 8px;
  }

  /* ============ LOGOS STRIP ============ */
  .clients-strip {
    padding: 60px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .clients-label {
    text-align: center;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 32px;
  }

  .clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
    opacity: 0.6;
  }

  .client-logo {
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-weight: 500;
    font-size: 18px;
    color: var(--text-muted);
    letter-spacing: -0.02em;
  }

  /* ============ SECTION STYLES ============ */
  section.content-section {
    padding: 120px 0;
    position: relative;
  }

  .section-header {
    max-width: 720px;
    margin-bottom: 80px;
  }

  .section-tag {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .section-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--accent);
  }

  h2.section-title {
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }

  h2.section-title em {
    font-style: italic;
    color: var(--text-muted);
  }

  .section-lead {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-soft);
  }

  /* ============ SERVICES ============ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
  }

  .service-card {
    background: var(--bg);
    padding: 48px;
    transition: background 0.3s;
    position: relative;
    cursor: pointer;
  }

  .service-card:hover {
    background: var(--bg-elevated);
  }

  .service-number {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 32px;
    display: block;
  }

  .service-icon {
    width: 48px; height: 48px;
    margin-bottom: 32px;
    color: var(--accent);
  }

  .service-card:nth-child(2) .service-icon { color: var(--accent-orange); }
  .service-card:nth-child(3) .service-icon { color: var(--accent-green); }
  .service-card:nth-child(4) .service-icon { color: var(--accent); }

  h3.service-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }

  .service-desc {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 32px;
  }

  .service-features {
    list-style: none;
    margin-bottom: 32px;
  }

  .service-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-soft);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .service-features li::before {
    content: '+';
    color: var(--accent);
    font-weight: 600;
  }

  .service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: gap 0.2s;
  }

  .service-link:hover { gap: 12px; }

  /* ============ APPROACH (numbered) ============ */
  .approach-section {
    background: var(--bg-elevated);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }

  .approach-step {
    position: relative;
  }

  .step-number {
    font-family: var(--serif);
    font-size: 72px;
    font-weight: 300;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
  }

  .step-title {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
  }

  .step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
  }

  /* ============ STATS ============ */
  .stats-section {
    padding: 100px 0;
    border-top: 1px solid var(--line);
  }

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
  }

  .stat-item {
    border-left: 1px solid var(--line-strong);
    padding-left: 24px;
  }

  .stat-number {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
  }

  .stat-number sup {
    font-size: 24px;
    color: var(--accent);
    vertical-align: super;
  }

  .stat-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }

  /* ============ TESTIMONIAL ============ */
  .testimonial-section {
    padding: 120px 0;
  }

  .testimonial-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
  }

  .quote-mark {
    font-family: var(--serif);
    font-size: 120px;
    line-height: 0.5;
    color: var(--accent);
    margin-bottom: 32px;
  }

  .testimonial-text {
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.3;
    margin-bottom: 40px;
    letter-spacing: -0.01em;
  }

  .testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .author-name {
    font-weight: 600;
    font-size: 15px;
  }

  .author-role {
    font-size: 13px;
    color: var(--text-muted);
  }

  /* Testimonials grid (3 cards) */
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .testimonial-mini {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s, transform 0.3s;
  }

  .testimonial-mini:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
  }

  .quote-small {
    font-family: var(--serif);
    font-size: 48px;
    line-height: 0.5;
    color: var(--accent);
    margin-bottom: 16px;
    margin-top: 8px;
  }

  .testimonial-mini-text {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--text);
    flex-grow: 1;
  }

  .testimonial-mini-author {
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .mini-author-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
  }

  .mini-author-role {
    font-size: 12px;
    color: var(--text-muted);
  }

  /* ============ CTA SECTION ============ */
  .cta-section {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--bg), var(--bg-elevated));
    border-top: 1px solid var(--line);
    text-align: center;
  }

  .cta-title {
    font-family: var(--serif);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .cta-title em {
    font-style: italic;
    color: var(--accent);
  }

  .cta-subtitle {
    font-size: 18px;
    color: var(--text-soft);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  /* ============ FOOTER ============ */
  footer {
    padding: 80px 0 32px;
    border-top: 1px solid var(--line);
    background: var(--bg-elevated);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
  }

  .footer-brand h4 {
    font-family: var(--serif);
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: 500;
  }

  .footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 320px;
    line-height: 1.6;
  }

  .footer-col h5 {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 20px;
  }

  .footer-col ul {
    list-style: none;
  }

  .footer-col li {
    margin-bottom: 12px;
  }

  .footer-col a {
    color: var(--text-soft);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
  }

  .footer-col a:hover { color: var(--accent); }

  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--text-muted);
  }

  /* ============ SERVICES PAGE ============ */
  .page-hero {
    padding: 100px 0 80px;
    border-bottom: 1px solid var(--line);
  }

  .page-hero-title {
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 900px;
  }

  .page-hero-title em {
    font-style: italic;
    color: var(--accent);
  }

  .page-hero-lead {
    font-size: 20px;
    color: var(--text-soft);
    max-width: 640px;
    line-height: 1.5;
  }

  /* Service detail blocks */
  .service-detail {
    padding: 100px 0;
    border-bottom: 1px solid var(--line);
  }

  .service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
  }

  .service-detail:nth-child(even) .service-detail-grid {
    grid-template-columns: 1.2fr 1fr;
  }

  .service-detail:nth-child(even) .service-detail-grid > div:first-child {
    order: 2;
  }

  .service-detail-meta {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--accent);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
  }

  h3.service-detail-title {
    font-family: var(--serif);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
  }

  .service-detail-desc {
    font-size: 17px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-bottom: 32px;
  }

  .service-detail-list {
    list-style: none;
  }

  .service-detail-list li {
    padding: 16px 0;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .service-detail-list li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .check-icon {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
  }

  .check-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 4px;
    border-left: 1.5px solid var(--accent);
    border-bottom: 1.5px solid var(--accent);
    transform: translate(-50%, -65%) rotate(-45deg);
  }

  .feature-text strong {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
  }

  .feature-text span {
    color: var(--text-muted);
    font-size: 14px;
  }

  /* Service visual */
  .service-visual {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 48px;
    position: relative;
    overflow: hidden;
  }

  .service-visual::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(232,48,42,0.1), transparent 70%);
  }

  /* ============ ABOUT PAGE ============ */
  .about-intro {
    padding: 80px 0 100px;
  }

  .about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }

  .about-image {
    background: linear-gradient(135deg, var(--bg-elevated), var(--bg-card));
    border: 1px solid var(--line);
    border-radius: 20px;
    aspect-ratio: 4/5;
    position: relative;
    overflow: hidden;
  }

  .about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      linear-gradient(135deg, transparent 0%, rgba(232,48,42,0.05) 50%, transparent 100%);
  }

  .about-image::after {
    content: 'CTECH';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--serif);
    font-size: 96px;
    font-weight: 300;
    color: var(--text);
    opacity: 0.08;
    letter-spacing: -0.04em;
  }

  .values-section {
    padding: 100px 0;
    background: var(--bg-elevated);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    margin-top: 60px;
  }

  .value-card {
    padding: 32px 0;
    border-top: 2px solid var(--accent);
  }

  .value-card:nth-child(2) {
    border-top-color: var(--accent-orange);
  }
  .value-card:nth-child(3) {
    border-top-color: var(--accent-green);
  }

  h4.value-title {
    font-family: var(--serif);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
  }

  .value-desc {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
  }

  /* ============ CONTENT/INSIGHTS PAGE ============ */
  .insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
  }

  .insight-card {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
  }

  .insight-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
  }

  .insight-image {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-card), #2a1a1a);
    position: relative;
    overflow: hidden;
  }

  .insight-card:nth-child(2) .insight-image {
    background: linear-gradient(135deg, var(--bg-card), #2a201a);
  }
  .insight-card:nth-child(3) .insight-image {
    background: linear-gradient(135deg, var(--bg-card), #1a2a1f);
  }

  .insight-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(232,48,42,0.2), transparent 60%);
  }

  .insight-card:nth-child(2) .insight-image::after {
    background: radial-gradient(circle at 30% 30%, rgba(243,146,0,0.2), transparent 60%);
  }
  .insight-card:nth-child(3) .insight-image::after {
    background: radial-gradient(circle at 30% 30%, rgba(79,181,70,0.2), transparent 60%);
  }

  .insight-meta {
    padding: 24px 28px 0;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
  }

  .insight-tag {
    color: var(--accent);
  }

  h4.insight-title {
    padding: 16px 28px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.01em;
  }

  .insight-excerpt {
    padding: 0 28px 28px;
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.6;
  }

  /* ============ CONTACT PAGE ============ */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding: 60px 0 100px;
  }

  .contact-info h3 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
  }

  .contact-info p {
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 48px;
  }

  .contact-list {
    list-style: none;
  }

  .contact-item {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .contact-item:last-child {
    border-bottom: 1px solid var(--line);
  }

  .contact-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
  }

  .contact-label {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
  }

  .contact-value {
    color: var(--text);
    font-size: 16px;
    font-weight: 500;
  }

  /* Contact form */
  .contact-form {
    background: var(--bg-elevated);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 48px;
  }

  .form-title {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }

  .form-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    display: block;
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 8px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text);
    font-family: var(--sans);
    font-size: 15px;
    transition: border-color 0.2s;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
  }

  .form-group textarea {
    resize: vertical;
    min-height: 120px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .submit-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 100px;
    font-family: var(--sans);
    font-size: 15px;
    font-weight: 600;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 12px;
  }

  .submit-btn:hover {
    background: #ff3d36;
    transform: translateY(-1px);
  }

  /* ============ ANIMATIONS ============ */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
  }

  /* ============ RESPONSIVE ============ */
  /* ============ HAMBURGER MENU (mobile) ============ */
  .nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--line-strong);
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text);
  }

  .nav-toggle svg {
    width: 18px; height: 18px;
  }

  /* ============ RESPONSIVE: TABLET ============ */
  @media (max-width: 1024px) {
    .container { padding: 0 24px; }

    .hero-inner {
      grid-template-columns: 1fr;
      gap: 56px;
    }

    .services-grid {
      grid-template-columns: 1fr;
    }

    .approach-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
    }

    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
    }

    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .insights-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      max-width: 720px;
      margin: 0 auto;
    }

    .values-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }

    .contact-grid,
    .about-intro-grid,
    .service-detail-grid {
      grid-template-columns: 1fr;
      gap: 48px;
    }

    .service-detail:nth-child(even) .service-detail-grid > div:first-child {
      order: 0;
    }
  }

  /* ============ RESPONSIVE: MOBILE ============ */
  @media (max-width: 720px) {
    .container { padding: 0 20px; }

    /* NAV */
    nav { padding: 14px 0; }
    .nav-menu {
      display: none;
      position: fixed;
      top: 68px;
      left: 0; right: 0;
      background: var(--bg);
      border-bottom: 1px solid var(--line);
      flex-direction: column;
      gap: 0;
      padding: 12px 20px 24px;
      z-index: 99;
    }
    .nav-menu.open {
      display: flex;
    }
    .nav-menu li {
      width: 100%;
      border-bottom: 1px solid var(--line);
    }
    .nav-menu li:last-child {
      border-bottom: none;
    }
    .nav-menu a {
      display: block;
      padding: 18px 4px;
      font-size: 16px;
    }
    .nav-menu a.active::after {
      display: none;
    }
    .nav-menu a.active {
      color: var(--accent);
    }
    .nav-toggle { display: flex; }
    .nav-cta { display: none; }

    .logo-img { width: 32px; height: 32px; }
    .logo-text { font-size: 20px; }

    /* PAGE */
    .page { padding-top: 68px; }

    /* HERO */
    .hero {
      min-height: auto;
      padding: 48px 0 64px;
    }
    .hero-inner { gap: 40px; }
    .hero-tag {
      font-size: 10px;
      padding: 5px 12px;
      margin-bottom: 24px;
    }
    h1.hero-title {
      font-size: 40px;
      margin-bottom: 20px;
      line-height: 1.05;
    }
    .hero-subtitle {
      font-size: 16px;
      margin-bottom: 32px;
    }
    .hero-cta-group {
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
    }
    .btn-primary, .btn-secondary {
      justify-content: center;
      padding: 14px 24px;
      font-size: 14px;
      width: 100%;
    }

    /* Hero visual (compliance card) */
    .compliance-card { padding: 24px; }
    .metric-value { font-size: 26px; }
    .compliance-label { font-size: 10px; }

    /* CLIENTS STRIP */
    .clients-strip { padding: 40px 0; }
    .clients-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 24px 16px;
    }
    .client-logo {
      font-size: 14px;
      height: 24px;
    }
    .clients-label {
      font-size: 10px;
      margin-bottom: 24px;
    }

    /* SECTION SPACING */
    section.content-section,
    .testimonial-section,
    .stats-section,
    .cta-section,
    .about-intro {
      padding: 64px 0;
    }
    .section-header {
      margin-bottom: 48px;
    }
    h2.section-title {
      font-size: 30px;
    }
    .section-lead {
      font-size: 16px;
    }
    .section-tag {
      font-size: 10px;
      margin-bottom: 16px;
    }

    /* SERVICE CARDS */
    .service-card { padding: 32px 24px; }
    .service-number { margin-bottom: 20px; }
    .service-icon { margin-bottom: 20px; width: 40px; height: 40px; }
    h3.service-title { font-size: 22px; }
    .service-desc { font-size: 14px; margin-bottom: 24px; }
    .service-features { margin-bottom: 24px; }
    .service-features li { font-size: 13px; }

    /* APPROACH */
    .approach-grid {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .step-number { font-size: 56px; margin-bottom: 16px; }
    .step-title { font-size: 18px; }
    .step-desc { font-size: 13px; }

    /* STATS */
    .stats-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 32px 20px;
    }
    .stats-section { padding: 56px 0; }
    .stat-number { font-size: 38px; }
    .stat-number sup { font-size: 18px; }
    .stat-label { font-size: 11px; }
    .stat-item { padding-left: 16px; }

    /* TESTIMONIAL */
    .quote-mark { font-size: 80px; margin-bottom: 16px; }
    .testimonial-text { font-size: 22px; margin-bottom: 28px; }
    .author-name { font-size: 14px; }
    .author-role { font-size: 12px; }

    .testimonials-grid {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .testimonial-mini { padding: 24px; }
    .testimonial-mini-text { font-size: 15px; }
    .quote-small { font-size: 36px; }

    /* CTA */
    .cta-title { font-size: 32px; }
    .cta-subtitle { font-size: 16px; margin-bottom: 32px; }

    .btn-whatsapp {
      justify-content: center;
      padding: 14px 24px;
      font-size: 14px;
      width: 100%;
    }

    /* FAB Whatsapp mobile */
    .fab-whatsapp {
      bottom: 16px;
      right: 16px;
      width: 54px;
      height: 54px;
    }
    .fab-whatsapp svg { width: 28px; height: 28px; }

    /* Cookie banner mobile */
    .cookie-banner {
      left: 12px;
      right: 12px;
      bottom: 88px; /* não cobrir o FAB */
      max-width: none;
      padding: 18px;
    }
    .cookie-banner h4 { font-size: 16px; }
    .cookie-banner p { font-size: 12px; margin-bottom: 14px; }
    .cookie-btn { font-size: 12px; padding: 9px 12px; }

    .cookie-modal { padding: 24px; }
    .cookie-modal h3 { font-size: 22px; }
    .cookie-modal-intro { font-size: 13px; margin-bottom: 20px; }
    .cookie-category-info strong { font-size: 14px; }
    .cookie-category-info span { font-size: 12px; }

    /* PAGE HERO (sub-pages) */
    .page-hero {
      padding: 56px 0 48px;
    }
    .page-hero-title { font-size: 36px; }
    .page-hero-lead { font-size: 16px; }

    /* SERVICE DETAIL */
    .service-detail { padding: 56px 0; }
    .service-detail-grid { gap: 32px; }
    h3.service-detail-title { font-size: 26px; }
    .service-detail-desc { font-size: 15px; }
    .service-detail-meta { font-size: 10px; }
    .service-detail-list li { padding: 12px 0; gap: 12px; }
    .feature-text strong { font-size: 14px; }
    .feature-text span { font-size: 13px; }
    .service-visual { padding: 28px; }

    /* ABOUT */
    .about-intro-grid { gap: 32px; }
    .about-image { aspect-ratio: 1; }
    .about-image::after { font-size: 56px; }

    /* VALUES */
    .values-section { padding: 64px 0; }
    .value-card { padding: 24px 0; }
    h4.value-title { font-size: 22px; }
    .value-desc { font-size: 14px; }

    /* INSIGHTS */
    .insights-grid {
      grid-template-columns: 1fr;
      gap: 20px;
      margin-top: 40px;
    }
    h4.insight-title { font-size: 19px; padding: 14px 22px; }
    .insight-meta { padding: 20px 22px 0; font-size: 10px; }
    .insight-excerpt { padding: 0 22px 22px; font-size: 13px; }

    /* CONTACT */
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 40px;
      padding: 40px 0 64px;
    }
    .contact-info h3 { font-size: 28px; }
    .contact-info p { font-size: 15px; margin-bottom: 32px; }
    .contact-item { padding: 16px 0; gap: 14px; }
    .contact-icon { width: 36px; height: 36px; }
    .contact-value { font-size: 15px; word-break: break-word; }
    .contact-label { font-size: 10px; }

    /* FORM */
    .contact-form { padding: 28px 22px; }
    .form-title { font-size: 22px; }
    .form-subtitle { font-size: 13px; margin-bottom: 24px; }
    .form-row {
      grid-template-columns: 1fr;
      gap: 0;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      font-size: 16px; /* evita zoom no iOS ao focar */
      padding: 12px 14px;
    }

    /* FOOTER */
    footer { padding: 56px 0 24px; }
    .footer-grid {
      grid-template-columns: 1fr;
      gap: 36px;
      margin-bottom: 40px;
    }
    .footer-brand p { max-width: 100%; }
    .footer-bottom {
      flex-direction: column;
      gap: 12px;
      text-align: center;
      font-size: 11px;
    }
  }

  /* ============ EXTRA SMALL ============ */
  @media (max-width: 380px) {
    h1.hero-title { font-size: 34px; }
    h2.section-title { font-size: 26px; }
    .cta-title { font-size: 28px; }
    .page-hero-title { font-size: 30px; }
    .clients-grid { grid-template-columns: 1fr 1fr; }
  }
/* ============ FORM ENHANCEMENTS v6 ============ */
.form-message {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  display: none;
}
.form-message.success {
  display: block;
  background: rgba(91, 184, 92, 0.1);
  border: 1px solid rgba(91, 184, 92, 0.4);
  color: #5BB85C;
}
.form-message.error {
  display: block;
  background: rgba(232, 48, 42, 0.1);
  border: 1px solid rgba(232, 48, 42, 0.4);
  color: #ff6b66;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.consent-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-row label {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  cursor: pointer;
  text-transform: none;
  letter-spacing: normal;
  font-family: var(--sans);
}

.consent-row label a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.form-trust-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--text-muted);
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-badge svg {
  width: 14px;
  height: 14px;
  color: #5BB85C;
}
