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

:root {
    --orange: #ff6a00;
    --orange-soft: #ff913d;
    --orange-deep: #d95500;
    --ink: #17191c;
    --charcoal: #343638;
    --charcoal-deep: #202224;
    --muted: #64748b;
    --line: #e2e8f0;
    --brand-gradient: linear-gradient(90deg, var(--charcoal-deep) 0%, var(--orange-deep) 52%, var(--orange) 100%);
    --btn-gradient: linear-gradient(135deg, var(--orange-soft) 0%, var(--orange) 55%, var(--orange-deep) 100%);
    --shadow-soft: 0 4px 16px rgba(23,25,28,0.06);
    --shadow-lift: 0 20px 48px rgba(23,25,28,0.12);
    --shadow-brand: 0 10px 26px rgba(255,106,0,0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background-color: #f7f6f4;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

h1, h2, h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
}

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

main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px 80px 40px;
}


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

@keyframes revealIn {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: none; }
}

/* animation (not transition) on purpose: avoids clobbering each card's
   own hover `transition` shorthand (.frente-card, .service-card, .about-item) */
.js .reveal {
    opacity: 0;
    animation: revealIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.js .reveal.in-view {
    animation-play-state: running;
}

.js .reveal-stagger > * {
    opacity: 0;
    animation: revealIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-play-state: paused;
}

.js .reveal-stagger.in-view > * {
    animation-play-state: running;
}

.js .reveal-stagger > *:nth-child(1) { animation-delay: 0.05s; }
.js .reveal-stagger > *:nth-child(2) { animation-delay: 0.14s; }
.js .reveal-stagger > *:nth-child(3) { animation-delay: 0.23s; }
.js .reveal-stagger > *:nth-child(4) { animation-delay: 0.32s; }
.js .reveal-stagger > *:nth-child(5) { animation-delay: 0.41s; }
.js .reveal-stagger > *:nth-child(6) { animation-delay: 0.5s; }

/* Once the reveal animation finishes, drop it so CSS Animations stop
   outranking normal-priority rules like `:hover { transform: ... }`
   (a `forwards`-filled animation otherwise pins transform/opacity for good). */
.js .reveal.reveal-done,
.js .reveal-stagger > *.reveal-done {
    animation: none;
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-stagger > *,
    .hero-badge, .hero-left h1, .hero-left p, .hero-btns, .hero-trust, .hero-right {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


/* ==============================
        COMPONENTES REUTILIZÁVEIS
============================== */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffe6cc;
    color: var(--orange-deep);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.section-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--orange);
    transform: rotate(15deg);
    flex-shrink: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.section-header p {
    font-size: 1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--btn-gradient);
    color: #fff;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.97rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: var(--shadow-brand);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 14px 32px rgba(255,106,0,0.32);
    color: #fff;
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-block;
    background: #fff;
    color: var(--orange);
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.97rem;
    border: 2px solid var(--orange);
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #fff4ec;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,106,0,0.14);
}


/* ==============================
        CABEÇALHO
============================== */

header {
    background:
        linear-gradient(135deg, rgba(255,106,0,0.025) 25%, transparent 25%) -10px 0,
        linear-gradient(225deg, rgba(255,106,0,0.025) 25%, transparent 25%) -10px 0,
        linear-gradient(315deg, rgba(255,106,0,0.025) 25%, transparent 25%),
        linear-gradient(45deg,  rgba(255,106,0,0.025) 25%, transparent 25%);
    background-size: 20px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid var(--line);
    padding: 14px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 8px rgba(23,25,28,0.05);
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    display: block;
    height: 66px;
    width: auto;
}

header nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

header nav a {
    font-size: 0.91rem;
    font-weight: 500;
    color: #475569;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.18s ease;
}

header nav a:hover {
    background: #fff4ec;
    color: var(--orange);
}

header nav a.nav-cta {
    background: var(--btn-gradient);
    color: #ffffff !important;
    padding: 9px 20px;
    border-radius: 8px;
    font-weight: 700;
    margin-left: 8px;
    box-shadow: 0 6px 16px rgba(255,106,0,0.24);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

header nav a.nav-cta:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 8px 20px rgba(255,106,0,0.3);
}

.menu-mobile {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-mobile span {
    width: 24px;
    height: 2px;
    background: #475569;
    border-radius: 2px;
    display: block;
    transition: 0.3s;
}


/* ==============================
        HERO - 2 COLUNAS
============================== */

.hero-section {
    position: relative;
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: center;
    padding: 56px 0 64px 0;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -160px;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(255,106,0,0.14) 0%, rgba(255,106,0,0) 68%);
    pointer-events: none;
    z-index: 0;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: -220px;
    right: -180px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(32,34,36,0.06) 0%, rgba(32,34,36,0) 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-left, .hero-right { position: relative; z-index: 1; }

@keyframes heroIn {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: none; }
}

.js .hero-badge, .js .hero-left h1, .js .hero-left p, .js .hero-btns, .js .hero-trust, .js .hero-right {
    opacity: 0;
    animation: heroIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.js .hero-badge   { animation-delay: 0.05s; }
.js .hero-left h1 { animation-delay: 0.14s; }
.js .hero-left p  { animation-delay: 0.24s; }
.js .hero-btns    { animation-delay: 0.34s; }
.js .hero-trust   { animation-delay: 0.44s; }
.js .hero-right   { animation-delay: 0.3s; }

.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-left p {
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #f4f4f5;
    color: var(--charcoal);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid #d9dde1;
}

.hero-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--orange);
    transform: rotate(15deg);
    flex-shrink: 0;
}

.hero-left h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -0.015em;
}

.hero-left h1 span {
    background: var(--btn-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-left p {
    font-size: 1.08rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 24px;
    box-shadow: var(--shadow-soft);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.trust-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 3px;
}

.trust-label {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 32px;
    background: var(--line);
}

.hero-right {
    position: relative;
}

.carousel-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #94a3b8;
    margin-bottom: 10px;
}

.welcome-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lift);
}

.welcome-carousel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--brand-gradient);
    opacity: 0.55;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 1.2s ease-in-out;
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center 32%;
}

.carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.carousel-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: all 0.25s ease;
}

.carousel-dots button:hover {
    background: rgba(255,255,255,0.85);
}

.carousel-dots button.active {
    width: 22px;
    background: var(--orange);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0 0 4px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 50%;
    background: rgba(23,25,28,0.52);
    color: #fff;
    font: 400 2rem/1 Arial, sans-serif;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(5px);
    transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover { background: var(--orange); transform: translateY(-50%) scale(1.06); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }


/* ==============================
     3 FRENTES DE SERVIÇO
============================== */

.frentes-section {
    margin: 20px auto 80px auto;
}

.frentes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.frente-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 36px 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
    position: relative;
    overflow: hidden;
}

.frente-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    border-radius: 18px 18px 0 0;
}

.frente-card::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.frente-card.agro::before      { background: linear-gradient(90deg, var(--charcoal), var(--charcoal-deep)); }
.frente-card.industria::before { background: linear-gradient(90deg, var(--orange-soft), var(--orange)); }
.frente-card.web::before       { background: linear-gradient(90deg, var(--orange), var(--orange-deep)); }

.frente-card.agro::after      { background: radial-gradient(circle, rgba(52,54,56,0.10) 0%, transparent 70%); }
.frente-card.industria::after { background: radial-gradient(circle, rgba(255,106,0,0.14) 0%, transparent 70%); }
.frente-card.web::after       { background: radial-gradient(circle, rgba(217,85,0,0.14) 0%, transparent 70%); }

.frente-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(255,106,0,0.25);
}

.frente-card:hover::after { opacity: 1; }

.frente-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 15px;
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.frente-card.agro      .frente-icon { background: #e4e5e6; }
.frente-card.industria .frente-icon { background: #ffe6cc; }
.frente-card.web       .frente-icon { background: #ffe0c2; }

.frente-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.frente-card.agro      .frente-tag { color: var(--charcoal); background: #e4e5e6; }
.frente-card.industria .frente-tag { color: var(--orange); background: #ffe6cc; }
.frente-card.web       .frente-tag { color: var(--orange-deep); background: #ffe0c2; }

.frente-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.3;
}

.frente-card p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 18px;
}

.frente-bullets {
    list-style: none;
    margin-bottom: 26px;
    padding: 0;
}

.frente-bullets li {
    font-size: 0.87rem;
    color: #475569;
    padding: 4px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.frente-bullets li::before {
    content: "✓";
    font-weight: 800;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 1px;
}

.frente-card.agro      .frente-bullets li::before { color: var(--charcoal); }
.frente-card.industria .frente-bullets li::before { color: var(--orange); }
.frente-card.web       .frente-bullets li::before { color: var(--orange-deep); }

.frente-btn {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 9px;
    font-size: 0.87rem;
    font-weight: 700;
    border: 2px solid;
    transition: all 0.2s;
}

.frente-card.agro      .frente-btn { color: var(--charcoal); border-color: var(--charcoal); }
.frente-card.industria .frente-btn { color: var(--orange); border-color: var(--orange); }
.frente-card.web       .frente-btn { color: var(--orange-deep); border-color: var(--orange-deep); }

.frente-card.agro      .frente-btn:hover { background: var(--charcoal); color: #fff; }
.frente-card.industria .frente-btn:hover { background: var(--orange); color: #fff; }
.frente-card.web       .frente-btn:hover { background: var(--orange-deep); color: #fff; }


/* ==============================
          SOBRE
============================== */

.about-strip {
    position: relative;
    margin: 0 auto 80px auto;
    padding: 52px 48px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    text-align: center;
    overflow: hidden;
}

.about-strip::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-gradient);
}

.about-header {
    margin-bottom: 36px;
}

.about-strip h2 {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--ink);
}

.about-header p {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--muted);
    line-height: 1.7;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 36px;
}

.about-item {
    background: #fff4ec;
    border-radius: 14px;
    padding: 26px 20px;
    border: 1px solid #ffd9b3;
    box-shadow: 0 2px 10px rgba(255,106,0,0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.about-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(255,106,0,0.16);
}

.about-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(255,106,0,0.14);
}

.about-item h4 {
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 7px;
}

.about-item p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.6;
}

.about-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--charcoal-deep);
    border-radius: 14px;
    padding: 24px 32px;
    flex-wrap: wrap;
    gap: 0;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 32px;
}

.stat-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.68);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.16);
}


/* ==============================
        SERVIÇOS – CARDS
============================== */

.servicos-page {
    padding-top: 48px;
}

.services-section {
    margin: 0 auto 60px auto;
}

.services-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.service-card {
    width: 160px;
    height: 145px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 12px;
    border: 1px solid var(--line);
    box-shadow: 0 2px 8px rgba(23,25,28,0.04);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.22s ease;
    cursor: pointer;
    text-align: center;
    font: inherit;
    appearance: none;
}

.services-section .section-header h1 {
    margin: 10px 0 12px;
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3rem);
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: #ffb066;
    box-shadow: 0 10px 24px rgba(255,106,0,0.14);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: #fff4ec;
    font-size: 1.5rem;
    transition: background 0.22s ease, transform 0.22s ease;
}

.service-card:hover .service-icon,
.service-card.active .service-icon {
    background: var(--btn-gradient);
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
}

.service-card.active {
    border-color: var(--orange);
    background: #fff4ec;
    box-shadow: 0 10px 24px rgba(255,106,0,0.18);
}


/* ==============================
   DETALHE SERVIÇO (HOME)
============================== */

.detalhe-servico {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: 0.35s;
    margin: 16px auto 20px;
    width: 100%;
    padding: 32px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 18px rgba(23,25,28,0.06);
    flex-direction: row;
    gap: 48px;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.detalhe-servico::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-gradient);
}

.detalhe-servico.active {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}

.detalhe-servico.image-right .info-img { order: 2; }
.detalhe-servico.image-right .info-text { order: 1; }

.detalhe-servico .info-img img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    max-height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(23,25,28,0.1);
}

.detalhe-servico .info-img {
    flex: 0 0 42%;
    min-width: 0;
}

.detalhe-servico .info-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 680px;
    padding: 18px 12px;
}

.detalhe-servico.image-right .info-text { margin-left: auto; }

.detalhe-servico .info-text h2 {
    font-size: clamp(1.7rem, 2.4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--ink);
}

.detalhe-servico .info-text p {
    font-size: 1rem;
    line-height: 1.72;
    color: var(--muted);
    margin-bottom: 8px;
}


/* ==============================
     SERVIÇOS – SEÇÕES DETALHADAS
============================== */

.info-section {
    display: none;
    opacity: 0;
    transform: translateY(16px);
    transition: 0.35s ease;
    width: 100%;
    margin: 30px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    flex-direction: row;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-gradient);
}

.info-section.active {
    display: flex !important;
    opacity: 1;
    transform: translateY(0);
}

.info-img img {
    width: 320px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(23,25,28,0.1);
}

.info-text { max-width: 580px; }

.info-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--ink);
}

.info-text p {
    font-size: 0.97rem;
    line-height: 1.65;
    color: var(--muted);
    margin-bottom: 10px;
}


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

.cta-section {
    position: relative;
    background: linear-gradient(135deg, var(--orange) 0%, var(--charcoal-deep) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-top: 20px;
    overflow: hidden;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 6%;
    width: 46%;
    max-width: 340px;
    aspect-ratio: 3 / 2;
    transform: translateY(-50%) rotate(-6deg);
    background: rgba(255,255,255,0.08);
    clip-path: polygon(62% 0%, 100% 0%, 40% 46%, 66% 46%, 30% 100%, 0% 52%, 42% 52%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--orange);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.cta-section .btn-primary:hover {
    background: #fff4ec;
    color: var(--orange);
}


/* ==============================
     PÁGINA DE LEADS
============================== */

.leads-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 50px 20px 80px;
    text-align: center;
}

.leads-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffe6cc;
    color: var(--orange-deep);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px 6px 10px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.leads-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--orange);
    transform: rotate(15deg);
    flex-shrink: 0;
}

.leads-page h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.2;
}

.leads-page h1 span {
    background: var(--btn-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.leads-sub {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 32px;
    line-height: 1.65;
}

.leads-form {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--line);
    box-shadow: 0 8px 32px rgba(23,25,28,0.08);
    padding: 40px 36px 36px;
    text-align: left;
    overflow: hidden;
}

.leads-form::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-gradient);
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.93rem;
    font-family: inherit;
    color: var(--ink);
    background: #f9fafb;
    transition: all 0.18s;
    outline: none;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--orange);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,106,0,0.14);
}

.form-group textarea {
    resize: vertical;
    min-height: 95px;
}

.btn-leads {
    width: 100%;
    padding: 15px;
    background: #25d366;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.02rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
    margin-top: 6px;
    box-shadow: 0 4px 16px rgba(37,211,102,0.3);
    font-family: inherit;
}

.btn-leads:hover {
    background: #1db954;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(37,211,102,0.42);
}

.leads-trust {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.leads-trust span {
    font-size: 0.82rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 4px;
}


/* ==============================
        RODAPÉ
============================== */

footer {
    position: relative;
    background: #ffffff;
    border-top: 1px solid var(--line);
    margin-top: 60px;
    padding: 22px 40px;
}

footer::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-gradient);
    opacity: 0.7;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.88rem;
    color: var(--muted);
}

.footer-company {
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink);
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.footer-legal {
    margin-bottom: 3px;
    font-size: 0.82rem;
}

.footer-phone a { color: var(--orange); font-weight: 500; }
.footer-phone a:hover { text-decoration: underline; }


/* ==============================
      WHATSAPP FLOAT
============================== */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 4px 10px rgba(37,211,102,0.4));
}

.whatsapp-float:hover { transform: translateY(-3px) scale(1.07); }

.whatsapp-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}


/* ==============================
        RESPONSIVO
============================== */

.about-page {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
    align-items: center;
    gap: 70px;
    padding: 78px 0 40px;
}

.about-page-copy h1 {
    margin: 16px 0 22px;
    color: var(--ink);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.07;
    letter-spacing: -0.035em;
}

.about-page-copy p { margin-bottom: 16px; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.about-page-copy .about-lead { color: var(--charcoal); font-size: 1.12rem; font-weight: 600; }
.about-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.about-principles div { padding: 16px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.about-principles strong { display: block; margin-bottom: 5px; color: var(--orange-deep); font-size: 0.9rem; }
.about-principles span { color: var(--muted); font-size: 0.76rem; line-height: 1.35; }

.about-page-gallery { position: relative; min-height: 610px; }
.about-page-gallery figure { margin: 0; overflow: hidden; background: #fff; border: 8px solid #fff; border-radius: 22px; box-shadow: var(--shadow-lift); }
.about-page-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-page-gallery figcaption { position: absolute; left: 18px; bottom: 16px; padding: 7px 11px; border-radius: 8px; background: rgba(23,25,28,0.78); color: #fff; font-size: 0.76rem; backdrop-filter: blur(4px); }
.about-page-gallery figure { position: absolute; }
.about-photo-main { inset: 0 72px 78px 0; }
.about-photo-main img { object-position: center 58%; }
.about-photo-secondary { width: 48%; height: 42%; right: 0; bottom: 0; }
.about-photo-secondary img { object-position: center; }

.solutions-showcase {
    max-width: 1360px;
    margin: 0 auto;
    padding: 76px 0 20px;
}

.services-detail-page { padding-top: 54px; }
.services-detail-page .section-header h1 {
    margin: 10px 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--ink);
}

.solution-row {
    display: grid;
    grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
    align-items: stretch;
    overflow: hidden;
    margin: 34px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 14px 36px rgba(23, 25, 28, 0.08);
}

.solution-row.reverse .solution-image { order: 2; }
.solution-row.reverse .solution-content { order: 1; }
.solution-image { min-height: 390px; }
.solution-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.solution-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 52px;
}

.solution-number {
    width: fit-content;
    margin-bottom: 10px;
    color: var(--orange);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.solution-content h2,
.solution-content h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: clamp(1.55rem, 2.5vw, 2.15rem);
    line-height: 1.18;
}

.solution-content p { margin: 0 0 18px; color: var(--muted); line-height: 1.75; }
.solution-content ul { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.solution-content li { position: relative; padding-left: 24px; color: #35383d; line-height: 1.5; }
.solution-content li::before { content: "\2713"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.solution-content a { width: fit-content; color: var(--orange-deep); font-weight: 800; text-decoration: none; }
.solution-content a:hover { color: var(--orange); }

@media (max-width: 1024px) {
    .frentes-grid { grid-template-columns: 1fr 1fr; }
    .hero-left h1 { font-size: 2.4rem; }
    .solution-content { padding: 36px; }
    .about-page { gap: 38px; grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr); }
}

@media (max-width: 900px) {
    .hero-section {
        grid-template-columns: 1fr;
        width: 100%;
        min-width: 0;
        padding: 36px 0 48px;
        gap: 32px;
    }

    .hero-left,
    .hero-right {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    .hero-left { align-items: center; text-align: center; }
    .hero-left p { max-width: 100%; }
    .hero-btns { justify-content: center; }

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

    .info-section,
    .detalhe-servico {
        flex-direction: column;
        text-align: center;
        padding: 28px;
    }

    .detalhe-servico.image-right .info-img,
    .detalhe-servico.image-right .info-text { order: initial; }

    .info-img img,
    .detalhe-servico .info-img img { width: 90%; }

    .frente-icon, .about-icon, .service-icon { margin-left: auto; margin-right: auto; }
    .solution-row { grid-template-columns: 1fr; }
    .solution-row.reverse .solution-image,
    .solution-row.reverse .solution-content { order: initial; }
    .solution-image { min-height: 320px; }
    .about-page { grid-template-columns: 1fr; }
    .about-page-gallery { min-height: 520px; }
}

@media (max-width: 768px) {
    header { padding: 12px 20px; }
    .logo-img { height: 48px; }

    header nav {
        position: absolute;
        top: 76px;
        right: 16px;
        background: #ffffff;
        padding: 12px;
        border-radius: 14px;
        flex-direction: column;
        align-items: flex-start;
        border: 1px solid var(--line);
        box-shadow: 0 8px 24px rgba(23,25,28,0.12);
        display: none;
        min-width: 200px;
    }

    header nav.active { display: flex; }
    .menu-mobile { display: flex; }

    .hero-left h1 {
        width: min(100%, calc(100vw - 32px));
        max-width: calc(100vw - 32px);
        margin-left: auto;
        margin-right: auto;
        font-size: clamp(1.55rem, 7.5vw, 1.85rem);
        line-height: 1.18;
    }
    .hero-left h1 span {
        display: block;
        width: 100%;
        overflow-wrap: normal;
        word-break: normal;
    }
    .section-header h1,
    .section-header h2,
    .services-section .section-header h1,
    .services-detail-page .section-header h1,
    .about-page-copy h1,
    .leads-page h1 {
        width: 100%;
        font-size: clamp(1.65rem, 8vw, 2rem);
        line-height: 1.18;
        letter-spacing: -0.02em;
    }
    .frentes-grid { grid-template-columns: 1fr; }
    main { padding: 0 16px 60px; }

    .about-strip { padding: 32px 20px; }
    .servicos-page { padding-top: 28px; }
    .about-stats { gap: 10px; }
    .stat { padding: 0 16px; }

    .cta-section { padding: 40px 24px; }
    .cta-section::before { display: none; }
    .cta-content h2 { font-size: 1.6rem; }

    .footer-content { flex-direction: column; align-items: flex-start; gap: 10px; }
    .leads-form { padding: 28px 20px 24px; }
    .solutions-showcase { padding-top: 50px; }
    .solution-row { margin: 24px 0; border-radius: 18px; }
    .solution-image { min-height: 230px; }
    .solution-content { padding: 28px 24px 32px; }
    .detalhe-servico .info-img { flex-basis: auto; width: 100%; }
    .detalhe-servico .info-img img { width: 100%; height: 230px; }
    .detalhe-servico.image-right .info-img,
    .detalhe-servico.image-right .info-text { order: initial; }
    .detalhe-servico .info-text { max-width: none; padding: 4px 0 0; }
    .about-page { padding-top: 48px; gap: 32px; }
    .about-page-gallery { min-height: 430px; }
    .about-photo-main { inset: 0 34px 60px 0; }
    .about-photo-secondary { width: 52%; height: 38%; }
    .about-principles { grid-template-columns: 1fr; }
}
