/* ===== Variáveis / Paleta =====
   Paleta corporativa:
   - Azul principal: #0b4f8c
   - Azul escuro: #0a3a66
   - Cinza neutro: #1e293b / #475569 / #94a3b8
   - Branco: #ffffff
   - Destaque (laranja): #f97316
   - Fundo claro: #f1f5f9
   Edite os valores abaixo para alterar a identidade visual.
*/
:root {
    --color-primary: #0b4f8c;
    --color-primary-dark: #0a3a66;
    --color-accent: #f97316;
    --color-accent-dark: #ea580c;
    --color-text: #1e293b;
    --color-text-soft: #475569;
    --color-muted: #94a3b8;
    --color-bg: #ffffff;
    --color-bg-alt: #f1f5f9;
    --color-border: #e2e8f0;
    --color-white: #ffffff;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 48px rgba(11, 79, 140, 0.12);

    --container: 1200px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Tipografia ===== */
h1, h2, h3 { line-height: 1.2; font-weight: 700; color: var(--color-text); }
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }

/* ===== Botões ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    text-align: center;
    cursor: pointer;
    white-space: nowrap;
}
.btn-sm { padding: 10px 18px; font-size: 0.875rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--color-accent); color: var(--color-white); }
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-white); border: 2px solid var(--color-white); }
.btn-outline:hover { background: var(--color-white); color: var(--color-primary); }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
}
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--color-primary);
    letter-spacing: 0.5px;
}
.logo-mark { display: flex; }
.logo-img { height: 44px; width: 44px; max-width: 44px; object-fit: contain; display: block; }
.logo-c2 { border-radius: 50%; }
.logo-c2-official {
    width: 78px;
    max-width: 78px;
    height: 78px;
    object-fit: contain;
    object-position: center;
}
.logo-footer { height: 150px; width: 150px; max-width: 150px; margin-bottom: 14px; object-fit: contain; object-position: left center; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.main-nav ul {
    display: flex;
    gap: 28px;
}
.main-nav a {
    color: var(--color-text-soft);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.main-nav a:hover { color: var(--color-primary); }
.nav-cta { color: var(--color-white) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: 80px 0 100px;
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}
.hero-slides { position: relative; min-height: 430px; display: flex; align-items: center; }
.hero-slide {
    display: none;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1;
}
.hero-slide.is-active { display: block; animation: fade 0.6s ease; }
.hero-slide-visual {
    position: absolute;
    top: 50%;
    right: 2%;
    width: 44%;
    max-width: 500px;
    height: 360px;
    transform: translateY(-50%);
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.78;
}
.hero-slide-visual::after {
    content: "";
    position: absolute;
    inset: 10%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}
.hero-slide-visual img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    border-radius: 18px;
    mix-blend-mode: normal;
    opacity: 0.78;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 58%;
}
@keyframes fade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero-eyebrow {
    display: inline-block;
    background: rgba(249, 115, 22, 0.2);
    color: #ffb380;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 18px;
}
.hero h1 { color: var(--color-white); margin-bottom: 18px; }
.hero-desc { font-size: 1.1rem; opacity: 0.92; margin-bottom: 28px; max-width: 600px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots {
    display: flex;
    gap: 10px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}
.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: 0.3s;
}
.hero-dot.is-active { background: var(--color-accent); width: 32px; border-radius: 50px; }

/* ===== Sections ===== */
.section { padding: 104px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 12px;
}
.section-lead { color: var(--color-text-soft); margin-top: 16px; font-size: 1.05rem; }

/* ===== Cards de Serviços ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
}
.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.card-featured {
    border: 2px solid var(--color-accent);
    background: linear-gradient(180deg, rgba(249, 115, 22, 0.08), var(--color-white) 42%);
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(249, 115, 22, 0.16);
}
.card-featured:hover { border-color: var(--color-accent-dark); transform: translateY(-10px); }
.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: rgba(11, 79, 140, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--color-text-soft); font-size: 0.95rem; margin-bottom: 22px; flex: 1; }
.card .btn { align-self: flex-start; }

/* ===== Sobre ===== */
.sobre-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}
.sobre-text p { color: var(--color-text-soft); margin-bottom: 20px; }
.diferenciais { display: flex; flex-direction: column; gap: 18px; margin: 24px 0 32px; }
.diferenciais li { display: flex; gap: 14px; align-items: flex-start; }
.dif-check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}
.diferenciais strong { display: block; margin-bottom: 4px; }
.diferenciais p { font-size: 0.9rem; color: var(--color-text-soft); margin: 0; }
.sobre-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.link-arrow { color: var(--color-primary); font-weight: 600; transition: gap 0.2s; }
.link-arrow:hover { color: var(--color-accent); }

.sobre-figure { display: flex; }
.sobre-figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* ===== Liderança ===== */
.leadership-section {
    background: var(--color-bg);
}
.leadership-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(40px, 7vw, 96px);
    align-items: center;
}
.leadership-photo {
    max-width: 390px;
    width: 100%;
    justify-self: center;
    border-radius: 18px;
    padding: 10px;
    background: var(--color-white);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}
.leadership-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
}
.leadership-content h2 {
    margin-bottom: 8px;
}
.leadership-role {
    color: var(--color-text-soft);
    font-weight: 600;
    margin-bottom: 24px;
}
.leadership-content blockquote {
    max-width: 650px;
    border-left: 4px solid var(--color-accent);
    padding: 6px 0 6px 22px;
    color: var(--color-text-soft);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ===== Segmentos ===== */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.segment-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 26px 22px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.segment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.seg-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    background: rgba(11, 79, 140, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    line-height: 1;
}
.seg-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.seg-icon svg path { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.segment-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.segment-card p { font-size: 0.88rem; color: var(--color-text-soft); margin-bottom: 14px; }

/* ===== Marcas parceiras ===== */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}
.brand-logo {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    transition: border-color 0.2s, color 0.2s;
}
.brand-logo:hover { border-color: var(--color-primary); color: var(--color-primary); }
.brand-logo img {
    max-width: 82%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter 0.25s ease, transform 0.25s ease;
}
.brand-logo:hover img { filter: grayscale(0); transform: scale(1.04); }
.brand-logo img[src$="marca-brother.svg"] {
    max-width: 88%;
}
.brand-logo img[src$="marca-canon.svg"] {
    max-width: 82%;
}

/* ===== Contato ===== */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.contato-info p { color: var(--color-text-soft); margin: 16px 0 28px; }
.contato-list { display: flex; flex-direction: column; gap: 22px; }
.contato-list li { display: flex; gap: 16px; align-items: flex-start; }
.contato-ico {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(11, 79, 140, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.contato-list strong { display: block; font-size: 0.95rem; }
.contato-list p { color: var(--color-text-soft); font-size: 0.95rem; margin: 2px 0 0; }

.contato-form {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: var(--shadow-md);
}
.form-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.field { margin-bottom: 24px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.field label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 6px;
    color: var(--color-text);
}
.field input, .field textarea, .field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--color-bg-alt);
    color: var(--color-text);
}
.field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2'%3e%3cpath d='M6 9l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(11, 79, 140, 0.12);
    background: var(--color-white);
}
.field textarea { resize: vertical; }
.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--color-text-soft);
    margin-bottom: 22px;
    cursor: pointer;
}
.checkbox input { margin-top: 2px; }
.checkbox a { color: var(--color-primary); text-decoration: underline; }
.form-feedback { font-size: 0.9rem; margin-top: 12px; min-height: 1em; }
.form-feedback.ok { color: #15803d; }
.form-feedback.erro { color: #b91c1c; }

/* ===== Footer ===== */
.site-footer { background: var(--color-primary-dark); color: var(--color-white); padding-top: 56px; }
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}
.footer-brand .logo-text { color: var(--color-white); font-size: 1.2rem; font-weight: 800; display: block; margin-bottom: 12px; }
.footer-brand p { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; max-width: 320px; }
.footer-nav, .footer-legal { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-legal a { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; transition: color 0.2s; }
.footer-nav a:hover, .footer-legal a:hover { color: var(--color-accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding: 18px 0; }
.footer-bottom p { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; text-align: center; }

/* ===== WhatsApp flutuante ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: transform 0.2s;
    animation: pulse 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
    0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Cookie banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    max-width: 560px;
    margin: 0 auto;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 20px 24px;
    z-index: 200;
    transform: translateY(120%);
    transition: transform 0.4s ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-content { display: flex; flex-direction: column; gap: 16px; }
.cookie-content p { font-size: 0.875rem; color: var(--color-text-soft); }
.cookie-content a { color: var(--color-primary); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-banner .btn-outline { color: var(--color-text-soft); border-color: var(--color-border); }
.cookie-banner .btn-outline:hover { background: var(--color-bg-alt); color: var(--color-text); }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
    .sobre-grid, .contato-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .segments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .leadership-grid { grid-template-columns: 0.85fr 1.15fr; gap: 36px; }
    .hero-content { max-width: 68%; }
    .hero-slide-visual { right: -5%; width: 330px; height: 330px; opacity: 0.45; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .logo-c2-official { width: 68px; max-width: 68px; height: 68px; }
    .main-nav {
        position: fixed;
        top: 84px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        box-shadow: var(--shadow-md);
        transition: max-height 0.3s ease;
        border-top: 1px solid var(--color-border);
    }
    .main-nav.is-open { max-height: 420px; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul li { border-bottom: 1px solid var(--color-border); }
    .main-nav ul a { display: block; padding: 16px 20px; }
    .nav-cta { margin: 16px 20px; text-align: center; }

    .hero { padding: 56px 0 72px; }
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .leadership-photo {
        max-width: 300px;
    }
    .leadership-content blockquote {
        text-align: left;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-slides { min-height: 560px; }
    .hero-content { max-width: 100%; }
    .hero-slide-visual {
        right: -90px;
        bottom: -110px;
        top: auto;
        transform: none;
        width: 300px;
        height: 300px;
        opacity: 0.18;
    }
    .section { padding: 56px 0; }
    .section-head { margin-bottom: 36px; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { flex: 1; min-width: 140px; }
}
@media (max-width: 560px) {
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .contato-form { padding: 24px; }
    .cookie-banner { left: 12px; right: 12px; padding: 18px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .sobre-actions { flex-direction: column; align-items: stretch; gap: 14px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .segments-grid { grid-template-columns: 1fr; gap: 16px; }
    .segment-card { padding: 22px 20px; }
}

/* ===== Acessibilidade ===== */
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}
