/* =========================================================
   WE SENSE — DESIGN SYSTEM "AGÊNCIA CRIATIVA"
   Azul protagonista + verde de energia + branco para respirar
   ========================================================= */

:root {
    /* Paleta da marca */
    --blue:        #0B5BFF;   /* primário — protagonista */
    --blue-press:  #0A4FE0;   /* hover/pressed */
    --blue-deep:   #07235C;   /* títulos fortes, footer */
    --blue-soft:   #EAF1FF;   /* chips/realces claros */
    --green:       #00D68F;   /* secundário — energia, CTAs */
    --green-vivid: #00FFB2;   /* realce pontual sobre azul */
    --green-deep:  #04A36E;   /* verde de texto sobre claro */
    --green-soft:  #E2FBF1;   /* chip verde claro */
    --white:       #FFFFFF;
    --mist:        #EEF2FB;   /* seção de respiro */
    --cloud:       #F7F9FD;
    --ink:         #0E1422;   /* texto/apoio — nunca fundo dominante */
    --ash:         #5B6473;   /* texto secundário */
    --line:        #DCE4F3;   /* divisores sobre claro */
    --line-ink:    rgba(255,255,255,0.22); /* divisores sobre azul */

    /* Tipografia */
    --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --h1: clamp(2.7rem, 6.4vw, 5.2rem);
    --h2: clamp(2rem, 4.6vw, 3.5rem);
    --h3: clamp(1.2rem, 1.6vw, 1.55rem);

    --section-pad: clamp(72px, 11vh, 150px);
    --container: 1180px;
    --gutter: clamp(22px, 5vw, 64px);
    --radius: 18px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--ink);
    line-height: 1.65;
    font-size: 1.0625rem;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--green-vivid); color: var(--ink); }

/* ===== TIPOGRAFIA ===== */
.display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
}

h1, .hero__title { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); font-family: var(--font-body); font-weight: 700; letter-spacing: -0.01em; }
p { color: inherit; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 0.74rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--blue);
}
.eyebrow::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--green); flex: none; }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.55; color: inherit; }
.accent-text { color: var(--blue); }
em { font-style: normal; }

/* ===== LAYOUT ===== */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

section { padding: var(--section-pad) 0; position: relative; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; z-index: 1; }

/* Modos de seção */
.section--paper { background: var(--white); color: var(--ink); }
.section--ink   { background: var(--blue);  color: var(--white); }
.section--ink p { color: rgba(255,255,255,0.9); }
.section--ink .section-index { color: rgba(255,255,255,0.85); }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink .accent-text { color: var(--green-vivid); }

/* Seções de respiro (névoa) — sem mexer no HTML */
.diferentials.section--paper, .faq.section--paper, .strip.section--paper { background: var(--mist); }

/* Cabeçalho de seção */
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-index {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--blue); margin-bottom: 18px;
}
.section-index::before { content: ""; flex: none; width: 26px; height: 4px; border-radius: 4px; background: var(--green); }
.section--ink .section-index::before { background: var(--green-vivid); }
.section-head h2 { margin-bottom: 18px; }
.section-sub { color: var(--ash); font-size: 1.05rem; max-width: 640px; }
.section--ink .section-sub { color: rgba(255,255,255,0.85); }
.section-foot { margin-top: 48px; color: var(--ash); }
.section-foot a { color: var(--blue); font-weight: 600; border-bottom: 2px solid var(--green); }
.section--ink .section-foot a { color: var(--white); }

/* Grid editorial */
.grid-editorial { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: clamp(32px,6vw,90px); align-items: start; }
.section-head--side { margin-bottom: 0; }

/* ===== BOTÕES ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 32px; border-radius: 100px; border: 2px solid transparent;
    font-family: var(--font-body); font-weight: 700; font-size: 0.97rem; cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
    white-space: nowrap; line-height: 1;
}
.btn--primary { background: var(--green); color: #053D2C; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,214,143,0.35); }
.btn--ghost { background: transparent; color: currentColor; border-color: currentColor; }
.section--ink .btn--ghost { border-color: rgba(255,255,255,0.6); }
.btn--ghost:hover { transform: translateY(-2px); background: rgba(11,91,255,0.08); }
.section--ink .btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.92rem;
    color: var(--blue); padding-bottom: 2px; border-bottom: 2px solid var(--blue-soft); transition: gap .2s ease, border-color .2s ease;
}
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover { border-color: var(--green); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--white); border-color: var(--line-ink); }
.section--ink .link-arrow:hover { border-color: var(--green-vivid); }

/* ===== HERO ===== */
.hero {
    min-height: 92vh; display: flex; flex-direction: column; justify-content: center;
    padding-top: clamp(120px,16vh,200px); padding-bottom: clamp(60px,9vh,120px); overflow: hidden;
}
.hero__inner { width: 100%; position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(24px, 5vw, 64px); }
.hero__text { min-width: 0; }
.hero .eyebrow { margin-bottom: 26px; color: rgba(255,255,255,0.95); }
.hero .eyebrow::before { background: var(--green-vivid); }
.hero__title { display: flex; flex-direction: column; gap: 4px; max-width: 18ch; color: #fff; }
.hero__sub-headline {
    font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem,3.6vw,3.2rem);
    color: rgba(255,255,255,0.7); letter-spacing: -0.02em; line-height: 1.04; max-width: 20ch;
}
.hero__sub-headline em { color: var(--green-vivid); font-style: normal; }
.hero__lead { max-width: 56ch; margin: 30px 0 40px; font-size: 1.18rem; color: rgba(255,255,255,0.92); }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__scroll {
    position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.7); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero__scroll svg { animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(5px)} }

/* Composição gráfica do hero (formas brandy) */
.hero__art { display: flex; align-items: center; justify-content: center; pointer-events: none; }
.hero__art img { width: min(78%, 340px); height: auto; }
.blob-spin { transform-box: fill-box; transform-origin: center; animation: spin 26s linear infinite; }
.pop { transform-box: fill-box; transform-origin: center; animation: pop 3.6s ease-in-out infinite; }
.pop--2 { animation-delay: 1.2s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.25);opacity:.7} }

/* ===== STRIP / MARQUEE ===== */
.strip { padding: clamp(22px,3.4vw,34px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { overflow: hidden; width: 100%; }
.marquee__track {
    display: inline-flex; align-items: center; gap: 28px; white-space: nowrap;
    font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem,2.6vw,2.2rem);
    color: var(--blue-deep); animation: marquee 26s linear infinite;
}
.marquee__track .dot { color: var(--green); }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ===== POSICIONAMENTO ===== */
.positioning__body h2 { margin-bottom: 28px; }
.positioning__body .lead { margin-bottom: 20px; }
.positioning__body p:last-child { color: var(--ash); }

/* ===== CARDS ===== */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(18px,2vw,26px); }
.cards-grid--3 { gap: clamp(20px,2vw,28px); }

.card {
    position: relative; overflow: hidden; padding: clamp(26px,3vw,38px);
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    display: flex; flex-direction: column; gap: 12px; min-height: 240px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.diferentials .card, .faq .card { background: var(--white); }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 5px; width: 0; background: var(--green); transition: width .35s cubic-bezier(.16,1,.3,1); }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(7,35,92,0.10); border-color: transparent; }
.card:hover::after { width: 100%; }
.card__num {
    font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--white);
    width: 42px; height: 42px; border-radius: 12px; background: var(--blue);
    display: inline-flex; align-items: center; justify-content: center;
}
.card h3 { margin-top: 4px; color: var(--ink); }
.card p { color: var(--ash); flex-grow: 1; }
.card .link-arrow { align-self: flex-start; margin-top: 8px; }

/* ===== PARA QUEM É (azul) ===== */
.audience-list { list-style: none; border-top: 1px solid var(--line-ink); }
.audience-list li { display: grid; grid-template-columns: 84px 1fr; gap: 20px; align-items: baseline; padding: clamp(22px,3vw,34px) 0; border-bottom: 1px solid var(--line-ink); }
.audience-list__n { font-family: var(--font-display); font-weight: 700; color: var(--green-vivid); font-size: 1.3rem; }
.audience-list p { font-size: clamp(1.2rem,2.3vw,1.8rem); color: #fff; line-height: 1.25; }
.audience-list strong { font-weight: 700; color: var(--green-vivid); }

/* ===== DIFERENCIAIS ===== */
.dif-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: clamp(20px,2.4vw,32px); }
.dif-item { background: var(--white); border-radius: var(--radius); padding: clamp(24px,2.6vw,32px); border: 1px solid var(--line); border-top: 5px solid var(--blue); }
.dif-item h3 { margin-bottom: 12px; color: var(--ink); }
.dif-item p { color: var(--ash); }
.dif-item:nth-child(2n) { border-top-color: var(--green); }

/* ===== PROCESSO (azul) ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5,1fr); gap: 0; }
.step { padding: clamp(24px,2.4vw,34px) clamp(14px,1.6vw,22px) 8px 0; position: relative; z-index: 1; }
.step__n {
    font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--green-vivid);
    width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35);
    background: var(--blue-press); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.step h3 { color: #fff; margin-bottom: 10px; }
.step p { color: rgba(255,255,255,0.88); font-size: 0.95rem; }

/* ===== AUTORIDADE ===== */
.case-placeholder { padding: clamp(26px,3vw,36px); border: 2px dashed var(--line); border-radius: var(--radius); background: var(--cloud); display: flex; flex-direction: column; gap: 14px; }
.badge { align-self: flex-start; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 6px 14px; border-radius: 100px; }
.case-placeholder h3 { color: var(--ink); }
.case-placeholder p { color: var(--ash); }
.placeholder-metric { font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: 1.3rem; margin-top: auto; }

/* ===== FAQ ===== */
.faq__items { border-top: 2px solid var(--line); }
.faq-item { border-bottom: 2px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem,1.7vw,1.45rem); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.faq-item[open] summary::after { content: "−"; background: var(--green); color: #053D2C; }
.faq-item p { color: var(--ash); padding: 0 44px 28px 0; max-width: 72ch; }

/* ===== RECURSOS (azul) ===== */
.resources__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: clamp(32px,5vw,72px); }
.resource-col__title { color: var(--green-vivid); margin-bottom: 22px; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; }
.link-list { list-style: none; }
.link-list li { border-top: 1px solid var(--line-ink); }
.link-list a { display: block; padding: 16px 0; color: #fff; font-size: 1.05rem; transition: color .2s ease, padding-left .2s ease; }
.link-list a:hover { color: var(--green-vivid); padding-left: 8px; }

/* ===== CTA FINAL + FORM (azul) ===== */
.final-cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); align-items: start; }
.final-cta__intro .section-index { color: rgba(255,255,255,0.9); margin-bottom: 18px; }
.final-cta__intro h2 { margin-bottom: 22px; }
.final-cta__intro .lead { color: rgba(255,255,255,0.92); }

.contact-form { display: flex; flex-direction: column; gap: 18px; background: var(--white); padding: clamp(24px,3vw,36px); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(7,35,92,0.25); }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--ink); }
.form-group input, .form-group textarea {
    font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    background: var(--cloud); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .2s ease;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ash); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.82rem; color: var(--ash); margin-top: 4px; }
.form-feedback { font-size: 0.9rem; padding: 12px 0 0; color: var(--green-deep); }

/* ===== ANIMAÇÕES ===== */
[data-animate-fade] { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
[data-animate-fade].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marquee__track, .hero__scroll svg, .blob-spin, .pop { animation: none; }
    [data-animate-fade] { opacity: 1; transform: none; transition: none; }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
    .grid-editorial { grid-template-columns: 1fr; }
    .section-head--side { margin-bottom: 36px; }
    .steps { grid-template-columns: 1fr 1fr; gap: 8px; }
    .final-cta__inner { grid-template-columns: 1fr; }
    .hero__inner { grid-template-columns: 1fr; }
    .hero__art { display: none; }
}
@media (max-width: 760px) {
    section { padding: clamp(60px,11vh,86px) 0; }
    .hero { min-height: 86vh; }
    .hero__ctas { flex-direction: column; align-items: stretch; }
    .hero__ctas .btn { width: 100%; }
    .steps { grid-template-columns: 1fr; }
    .audience-list li { grid-template-columns: 56px 1fr; gap: 12px; }
    .cards-grid { grid-template-columns: 1fr; }
}
