/* =========================================
   CSS VARIABLES & SETUP
   ========================================= */
:root {
    --c-yellow: #FFC20E;
    --c-blue-mid: #0080C6;
    --c-blue-navy: #070861;
    --c-offwhite: #F5F5F5;
    --c-white: #FFFFFF;
    --c-gray: #AAAAAA;

    --font-main: 'Poppins', sans-serif;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--c-blue-navy);
    background-color: var(--c-offwhite);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--c-white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    /* ExtraBold as defined */
    line-height: 1.2;
}

p,
span,
li {
    font-weight: 400;
    /* Regular */
}

/* =========================================
   BUTTONS
   ========================================= */
.btn-cta,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
}

.btn-cta {
    background-color: var(--c-yellow);
    color: var(--c-blue-navy);
}

/* Shimmer Hover Effect */
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    transition: none;
}

.btn-shimmer:hover::after {
    animation: shimmer 0.8s ease-in-out;
}

@keyframes shimmer {
    100% {
        left: 200%;
    }
}

.btn-cta:hover {
    box-shadow: 0 5px 15px rgba(255, 194, 14, 0.4);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--c-white);
    border: 2px solid var(--c-white);
}

.btn-outline:hover {
    background-color: var(--c-white);
    color: var(--c-blue-navy);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: var(--c-white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Logo Rotation on Load */
.logo-icon {
    animation: spin-once 1s ease-out forwards;
}

@keyframes spin-once {
    from {
        transform: rotate(-180deg) scale(0.5);
        opacity: 0;
    }

    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

.logo-text {
    font-size: 1.5rem;
    line-height: 1;
}

.logo-text .bt {
    font-weight: 800;
    color: var(--c-white);
    transition: color 0.3s;
}

.logo-text .energia {
    font-weight: 400;
    color: var(--c-yellow);
}

.navbar.scrolled .logo-text .bt {
    color: var(--c-blue-navy);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a:not(.btn-cta) {
    color: var(--c-white);
    font-weight: 700;
    transition: var(--transition);
    position: relative;
}

.navbar.scrolled .nav-links a:not(.btn-cta) {
    color: var(--c-blue-navy);
}

.nav-links a:not(.btn-cta):hover {
    color: var(--c-yellow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.mobile-menu-btn .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--c-white);
    transition: var(--transition);
}

.navbar.scrolled .mobile-menu-btn .bar {
    background-color: var(--c-blue-navy);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    min-height: 100vh;
    padding-top: 120px;
    position: relative;
    background-color: var(--c-blue-navy);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Hero background photo with blur + blue overlay */
.hero__bg-photo {
    position: absolute;
    inset: 0;
    background: url('images/hero_bg.jpg') center/cover no-repeat;
    filter: blur(4px) brightness(0.55);
    transform: scale(1.06); /* evita bordas brancas do blur */
    z-index: 0;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(7, 8, 97, 0.75) 0%,
        rgba(0, 128, 198, 0.55) 60%,
        rgba(7, 8, 97, 0.80) 100%
    );
    z-index: 1;
}

.section-dark-pattern::before {
    display: none;
}

#particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: var(--c-yellow);
    border-radius: 50%;
    animation: float-up linear infinite;
}

@keyframes float-up {
    from {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    to {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--c-white);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--c-offwhite);
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* SVG Hero Animation */
.hero-svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.pulsing-sun {
    animation: pulse 3s infinite alternate ease-in-out;
    transform-origin: 200px 100px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.sun-glow {
    animation: glow 3s infinite alternate ease-in-out;
}

@keyframes glow {
    0% {
        r: 50;
        opacity: 0.2;
    }

    100% {
        r: 60;
        opacity: 0.4;
    }
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats {
    background-color: var(--c-yellow);
    padding: 60px 0;
    position: relative;
}

.section-yellow-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" transform="rotate(45)"><path d="M15 0 L5 20 L15 20 L5 40 L25 15 L15 15 Z" fill="rgba(200, 150, 0, 0.15)"/></svg>') repeat;
    z-index: 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 80px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.stat-card.animate-on-scroll {
    transform: translateY(20px);
}

.stat-card h3 {
    font-size: 3.5rem;
    color: var(--c-blue-navy);
    display: inline;
}

.stat-card span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--c-blue-navy);
}

.stat-card p {
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-blue-navy);
    margin-top: 5px;
}

/* =========================================
   SERVICES - NEW CARD STYLE
   ========================================= */
.services {
    padding: 100px 0;
    background-color: var(--c-offwhite);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--c-blue-navy);
}

/* Grid: 3 cols desktop, 2 tablet, 1 mobile */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Card wrapper */
.svc-card {
    background-color: var(--c-white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(7, 8, 97, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.svc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(7, 8, 97, 0.16);
}

/* ---- Header area (image + overlay) ---- */
.svc-card-header {
    position: relative;
    height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 20px;
    overflow: hidden;
}

/* Dark gradient overlay so text is readable */
.svc-card-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7,8,97,0.2) 0%, rgba(7,8,97,0.78) 100%);
    z-index: 1;
}

/* Unique gradient backgrounds per service */
.svc-bg-residencial {
    background: url('images/svc_residencial.jpg') center/cover no-repeat;
}
.svc-bg-residencial::before {
    display: none;
}

.svc-bg-comercial {
    background: url('images/svc_comercial.jpg') center/cover no-repeat;
}
.svc-bg-comercial::before {
    display: none;
}

.svc-bg-manutencao {
    background: url('images/svc_manutencao.jpg') center/cover no-repeat;
}
.svc-bg-manutencao::before {
    display: none;
}

.svc-bg-armazenamento {
    background: url('images/svc_armazenamento.jpg') center/cover no-repeat;
}
.svc-bg-armazenamento::before {
    display: none;
}

.svc-bg-mobilidade {
    background: url('images/svc_mobilidade.jpg') center/cover no-repeat;
}
.svc-bg-mobilidade::before {
    display: none;
}

/* Icon badge */
.svc-badge {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    background-color: var(--c-blue-mid);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: background-color 0.3s ease;
}

.svc-card:hover .svc-badge {
    background-color: var(--c-yellow);
    color: var(--c-blue-navy);
}

/* Title inside header */
.svc-title {
    position: relative;
    z-index: 2;
    color: var(--c-white);
    font-size: 1.3rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
    line-height: 1.2;
}

/* ---- Body area ---- */
.svc-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.svc-desc {
    font-size: 0.92rem;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.6;
}

/* Feature list */
.svc-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
    flex: 1;
}

.svc-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    animation: none;
    opacity: 1;
}

.svc-card.is-visible .svc-features li {
    animation: feat-slide-in 0.4s ease-out both;
}

.svc-card.is-visible .svc-features li:nth-child(1) { animation-delay: 0.1s; }
.svc-card.is-visible .svc-features li:nth-child(2) { animation-delay: 0.2s; }
.svc-card.is-visible .svc-features li:nth-child(3) { animation-delay: 0.3s; }

@keyframes feat-slide-in {
    from {
        opacity: 0;
        transform: translateX(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.svc-feat-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1.3;
}

.svc-features strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--c-blue-navy);
    margin-bottom: 1px;
}

.svc-features span {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.4;
}

/* CTA button */
.svc-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 13px 20px;
    border: 2px solid #d0d5e0;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--c-blue-navy);
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.25s ease;
    margin-top: auto;
}

.svc-btn:hover {
    background-color: var(--c-yellow);
    border-color: var(--c-yellow);
    color: var(--c-blue-navy);
    transform: translateY(-2px);
}

/* =========================================
   WHY CHOOSE BT
   ========================================= */
.why-us {
    padding: 100px 0;
    background-color: var(--c-white);
}

.why-grid {
    display: flex;
    justify-content: center;
    text-align: center;
}

.why-content {
    max-width: 800px;
    margin: 0 auto;
}

.why-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.why-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #444;
}

.checklist {
    display: inline-block;
    text-align: left;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.checklist svg {
    flex-shrink: 0;
}

.why-image .placeholder-gradient {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--c-blue-navy), var(--c-blue-mid));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(7, 8, 97, 0.2);
    position: relative;
    overflow: hidden;
}

.placeholder-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M20 0 L10 30 L25 30 L10 60 L35 25 L20 25 Z" fill="rgba(255, 255, 255, 0.05)"/></svg>') repeat;
}

.mascot {
    position: relative;
    z-index: 1;
    animation: gentle-bob 4s infinite ease-in-out;
}

@keyframes gentle-bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.how-it-works {
    background-color: var(--c-blue-mid);
    position: relative;
    padding: 50px 0;
}

.wave {
    width: 100%;
    height: 60px;
    display: block;
}

.top-wave {
    position: absolute;
    top: 0;
    left: 0;
    transform: translateY(-90%);
}

.bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(98%);
}

.how-it-works h2 {
    margin-bottom: 60px;
    font-size: 2.8rem;
    position: relative;
    z-index: 1;
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 150px;
}

.step-circle {
    width: 70px;
    height: 70px;
    background-color: var(--c-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 0 0 5px rgba(255, 194, 14, 0.3);
    z-index: 2;
}

.timeline-step h4 {
    font-size: 1rem;
    min-height: 40px;
}

.timeline-line {
    flex-grow: 1;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: -50px 10px 0;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials {
    padding: 120px 0;
    background-color: var(--c-offwhite);
    position: relative;
}

.testimonials-bg {
    display: none;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    margin-top: 40px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 300%;
    /* For 3 cards */
}

.testimonial-card {
    width: 33.333%;
    background-color: var(--c-white);
    border-radius: 12px;
    padding: 40px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    margin: 0 15px;
}

.quote-mark {
    font-size: 80px;
    font-family: serif;
    color: var(--c-yellow);
    position: absolute;
    top: 0px;
    left: 20px;
    line-height: 1;
    opacity: 0.3;
}

.feedback {
    font-size: 1.1rem;
    font-style: italic;
    color: #444;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 60px;
    height: 60px;
    background-color: var(--c-blue-mid);
    color: var(--c-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h5 {
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 2px;
}

.stars {
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--c-blue-mid);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--c-blue-mid);
}

.slider-btn:hover svg {
    stroke: var(--c-white);
}

/* Esconde paginadores (dots) do mobile no desktop */
.slider-dots {
    display: none;
}

/* =========================================
   FINAL CTA
   ========================================= */
.final-cta {
    padding: 100px 0;
    position: relative;
    background-color: var(--c-blue-mid);
    overflow: hidden;
}

.section-bold-pattern::before {
    display: none;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: 3.5rem;
    color: var(--c-white);
    margin-bottom: 15px;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--c-white);
    margin-bottom: 40px;
}

.cta-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--c-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cta-form input {
    width: 100%;
    padding: 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.cta-form button {
    padding: 15px;
    font-size: 1.1rem;
    width: 100%;
    margin-top: 10px;
}

.slider-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
    margin-bottom: 5px;
}

.slider-group label {
    font-size: 0.95rem;
    color: #444;
    font-weight: 600;
}

.slider-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.range-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.slider-controls input[type="range"] {
    width: 100%;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: var(--c-blue-mid);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #777;
    margin-top: 2px;
    padding: 0 2px;
    font-weight: 500;
}

.num-input-wrapper {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 0 10px;
    width: 120px;
}

.num-input-wrapper span {
    color: #555;
    font-weight: 600;
    font-size: 0.9rem;
}

.num-input-wrapper input[type="number"] {
    width: 100%;
    border: none;
    outline: none;
    padding: 12px 5px;
    font-size: 1rem;
    text-align: right;
    -moz-appearance: textfield;
    appearance: textfield;
}

.num-input-wrapper input[type="number"]::-webkit-outer-spin-button,
.num-input-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}


.btn-animate-icon:hover .sun-icon-btn {
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.star-part {
    position: absolute;
    background-color: var(--c-white);
    border-radius: 50%;
    animation: twinkle 3s infinite alternate;
}

@keyframes twinkle {
    0% {
        opacity: 0.2;
        transform: scale(0.8);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--c-blue-navy);
    color: var(--c-gray);
    padding-top: 0;
}

.footer-line {
    height: 5px;
    background-color: var(--c-yellow);
    width: 100%;
    margin-bottom: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin: 20px 0;
    max-width: 250px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: var(--c-yellow);
    color: var(--c-blue-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(255, 194, 14, 0.3);
}

.footer-links h4 {
    color: var(--c-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--c-yellow);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   ANIMATIONS (Intersection Observer)
   ========================================= */
.animate-enter {
    opacity: 0;
    transform: translateY(30px);
}

.animate-enter.is-visible {
    animation: fade-up 0.8s forwards cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-1 {
    animation-delay: 0.1s;
}

.stagger-2 {
    animation-delay: 0.2s;
}

.stagger-3 {
    animation-delay: 0.3s;
}

.stagger-4 {
    animation-delay: 0.4s;
}

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

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

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

.delay-4 {
    transition-delay: 0.4s;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .stats-grid {
        gap: 40px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--c-blue-navy);
        flex-direction: column;
        justify-content: center;
        transition: right 0.4s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }

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

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

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

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

    .timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-left: 20px;
    }

    .timeline-step {
        flex-direction: row;
        text-align: left;
        width: 100%;
        gap: 20px;
    }

    .timeline-line {
        width: 2px;
        height: 30px;
        margin: 0;
        margin-left: 34px;
        margin-top: -30px;
        margin-bottom: -15px;
    }

    .testimonial-card {
        /* cada card ocupa 1/3 do track (= 100% da viewport) */
        width: 33.333%;
        margin: 0;
        padding: 30px 20px;
        box-sizing: border-box;
    }

    .slider-track {
        /* track continua com 3 cards lado a lado */
        width: 300%;
    }

    /* Dots de paginação — visíveis só no mobile */
    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: #ccc;
        transition: background-color 0.3s, transform 0.3s;
        cursor: pointer;
    }

    .slider-dot.active {
        background-color: var(--c-blue-mid);
        transform: scale(1.3);
    }

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

    .social-links {
        justify-content: center;
    }
}