/* =========================
   RESET
   ========================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    font: inherit;
    cursor: pointer;
}

ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3 {
    font-weight: inherit;
}

/* =========================
   TOKENS (identidade Haro)
   ========================= */
:root {
    --color-navy: #1c2838;
    --color-navy-deep: #141c29;
    --color-primary: #60847b;
    /* verde-sálvia do logo */
    --color-primary-dark: #4d6a62;
    --color-accent: #fa6f1a;
    /* laranja do tema da apresentação */
    --color-dark: #1c2838;
    --color-gray: #55627a;
    --color-light: #f4f7f8;
    --color-white: #ffffff;

    --font-base: 'Inter', system-ui, -apple-system, sans-serif;
    --container-width: 1200px;
}

body {
    font-family: var(--font-base);
    color: var(--color-dark);
    background: var(--color-white);
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* =========================
   HEADER
   ========================= */
body>header {
    background: var(--color-navy);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
}

.logo img {
    height: 60px;
    width: auto;
}

.mobile-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-menu a {
    color: #d9e1ea;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.25s ease;
}

.nav-menu a:hover {
    color: var(--color-white);
}

.header-actions {
    display: flex;
    align-items: center;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: background 0.25s ease;
}

.btn-whatsapp:hover {
    background: var(--color-primary-dark);
}

.btn-whatsapp svg {
    width: 18px;
    height: 18px;
}

/* Hambúrguer */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    z-index: 1100;
}

.menu-toggle span {
    height: 3px;
    width: 100%;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 1090;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        background: var(--color-navy);
        flex-direction: column;
        display: none;
        padding: 90px 0 28px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        z-index: 1100;
    }

    .mobile-menu.active {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        gap: 6px;
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 12px 20px;
    }

    .header-actions {
        margin-top: 12px;
    }

    .logo img {
        height: 44px;
    }
}

/* =========================
   HERO
   ========================= */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-deep) 100%);
    color: var(--color-white);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.eyebrow {
    display: inline-block;
    color: #9fc0b6;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-text h1 {
    font-size: 2.3rem;
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.hero-text p {
    font-size: 1.1rem;
    color: #c3cedb;
    margin-bottom: 2rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 0.8rem 1.6rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.25s ease, color 0.25s ease;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #e05f0f;
}

.btn-secondary {
    border: 2px solid var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-primary);
}

/* Ilustração de TI */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-visual img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
}

.hero-chip {
    position: absolute;
    background: var(--color-white);
    color: var(--color-navy);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    animation: floaty 5s ease-in-out infinite;
}

.chip-1 {
    top: 46%;
    left: -2%;
}

.chip-2 {
    top: -3%;
    right: 4%;
    animation-delay: 1s;
}

.chip-3 {
    bottom: -2%;
    left: 40%;
    animation-delay: 2s;
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* =========================
   SEÇÕES - TÍTULOS
   ========================= */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-gray);
}

/* =========================
   SERVIÇOS
   ========================= */
.services {
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
}

.service-card {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e4eaed;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(30, 40, 56, 0.1);
}

.service-icon {
    width: 52px;
    height: 52px;
    padding: 12px;
    margin-bottom: 1.1rem;
    background: var(--color-navy);
    color: #9fc0b6;
    border-radius: 12px;
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.service-card>p {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.service-card ul li,
.about-highlights li {
    position: relative;
}

.service-card ul li {
    padding-left: 26px;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17l-3.88-3.88-1.41 1.41L9 19 20.29 7.71 18.88 6.3z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17l-3.88-3.88-1.41 1.41L9 19 20.29 7.71 18.88 6.3z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* =========================
   PROCESSO
   ========================= */
.process {
    padding: 5rem 0;
    background: var(--color-navy);
    color: var(--color-white);
}

.process .section-header p {
    color: #b4c0cf;
}

.process-block+.process-block {
    margin-top: 3rem;
}

.process-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #9fc0b6;
    margin-bottom: 1.25rem;
}

.steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

.steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 1rem 1.1rem;
    font-weight: 500;
}

.steps li span {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* =========================
   SOBRE
   ========================= */
.about {
    padding: 5rem 0;
    background: var(--color-light);
}

.about .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
}

.about-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-text p {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.about-highlights {
    display: grid;
    gap: 1rem;
}

.about-highlights li {
    background: var(--color-white);
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: var(--color-gray);
    box-shadow: 0 4px 14px rgba(30, 40, 56, 0.05);
}

.about-highlights strong {
    display: block;
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 2px;
}

/* =========================
   MÉTRICAS
   ========================= */
.metrics {
    padding: 3.5rem 0;
}

.metrics .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    text-align: center;
}

.metric strong {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--color-primary);
}

.metric p {
    color: var(--color-gray);
}

/* =========================
   CONTATO
   ========================= */
.contact {
    padding: 2rem 0 5rem;
}

.contact-card {
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: 24px;
    padding: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
}

.contact-text-col h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-text-col p {
    color: #c3cedb;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 440px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 16px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-3px);
}

.icon-box {
    background: var(--color-primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box svg {
    width: 24px;
    height: 24px;
}

.info-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.info-content .label {
    font-weight: 700;
}

.info-content .value {
    color: #c3cedb;
    font-size: 0.95rem;
    overflow-wrap: anywhere;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;
    }
}

/* =========================
   FOOTER
   ========================= */
footer {
    background: var(--color-navy-deep);
    color: var(--color-white);
    padding: 2rem 0;
}

footer .container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

footer nav ul {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

footer a {
    font-size: 0.9rem;
    color: #c3cedb;
}

footer a:hover {
    color: var(--color-white);
}

footer p {
    font-size: 0.9rem;
    color: #c3cedb;
}

/* =========================
   WHATSAPP FLUTUANTE
   ========================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: transform 0.2s ease;
    animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* =========================
   REVEAL AO ROLAR
   ========================= */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =========================
   RESPONSIVO
   ========================= */
@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .about .container {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3.5rem;
    }

    .metrics .container {
        grid-template-columns: repeat(3, 1fr);
    }

    footer .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 2.9rem;
    }

    .steps {
        grid-template-columns: repeat(5, 1fr);
    }

    .steps li {
        flex-direction: column;
        text-align: center;
        padding: 1.4rem 1rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 2rem 1.25rem;
    }

    .chip-1 {
        left: 0;
    }

    .chip-2 {
        right: 0;
    }
}

.hero-text,
.hero-visual {
    min-width: 0;
}

.hero-visual {
    padding: 0 8px;
}
