:root {
    --mq-blue: #185f8b;
    --mq-blue-dark: #124f76;
    --mq-blue-deep: #0f4a70;
    --mq-orange: #df7628;
    --mq-orange-dark: #c96319;
    --mq-soft: #f3f6f8;
    --mq-text: #173a52;
    --mq-muted: #677887;
    --mq-border: #dfe6eb;
    --mq-green: #169c52;
    --shadow-soft: 0 18px 45px rgba(18, 79, 118, .11);
    --radius: 22px;
}

html { scroll-behavior: smooth; }
body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--mq-text);
    background: #fff;
    line-height: 1.65;
}

img { max-width: 100%; }
a { text-decoration: none; }
.skip-link { position: fixed; left: 1rem; top: 1rem; z-index: 9999; }

.site-header { box-shadow: 0 1px 0 rgba(24, 95, 139, .10); }
.navbar { min-height: 96px; }
.brand-logo { width: 215px; height: 82px; object-fit: contain; }
.navbar .nav-link {
    color: #334b5c;
    font-size: .95rem;
    font-weight: 600;
    padding: .75rem .75rem !important;
    position: relative;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--mq-blue); }
.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    height: 2px;
    left: .75rem;
    right: .75rem;
    bottom: .45rem;
    background: var(--mq-orange);
}

.btn {
    border-radius: 10px;
    font-weight: 700;
    padding: .72rem 1.1rem;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { --bs-btn-bg: var(--mq-blue); --bs-btn-border-color: var(--mq-blue); --bs-btn-hover-bg: var(--mq-blue-dark); --bs-btn-hover-border-color: var(--mq-blue-dark); }
.btn-outline-primary { --bs-btn-color: var(--mq-blue); --bs-btn-border-color: var(--mq-blue); --bs-btn-hover-bg: var(--mq-blue); --bs-btn-hover-border-color: var(--mq-blue); }
.btn-success { --bs-btn-bg: var(--mq-green); --bs-btn-border-color: var(--mq-green); }
.btn-accent { background: var(--mq-orange); color: #fff; border: 1px solid var(--mq-orange); }
.btn-accent:hover { background: var(--mq-orange-dark); border-color: var(--mq-orange-dark); color: #fff; }

.hero-home {
    min-height: 690px;
    background: url('../../imagens/img_09.jpeg') center/cover no-repeat;
    color: #fff;
}
.hero-overlay,
.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 78, 116, .92) 0%, rgba(18, 88, 130, .74) 50%, rgba(24, 95, 139, .20) 100%);
}
.hero-content { padding: 7rem 0; }
.hero-home h1 {
    font-size: clamp(3.25rem, 7vw, 6rem);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 800;
    margin: 1rem 0 1.5rem;
}
.hero-home h1 span { color: #f18a3f; }
.hero-lead { font-size: clamp(1.15rem, 2vw, 1.4rem); max-width: 760px; line-height: 1.5; }
.hero-support { color: rgba(255,255,255,.72); max-width: 650px; }

.eyebrow {
    display: inline-block;
    color: var(--mq-orange);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin-bottom: .8rem;
}
.eyebrow-light { color: #f49a58; }
.section-space { padding: 6.5rem 0; }
.section-title {
    color: var(--mq-blue-deep);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 780;
    margin-bottom: 1.25rem;
}
.section-lead { font-size: 1.14rem; color: #3d5362; }
.bg-soft { background: var(--mq-soft); }
.bg-primary-deep { background: var(--mq-blue-deep); }
.text-link { color: var(--mq-blue); font-weight: 800; }
.text-link i { transition: transform .2s ease; }
.text-link:hover i { transform: translateX(4px); }

.image-frame {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: #dce4e9;
}
.image-frame img { width: 100%; height: 430px; object-fit: cover; display: block; }
.image-frame-landscape img { height: 410px; }
.image-frame-tall img { height: 520px; }

.solution-card {
    background: #fff;
    border: 1px solid var(--mq-border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18, 79, 118, .07);
    transition: transform .25s ease, box-shadow .25s ease;
}
.solution-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.solution-image { height: 235px; overflow: hidden; }
.solution-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.solution-card:hover .solution-image img { transform: scale(1.035); }
.solution-body { padding: 1.7rem; }
.solution-body h3 { color: var(--mq-blue-deep); font-size: 1.35rem; font-weight: 800; }
.solution-body p { color: var(--mq-muted); }
.solution-body a { color: var(--mq-blue); font-weight: 800; }
.icon-badge {
    width: 48px; height: 48px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(223, 118, 40, .12); color: var(--mq-orange); font-size: 1.45rem;
    margin-bottom: 1rem;
}

.process-section { background: #fff; }
.process-list { display: grid; gap: 1rem; }
.process-item {
    display: grid; grid-template-columns: 56px 1fr; gap: 1rem;
    padding: 1.2rem 0; border-bottom: 1px solid var(--mq-border);
}
.process-item > span { color: var(--mq-orange); font-weight: 850; font-size: 1.15rem; }
.process-item h3 { color: var(--mq-blue-deep); font-size: 1.1rem; font-weight: 800; margin-bottom: .25rem; }
.process-item p { margin: 0; color: var(--mq-muted); }

.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    border-radius: 18px;
    padding: 1.5rem;
}
.stat-card strong { display: block; color: #fff; font-size: 2rem; line-height: 1; margin-bottom: .5rem; }
.stat-card span { color: rgba(255,255,255,.68); font-size: .9rem; }

.cta-panel {
    border-radius: 26px;
    padding: 3rem;
    background: linear-gradient(135deg, #eef4f7 0%, #fff 100%);
    border: 1px solid var(--mq-border);
    box-shadow: var(--shadow-soft);
}
.cta-panel h2 { color: var(--mq-blue-deep); font-size: clamp(1.8rem, 3.3vw, 2.8rem); line-height: 1.12; font-weight: 800; }
.cta-panel p { color: var(--mq-muted); }

.page-hero {
    position: relative;
    color: #fff;
    min-height: 430px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
}
.page-hero .container { padding-top: 5rem; padding-bottom: 5rem; }
.page-hero h1 { max-width: 900px; font-size: clamp(2.7rem, 5vw, 4.7rem); line-height: 1.03; letter-spacing: -.045em; font-weight: 800; }
.page-hero p { max-width: 760px; font-size: 1.2rem; color: rgba(255,255,255,.78); }
.page-hero-company { background-image: url('../../imagens/img_09.jpeg'); }
.page-hero-solutions { background-image: url('../../imagens/img_08.jpeg'); }
.page-hero-quality { background-image: url('../../imagens/img_06.jpeg'); }
.page-hero-contact { background-image: url('../../imagens/img_01.jpeg'); }
.anchor-section { scroll-margin-top: 88px; }

.timeline { position: relative; margin-left: .6rem; }
.timeline::before { content: ""; position: absolute; left: 34px; top: 20px; bottom: 20px; width: 2px; background: #ccd9e1; }
.timeline-item { display: grid; grid-template-columns: 70px 1fr; gap: 1.5rem; position: relative; padding-bottom: 2rem; }
.timeline-marker {
    position: relative; z-index: 2; width: 70px; height: 70px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--mq-blue); color: #fff; border: 7px solid var(--mq-soft); font-weight: 800;
}
.timeline-content { padding-top: .45rem; }
.timeline-content h3 { color: var(--mq-blue-deep); font-weight: 800; font-size: 1.25rem; }
.timeline-content p { color: var(--mq-muted); margin-bottom: 0; }

.mission-panel {
    background: linear-gradient(145deg, var(--mq-blue), var(--mq-blue-deep));
    border-radius: var(--radius); padding: 2.5rem; color: #fff; box-shadow: var(--shadow-soft);
}
.mission-panel h2 { font-size: 1.65rem; line-height: 1.35; font-weight: 750; }
.value-card, .quality-card {
    border: 1px solid var(--mq-border); border-radius: 18px; padding: 1.5rem; background: #fff;
}
.value-card i, .quality-card i { color: var(--mq-orange); font-size: 1.65rem; }
.value-card h3, .quality-card h3 { color: var(--mq-blue-deep); font-size: 1.15rem; font-weight: 800; margin-top: .8rem; }
.value-card p, .quality-card p { color: var(--mq-muted); margin-bottom: 0; }
.image-strip { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.image-strip img { width: 100%; height: 250px; object-fit: cover; border-radius: 18px; }

.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .85rem; }
.feature-list li { display: flex; gap: .75rem; align-items: flex-start; color: #405564; }
.feature-list i { color: var(--mq-orange); font-size: 1.15rem; margin-top: .1rem; }

.info-note {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.25rem; border-radius: 14px; background: #f0f5f7; border: 1px solid #dce6eb;
}
.info-note i { color: var(--mq-blue); font-size: 1.35rem; }
.info-note strong, .info-note span { display: block; }
.info-note span { color: var(--mq-muted); margin-top: .2rem; }

.contact-list { display: grid; gap: 1rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item > span {
    width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(24, 95, 139, .09); color: var(--mq-blue); font-size: 1.15rem;
}
.contact-item small { display: block; color: var(--mq-muted); margin-bottom: .15rem; }
.contact-item strong, .contact-item a { color: var(--mq-blue-deep); font-weight: 750; }
.contact-form-card {
    background: var(--mq-soft); border: 1px solid var(--mq-border); border-radius: 24px; padding: 2.5rem;
}
.contact-form-card h2 { color: var(--mq-blue-deep); font-weight: 800; }
.form-control, .form-select { min-height: 50px; border-radius: 10px; border-color: #ced9df; }
textarea.form-control { min-height: auto; }
.form-control:focus, .form-select:focus { border-color: var(--mq-blue); box-shadow: 0 0 0 .2rem rgba(24,95,139,.13); }
.form-label { font-weight: 700; color: #334b5b; font-size: .92rem; }
.location-card {
    display: flex; justify-content: space-between; align-items: center; gap: 2rem;
    border: 1px solid var(--mq-border); border-radius: 20px; padding: 2rem;
}
.location-card h2 { color: var(--mq-blue-deep); font-weight: 800; }
.location-card p { color: var(--mq-muted); }


.career-card {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 2rem;
    border: 1px solid var(--mq-border);
    border-radius: 20px;
    background: linear-gradient(135deg, #f3f8fb 0%, #ffffff 100%);
    box-shadow: 0 12px 30px rgba(18, 79, 118, .07);
}
.career-icon {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(24, 95, 139, .10);
    color: var(--mq-blue);
    font-size: 1.45rem;
}
.career-card h2 {
    color: var(--mq-blue-deep);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: .3rem;
}
.career-card p { color: var(--mq-muted); }
.career-card p a { color: var(--mq-blue); font-weight: 750; }

.simple-hero { padding: 6rem 0 4rem; background: var(--mq-soft); }
.simple-hero h1 { color: var(--mq-blue-deep); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -.04em; }
.simple-hero p { color: var(--mq-muted); font-size: 1.1rem; }
.legal-content { max-width: 900px; }
.legal-content h2 { color: var(--mq-blue-deep); font-size: 1.35rem; font-weight: 800; margin-top: 2rem; }
.legal-content p { color: var(--mq-muted); }

.site-footer { background: #0f4162; color: #fff; }
.footer-logo { width: 150px; height: 90px; object-fit: contain; background: #fff; border-radius: 10px; padding: .5rem; }
.footer-description { color: rgba(255,255,255,.62); max-width: 390px; }
.footer-title { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: #fff; font-weight: 800; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,.66); }
.footer-links a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { font-style: normal; display: grid; gap: .7rem; }
.footer-contact div { display: flex; align-items: flex-start; gap: .65rem; color: rgba(255,255,255,.66); }
.footer-contact i { color: #f08b43; }
.footer-divider { border-color: rgba(255,255,255,.12); margin: 2.5rem 0 1.5rem; }
.footer-bottom { color: rgba(255,255,255,.48); }

.whatsapp-float {
    position: fixed; right: 24px; bottom: 24px; z-index: 1030;
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #25d366; color: #fff; font-size: 1.85rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
    transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover { color: #fff; transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 34px rgba(0,0,0,.25); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 991.98px) {
    .navbar { min-height: 82px; }
    .brand-logo { width: 185px; height: 68px; }
    .navbar-collapse { padding: 1rem 0 1.25rem; }
    .navbar .nav-link.active::after { display: none; }
    .hero-home { min-height: 620px; background-position: 60% center; }
    .hero-overlay, .page-hero-overlay { background: rgba(15, 74, 112, .84); }
    .section-space { padding: 4.5rem 0; }
    .page-hero { min-height: 360px; }
    .image-frame img, .image-frame-landscape img, .image-frame-tall img { height: 380px; }
    .location-card { align-items: flex-start; flex-direction: column; }
    .career-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
    .hero-home { min-height: 610px; }
    .hero-content { padding: 5rem 0; }
    .hero-home h1 { font-size: 3.4rem; }
    .hero-lead { font-size: 1.08rem; }
    .section-space { padding: 4rem 0; }
    .section-title { font-size: 2.25rem; }
    .image-frame img, .image-frame-landscape img, .image-frame-tall img { height: 300px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .cta-panel { padding: 2rem 1.5rem; }
    .image-strip { grid-template-columns: 1fr; }
    .image-strip img { height: 230px; }
    .contact-form-card { padding: 1.5rem; }
    .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
    .hero-home h1 { font-size: 3rem; }
    .stats-grid { grid-template-columns: 1fr; }
}
