/* ==========================================================================
   CodeCerto — layout do site (sem template de terceiros)
   Estrutura:
     1. Fontes   2. Variáveis   3. Base   4. Utilitários e botões
     5. Cabeçalho   6. Hero   7. Seções da Início   8. Páginas internas
     9. Rodapé   10. Responsivo
   ========================================================================== */

/* 1. Fontes (arquivos locais — sem depender do Google Fonts) ------------- */
@font-face { font-family: "Outfit"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/site/outfit-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/site/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/site/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/site/outfit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/site/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/site/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/site/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/site/inter-latin-700-normal.woff2") format("woff2"); }

/* 2. Variáveis -------------------------------------------------------------- */
:root {
    --navy-950: #050d1f;
    --navy-900: #0a1630;
    --navy-800: #0f2244;
    --navy-700: #16305c;

    --blue-700: #0b4fd6;
    --blue-600: #1366f5;
    --blue-500: #2f86ff;
    --blue-400: #58a2ff;
    --blue-100: #dceaff;
    --blue-50:  #eef5ff;

    --ink:      #0d1b34;
    --text:     #33425c;
    --muted:    #5d6b82;
    --line:     #e3e9f3;
    --white:    #ffffff;
    --surface:  #f6f9fe;

    --font-head: "Outfit", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius-sm: 10px;
    --radius:    14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 8px rgba(13, 27, 52, .05);
    --shadow:    0 12px 32px rgba(13, 27, 52, .08);
    --shadow-blue: 0 10px 28px rgba(19, 102, 245, .35);

    --container: 1200px;
    --gutter: 24px;
    --header-h: 115px; /* acompanha a altura do logo (95px) + respiro */
}

/* 3. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

.skip-link {
    position: absolute; left: 16px; top: -100px; z-index: 1000;
    background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
    font-weight: 600; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.br-lg { display: none; }
@media (min-width: 1025px) { .br-lg { display: inline; } }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 4. Utilitários e botões --------------------------------------------------- */
.icon { width: 22px; height: 22px; flex: none; }
.icon--sm { width: 17px; height: 17px; }

.eyebrow {
    margin: 0 0 12px;
    font-family: var(--font-body);
    font-size: 12px; font-weight: 700;
    letter-spacing: .32em; text-transform: uppercase;
    color: var(--blue-600);
}
.eyebrow--light { color: var(--blue-100); }

.section { padding: 88px 0; }
.section-title { font-size: clamp(28px, 3.2vw, 38px); font-weight: 700; margin-bottom: 0; }
.section-title--light { color: var(--white); }

.btn {
    --btn-bg: var(--blue-600); --btn-fg: var(--white); --btn-bd: transparent;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 22px;
    font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.2;
    color: var(--btn-fg); background: var(--btn-bg);
    border: 1.5px solid var(--btn-bd); border-radius: var(--radius-sm);
    cursor: pointer; text-align: center;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-2px); }
.btn--primary { background: linear-gradient(180deg, var(--blue-500), var(--blue-600)); box-shadow: var(--shadow-blue); }
.btn--primary:hover { box-shadow: 0 14px 34px rgba(19, 102, 245, .45); }
.btn--ghost { --btn-bg: transparent; --btn-bd: rgba(255,255,255,.7); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: var(--white); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue-600); --btn-bd: var(--blue-600); }
.btn--outline:hover { --btn-bg: var(--blue-50); --btn-fg: var(--blue-700); }
.btn--white { --btn-bg: var(--white); --btn-fg: var(--blue-600); box-shadow: 0 10px 28px rgba(5, 13, 31, .25); }
.btn--white:hover { --btn-fg: var(--blue-700); }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 26px; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 15px; color: var(--blue-600);
}
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Logotipo oficial (imagem) */
.brand-logo { display: block; width: auto; }
.brand-logo--md { height: 80px; }
.brand-logo--sm { height: 80px; }

/* 5. Cabeçalho (fundo branco) ---------------------------------------------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 26px rgba(13, 27, 52, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.site-header__brand { display: inline-flex; }

.site-nav { display: flex; align-items: center; gap: 40px; }
.site-nav__list { display: flex; align-items: center; gap: 30px; list-style: none; }
.site-nav__link {
    position: relative; isolation: isolate; display: inline-block; padding: 8px 0;
    font-size: 15.5px; font-weight: 500; color: var(--ink);
    transition: color .2s ease;
}
/* linha azul inferior */
.site-nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
    background: var(--blue-500); border-radius: 2px;
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease, box-shadow .25s ease;
}
/* brilho de fundo do item ativo */
.site-nav__link::before {
    content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; top: -6px; bottom: -8px;
    background: radial-gradient(60% 75% at 50% 100%, rgba(47, 134, 255, .22), transparent 72%);
    opacity: 0; transition: opacity .25s ease;
}
.site-nav__link:hover { color: var(--blue-600); }
.site-nav__link:hover::after, .site-nav__link.is-active::after { transform: scaleX(1); }
.site-nav__link.is-active { color: var(--blue-600); }
.site-nav__link.is-active::before { opacity: 1; }
.site-nav__link.is-active::after { box-shadow: 0 0 8px 1px rgba(47, 134, 255, .75), 0 0 20px 2px rgba(47, 134, 255, .35); }

.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 46px; height: 46px; padding: 0;
    color: var(--ink); background: var(--surface);
    border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

/* 6. Hero ------------------------------------------------------------------- */
.hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 64px 0 72px;
    color: #d7e2f5;
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(19, 102, 245, .35), transparent 60%),
        radial-gradient(600px 400px at 10% 110%, rgba(19, 102, 245, .18), transparent 60%),
        linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.hero::before { /* grade sutil */
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, transparent, #000 60%);
}
/* Banner com foto (public/assets/img/home/hero.webp) */
.hero--photo {
    display: flex; align-items: center;
    min-height: 620px; padding: 72px 0 80px;
    background:
        radial-gradient(700px 420px at 0% 100%, rgba(19, 102, 245, .16), transparent 65%),
        #031122;
}
.hero--photo::before { display: none; }
.hero--photo .hero__grid { grid-template-columns: minmax(0, 720px); }
.hero__photo {
    position: absolute; top: 0; right: 0; z-index: -1;
    width: auto; max-width: 64%; height: 100%;
    object-fit: cover; object-position: right bottom;
    mask-image: linear-gradient(90deg, transparent 0, #000 26%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero .eyebrow--light { color: #8cc6ff; }
.hero__title { font-size: clamp(40px, 5.4vw, 66px); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; color: var(--white); margin-bottom: 22px; }
.hero__title span { color: #1e96ff; }
.hero__lead { max-width: 560px; font-size: 18.5px; line-height: 1.6; color: #e1e9f7; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 38px; }
.hero__features { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 0; list-style: none; font-size: 14.5px; color: #e1e9f7; }
.hero__features li { display: inline-flex; align-items: center; gap: 10px; padding: 0 20px; white-space: nowrap; }
.hero__features li:first-child { padding-left: 0; }
.hero__features li + li { border-left: 1px solid rgba(255,255,255,.18); }
.hero__features .icon { width: 26px; height: 26px; color: #1e96ff; }

.hero__visual { position: relative; min-height: 440px; }
.hero__note {
    position: absolute; right: 0; bottom: 0; z-index: 3; margin: 0;
    font-family: "Segoe Script", "Brush Script MT", cursive; font-style: italic;
    font-size: 19px; line-height: 1.35; color: #e9f0ff; text-align: right;
    transform: rotate(-6deg);
}
.hero__note::after { content: ""; display: block; height: 3px; margin: 6px 0 0 auto; width: 64%; background: var(--blue-500); border-radius: 3px; }
.hero__note--photo { position: absolute; right: var(--gutter); bottom: 24px; }

.mock {
    position: absolute; border-radius: 14px; overflow: hidden;
    background: #0b1730; border: 1px solid rgba(120, 165, 255, .25);
    box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 6px rgba(255,255,255,.03);
}
.mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #0e1d3b; border-bottom: 1px solid rgba(255,255,255,.06); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2b3e66; }
.mock__bar i:first-child { background: #ff5f57; } .mock__bar i:nth-child(2) { background: #febc2e; } .mock__bar i:nth-child(3) { background: #28c840; }
.mock__bar span { margin-left: 10px; font-size: 11px; color: #7f93b8; font-family: ui-monospace, Consolas, monospace; }
.mock--code { left: 0; top: 10px; width: 62%; z-index: 1; }
.mock__code { padding: 18px 20px 24px; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: 13.5px; line-height: 1.85; color: #c7d5ef; }
.mock__code p { margin: 0; white-space: nowrap; }
.mock__code .in { padding-left: 20px; }
.mock__code b { color: #7aa8ff; font-weight: 600; }
.mock__code em { color: #8ee0a1; font-style: normal; }
.mock__code strong { color: #ffb86b; font-weight: 600; }
.mock__cursor { display: inline-block; width: 8px; height: 16px; margin-left: 4px; vertical-align: -3px; background: var(--blue-500); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mock--site { right: 0; top: 56px; width: 52%; z-index: 2; background: linear-gradient(160deg, #0f2a5c, #0a1938); }
.mock__site { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 26px; color: var(--white); }
.mock__logo { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--blue-400); }
.mock__site strong { font-family: var(--font-head); font-size: 20px; line-height: 1.25; font-weight: 600; }
.mock__btn { align-self: flex-start; padding: 6px 14px; font-size: 12px; border-radius: 6px; background: var(--blue-600); }
.mock__chart { display: flex; align-items: flex-end; gap: 8px; height: 70px; margin-top: 6px; }
.mock__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--blue-500), rgba(47,134,255,.25)); }

/* 7. Seções da Início ------------------------------------------------------- */
.section-head { margin-bottom: 40px; }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto; gap: 24px 48px; align-items: end; }
.section-head__text { margin: 0; color: var(--muted); }

.cards-grid { display: grid; gap: 22px; }
.cards-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card {
    display: flex; flex-direction: column;
    padding: 28px 24px 26px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.service-card__icon {
    display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px;
    color: var(--blue-600); background: var(--blue-50); border-radius: 12px;
}
.service-card__icon .icon { width: 30px; height: 30px; }
.service-card__title { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.service-card__text { color: var(--muted); font-size: 15px; flex: 1; }
.service-card__link { margin-top: 6px; }

.tech { padding: 0 0 8px; }
.tech__panel {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 32px; align-items: center;
    padding: 40px 44px;
    color: #c8d5ec;
    background: radial-gradient(500px 200px at 0% 0%, rgba(19,102,245,.18), transparent 70%), var(--navy-900);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 50px rgba(10, 22, 48, .25);
}
.tech__intro .section-title { font-size: clamp(26px, 2.6vw, 32px); margin-bottom: 12px; }
.tech__intro p { margin: 0; }
.tech__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; list-style: none; }
.tech__item {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
    padding: 18px 8px; border-radius: var(--radius);
    transition: background-color .2s ease;
}
.tech__item:hover { background: rgba(255,255,255,.04); }
.tech__logo { width: 52px; height: 52px; margin-bottom: 10px; }
.tech__item strong { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--white); }
.tech__item span { font-size: 12.5px; color: #a9b9d6; }

/* Início e Sobre nós: faixa contínua de tecnologias (uma linha, logo grande + nome) */
.tech-marquee {
    min-width: 0; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.tech-marquee__row { display: flex; width: max-content; }
.tech-marquee__track {
    display: flex; gap: 4px; padding-right: 4px; margin: 0; list-style: none; flex-shrink: 0;
    animation: tech-scroll 50s linear infinite;
}
.tech-marquee:hover .tech-marquee__track { animation-play-state: paused; }
@keyframes tech-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.tech-marquee .tech__item { flex: none; width: 128px; }
@media (max-width: 680px) { .tech-marquee .tech__item { width: 104px; } }
@media (prefers-reduced-motion: reduce) {
    .tech-marquee { -webkit-mask-image: none; mask-image: none; }
    .tech-marquee__row { width: auto; }
    .tech-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; padding-right: 0; }
    .tech-marquee__track + .tech-marquee__track { display: none; }
}

.section--projects { padding: 72px 0; }
.projects { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: 40px; align-items: center; }
.projects__intro p { color: var(--muted); margin: 14px 0 26px; }
.projects__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card__link { display: block; text-align: center; color: inherit; }
.project-card__title { margin: 16px 0 2px; font-size: 18px; font-weight: 600; }
.project-card__type { margin: 0; font-size: 14px; color: var(--muted); }
.project-card__link:hover .laptop { transform: translateY(-4px); }
.laptop { padding: 0 6%; transition: transform .25s ease; }
.laptop__screen {
    aspect-ratio: 16 / 10; overflow: hidden;
    border: 8px solid #10182a; border-bottom-width: 10px; border-radius: 12px 12px 4px 4px;
    background: var(--surface);
}
.laptop__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.laptop__placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%;
    font-family: var(--font-head); font-weight: 600; color: var(--blue-700);
    background: linear-gradient(140deg, var(--blue-50), #d7e7ff);
}
.laptop__placeholder .icon { width: 30px; height: 30px; color: var(--blue-500); }
.laptop__base { height: 10px; margin: 0 -6%; background: linear-gradient(180deg, #c9d2e0, #8e9ab0); border-radius: 0 0 14px 14px; }

.why { padding: 36px 0; background: linear-gradient(90deg, #eaf2ff, #f3f8ff); }
.why__inner { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; }
.why__title { font-size: clamp(22px, 2.4vw, 28px); font-weight: 700; margin-bottom: 8px; }
.why__text p:last-child { margin: 0; color: var(--text); }
.why__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; }
.why__list li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.why__list .icon { width: 40px; height: 40px; color: var(--blue-600); stroke-width: 1.6; }

.cta {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 52px 0;
    color: #e3ecfb;
    background:
        radial-gradient(700px 260px at 80% 60%, rgba(255,255,255,.16), transparent 70%),
        radial-gradient(500px 220px at 10% 0%, rgba(3, 34, 143, .55), transparent 70%),
        linear-gradient(100deg, #0838b8, var(--blue-600) 50%, #2f86ff);
}
.cta__waves {
    position: absolute; left: 0; top: -25%; z-index: -1;
    width: 100%; height: 150%;
    pointer-events: none;
    will-change: transform;
}
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta__title { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--white); margin-bottom: 6px; }
.cta p:last-child { margin: 0; font-size: 17px; }

/* 8. Páginas internas ------------------------------------------------------- */
.page-hero {
    padding: 56px 0 60px; color: #d7e2f5;
    background: radial-gradient(700px 300px at 90% 0%, rgba(19,102,245,.35), transparent 65%), linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.page-hero__title { font-size: clamp(34px, 4.4vw, 50px); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.page-hero__text { max-width: 680px; margin: 0; font-size: 18px; color: #dbe5f6; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 22px; font-size: 14px; color: #9fb2d3; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #5f7397; }
.breadcrumb a { color: #c9d6ee; }
.breadcrumb a:hover { color: var(--white); }

.prose { max-width: 820px; }
.prose__meta { font-size: 14px; color: var(--muted); }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.not-found { padding: 96px 0 110px; text-align: center; }
.not-found__inner { max-width: 620px; }
.not-found .not-found__code { margin: 0 0 8px; font-family: var(--font-head); font-size: clamp(80px, 14vw, 140px); font-weight: 800; line-height: 1; color: var(--blue-100); }
.not-found p { color: var(--muted); margin: 14px 0 28px; }
.not-found__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* 8b. Página Serviços ------------------------------------------------------ */
.icon--fill { fill: currentColor; }
.hero--page { min-height: 520px; padding: 64px 0 72px; }
.hero--page .hero__title { font-size: clamp(38px, 4.8vw, 58px); }
.hero--page .hero__grid { grid-template-columns: minmax(0, 860px); }
.hero--page .hero__features li { padding: 0 14px; font-size: 14px; }
@media (min-width: 1181px) { .hero--page .hero__features { flex-wrap: nowrap; } }
.hero--page .hero__features li:first-child { padding-left: 0; }

.section-head--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cards-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Card de serviço: imagem grande no canto superior direito, título e texto sobre ela, itens embaixo */
.offer-card {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; flex-direction: column;
    padding: 26px 24px 26px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.offer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-100); }
.offer-card:target { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 134, 255, .18), var(--shadow); }
.offer-card__media {
    position: absolute; z-index: -1; top: 6px; right: 6px;
    width: 58%; aspect-ratio: 262 / 240; max-height: 230px;
    overflow: hidden; border-radius: 12px;
    /* some suavemente para a esquerda e para baixo */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28%), linear-gradient(180deg, #000 62%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 28%), linear-gradient(180deg, #000 62%, transparent 100%);
    mask-composite: intersect;
}
.offer-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: right top; }
.offer-card__art {
    display: grid; place-items: center; width: 100%; height: 100%;
    color: #b8d4ff;
    background:
        radial-gradient(120px 90px at 70% 40%, rgba(47, 134, 255, .22), transparent 70%),
        linear-gradient(140deg, transparent 10%, var(--blue-50) 60%);
}
.offer-card__art .icon { width: 72px; height: 72px; stroke-width: 1.2; transform: rotate(-8deg); }
.offer-card__head { min-height: 196px; margin-bottom: 18px; }
.offer-card .service-card__icon { margin-bottom: 22px; }
.offer-card__title { max-width: 72%; font-size: 21px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.offer-card__text { max-width: 82%; color: var(--muted); font-size: 15px; line-height: 1.55; margin: 0; }
/* fundo branco atrás do texto que fica sobre a imagem (como no modelo) */
.offer-card__title span, .offer-card__text span {
    background: rgba(255, 255, 255, .94);
    -webkit-box-decoration-break: clone; box-decoration-break: clone;
    padding: 1px 10px 1px 0; border-radius: 0 8px 8px 0;
}
.offer-card .check-list { margin-top: auto; }
.check-list { grid-area: list; }
.check-list { display: grid; gap: 8px; list-style: none; font-size: 14.5px; color: var(--text); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--blue-600); stroke-width: 2.6; }

/* Como trabalhamos */
.process { padding: 0 0 8px; }
/* respiro quando o painel vem logo antes da faixa azul ou dos depoimentos */
.process + .cta { margin-top: 96px; }
.process + .section--testimonials { padding-top: 96px; }
.process__panel {
    padding: 40px 44px 44px; color: #c8d5ec;
    background: radial-gradient(500px 200px at 0% 0%, rgba(19,102,245,.18), transparent 70%), var(--navy-900);
    border-radius: var(--radius-lg); box-shadow: 0 24px 50px rgba(10, 22, 48, .25);
}
.process__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 36px; }
.process__head p { margin: 0; }
.process__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: none; }
.process__step { position: relative; text-align: center; }
.process__step + .process__step::before { /* seta entre as etapas */
    content: ""; position: absolute; top: 24px; left: -18px; width: 12px; height: 12px;
    border-top: 2px solid var(--blue-400); border-right: 2px solid var(--blue-400);
    transform: translateX(-50%) rotate(45deg); opacity: .8;
}
.process__icon {
    display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 16px;
    color: var(--white); background: linear-gradient(180deg, var(--blue-500), var(--blue-700));
    border-radius: 14px; box-shadow: 0 10px 24px rgba(19, 102, 245, .35);
}
.process__icon .icon { width: 28px; height: 28px; }
.process__step h3 { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.process__step h3 span { color: var(--blue-400); }
.process__step p { margin: 0 auto; max-width: 200px; font-size: 14px; line-height: 1.5; }

/* Tecnologias em cards claros */
.section--tech-light { padding-bottom: 72px; }
.tech-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; }
.tech-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
    padding: 22px 10px 18px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.tech-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tech-card__logo { width: 50px; height: 50px; margin-bottom: 10px; }
.tech-card strong { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--ink); }
.tech-card span { font-size: 12.5px; color: var(--muted); }

/* Por que escolher (versão com descrições) */
.why--detailed { padding: 48px 0; }
.why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; list-style: none; }
.why__grid li { display: flex; gap: 14px; align-items: flex-start; }
.why__grid .icon { width: 36px; height: 36px; flex: none; color: var(--blue-600); stroke-width: 1.6; }
.why__grid strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.why__grid span { display: block; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* Perguntas frequentes (sem JavaScript: <details>) */
.section--faq { padding: 72px 0 88px; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 22px; align-items: start; }
.faq__col { display: grid; gap: 14px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); transition: border-color .2s ease, box-shadow .2s ease; }
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--shadow); }
.faq__item summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 16px 20px; cursor: pointer; list-style: none;
    font-size: 15px; font-weight: 600; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-600); }
.faq__item summary .icon { width: 20px; height: 20px; flex: none; color: var(--blue-600); transition: transform .25s ease; }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }
.faq__answer p { margin: 0; }

/* 8c. Página Projetos ------------------------------------------------------ */
.section--portfolio { padding: 56px 0 96px; }
.portfolio { gap: 34px 30px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters__btn {
    min-height: 42px; padding: 9px 22px;
    font-family: var(--font-body); font-size: 14.5px; font-weight: 500; color: var(--text);
    background: var(--white); border: 1px solid var(--line); border-radius: 999px;
    box-shadow: var(--shadow-sm); cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.filters__btn:hover { color: var(--blue-600); border-color: var(--blue-100); }
.filters__btn.is-active { color: var(--white); background: linear-gradient(180deg, var(--blue-500), var(--blue-600)); border-color: transparent; box-shadow: var(--shadow-blue); }

.work-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}
.work-card[hidden] { display: none; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.work-card:target { box-shadow: 0 0 0 4px rgba(47, 134, 255, .18), var(--shadow); }
.work-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .4s ease; }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.work-card__title { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.work-card__text { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 16px; }
.tags li { padding: 4px 12px; font-size: 13px; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.work-card__link { margin-top: auto; font-size: 14.5px; }
.portfolio__empty, .portfolio__none { text-align: center; color: var(--muted); margin: 24px 0 0; }

.section--testimonials { padding: 72px 0; }
/* Carrossel de depoimentos */
.carousel { position: relative; padding: 0 58px; }
.carousel__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 24px) / 3);
    gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 6px 2px 10px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 4px; border-radius: var(--radius); }
.carousel__arrow {
    position: absolute; top: calc(50% - 16px); z-index: 2; transform: translateY(-50%);
    display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
    color: var(--blue-600); background: var(--white); border: 1px solid var(--line); border-radius: 50%;
    box-shadow: var(--shadow-sm); cursor: pointer;
    transition: background-color .2s ease, color .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.carousel__arrow:hover { color: var(--white); background: var(--blue-600); box-shadow: var(--shadow-blue); }
.carousel__arrow:disabled { opacity: .35; cursor: default; pointer-events: none; }
.carousel__arrow .icon { width: 22px; height: 22px; }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; min-height: 8px; }
.carousel__dots button {
    width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
    background: #c9d4e6; cursor: pointer; transition: width .25s ease, background-color .25s ease;
}
.carousel__dots button[aria-current="true"] { width: 24px; background: var(--blue-600); }
.carousel.is-static .carousel__arrow, .carousel.is-static .carousel__dots { display: none; }
.carousel.is-static { padding: 0; }

.quote-card {
    scroll-snap-align: start;
    display: flex; flex-direction: column; gap: 14px; margin: 0;
    padding: 22px 22px 20px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.quote-card:hover { box-shadow: var(--shadow); border-color: var(--blue-100); }
.quote-card__head { display: flex; align-items: center; gap: 12px; }
.quote-card__head strong { display: block; font-size: 15px; color: var(--ink); line-height: 1.3; }
.quote-card__head small { display: block; font-size: 12.5px; color: var(--muted); }
.quote-card__avatar {
    display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%;
    font-family: var(--font-head); font-weight: 700; color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    box-shadow: 0 0 0 3px var(--blue-50);
}
img.quote-card__avatar { object-fit: cover; background: var(--blue-100); }
.quote-card__text {
    flex: 1; margin: 0; font-size: 15px; line-height: 1.6; color: var(--text);
    display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.stars { display: inline-flex; gap: 3px; color: #f5b301; }
.stars .icon { width: 18px; height: 18px; fill: currentColor; }
.google-badge { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 26px 0 0; font-size: 14px; color: var(--muted); }
.google-badge strong { color: var(--ink); }
.google-badge a { font-weight: 600; }
.google-badge__g {
    display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
    font: 700 13px/1 Arial, sans-serif; color: #fff;
    background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0);
}
.stars.stars--sm .icon { width: 14px; height: 14px; }

/* 8d. Página Sobre nós ----------------------------------------------------- */
.section--essence { padding-bottom: 80px; }
.essence-card .check-list { margin-top: 4px; }
.essence-card .service-card__text { flex: none; }

/* Quem sou eu */
.founder { padding: 64px 0; background: linear-gradient(90deg, #eaf2ff, #f3f8ff); }
.founder__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr) minmax(0, .6fr); gap: 40px; align-items: center; }
.founder__photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); box-shadow: 0 24px 50px rgba(10, 22, 48, .18); aspect-ratio: 720 / 806; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.founder__text .section-title { margin-bottom: 4px; }
.founder__role { margin: 0 0 18px; font-family: var(--font-head); font-size: 19px; font-weight: 600; color: var(--blue-600); }
.founder__text p:not(.eyebrow):not(.founder__role) { color: var(--text); }
.founder__text .btn { margin-top: 8px; }
.founder__stats {
    display: grid; list-style: none;
    padding: 8px 28px; background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.founder__stats li { padding: 20px 0; }
.founder__stats li + li { border-top: 1px solid var(--line); }
.founder__stats strong { display: block; font-family: var(--font-head); font-size: 40px; font-weight: 700; line-height: 1; color: var(--blue-600); }
.founder__stats span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); }

/* Trajetória (linha do tempo) */
.section--reasons { padding-bottom: 80px; }
.journey { padding: 64px 0 72px; background: linear-gradient(180deg, #f3f8ff, #eaf2ff); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px; list-style: none; padding-top: 6px; }
.timeline::before { content: ""; position: absolute; left: 8px; right: 0; top: 14px; height: 2px; background: linear-gradient(90deg, var(--blue-600), var(--blue-100)); }
.timeline__item { position: relative; }
.timeline__dot {
    position: relative; z-index: 1; display: block; width: 18px; height: 18px; margin-bottom: 16px;
    background: var(--blue-600); border: 4px solid var(--white); border-radius: 50%;
    box-shadow: 0 0 0 2px var(--blue-500), 0 4px 10px rgba(19, 102, 245, .35);
}
.timeline__year { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.timeline__item p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* Serviços: órbita de tecnologias (estática) — CodeCerto no centro, 3 anéis por área.
   Fundo transparente; os arcos descem até o fim da seção e o círculo central fica sobre a borda. */
.section--tech-orbit { position: relative; z-index: 1; padding-bottom: 0; }
.section--tech-orbit + section { padding-top: 100px; }   /* espaço para a metade de baixo do círculo */
.orbit { position: relative; margin-top: 8px; }
.orbit__stage { position: relative; max-width: 1000px; margin: 0 auto; aspect-ratio: 1000 / 560; }
.orbit__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__ring { margin: 0; padding: 0; list-style: none; }
.orbit__item {
    position: absolute; z-index: 1; width: calc(var(--size) * 1%); aspect-ratio: 1; transform: translate(-50%, -50%);
    display: grid; place-items: center; border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #1b3a6e, #0b1a38 72%);
    border: 3px solid #cfe1fb;
    transition: transform .2s ease, border-color .2s ease;
}
.orbit__item:hover { z-index: 3; transform: translate(-50%, -50%) scale(1.12); border-color: var(--blue-400); }
.orbit__logo { width: 50%; height: 50%; }
.orbit__tip {
    position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 4;
    transform: translate(-50%, 4px); opacity: 0; pointer-events: none; white-space: nowrap;
    padding: 6px 11px; border-radius: 8px; background: var(--navy-900);
    font-size: 12.5px; line-height: 1.3; color: #a9c6f5; transition: opacity .18s ease, transform .18s ease;
}
.orbit__tip strong { font-family: var(--font-head); font-size: 14px; color: var(--white); }
.orbit__item--tip-below .orbit__tip { bottom: auto; top: calc(100% + 10px); transform: translate(-50%, -4px); }
.orbit__item:hover .orbit__tip { opacity: 1; transform: translate(-50%, 0); }
.orbit__center {
    position: absolute; z-index: 2; width: 13%; aspect-ratio: 1; transform: translate(-50%, -50%);
    display: grid; place-items: center; border-radius: 50%; background: var(--white);
    border: 3px solid #cfe1fb;
}
.orbit__center img { width: 66%; height: auto; }
.orbit__grid { display: none; }
@media (max-width: 720px) {
    .section--tech-orbit { padding-bottom: 56px; }
    .section--tech-orbit + section { padding-top: 48px; }
    .orbit__stage { display: none; }
    .orbit__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
    .orbit__grid li {
        display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px 12px; text-align: center;
        border-radius: var(--radius-sm); background: var(--white); border: 1px solid var(--line);
    }
    .orbit__grid-logo { width: 30px; height: 30px; }
    .orbit__grid span { font-family: var(--font-head); font-size: 12.5px; font-weight: 600; color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) { .orbit__item, .orbit__tip { transition: none; } }

/* Sobre: faixa de tecnologias no fundo escuro */
.tech-band .tech-marquee { margin-top: 12px; }

/* Tecnologias em faixa escura de largura total */
.tech-band { padding: 64px 0 56px; color: #c8d5ec; background: radial-gradient(600px 240px at 0% 0%, rgba(19,102,245,.2), transparent 70%), var(--navy-950); }
.tech-band .section-head__text { color: #c8d5ec; }
.tech-band__list { margin-top: 8px; }
.tech-band .tech__logo { width: 58px; height: 58px; }

/* 8e. Blog ----------------------------------------------------------------- */
a.filters__btn { display: inline-flex; align-items: center; }
.blog-search {
    position: relative; display: flex; max-width: 520px;
    background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 14px 34px rgba(0, 0, 0, .25);
}
.blog-search input {
    flex: 1; min-width: 0; height: 56px; padding: 0 16px 0 20px;
    font: inherit; font-size: 15px; color: var(--ink); background: transparent; border: 0; border-radius: var(--radius-sm);
}
.blog-search input:focus { outline: none; }
.blog-search:focus-within { box-shadow: 0 0 0 4px rgba(47, 134, 255, .45), 0 14px 34px rgba(0, 0, 0, .25); }
.blog-search button {
    display: grid; place-items: center; width: 56px; padding: 0;
    color: var(--blue-600); background: transparent; border: 0; border-left: 1px solid var(--line); cursor: pointer;
}
.blog-search button .icon { width: 22px; height: 22px; }
.blog-search input::-webkit-search-cancel-button { cursor: pointer; }

.section--blog { padding: 48px 0 88px; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.post-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 26px; }
.post-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 8.6; overflow: hidden; background: var(--surface); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__badge {
    position: absolute; top: 14px; left: 14px;
    padding: 5px 12px; font-size: 12.5px; font-weight: 600; color: var(--white);
    background: var(--blue-600); border-radius: 6px; box-shadow: 0 4px 12px rgba(19, 102, 245, .35);
}
.post-card__badge:hover { color: var(--white); background: var(--blue-700); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 22px; }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .icon { width: 15px; height: 15px; color: var(--blue-600); }
.post-meta--light { color: #c8d5ec; font-size: 14.5px; margin-top: 6px; }
.post-meta--light .icon { color: var(--blue-400); }
.post-card__title { font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--blue-600); }
.post-card__text { color: var(--muted); font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.post-card__link { margin-top: auto; }
.blog-result { margin: 0 0 20px; color: var(--muted); }
.blog-result a { margin-left: 8px; font-weight: 600; }
.blog-empty { padding: 48px 24px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.blog-empty .icon { width: 42px; height: 42px; margin: 0 auto 12px; color: var(--blue-500); stroke-width: 1.5; }
.blog-empty h3 { font-size: 20px; margin-bottom: 6px; }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span {
    display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
    font-weight: 600; color: var(--text); background: var(--white); border: 1px solid var(--line); border-radius: 10px;
}
.pagination a:hover { color: var(--blue-600); border-color: var(--blue-100); }
.pagination .is-active { color: var(--white); background: var(--blue-600); border-color: var(--blue-600); box-shadow: var(--shadow-blue); }
.pagination .pagination__gap { border: 0; background: transparent; }
.pagination .icon { width: 18px; height: 18px; }

/* Barra lateral */
.blog-sidebar { display: grid; gap: 34px; }   /* rola junto com os artigos, sempre alinhada a eles */
.side-box { padding: 24px; background: linear-gradient(160deg, #eef5ff, #f6f9fe); border: 1px solid var(--blue-100); border-radius: var(--radius); }
.side-box__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.side-box__title .icon { color: var(--blue-600); }
.side-box > p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.side-news { display: grid; gap: 12px; }
.side-news input[type="email"] {
    height: 48px; padding: 0 16px; font: inherit; font-size: 14.5px; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.side-news input[type="email"]:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(47, 134, 255, .15); }
.side-news .btn { width: 100%; }
.side-news__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.side-news__consent input { margin-top: 2px; accent-color: var(--blue-600); }
.side-news__note { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 12.5px; color: var(--muted); }
.side-news__note .icon { width: 15px; height: 15px; margin-top: 1px; color: var(--blue-600); }

.side-section__title { font-size: 21px; font-weight: 600; margin-bottom: 14px; }
.cat-list { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.cat-list li + li { border-top: 1px solid var(--line); }
.cat-list a { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; font-size: 14.5px; color: var(--text); }
.cat-list a:hover, .cat-list a.is-active { color: var(--blue-600); background: var(--blue-50); }
.cat-list span { min-width: 26px; padding: 1px 8px; font-size: 12px; font-weight: 700; text-align: center; color: var(--blue-700); background: var(--blue-50); border-radius: 999px; }
.cat-list a.is-active span { color: var(--white); background: var(--blue-600); }

.mini-list { display: grid; gap: 16px; list-style: none; }
.mini-post { display: flex; gap: 14px; align-items: center; color: var(--ink); }
.mini-post__thumb { flex: none; width: 88px; height: 62px; overflow: hidden; border-radius: 8px; background: var(--surface); }
.mini-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-post strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }
.mini-post small { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.mini-post:hover strong { color: var(--blue-600); }

/* Mais lidos / recentes / sugestão */
.section--blog-extra { padding: 64px 0 80px; }
.blog-extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.rank-list { display: grid; gap: 18px; list-style: none; }
.rank-list li { display: flex; gap: 14px; align-items: center; }
.rank-list__n {
    display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
    font-family: var(--font-head); font-weight: 700; color: var(--blue-600); background: var(--blue-50);
}
.rank-list a { color: var(--ink); }
.rank-list a:hover strong { color: var(--blue-600); }
.rank-list strong { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.rank-list small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.suggest-box { padding: 28px 24px; text-align: center; background: linear-gradient(160deg, #eef5ff, #f6f9fe); border: 1px solid var(--blue-100); border-radius: var(--radius); }
.suggest-box > .icon { width: 38px; height: 38px; margin: 0 auto 10px; color: var(--blue-600); stroke-width: 1.6; }
.suggest-box h2 { font-family: var(--font-body); font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.suggest-box p { font-size: 14px; color: var(--muted); margin-bottom: 18px; }

/* Artigo */
.article-hero { padding-bottom: 48px; }
.article-hero .page-hero__title { max-width: 900px; font-size: clamp(30px, 3.8vw, 46px); }
.section--article { padding: 48px 0 72px; }
.article__cover { margin: 0 0 26px; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.article__cover img { width: 100%; }
.article__lead { font-size: 19px; line-height: 1.6; color: var(--ink); margin-bottom: 22px; }
.article__body { max-width: none; font-size: 17px; line-height: 1.8; }
.article__body p { margin-bottom: 1.1em; }
.article__body h2 { font-size: 26px; margin: 38px 0 12px; }
.article__body h3 { font-size: 21px; margin: 30px 0 10px; }
.article__body ol { padding-left: 22px; margin: 0 0 1em; }
.article__body blockquote { margin: 24px 0; padding: 14px 20px; color: var(--ink); background: var(--blue-50); border-left: 4px solid var(--blue-600); border-radius: 0 10px 10px 0; }
.article__body blockquote p { margin: 0; }
.article__body code { padding: 2px 6px; font-size: .9em; color: #0b3d91; background: var(--blue-50); border-radius: 5px; }
.article__body pre { margin: 0 0 1.2em; padding: 18px 20px; overflow-x: auto; color: #d7e2f5; background: var(--navy-900); border-radius: var(--radius-sm); font-size: 14.5px; line-height: 1.6; }
.article__body pre code { padding: 0; color: inherit; background: none; }
.article__share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 34px 0 26px; padding-top: 22px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.article__share a, .article__share button {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 12px;
    font: inherit; font-size: 14px; color: var(--blue-600); background: var(--white); border: 1px solid var(--line); border-radius: 999px; cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}
.article__share a:hover, .article__share button:hover { color: var(--white); background: var(--blue-600); border-color: var(--blue-600); }
.article__share .icon { width: 18px; height: 18px; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.author-box img { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: top; }
.author-box strong { display: block; font-size: 16px; color: var(--ink); }
.author-box span { display: block; font-size: 13.5px; color: var(--blue-600); font-weight: 600; margin-bottom: 4px; }
.author-box p { margin: 0; font-size: 14.5px; color: var(--muted); }
.article__back { margin-top: 26px; }
.section--related { padding: 64px 0 80px; background: var(--surface); }

/* 8f. Contato -------------------------------------------------------------- */
.hero-points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; list-style: none; margin-top: 8px; }
.hero-points li { display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; line-height: 1.45; color: #c8d5ec; }
.hero-points .icon { width: 30px; height: 30px; margin-bottom: 8px; color: #1e96ff; stroke-width: 1.7; }
.hero-points strong { font-size: 14.5px; color: var(--white); }
.hero--contact .hero__grid { grid-template-columns: minmax(0, 760px); }

.section--contact { padding: 56px 0 40px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 26px; align-items: stretch; }
.contact-card { padding: 30px 30px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.contact-card .section-title { margin-bottom: 8px; }
.contact-card__intro { color: var(--muted); font-size: 15px; margin-bottom: 22px; }

.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field label span { color: var(--blue-600); }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink);
    background: var(--white); border: 1px solid #d5deeb; border-radius: var(--radius-sm);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input, .form-field select { height: 48px; }
.form-field select { appearance: none; padding-right: 40px; cursor: pointer;
    background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235d6b82' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.form-field textarea { min-height: 128px; resize: vertical; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #9aa7bd; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(47, 134, 255, .15); }
.form-field [aria-invalid="true"] { border-color: #d64545; }
.form-field__error { margin: 0; font-size: 13px; color: #b42318; }
.form-status { padding: 12px 16px; font-size: 14.5px; border-radius: var(--radius-sm); }
.form-status.is-success { color: #17602d; background: #eaf7ee; border: 1px solid #b9dfc4; }
.form-status.is-error { color: #9b1c1c; background: #fdeeee; border: 1px solid #f0c2c2; }
.contact-form__submit { width: 100%; }
.contact-form__submit:disabled { opacity: .75; cursor: wait; transform: none; }
.contact-form__note { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.contact-form__note .icon { width: 14px; height: 14px; }

.contact-channels__title { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.channel-list { list-style: none; }
.channel-list li { display: flex; align-items: center; gap: 14px; padding: 15px 0; }
.channel-list li + li { border-top: 1px solid var(--line); }
.channel-list__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; color: var(--blue-600); background: var(--blue-50); border-radius: 12px; }
.channel-list__icon .icon { width: 22px; height: 22px; }
.channel-list__icon .icon--fill { fill: currentColor; }
.channel-list__text { flex: 1; min-width: 0; font-size: 14.5px; color: var(--text); overflow-wrap: anywhere; }
.channel-list__text strong { display: block; font-size: 15px; color: var(--ink); }
.channel-list__text small { display: block; font-size: 12.5px; color: var(--muted); }
.chip-link {
    display: inline-flex; align-items: center; gap: 6px; flex: none; padding: 7px 12px;
    font-size: 13px; font-weight: 600; color: var(--blue-600); background: var(--blue-50); border-radius: 8px;
    transition: background-color .2s ease, color .2s ease;
}
.chip-link:hover { color: var(--white); background: var(--blue-600); }
.chip-link .icon { width: 14px; height: 14px; }
.contact-social { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.contact-social h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-family: var(--font-body); font-size: 16px; font-weight: 700; margin-bottom: 12px; }
.contact-social h3 small { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.contact-social ul { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.contact-social a {
    display: grid; place-items: center; width: 48px; height: 48px; color: var(--ink);
    background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
    transition: color .2s ease, background-color .2s ease, transform .2s ease;
}
.contact-social a:hover { color: var(--white); background: var(--blue-600); transform: translateY(-2px); }

.location { padding: 0 0 24px; }
.location__panel { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 28px; padding: 18px; background: linear-gradient(160deg, #eef5ff, #f6f9fe); border: 1px solid var(--blue-100); border-radius: var(--radius-lg); }
.location__info { padding: 14px 8px 14px 12px; }
.location__info h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; margin-bottom: 10px; }
.location__info h2 .icon { width: 28px; height: 28px; color: var(--blue-600); }
.location__info p { color: var(--muted); font-size: 15px; }
.location__badge { display: flex; gap: 12px; align-items: center; margin: 18px 0; padding: 14px 16px; background: var(--white); border-radius: var(--radius-sm); font-size: 14px; color: var(--muted); }
.location__badge .icon { flex: none; color: var(--blue-600); }
.location__badge strong { display: block; color: var(--ink); }
.location__info .btn { width: 100%; }
.location__map { min-height: 280px; overflow: hidden; border-radius: var(--radius); background: #dfe7f2; }
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 280px; border: 0; }

/* Aviso flutuante (toast) */
.toast-region {
    position: fixed; top: calc(var(--header-h) + 14px); right: 20px; z-index: 300;
    display: grid; gap: 12px; width: min(380px, calc(100vw - 32px)); pointer-events: none;
}
.toast {
    position: relative; overflow: hidden; pointer-events: auto;
    display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start;
    padding: 16px 14px 18px 16px;
    background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--blue-600);
    border-radius: 12px; box-shadow: 0 18px 44px rgba(13, 27, 52, .18);
    opacity: 0; transform: translateX(24px); transition: opacity .25s ease, transform .25s ease;
}
.toast.is-visible { opacity: 1; transform: none; }
.toast.is-leaving { opacity: 0; transform: translateX(24px); }
.toast__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--white); background: var(--blue-600); box-shadow: 0 0 0 5px var(--blue-50); }
.toast__icon svg { width: 18px; height: 18px; }
.toast__title { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.toast__text { margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.toast__close { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; color: var(--muted); background: transparent; border: 0; border-radius: 6px; cursor: pointer; }
.toast__close:hover { color: var(--ink); background: var(--surface); }
.toast__close svg { width: 16px; height: 16px; }
.toast__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--blue-600); transform-origin: left; animation: toast-bar var(--toast-duration, 6000ms) linear forwards; }
.toast.is-paused .toast__bar { animation-play-state: paused; }
@keyframes toast-bar { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.toast--error { border-left-color: #d64545; }
.toast--error .toast__icon { background: #d64545; box-shadow: 0 0 0 5px #fdeeee; }
.toast--error .toast__bar { background: #d64545; }
@media (max-width: 680px) { .toast-region { right: 16px; left: 16px; width: auto; } }

/* Cloudflare Turnstile: o widget só ocupa espaço quando precisa aparecer */
.cf-widget:empty { display: none; }
.cf-widget iframe { max-width: 100%; }

/* 9. Rodapé (formato do layout anterior) ----------------------------------- */
.site-footer {
    color: var(--text); font-size: 15px;
    background: #f3f6fc url("../img/footer-bg.webp") center top / cover no-repeat;
}
.site-footer__grid {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1.25fr);
    gap: 40px; padding-top: 80px; padding-bottom: 64px;
}
.site-footer__brand { display: inline-flex; margin-bottom: 22px; }
.site-footer__about p { max-width: 320px; margin: 0; line-height: 1.75; }
.site-footer__title { font-family: var(--font-head); font-size: 21px; font-weight: 600; color: var(--ink); margin: 6px 0 22px; }
.site-footer ul { list-style: none; }
.site-footer a { color: var(--text); transition: color .2s ease; }
.site-footer a:hover { color: var(--blue-600); }
.site-footer__links li { margin-bottom: 12px; }

.site-footer__contact li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; line-height: 1.5; }
.site-footer__contact .icon { width: 21px; height: 21px; margin-top: 1px; color: var(--blue-600); stroke-width: 1.6; }
.site-footer__contact .icon--brand { fill: var(--blue-600); }

.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.site-footer__social a {
    display: grid; place-items: center; width: 38px; height: 38px;
    color: var(--ink); background: var(--white); border-radius: 50%;
    box-shadow: 0 4px 14px rgba(13, 27, 52, .08);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.site-footer__social a:hover { color: var(--white); background: var(--blue-600); transform: translateY(-2px); }
.site-footer__social .icon { width: 17px; height: 17px; }

.site-footer__news-text { margin: 0 0 22px; line-height: 1.7; }
.newsletter__field { position: relative; }
.newsletter__field input {
    width: 100%; height: 56px; padding: 0 64px 0 22px;
    font: inherit; font-size: 14px; color: var(--ink);
    background: var(--white); border: 1px solid transparent; border-radius: 30px;
    box-shadow: 0 0 25px rgba(13, 27, 52, .07);
}
.newsletter__field input:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 4px rgba(47, 134, 255, .15); }
.newsletter__field button {
    position: absolute; top: 2px; right: 2px; display: grid; place-items: center;
    width: 52px; height: 52px; padding: 0;
    color: var(--white); background: linear-gradient(90deg, #03228f, #0e73e4);
    border: 0; border-radius: 50%; cursor: pointer;
    transition: filter .2s ease;
}
.newsletter__field button:hover { filter: brightness(1.12); }
.newsletter__field button .icon { width: 19px; height: 19px; }
.newsletter__consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 12px; font-size: 12.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.newsletter__consent input { flex: none; margin-top: 2px; accent-color: var(--blue-600); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.site-footer__bottom { background: rgba(255, 255, 255, .55); border-top: 1px solid rgba(13, 27, 52, .06); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; font-size: 14px; }
.site-footer__bottom p { margin: 0; }
.site-footer__legal { margin-left: 4px; white-space: nowrap; }
.site-footer__legal span { margin: 0 6px; color: #9aa7bd; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 0; }
.site-footer__nav li { display: inline-flex; align-items: center; }
.site-footer__nav li + li::before { content: ""; width: 5px; height: 5px; margin: 0 16px; border-radius: 50%; background: var(--blue-600); }

/* espaço para o botão flutuante não cobrir os links da barra inferior */
@media (max-width: 1440px) { .site-footer__nav { margin-right: 64px; } }

/* Botão flutuante "voltar ao topo" */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    display: grid; place-items: center; width: 50px; height: 50px;
    color: var(--white); background: linear-gradient(135deg, #2f86ff, #0b4fd6);
    border-radius: 50%; box-shadow: 0 10px 26px rgba(19, 102, 245, .4);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, box-shadow .2s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease, box-shadow .2s ease; }
.back-to-top:hover { color: var(--white); box-shadow: 0 14px 32px rgba(19, 102, 245, .55); transform: translateY(-3px); }
.back-to-top .icon { width: 22px; height: 22px; }

/* 10. Responsivo ------------------------------------------------------------ */
@media (max-width: 1180px) {
    .site-nav { gap: 24px; }
    .site-nav__list { gap: 22px; }
    .tech__panel { grid-template-columns: 1fr; }
    .tech__intro { max-width: 620px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 100px; }
    .nav-toggle { display: inline-flex; }
    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
        flex-direction: column; align-items: stretch; gap: 18px;
        max-height: calc(100vh - var(--header-h)); overflow-y: auto;
        padding: 18px var(--gutter) 26px;
        background: var(--white); border-top: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(13, 27, 52, .12);
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    }
    .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease; }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav__link { display: block; padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
    .site-nav__link::after, .site-nav__link::before { display: none; }
    .site-nav__cta { width: 100%; }
    body.nav-open { overflow: hidden; }

    .hero__grid { grid-template-columns: 1fr; }
    .hero__visual { min-height: 340px; max-width: 640px; }
    .hero--photo { display: block; min-height: 0; padding-bottom: 0; }
    .hero--photo .hero__grid { grid-template-columns: 1fr; }
    .hero__photo {
        position: relative; z-index: 0; display: block;
        width: 100%; max-width: 720px; height: auto; margin: 8px auto 0;
        mask-image: linear-gradient(180deg, transparent 0, #000 18%);
        -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%);
    }
    .brand-logo--md { height: 80px; }
    .section-head--split { grid-template-columns: 1fr; align-items: start; }
    .cards-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tech__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .projects { grid-template-columns: 1fr; }
    .why__inner { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .section-head--2 { grid-template-columns: 1fr; }
    .cards-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process__head { grid-template-columns: 1fr; }
    .process__steps { grid-template-columns: 1fr; gap: 18px; }
    .process__step { display: grid; grid-template-columns: 60px 1fr; gap: 0 16px; text-align: left; }
    .process__step + .process__step::before { display: none; }
    .process__icon { grid-row: span 2; margin: 0; }
    .process__step h3 { align-self: end; }
    .process__step p { margin: 0; max-width: none; }
    .tech-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .faq { grid-template-columns: 1fr; }
    .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; }
    .location__panel { grid-template-columns: 1fr; }
    .blog-layout { grid-template-columns: 1fr; }
    .blog-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .blog-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .suggest-box { grid-column: 1 / -1; }
    .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); }
    .founder__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
    .founder__stats { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 8px 20px; }
    .founder__stats li + li { border-top: 0; border-left: 1px solid var(--line); padding-left: 20px; }
    .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 0; }
    .timeline::before { left: 8px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; background: linear-gradient(180deg, var(--blue-600), var(--blue-100)); }
    .timeline__item { display: grid; grid-template-columns: 18px 1fr; column-gap: 18px; padding-bottom: 22px; }
    .timeline__dot { grid-row: span 2; margin: 2px 0 0; }
    .tech-band__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    :root { --gutter: 18px; }
    .section { padding: 64px 0; }
    :root { --header-h: 88px; }
    .brand-logo--md { height: 70px; }
    .brand-logo--sm { height: 70px; }
    .hero { padding: 44px 0 56px; }
    .hero__lead { font-size: 16.5px; }
    .hero__actions .btn { width: 100%; }
    .hero__features { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero__features li { padding: 0; }
    .hero__features li + li { border-left: 0; }
    .hero__visual { min-height: 290px; }
    .mock--code { width: 86%; }
    .mock--site { width: 64%; top: 120px; }
    .mock__code { font-size: 12px; }
    .mock__site strong { font-size: 16px; }
    .hero__note { display: none; }
    .mock--site { top: 100px; }
    .cards-grid--4 { grid-template-columns: 1fr; }
    .tech__panel { padding: 30px 20px; border-radius: var(--radius); }
    .tech__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
    .tech__item { padding: 14px 4px; }
    .tech__logo { width: 42px; height: 42px; }
    .tech__item strong { font-size: 15px; }
    .tech__item span { font-size: 11.5px; }
    .projects__list { grid-template-columns: 1fr; gap: 34px; max-width: 420px; }
    .why__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
    .why__list li { font-size: 13px; }
    .cta__inner { flex-direction: column; align-items: flex-start; }
    .hero--page .hero__features li { padding: 0; }
    .cards-grid--3 { grid-template-columns: 1fr; }
    .offer-card__media { width: 54%; }
    .offer-card__head { min-height: 170px; }
    .process__panel { padding: 30px 20px; border-radius: var(--radius); }
    .tech-cards { gap: 10px; }
    .portfolio { gap: 26px; }
    .carousel { padding: 0; }
    .form-row { grid-template-columns: 1fr; }
    .contact-card { padding: 24px 18px; border-radius: var(--radius); }
    .channel-list li { flex-wrap: wrap; }
    .channel-list .chip-link { margin-left: 58px; }
    .post-grid { grid-template-columns: 1fr; }
    .blog-sidebar { grid-template-columns: 1fr; }
    .blog-extra { grid-template-columns: 1fr; gap: 34px; }
    .blog-search input { height: 52px; }
    .article__body { font-size: 16px; }
    .author-box { flex-direction: column; align-items: flex-start; }
    .founder__grid { grid-template-columns: 1fr; gap: 28px; }
    .founder__photo { max-width: 420px; }
    .founder__stats { grid-template-columns: 1fr; }
    .founder__stats li + li { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
    .founder__stats strong { font-size: 34px; }
    .carousel__track { grid-auto-columns: 88%; gap: 14px; }
    .carousel__arrow { display: none; }
    .process + .cta { margin-top: 64px; }
    .process + .section--testimonials { padding-top: 64px; }
    .tech-card { padding: 16px 6px 14px; }
    .tech-card__logo { width: 40px; height: 40px; }
    .why__grid { grid-template-columns: 1fr; }
    .faq__item summary { padding: 14px 16px; }
    .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 24px; padding: 4px var(--gutter) 8px; scrollbar-width: none; }
    .filters::-webkit-scrollbar { display: none; }
    .filters__btn { flex: none; }
    .faq__answer { padding: 0 16px 16px; }
    .cta .btn { width: 100%; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 30px; }
    .site-footer__grid { padding-top: 56px; padding-bottom: 44px; }
    .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
    .site-footer__legal { display: block; margin: 6px 0 0; }
    .site-footer__dot { display: none; }
    .site-footer__nav li + li::before { margin: 0 10px; }
    .back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
    .site-footer__nav { margin-right: 0; }
    .site-footer__bottom-inner { padding-bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Autor "Equipe CodeCerto" no fim do artigo: logo no círculo azul-escuro */
.author-box--brand img { object-fit: contain; object-position: center; padding: 12px; background: radial-gradient(circle at 50% 40%, #13306a, #081a3b 75%); box-shadow: 0 0 0 3px var(--blue-100); }
