:root {
    --brand-900: #2F2E43;
    --brand-800: #3C3A55;
    --brand-700: #4D4B69;
    --brand-600: #5E5C7E;
    --brand-200: #D7D7E1;
    --brand-100: #ECECF2;
    --surface: #F6F6F6;
    --white: #FFFFFF;
    --text: #20212A;
    --muted: #66697A;
    --line: #E5E5EA;
    --shadow: 0 18px 50px rgba(47, 46, 67, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    padding: 10px 14px;
    color: var(--white);
    background: var(--brand-900);
    border-radius: 10px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(77, 75, 105, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand img {
    width: 174px;
    height: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    font-size: 0.94rem;
    font-weight: 650;
}

.main-nav > a:not(.button) {
    position: relative;
    color: var(--brand-900);
}

.main-nav > a:not(.button)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    background: var(--brand-700);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.main-nav > a:not(.button):hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--brand-100);
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--brand-900);
}

.button {
    min-height: 50px;
    padding: 13px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--brand-700);
    border-radius: 13px;
    color: var(--white);
    background: var(--brand-700);
    font-weight: 750;
    line-height: 1.2;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
    background: var(--brand-900);
    border-color: var(--brand-900);
    box-shadow: 0 10px 24px rgba(47, 46, 67, 0.18);
    transform: translateY(-2px);
}

.button-small {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.88rem;
}

.button-ghost {
    color: var(--brand-700);
    background: transparent;
}

.button-ghost:hover {
    color: var(--white);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 82px;
    background:
        radial-gradient(circle at 85% 10%, rgba(94, 92, 126, 0.16), transparent 30%),
        linear-gradient(180deg, #FAFAFC 0%, #FFFFFF 100%);
}

.hero::before {
    content: "";
    position: absolute;
    width: 440px;
    height: 440px;
    right: -250px;
    bottom: -260px;
    border: 1px solid var(--brand-200);
    border-radius: 50%;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
    align-items: center;
    gap: 64px;
}

.eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: var(--brand-700);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: var(--brand-200);
}

.hero h1,
.section-heading h2,
.about-copy h2,
.segment-grid h2,
.contact-card h2 {
    margin: 0;
    color: var(--brand-900);
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.hero h1 {
    max-width: 860px;
}

.hero-lead {
    max-width: 720px;
    margin: 26px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-trust {
    margin-top: 54px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.hero-trust div {
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.hero-trust strong,
.hero-trust span {
    display: block;
}

.hero-trust strong {
    color: var(--brand-900);
    font-size: 0.94rem;
}

.hero-trust span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.83rem;
    line-height: 1.45;
}

.hero-panel {
    padding: 34px;
    color: var(--white);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.04), transparent 38%),
        var(--brand-900);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.panel-logo {
    width: 145px;
    margin-bottom: 34px;
    padding: 7px;
    border-radius: 4px;
    background: var(--white);
}

.panel-kicker {
    margin: 0 0 6px;
    color: var(--brand-200);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-panel h2 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.check-list {
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding: 13px 0 13px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-200);
    font-weight: 900;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.text-link span {
    transition: transform 180ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.section {
    padding: 100px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 48px;
}

.section-heading h2,
.about-copy h2,
.segment-grid h2,
.contact-card h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.section-heading > p,
.about-copy > p {
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.section-heading-centered {
    margin-inline: auto;
    text-align: center;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}

.service-card {
    min-height: 295px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    border-color: var(--brand-200);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.card-number {
    color: var(--brand-600);
    font-size: 0.8rem;
    font-weight: 850;
}

.service-card h3 {
    margin: auto 0 12px;
    color: var(--brand-900);
    font-size: 1.25rem;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.section-dark {
    color: var(--white);
    background: var(--brand-900);
}

.segment-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
}

.segment-grid h2 {
    color: var(--white);
}

.section-dark-copy {
    max-width: 560px;
    margin-top: 22px;
    color: var(--brand-200);
}

.segments {
    border-top: 1px solid rgba(255,255,255,0.14);
}

.segment-item {
    padding: 22px 0;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.14);
}

.segment-item strong {
    font-size: 1rem;
}

.segment-item span {
    color: var(--brand-200);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 84px;
}

.about-mark {
    min-height: 420px;
    padding: 60px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, rgba(255,255,255,0.05), transparent 40%),
        var(--brand-700);
}

.about-mark img {
    width: min(100%, 360px);
    padding: 10px;
    background: var(--white);
}

.about-data {
    margin-top: 34px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    border-top: 1px solid var(--line);
}

.about-data span,
.about-data strong {
    display: block;
}

.about-data span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-data strong {
    margin-top: 5px;
    color: var(--brand-900);
}

.process-section {
    background: var(--surface);
}

.process {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    list-style: none;
}

.process li {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.process li > span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 44px;
    color: var(--white);
    background: var(--brand-700);
    border-radius: 50%;
    font-weight: 800;
}

.process strong {
    color: var(--brand-900);
    font-size: 1.1rem;
}

.process p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.contact-section {
    padding: 40px 0 90px;
    background: var(--surface);
}

.contact-card {
    padding: 54px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 50px;
    color: var(--white);
    background:
        radial-gradient(circle at 95% 20%, rgba(255,255,255,0.1), transparent 35%),
        var(--brand-700);
    border-radius: var(--radius-lg);
}

.contact-card h2 {
    max-width: 720px;
    color: var(--white);
}

.contact-card p {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--brand-100);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
}

.button-white {
    color: var(--brand-900);
    background: var(--white);
    border-color: var(--white);
}

.button-white:hover {
    color: var(--white);
    background: var(--brand-900);
    border-color: var(--brand-900);
}

.contact-email {
    text-align: center;
    color: var(--brand-100);
    font-weight: 650;
    word-break: break-word;
}

.site-footer {
    padding: 64px 0 24px;
    color: var(--brand-200);
    background: #252433;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 50px;
}

.footer-brand img {
    width: 180px;
    padding: 5px;
    background: var(--white);
}

.footer-brand p {
    max-width: 360px;
    margin: 18px 0 0;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-grid strong {
    margin-bottom: 6px;
    color: var(--white);
}

.footer-grid a:hover {
    color: var(--white);
}

.footer-bottom {
    margin-top: 44px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.82rem;
}

@media (max-width: 1020px) {
    .main-nav {
        gap: 18px;
    }

    .hero-grid,
    .segment-grid,
    .about-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 44px;
    }

    .hero-panel {
        max-width: 620px;
    }

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

    .segment-grid {
        gap: 44px;
    }

    .about-mark {
        min-height: 300px;
    }

    .contact-actions {
        max-width: 430px;
    }
}

@media (max-width: 820px) {
    .header-inner {
        min-height: 72px;
    }

    .brand img {
        width: 145px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        right: 20px;
        left: 20px;
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav > a {
        padding: 11px 10px;
    }

    .main-nav > a:not(.button)::after {
        display: none;
    }

    .hero {
        padding-top: 68px;
    }

    .hero-trust {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 78px 0;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .hero {
        padding: 54px 0 64px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-panel {
        padding: 26px;
        border-radius: 22px;
    }

    .cards,
    .process,
    .about-data {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 240px;
    }

    .segment-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .about-grid {
        gap: 44px;
    }

    .about-mark {
        min-height: 230px;
        padding: 38px;
    }

    .contact-card {
        padding: 34px 24px;
        border-radius: 22px;
    }

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

    .footer-brand {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


.emergency-strip {
    color: var(--white);
    background: var(--brand-700);
}

.emergency-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.emergency-inner strong,
.emergency-inner span {
    display: block;
}

.emergency-inner strong {
    font-size: 1rem;
}

.emergency-inner span {
    margin-top: 3px;
    color: var(--brand-100);
    font-size: 0.9rem;
}

.emergency-link {
    flex: 0 0 auto;
    font-weight: 800;
}

.request-section {
    background: var(--white);
}

.request-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 72px;
    align-items: start;
}

.request-copy h2 {
    margin: 0;
    color: var(--brand-900);
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
}

.request-copy > p {
    margin: 20px 0 0;
    color: var(--muted);
}

.request-points {
    margin-top: 34px;
    display: grid;
    gap: 14px;
}

.request-points div {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.request-points strong,
.request-points span {
    display: block;
}

.request-points strong {
    color: var(--brand-900);
}

.request-points span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.92rem;
}

.service-form {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-grid label {
    display: grid;
    gap: 8px;
    color: var(--brand-900);
    font-size: 0.86rem;
    font-weight: 750;
}

.form-grid .is-wide {
    grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    border: 1px solid #D8D8E2;
    border-radius: 12px;
    padding: 13px 14px;
    color: var(--text);
    background: var(--white);
    font: inherit;
    font-weight: 500;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-grid textarea {
    resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
    border-color: var(--brand-600);
    box-shadow: 0 0 0 3px rgba(94, 92, 126, 0.12);
}

.form-submit {
    width: 100%;
    margin-top: 20px;
}

.form-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.8rem;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 45;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: #25D366;
    border: 2px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(47, 46, 67, 0.28);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.03em;
    transition: transform 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
    background: var(--brand-900);
    transform: translateY(-3px);
}

@media (max-width: 1020px) {
    .request-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }
}

@media (max-width: 820px) {
    .emergency-inner {
        padding: 18px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 620px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .is-wide {
        grid-column: auto;
    }

    .service-form {
        padding: 22px;
        border-radius: 20px;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}


/* Garantia de proporção e exibição integral da marca */
.brand {
    width: 184px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: visible;
}

.brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.panel-logo {
    width: 176px;
    height: 76px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.panel-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.about-mark img {
    width: min(100%, 360px);
    height: auto;
    aspect-ratio: 283 / 121;
    object-fit: contain;
    object-position: center;
    padding: 0;
}

.footer-brand img {
    width: 190px;
    height: auto;
    aspect-ratio: 283 / 121;
    object-fit: contain;
    object-position: center;
    padding: 0;
}

@media (max-width: 820px) {
    .brand {
        width: 154px;
        height: 64px;
    }
}


.whatsapp-icon {
    width: 31px;
    height: 31px;
    display: block;
}

.whatsapp-float:hover {
    background: #1FB85A;
}


/* WhatsApp: identidade visual oficial e override final */
.whatsapp-float,
.whatsapp-float:visited {
    color: #FFFFFF;
    background: #25D366;
    border-color: #FFFFFF;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.20);
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    color: #FFFFFF;
    background: #20BD5A;
}

.whatsapp-icon {
    color: #FFFFFF;
}


/* Ajuste final do botão WhatsApp */
.whatsapp-float,
.whatsapp-float:visited {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.whatsapp-icon {
    width: 33px;
    height: 33px;
    display: block;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    background: #25D366;
    transform: translateY(-2px) scale(1.04);
}


/* Acabamento final: navegação, acessibilidade e âncoras */
section[id] {
    scroll-margin-top: 104px;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(77, 75, 105, 0.35);
    outline-offset: 3px;
}

.main-nav > a:not(.button).is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav > a:not(.button).is-active {
    color: var(--brand-700);
}

.footer-grid span,
.footer-grid a {
    overflow-wrap: anywhere;
}

@media (max-width: 820px) {
    .main-nav > a:not(.button).is-active {
        background: var(--brand-100);
        border-radius: 10px;
    }
}


/* Imagens de equipamentos científicos */
.equipment-photo-frame {
    overflow: hidden;
}

.panel-logo.equipment-photo-frame {
    width: 100%;
    height: 240px;
    margin-bottom: 34px;
    padding: 0;
    border-radius: 18px;
    background: var(--white);
}

.panel-logo.equipment-photo-frame .equipment-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.about-mark.equipment-photo-frame {
    min-height: 420px;
    padding: 0;
    display: block;
    background: var(--brand-100);
}

.about-mark.equipment-photo-frame .equipment-photo {
    width: 100%;
    height: 100%;
    min-height: 420px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.footer-brand.equipment-photo-frame {
    width: min(100%, 300px);
    min-height: 136px;
    padding: 0;
    border-radius: 14px;
    background: var(--white);
}

.footer-brand.equipment-photo-frame .equipment-photo {
    width: 100%;
    height: 136px;
    display: block;
    padding: 0;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1020px) {
    .about-mark.equipment-photo-frame {
        min-height: 300px;
    }

    .about-mark.equipment-photo-frame .equipment-photo {
        min-height: 300px;
    }
}

@media (max-width: 620px) {
    .panel-logo.equipment-photo-frame {
        height: 220px;
    }

    .about-mark.equipment-photo-frame {
        min-height: 230px;
    }

    .about-mark.equipment-photo-frame .equipment-photo {
        min-height: 230px;
    }

    .footer-brand.equipment-photo-frame {
        width: 100%;
    }
}
