/* =========================================================
   COSMOTEC - EMPRESA.CSS
========================================================= */

:root {
    --navy: #061522;
    --navy-2: #0a2136;
    --navy-3: #0d2b46;

    --blue: #0589d8;
    --blue-2: #21a7ef;

    --gold: #f58220;
    --gold-2: #ff9d3d;

    --text: #112233;
    --muted: #617083;

    --line: #dfe7ed;

    --bg: #f5f8fb;
    --white: #ffffff;

    --green: #25d366;

    --shadow:
        0 24px 70px rgba(6, 21, 34, 0.14);

    --shadow-soft:
        0 18px 45px rgba(6, 21, 34, 0.09);

    --container:
        min(1180px, calc(100% - 40px));
}


/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: var(--text);

    background: #ffffff;

    font-family:
        "Manrope",
        Arial,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

body.menu-open,
body.modal-open {
    overflow: hidden;
}

img,
svg {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: var(--container);

    margin-inline: auto;
}


/* =========================================================
   ACESSIBILIDADE
========================================================= */

.skip-link {
    position: fixed;

    top: -100px;
    left: 16px;

    z-index: 9999;

    padding: 12px 18px;

    background: #ffffff;

    border-radius: 10px;
}

.skip-link:focus {
    top: 16px;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;

    inset: 0 0 auto;

    z-index: 1000;

    height: 88px;

    display: flex;

    align-items: center;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);

    transition:
        height 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.site-header.scrolled {
    height: 76px;

    background:
        rgba(6, 21, 34, 0.95);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18);

    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;
}


/* LOGO */

.brand {
    display: flex;

    align-items: center;
}

.brand img {
    width: 172px;

    height: auto;

    max-height: 62px;

    object-fit: contain;
}


/* =========================================================
   MENU DESKTOP
========================================================= */

.desktop-nav {
    display: flex;

    align-items: center;

    gap: 28px;

    margin-left: auto;
}

.desktop-nav a {
    position: relative;

    padding: 12px 0;

    color:
        rgba(255, 255, 255, 0.85);

    font-size: 0.91rem;

    font-weight: 700;
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 5px;

    width: 0;
    height: 2px;

    background: var(--gold);

    transition: width 0.25s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: #ffffff;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}


/* =========================================================
   AÇÕES HEADER
========================================================= */

.header-actions {
    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   BOTÕES
========================================================= */

.btn {
    min-height: 46px;

    padding: 0 18px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    border: 0;

    border-radius: 14px;

    font-weight: 800;

    line-height: 1;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn svg {
    width: 19px;
    height: 19px;

    fill: currentColor;
}

.btn-phone {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.09);

    border:
        1px solid rgba(255, 255, 255, 0.15);
}

.btn-budget {
    color: #1d2530;

    background:
        var(--gold);

    box-shadow:
        0 10px 24px rgba(245, 130, 32, 0.22);
}

.btn-primary {
    color: #1d2530;

    background:
        linear-gradient(
            135deg,
            var(--gold),
            var(--gold-2)
        );

    box-shadow:
        0 16px 35px rgba(245, 130, 32, 0.25);
}

.btn-dark {
    color: #ffffff;

    background:
        var(--navy);
}

.btn-outline-light {
    color: #ffffff;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.28);
}

.btn-whatsapp {
    color: #ffffff;

    background: var(--green);
}

.btn-lg {
    min-height: 56px;

    padding: 0 24px;

    border-radius: 16px;
}

.full {
    width: 100%;
}


/* =========================================================
   MENU MOBILE
========================================================= */

.menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 12px;

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
    display: block;

    height: 2px;

    margin: 5px 0;

    background: #ffffff;

    border-radius: 3px;
}

.mobile-overlay {
    position: fixed;

    inset: 0;

    z-index: 1090;

    background:
        rgba(0, 0, 0, 0.58);

    opacity: 0;

    pointer-events: none;

    transition: opacity 0.3s ease;
}

.mobile-menu {
    position: fixed;

    top: 0;
    right: 0;
    bottom: 0;

    z-index: 1100;

    width:
        min(86vw, 380px);

    padding: 26px;

    display: flex;

    flex-direction: column;

    background: #071a2b;

    box-shadow:
        -25px 0 70px rgba(0, 0, 0, 0.3);

    transform:
        translateX(105%);

    transition:
        transform 0.38s cubic-bezier(.2, .8, .2, 1);
}

body.menu-open .mobile-overlay {
    opacity: 1;

    pointer-events: auto;
}

body.menu-open .mobile-menu {
    transform:
        translateX(0);
}

.mobile-menu-head {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-bottom: 18px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-title {
    color: #ffffff;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 1.2rem;

    font-weight: 800;
}

.mobile-menu-close {
    border: 0;

    background: transparent;

    color: #ffffff;

    font-size: 2rem;
}

.mobile-nav {
    display: flex;

    flex-direction: column;

    padding: 24px 0;
}

.mobile-nav a {
    padding: 14px 0;

    color: #ffffff;

    font-size: 1.06rem;

    font-weight: 800;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav a.active {
    color: var(--gold);
}

.mobile-contact {
    margin-top: auto;

    display: grid;

    gap: 10px;
}


/* =========================================================
   HERO EMPRESA
========================================================= */

.empresa-hero {
    position: relative;

    min-height: 720px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        var(--navy);

    color: #ffffff;
}

.empresa-hero-image {
    position: absolute;

    inset: 0;
}

.empresa-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;
}

.empresa-hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(4, 15, 25, 0.96) 0%,
            rgba(4, 15, 25, 0.84) 42%,
            rgba(4, 15, 25, 0.44) 70%,
            rgba(4, 15, 25, 0.56) 100%
        ),
        linear-gradient(
            0deg,
            rgba(4, 15, 25, 0.5),
            rgba(4, 15, 25, 0.08)
        );
}

.empresa-hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(70px);

    opacity: 0.22;
}

.empresa-hero-glow-one {
    width: 420px;
    height: 420px;

    right: -100px;
    top: 80px;

    background:
        var(--blue);
}

.empresa-hero-glow-two {
    width: 280px;
    height: 280px;

    left: 42%;
    bottom: -160px;

    background:
        var(--gold);
}

.empresa-hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    padding-top: 130px;
    padding-bottom: 95px;
}

.empresa-hero-copy {
    max-width: 760px;
}

.eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--gold);

    font-size: 0.74rem;

    font-weight: 800;

    letter-spacing: 0.16em;

    text-transform: uppercase;
}

.eyebrow::before {
    content: "";

    width: 30px;
    height: 2px;

    background: currentColor;
}

.eyebrow.dark {
    color: #0e82c4;
}

.empresa-hero h1 {
    margin: 20px 0 22px;

    color: #ffffff;

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        clamp(
            2.8rem,
            5vw,
            5.2rem
        );

    line-height: 1.02;

    letter-spacing: -0.045em;
}

.empresa-hero h1 strong {
    color: #ffffff;
}

.empresa-hero-copy > p {
    max-width: 680px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 1.08rem;

    line-height: 1.8;
}

.empresa-hero-ctas {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.empresa-hero-points {
    display: flex;

    flex-wrap: wrap;

    gap: 20px;

    margin-top: 28px;

    color:
        rgba(255, 255, 255, 0.8);

    font-size: 0.9rem;

    font-weight: 700;
}

.empresa-hero-points span {
    display: flex;

    align-items: center;

    gap: 7px;
}

.empresa-hero-points i {
    color: var(--gold);

    font-style: normal;
}


/* =========================================================
   SEÇÕES GERAIS
========================================================= */

.section {
    padding: 110px 0;
}

.section-heading {
    display: grid;

    grid-template-columns:
        1.25fr
        0.75fr;

    gap: 60px;

    align-items: end;

    margin-bottom: 48px;
}

.section-heading h2,
.company-copy h2,
.structure-copy h2,
.customer-copy h2,
.quality-copy h2,
.company-cta-box h2 {
    margin: 14px 0 0;

    color: var(--navy);

    font-family:
        "Montserrat",
        sans-serif;

    font-size:
        clamp(
            2.1rem,
            3.7vw,
            3.8rem
        );

    line-height: 1.07;

    letter-spacing: -0.035em;
}

.section-heading > p {
    margin: 0;

    color: var(--muted);

    font-size: 1.02rem;
}

.section-heading.centered {
    display: block;

    max-width: 820px;

    margin:
        0 auto 50px;

    text-align: center;
}

.section-heading.centered p {
    max-width: 680px;

    margin:
        14px auto 0;
}


/* =========================================================
   QUEM SOMOS
========================================================= */

.about-company {
    background: #ffffff;
}

.company-intro-grid {
    display: grid;

    grid-template-columns:
        1.02fr
        0.98fr;

    gap: 80px;

    align-items: center;
}

.company-image {
    position: relative;

    min-height: 600px;

    overflow: hidden;

    border-radius: 32px;

    box-shadow:
        var(--shadow);
}

.company-image img {
    width: 100%;
    height: 100%;

    position: absolute;

    inset: 0;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.2, .7, .2, 1);
}

.company-image:hover img {
    transform:
        scale(1.035);
}

.company-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4, 15, 25, 0.55),
            transparent 50%
        );
}

.company-image-badge {
    position: absolute;

    left: 28px;
    bottom: 28px;

    z-index: 3;

    min-width: 260px;

    padding: 22px 24px;

    border:
        1px solid rgba(255, 255, 255, 0.15);

    border-radius: 20px;

    background:
        rgba(6, 21, 34, 0.72);

    backdrop-filter:
        blur(16px);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.2);
}

.company-image-badge span {
    display: block;

    color: var(--gold);

    font-size: 0.74rem;

    font-weight: 900;

    letter-spacing: 0.16em;
}

.company-image-badge strong {
    display: block;

    margin-top: 5px;

    color: #ffffff;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 1.12rem;
}

.company-copy > p {
    color: var(--muted);

    font-size: 0.98rem;
}

.company-lead {
    color: var(--text) !important;

    font-size: 1.08rem !important;

    line-height: 1.75;
}

.company-highlight {
    margin-top: 30px;

    padding: 22px;

    display: grid;

    grid-template-columns:
        48px
        1fr;

    gap: 16px;

    border-radius: 20px;

    background: #f4f9fc;

    border:
        1px solid #e0edf5;
}

.company-highlight-icon {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    background: #e7f6ff;

    color: #0a87ca;

    font-weight: 900;
}

.company-highlight strong {
    color: var(--navy);
}

.company-highlight p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================================================
   PRINCÍPIOS
========================================================= */

.principles {
    background:
        var(--bg);
}

.principles-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}

.principle-card {
    position: relative;

    min-height: 320px;

    padding: 30px;

    overflow: hidden;

    border-radius: 24px;

    background:
        #ffffff;

    border:
        1px solid var(--line);

    box-shadow:
        var(--shadow-soft);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.principle-card:hover {
    transform:
        translateY(-6px);

    box-shadow:
        0 25px 55px rgba(6, 21, 34, 0.13);
}

.principle-number {
    position: absolute;

    top: 22px;
    right: 24px;

    color:
        rgba(6, 21, 34, 0.08);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 3.5rem;

    font-weight: 900;

    line-height: 1;
}

.principle-icon {
    width: 54px;
    height: 54px;

    display: grid;

    place-items: center;

    margin-bottom: 34px;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            var(--navy),
            #0c3455
        );

    color: var(--gold);

    font-size: 1.2rem;

    font-weight: 900;
}

.principle-card h3 {
    margin:
        0 0 12px;

    color: var(--navy);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 1.25rem;
}

.principle-card p {
    margin: 0;

    color: var(--muted);

    font-size: 0.9rem;

    line-height: 1.7;
}


/* =========================================================
   ESTRUTURA
========================================================= */

.company-structure {
    background:
        #ffffff;
}

.structure-grid {
    display: grid;

    grid-template-columns:
        0.95fr
        1.05fr;

    gap: 80px;

    align-items: center;
}

.structure-copy > p {
    color: var(--muted);
}

.structure-lead {
    color: var(--text) !important;

    font-size: 1.06rem;
}

.structure-features {
    display: grid;

    gap: 18px;

    margin-top: 32px;
}

.structure-feature {
    display: grid;

    grid-template-columns:
        46px
        1fr;

    gap: 15px;
}

.structure-feature > span {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    background:
        var(--navy);

    color: var(--gold);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 0.8rem;

    font-weight: 900;
}

.structure-feature strong {
    color: var(--navy);
}

.structure-feature p {
    margin: 4px 0 0;

    color: var(--muted);

    font-size: 0.9rem;
}

.structure-image {
    position: relative;

    min-height: 580px;

    overflow: hidden;

    border-radius: 32px;

    box-shadow:
        var(--shadow);
}

.structure-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}

.structure-image:hover img {
    transform:
        scale(1.035);
}

.structure-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(3, 17, 28, 0.56),
            transparent 48%
        );
}

.structure-image-detail {
    position: absolute;

    right: 28px;
    bottom: 28px;
    left: 28px;

    z-index: 3;

    padding: 22px 24px;

    border:
        1px solid rgba(255, 255, 255, 0.14);

    border-radius: 20px;

    background:
        rgba(6, 21, 34, 0.68);

    backdrop-filter:
        blur(15px);
}

.structure-image-detail strong {
    display: block;

    color: #ffffff;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 1.1rem;
}

.structure-image-detail span {
    display: block;

    margin-top: 4px;

    color:
        rgba(255, 255, 255, 0.68);

    font-size: 0.8rem;
}


/* =========================================================
   ATENDIMENTO CLIENTE
========================================================= */

.customer-service {
    background:
        var(--bg);
}

.customer-grid {
    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    gap: 80px;

    align-items: center;
}

.customer-image {
    min-height: 560px;

    overflow: hidden;

    border-radius: 32px;

    box-shadow:
        var(--shadow);

    position: relative;
}

.customer-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}

.customer-image:hover img {
    transform:
        scale(1.035);
}

.customer-copy > p {
    color: var(--muted);
}

.customer-lead {
    color: var(--text) !important;

    font-size: 1.06rem;
}

.customer-points {
    display: grid;

    gap: 14px;

    margin:
        28px 0 32px;
}

.customer-point {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}

.customer-point span {
    flex: 0 0 auto;

    width: 30px;
    height: 30px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        #e8f6ff;

    color:
        #0b85c6;

    font-weight: 900;
}

.customer-point p {
    margin: 2px 0 0;

    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================================================
   QUALIDADE
========================================================= */

.quality-section {
    position: relative;

    overflow: hidden;

    background:
        #071827;

    color: #ffffff;
}

.quality-section::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -120px;
    top: 10%;

    border-radius: 50%;

    background:
        rgba(5, 137, 216, 0.18);

    filter:
        blur(80px);
}

.quality-grid {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        0.95fr
        1.05fr;

    gap: 80px;

    align-items: center;
}

.quality-copy h2 {
    color: #ffffff;
}

.quality-copy > p {
    color:
        rgba(255, 255, 255, 0.67);
}

.quality-lead {
    color:
        rgba(255, 255, 255, 0.86) !important;

    font-size: 1.05rem;
}

.quality-cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 12px;

    margin-top: 32px;
}

.quality-card {
    padding: 18px;

    border-radius: 16px;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    background:
        rgba(255, 255, 255, 0.05);
}

.quality-card strong {
    display: block;

    color: var(--gold);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 0.95rem;
}

.quality-card span {
    display: block;

    margin-top: 5px;

    color:
        rgba(255, 255, 255, 0.58);

    font-size: 0.74rem;
}

.quality-image {
    position: relative;

    min-height: 590px;

    overflow: hidden;

    border-radius: 32px;

    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.25);
}

.quality-image img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.8s ease;
}

.quality-image:hover img {
    transform:
        scale(1.035);
}

.quality-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(4, 15, 25, 0.28),
            transparent 55%
        );
}


/* =========================================================
   NOSSAS SOLUÇÕES
========================================================= */

.company-services {
    background:
        #ffffff;
}

.company-services-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;
}

.company-service-card {
    position: relative;

    min-height: 350px;

    padding: 42px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            #071d31,
            #0b6fa9
        );

    color: #ffffff;

    box-shadow:
        var(--shadow-soft);
}

.company-service-card-gold {
    background:
        linear-gradient(
            145deg,
            #17202d,
            #685715
        );
}

.company-service-number {
    position: absolute;

    top: 24px;
    right: 30px;

    color:
        rgba(255, 255, 255, 0.08);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 4.5rem;

    font-weight: 900;

    line-height: 1;
}

.company-service-label {
    color: var(--gold);

    font-size: 0.74rem;

    font-weight: 900;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}

.company-service-card h3 {
    max-width: 480px;

    margin:
        14px 0 18px;

    color: #ffffff;

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 2rem;

    line-height: 1.12;
}

.company-service-card p {
    max-width: 520px;

    margin: 0 0 28px;

    color:
        rgba(255, 255, 255, 0.73);
}

.text-link {
    margin-top: auto;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    font-weight: 900;
}

.text-link span {
    color: var(--gold);

    font-size: 1.3rem;

    transition:
        transform 0.25s ease;
}

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


/* =========================================================
   CTA FINAL
========================================================= */

.company-cta {
    padding:
        0 0 110px;

    background:
        #ffffff;
}

.company-cta-box {
    padding: 56px;

    display: grid;

    grid-template-columns:
        1fr
        auto;

    gap: 50px;

    align-items: center;

    border-radius: 30px;

    color: #ffffff;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    background:
        radial-gradient(
            circle at 80% 10%,
            rgba(31, 160, 225, 0.32),
            transparent 35%
        ),
        linear-gradient(
            135deg,
            #0a2740,
            #0b1623
        );
}

.company-cta-box h2 {
    color: #ffffff;
}

.company-cta-box p {
    color:
        rgba(255, 255, 255, 0.7);
}

.company-cta-actions {
    min-width: 220px;

    display: grid;

    gap: 12px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding:
        76px 0 24px;

    background:
        #03111c;

    color: #ffffff;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.4fr
        0.7fr
        0.7fr;

    gap: 70px;
}

.footer-brand p {
    max-width: 430px;

    color:
        rgba(255, 255, 255, 0.55);
}

.footer-logo img {
    width: 190px;

    height: auto;

    max-height: 70px;

    object-fit: contain;
}

.site-footer h3 {
    margin:
        0 0 18px;

    color: var(--gold);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 1rem;
}

.site-footer .footer-grid > div:not(.footer-brand) {
    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.site-footer .footer-grid > div:not(.footer-brand) a,
.footer-button {
    margin: 6px 0;

    padding: 0;

    border: 0;

    background: none;

    color:
        rgba(255, 255, 255, 0.65);
}

.footer-bottom {
    margin-top: 52px;

    padding-top: 22px;

    display: flex;

    justify-content: space-between;

    border-top:
        1px solid rgba(255, 255, 255, 0.09);

    color:
        rgba(255, 255, 255, 0.4);

    font-size: 0.77rem;
}


/* =========================================================
   WHATSAPP FLUTUANTE
========================================================= */

.floating-whatsapp,
.scroll-top {
    position: fixed;

    bottom: 24px;

    z-index: 900;

    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.2);
}

.floating-whatsapp {
    right: 24px;

    min-height: 58px;

    padding:
        0 18px 0 14px;

    display: flex;

    align-items: center;

    gap: 10px;

    border-radius: 18px;

    background:
        var(--green);

    color: #ffffff;

    font-weight: 900;
}

.floating-whatsapp svg {
    width: 30px;

    fill: #ffffff;
}


/* =========================================================
   VOLTAR AO TOPO
========================================================= */

.scroll-top {
    left: 24px;

    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 16px;

    background:
        var(--navy);

    color: #ffffff;

    opacity: 0;

    transform:
        translateY(12px);

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.scroll-top.show {
    opacity: 1;

    transform: none;

    pointer-events: auto;
}

.scroll-top svg {
    width: 25px;

    fill: currentColor;
}


/* =========================================================
   MODAL
========================================================= */

.modal-backdrop {
    position: fixed;

    inset: 0;

    z-index: 2000;

    padding: 20px;

    display: grid;

    place-items: center;

    background:
        rgba(2, 10, 18, 0.72);

    backdrop-filter:
        blur(8px);

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.25s ease;
}

.modal-backdrop.open {
    opacity: 1;

    pointer-events: auto;
}

.budget-modal {
    position: relative;

    width:
        min(620px, 100%);

    max-height:
        calc(100vh - 40px);

    padding: 34px;

    overflow: auto;

    border-radius: 28px;

    background:
        #ffffff;

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.3);

    transform:
        translateY(20px)
        scale(0.98);

    transition:
        transform 0.25s ease;
}

.modal-backdrop.open .budget-modal {
    transform: none;
}

.modal-close {
    position: absolute;

    top: 14px;
    right: 18px;

    width: 40px;
    height: 40px;

    border: 0;

    border-radius: 12px;

    background:
        #f1f5f8;

    color: var(--navy);

    font-size: 1.8rem;
}

.modal-copy h2 {
    margin:
        10px 0;

    color: var(--navy);

    font-family:
        "Montserrat",
        sans-serif;

    font-size: 2rem;

    line-height: 1.1;
}

.modal-copy p {
    color: var(--muted);
}

.budget-form {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 16px;

    margin-top: 24px;
}

.field {
    display: grid;

    gap: 7px;
}

.field:nth-child(4) {
    grid-column:
        1 / -1;
}

.field label {
    font-size: 0.84rem;

    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;

    padding: 13px 14px;

    outline: none;

    border:
        1px solid var(--line);

    border-radius: 13px;

    background:
        #f9fbfc;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color:
        var(--blue);

    box-shadow:
        0 0 0 4px rgba(5, 137, 216, 0.08);
}

.btn-submit,
.form-note {
    grid-column:
        1 / -1;
}

.form-note {
    text-align: center;

    color: var(--muted);

    font-size: 0.72rem;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(28px);

    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(.2, .7, .2, 1);
}

.reveal.is-visible {
    opacity: 1;

    transform: none;
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

.delay-3 {
    transition-delay: 0.24s;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1020px) {

    .desktop-nav,
    .header-actions > .btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }


    .empresa-hero {
        min-height: 690px;
    }


    .empresa-hero-content {
        padding-top: 130px;
    }


    .section-heading,
    .company-intro-grid,
    .structure-grid,
    .customer-grid,
    .quality-grid {
        grid-template-columns: 1fr;

        gap: 42px;
    }


    .principles-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .company-image,
    .structure-image,
    .customer-image,
    .quality-image {
        min-height: 520px;
    }


    .company-cta-box {
        grid-template-columns: 1fr;
    }


    .company-cta-actions {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .footer-grid {
        grid-template-columns:
            1.2fr
            0.8fr
            0.8fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 720px) {

    :root {
        --container:
            min(100% - 28px, 1180px);
    }


    .site-header {
        height: 76px;
    }


    .brand img {
        width: 150px;

        max-height: 54px;
    }


    .empresa-hero {
        min-height: 700px;

        align-items: flex-end;
    }


    .empresa-hero-image img {
        object-position:
            62% center;
    }


    .empresa-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(4, 15, 25, 0.38) 0%,
                rgba(4, 15, 25, 0.62) 34%,
                rgba(4, 15, 25, 0.9) 70%,
                rgba(4, 15, 25, 0.98) 100%
            );
    }


    .empresa-hero-content {
        padding:
            115px 0 72px;
    }


    .empresa-hero h1 {
        width: 100%;

        max-width: 100%;

        font-size:
            clamp(
                2.25rem,
                10.5vw,
                3.5rem
            );

        line-height: 1.06;

        letter-spacing: -0.035em;

        overflow-wrap: break-word;
    }


    .empresa-hero-copy > p {
        font-size: 0.97rem;

        line-height: 1.7;
    }


    .empresa-hero-ctas {
        display: grid;

        grid-template-columns: 1fr;

        width: 100%;
    }


    .empresa-hero-ctas .btn {
        width: 100%;
    }


    .empresa-hero-points {
        gap:
            10px 16px;
    }


    .section {
        padding:
            78px 0;
    }


    .section-heading {
        gap: 20px;

        margin-bottom: 34px;
    }


    .company-intro-grid,
    .structure-grid,
    .customer-grid,
    .quality-grid {
        gap: 38px;
    }


    .company-image,
    .structure-image,
    .customer-image,
    .quality-image {
        min-height: 390px;

        border-radius: 24px;
    }


    .company-image-badge,
    .structure-image-detail {
        right: 18px;
        bottom: 18px;
        left: 18px;

        min-width: 0;

        padding: 18px;
    }


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


    .principle-card {
        min-height: auto;

        padding: 26px;
    }


    .quality-cards {
        grid-template-columns: 1fr;
    }


    .company-services-grid {
        grid-template-columns: 1fr;
    }


    .company-service-card {
        min-height: 320px;

        padding: 30px;
    }


    .company-service-card h3 {
        font-size: 1.65rem;
    }


    .company-cta {
        padding-bottom: 78px;
    }


    .company-cta-box {
        padding:
            34px 24px;
    }


    .company-cta-actions {
        grid-template-columns: 1fr;
    }


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

        gap: 38px;
    }


    .footer-bottom {
        display: grid;

        gap: 8px;
    }


    .floating-whatsapp {
        right: 14px;
        bottom: 14px;

        width: 58px;
        height: 58px;

        padding: 0;

        justify-content: center;

        border-radius: 17px;
    }


    .floating-whatsapp span {
        display: none;
    }


    .scroll-top {
        left: 14px;
        bottom: 14px;
    }


    .budget-modal {
        padding:
            30px 20px 22px;
    }


    .budget-form {
        grid-template-columns: 1fr;
    }


    .field:nth-child(4),
    .btn-submit,
    .form-note {
        grid-column: auto;
    }

}


/* =========================================================
   TELAS MUITO PEQUENAS
========================================================= */

@media (max-width: 420px) {

    .empresa-hero h1 {
        font-size:
            clamp(
                2rem,
                10vw,
                2.7rem
            );
    }


    .company-copy h2,
    .structure-copy h2,
    .customer-copy h2,
    .quality-copy h2,
    .company-cta-box h2,
    .section-heading h2 {
        font-size:
            clamp(
                1.85rem,
                9vw,
                2.5rem
            );
    }


    .company-image,
    .structure-image,
    .customer-image,
    .quality-image {
        min-height: 330px;
    }

}


/* =========================================================
   ACESSIBILIDADE - REDUZIR MOVIMENTO
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    .reveal {
        opacity: 1;

        transform: none;

        transition: none;
    }


    .company-image img,
    .structure-image img,
    .customer-image img,
    .quality-image img {
        transition: none;
    }

}


/* =========================================================
   CORREÇÃO HERO EMPRESA - MOBILE
   Dá mais respiro lateral ao conteúdo
========================================================= */

@media (max-width: 720px) {

    .empresa-hero-content {
        width: 100%;
        max-width: 100%;
        padding-left: 18px;
        padding-right: 18px;
    }

    .empresa-hero-copy {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .empresa-hero h1 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2rem, 9.2vw, 3.15rem);
        line-height: 1.08;
    }

    .empresa-hero-copy > p {
        width: 100%;
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.72;
    }

    .empresa-hero-ctas {
        width: 100%;
    }

    .empresa-hero-ctas .btn {
        width: 100%;
    }

    .empresa-hero-points {
        width: 100%;
        max-width: 100%;
    }

}


/* =========================================================
   CORREÇÃO HERO DESKTOP - ALINHAMENTO COM O CONTAINER
========================================================= */

@media (min-width: 721px) {

    .empresa-hero-content.container {
        width: var(--container);
        max-width: 1180px;

        margin-left: auto;
        margin-right: auto;

        padding-left: 0;
        padding-right: 0;
    }

    .empresa-hero-copy {
        width: 100%;
        max-width: 760px;
    }

}