/* ISPAYTECH - Layout baseado nas referências fornecidas */
:root {
    --orange: #ff7a16;
    --orange-2: #ff5a39;
    --dark: #232323;
    --dark-2: #111111;
    --light: #f2f2f2;
    --text: #171717;
    --muted: #575757;
    --white: #ffffff;
    --container: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

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

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

button,
input,
textarea {
    font: inherit;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 30px;
    border: 0;
    border-radius: 999px;
    background: var(--orange);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover {
    background: #ff8b2e;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 122, 22, .28);
}

.btn-small {
    min-height: 40px;
    padding: 0 24px;
    font-size: 14px;
}

.btn-compact {
    min-height: 42px;
    padding: 0 26px;
    font-size: 14px;
}

.section-title {
    position: relative;
    margin: 0 0 34px;
    padding-left: 22px;
    color: #141414;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.12;
    font-weight: 400;
    text-transform: uppercase;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 3px;
    height: calc(100% - 4px);
    background: var(--orange);
}

.section-title.light {
    color: #ffffff;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #222222;
    border-bottom: 1px solid rgba(255, 122, 22, .7);
}

.topbar-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    width: 250px;
    min-width: 220px;
}

.brand img {
    width: 100%;
    height: auto;
}

.desktop-nav {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 24px;
}

.desktop-nav a {
    color: #dddddd;
    font-size: 14px;
    transition: color .18s ease;
}

.desktop-nav a:hover {
    color: var(--orange);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 40px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: #ffffff;
}

.mobile-nav {
    display: none;
}

.hero {
    position: relative;
    min-height: 700px;
    overflow: hidden;
    background: #242424;
}

.hero-photo {
    position: absolute;
    inset: 0 0 0 auto;
    width: 66%;
    background-image: url("../img/hero-executivo.jpg");
    background-size: cover;
    background-position: center;
    filter: brightness(.88);
}

.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(27, 27, 27, .98) 0%, rgba(28, 28, 28, .93) 36%, rgba(28, 28, 28, .55) 62%, rgba(28, 28, 28, .25) 100%),
        linear-gradient(0deg, rgba(0,0,0,.18), rgba(0,0,0,.18));
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero h1 {
    margin: 0 0 30px;
    color: #ffffff;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -.03em;
}

.hero p {
    max-width: 720px;
    margin: 0 0 36px;
    color: #e3e3e3;
    font-size: 18px;
    font-style: italic;
}

.why-section {
    position: relative;
    padding: 100px 0 52px;
    overflow: hidden;
    background: #ffffff;
}

.why-accent {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    width: 34%;
    height: 650px;
    border-bottom-left-radius: 150px;
    background: linear-gradient(145deg, var(--orange-2), #ff8a22);
}

.why-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.why-copy {
    padding-top: 20px;
}

.why-photo {
    justify-self: center;
    width: 430px;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.why-photo img {
    width: 100%;
    height: 468px;
    object-fit: cover;
}

.feature-list {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 14px;
    align-items: center;
}

.icon-box {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: linear-gradient(145deg, var(--orange-2), var(--orange));
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.stat-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 70px;
}

.stat-card {
    min-height: 105px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 26px;
    border: 1.5px solid var(--orange);
    border-radius: 14px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
}

.solutions-section {
    padding: 90px 0 80px;
    background: #ededed;
}

.card-grid {
    display: grid;
    gap: 32px;
}

.card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.image-card img {
    width: 100%;
    aspect-ratio: 2.04 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.image-card h3 {
    margin: 22px 0 13px;
    color: #f07012;
    font-size: 20px;
    font-weight: 400;
}

.image-card p,
.image-card li {
    color: #353535;
    font-size: 16px;
    line-height: 1.6;
}

.image-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.image-card li::before {
    content: "- ";
}

.section-action {
    margin-top: 44px;
    text-align: center;
}

.health-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: #ffffff;
}

.health-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 33%;
    height: 650px;
    border-bottom-right-radius: 150px;
    background: linear-gradient(145deg, var(--orange-2), #ff8a22);
}

.health-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.health-photo {
    width: 400px;
    max-width: 100%;
    justify-self: center;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.health-photo img {
    width: 100%;
    height: 437px;
    object-fit: cover;
}

.health-copy p {
    margin: 0 0 26px;
    color: #333333;
}

.check-list {
    display: grid;
    gap: 21px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 31px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--orange);
    font-size: 24px;
    font-weight: 700;
}

.how-section {
    padding: 84px 0 96px;
    background: #ffffff;
}

.success-section {
    padding: 82px 0 90px;
    background: var(--orange);
}

.logo-grid {
    display: grid;
    gap: 30px;
}

.logo-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.logo-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.logo-card .logo-box {
    height: 208px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 7px;
    background: #ffffff;
}

.logo-card .logo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-card h3 {
    margin: 23px 0 14px;
    color: #ffffff;
    font-size: 19px;
    font-weight: 400;
    text-transform: uppercase;
}

.logo-card p {
    margin: 0;
    color: #151515;
    font-size: 16px;
    line-height: 1.55;
}

.connections-section {
    padding: 92px 0 100px;
    background: #252525;
}

.connections-section .section-title {
    margin-bottom: 17px;
}

.subheading {
    margin: 0 0 48px;
    color: var(--orange);
    font-weight: 700;
}

.connections-section .logo-card .logo-box {
    height: 138px;
}

.connections-section .logo-card h3 {
    color: var(--orange);
}

.connections-section .logo-card p {
    color: #ffffff;
}

.partners-heading {
    margin-top: 78px;
}

.contact-section {
    padding: 92px 0 98px;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 26px;
    align-items: stretch;
}

.contact-photo {
    border-radius: 8px;
    overflow: hidden;
}

.contact-photo img {
    width: 100%;
    height: 100%;
    min-height: 630px;
    object-fit: cover;
}

.contact-copy {
    padding: 12px 0 0;
}

.contact-copy .section-title {
    margin-bottom: 22px;
}

.contact-copy > p {
    margin: 0 0 34px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.form-full {
    grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1.5px solid var(--orange);
    border-radius: 6px;
    background: #ffffff;
    color: #222222;
    outline: none;
    transition: box-shadow .18s ease, border-color .18s ease;
}

.contact-form input {
    height: 60px;
    padding: 0 20px;
}

.contact-form textarea {
    min-height: 108px;
    padding: 16px 20px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #b8b8b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #f15c00;
    box-shadow: 0 0 0 4px rgba(255, 122, 22, .12);
}

.form-submit {
    width: 100%;
    min-height: 60px;
}

.form-alert {
    margin: 0 0 24px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 15px;
}

.form-alert.success {
    background: #e6f7ed;
    color: #136c38;
    border: 1px solid #a8ddbc;
}

.form-alert.error {
    background: #fff0ed;
    color: #9f2b1e;
    border: 1px solid #ffc2b8;
}

.site-footer {
    color: #ffffff;
    background: #111111;
}

.footer-main {
    min-height: 320px;
    display: flex;
    justify-content: space-between;
    gap: 70px;
    padding-top: 52px;
    padding-bottom: 42px;
}

.footer-company > img {
    width: 190px;
    margin-bottom: 30px;
}

.address-block {
    margin: 0 0 20px;
}

.address-block strong {
    display: block;
    margin-bottom: 2px;
}

.address-block p,
.cnpj {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.45;
}

.footer-social {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding-top: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange);
    transition: transform .18s ease, background .18s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: #ff942e;
}

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.footer-bottom {
    background: #080808;
}

.footer-bottom-inner {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    color: var(--orange);
    font-size: 14px;
}

.footer-bottom p {
    margin: 0;
}

.legal-page {
    min-height: 65vh;
    padding: 85px 0;
    background: #f5f5f5;
}

.legal-content {
    max-width: 900px;
}

.legal-content h1 {
    margin-top: 0;
    font-size: 44px;
}

.legal-content h2 {
    margin-top: 34px;
    color: var(--orange);
}

.legal-content p {
    color: #333333;
}

@media (max-width: 1050px) {
    .desktop-nav {
        display: none;
    }

    .topbar-inner > .btn {
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav {
        display: none;
        padding: 8px 20px 22px;
        border-top: 1px solid rgba(255,255,255,.08);
        background: #222222;
    }

    .mobile-nav.open {
        display: grid;
    }

    .mobile-nav a {
        padding: 13px 0;
        color: #ffffff;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .why-accent,
    .health-accent {
        width: 43%;
    }

    .card-grid.three,
    .logo-grid.four {
        gap: 24px;
    }
}

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

    .brand {
        width: 210px;
        min-width: 190px;
    }

    .topbar-inner > .btn {
        display: none;
    }

    .hero,
    .hero-content {
        min-height: 620px;
    }

    .hero-photo {
        width: 100%;
        opacity: .55;
    }

    .hero-shade {
        background: rgba(25, 25, 25, .72);
    }

    .hero h1 {
        font-size: 54px;
    }

    .why-section,
    .health-section {
        padding-top: 76px;
    }

    .why-grid,
    .health-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .why-copy,
    .health-copy {
        max-width: 650px;
    }

    .why-photo,
    .health-photo {
        justify-self: start;
    }

    .why-accent {
        width: 55%;
        height: 450px;
        top: 340px;
    }

    .health-accent {
        width: 55%;
        height: 480px;
    }

    .stat-grid,
    .card-grid.three,
    .logo-grid.four,
    .logo-grid.three {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-photo img {
        min-height: 520px;
    }
}

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

    .section-title {
        padding-left: 16px;
        font-size: 31px;
    }

    .hero,
    .hero-content {
        min-height: 560px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding-left: 22px;
        padding-right: 22px;
        font-size: 13px;
    }

    .why-accent,
    .health-accent {
        display: none;
    }

    .why-photo,
    .health-photo {
        width: 100%;
    }

    .why-photo img,
    .health-photo img {
        height: auto;
    }

    .stat-grid,
    .card-grid.three,
    .logo-grid.four,
    .logo-grid.three,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-full {
        grid-column: auto;
    }

    .logo-card .logo-box {
        height: 190px;
    }

    .connections-section .logo-card .logo-box {
        height: 150px;
    }

    .contact-photo img {
        min-height: 430px;
    }

    .footer-main,
    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-main {
        gap: 28px;
    }

    .footer-bottom-inner {
        justify-content: center;
        min-height: 90px;
        gap: 8px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .legal-content h1 {
        font-size: 36px;
    }
}
