/* ==========================================================
   CAPCAD HOMEPAGE � homepage.css
   Clean rewrite. Sections in page order.
   Breakpoints: mobile (<600px) | tablet (600�899px) | desktop (900px+)
========================================================== */

/* ----------------------------------------------------------
   CSS VARIABLES
---------------------------------------------------------- */
:root {
    --blue-dark: #0E2A7D;
    --blue-mid: #1B3F99;
    --blue-light: #2A5DB8;
    --orange: #F28C28;
    --orange-dark: #e57d18;
    --orange-pale: #FFC98A;
    --cc--purple: rgb(90, 61, 235);
    --grey-bg: #F7F8FA;
    --grey-border: #d7e1ee;
    --text-dark: #0E1A33;
    --text-mid: #4A4F5A;
    --text-light: #666;
    --white: #ffffff;
    --hero-dark: #03021a;
    --gradient-purple: linear-gradient(90deg, #4B2FBB 0%, #5B3EEE 60%, #6D52F0 100%);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --section-pad-v: 5rem;
    --section-pad-h: 1.5rem;
    --max-width: 1200px;
    --content-width: 900px;

    /* Type scale */
    --text-display: clamp(2.4rem, 4vw, 3.2rem);   /* hero h1 */
    --text-h2:      clamp(1.9rem, 2.8vw, 2.5rem);  /* section headings */
    --text-h3:      1.15rem;                        /* card/item headings */
    --text-body:    1.15rem;                        /* body copy */
    --text-small:   0.875rem;                       /* captions, labels */
    --text-eyebrow: 0.75rem;                        /* section labels above h2 */

    /* Weight scale */
    --weight-bold:    700;
    --weight-semi:    600;
    --weight-normal:  400;
}

/* ----------------------------------------------------------
   RESET & BASE
---------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    border-radius: 0;
}

body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    color: var(--text-dark);
}



main {
    background: transparent;
}

/* `body` prefix bumps specificity to (0,1,1) so this wins over
   site.css's `.new-container { padding: 40px }` despite site.css
   loading later. Cleaner fix is to move @RenderSection("HeadStyles")
   below the site.css <link> in _Layout.cshtml — slated for slice 2b. */
body .new-container {
    padding: 0;
    background: transparent;
}

/* ----------------------------------------------------------
   FLOATING WHATSAPP BUTTON
---------------------------------------------------------- */
.floating-image {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: auto;
    z-index: 999;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .floating-image:hover {
        transform: scale(1.08);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }

/* ----------------------------------------------------------
   HEADER
---------------------------------------------------------- */
.home-header:not(.scrolled) {
    background: var(--hero-dark) !important;
    backdrop-filter: none;
}

    .site-header:not(.scrolled) .nav-links a,
    .site-header:not(.scrolled) .login-link,
    .home-header:not(.scrolled) .nav-links a,
    .home-header:not(.scrolled) .login-link {
        color: var(--white);
    }

    .site-header:not(.scrolled) .language-select,
    .home-header:not(.scrolled) .language-select {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .site-header:not(.scrolled) .logo,
    .home-header:not(.scrolled) .logo {
        filter: brightness(0) invert(1);
    }

.site-header.scrolled,
.home-header.scrolled {
    background: var(--white) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

    .site-header.scrolled .nav-links a,
    .home-header.scrolled .nav-links a {
        color: #111;
    }

    .site-header.scrolled .login-link,
    .home-header.scrolled .login-link {
        color: var(--cc--purple);
    }

    .site-header.scrolled .language-select,
    .home-header.scrolled .language-select {
        background: var(--white);
        color: #111;
        border: 1px solid #ccc;
    }

    .site-header.scrolled .logo,
    .home-header.scrolled .logo {
        filter: none;
    }

/* ----------------------------------------------------------
   HERO
   Full viewport height. Contains headline, subtitle,
   buttons AND video. Video overflows the bottom edge.
   page-start is pure white � no gradient needed because
   the hero gradient itself darkens to near-black at the
   bottom, making the video the natural transition.
---------------------------------------------------------- */
.hero {
    background: radial-gradient(ellipse 50% 90% at 50% 40%, #7c5ff5 0%, #5A3DEB 35%, #2e1db0 60%, #130a5c 80%, var(--hero-dark) 100%);
    min-height: auto;
    padding: 5rem clamp(1.5rem, 4vw, 4rem) 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    overflow: visible;
    position: relative;
    z-index: 1;
}


.hero-text {
    max-width: 680px;
    width: 100%;
    margin-top: -1rem;
    margin: 0 auto;
    text-align: center;
}

    .hero-text h1 {
        font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        font-size: clamp(2rem, 3.8vw, 3.4rem);
        color: var(--white);
        font-weight: 700;
        line-height: 1.15;
        letter-spacing: normal;
        margin: 0 auto 1.5rem;
        text-align: center;
    }

    .hero-text p,
    .hero-sub {
        font-size: 1.3rem;
        font-weight: 300;
        opacity: 0.75;
        text-align: center;
        max-width: 420px;
        margin: 0 auto 1rem;
        color: var(--white);
    }

/* Buttons inside hero � on the purple */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0;
}

.hero-trust {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
}

.hero-reach {
    font-size: 0.8rem !important;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 4px 14px;
    margin-bottom: 1.5rem;
    position: static;
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: #F28C28;
}

.hero-badge-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Video � sits at bottom of hero, overflows into page-start */
.hero-media {
    width: 100%;
    max-width: 960px;
    flex-shrink: 0;
    margin-bottom: 0;
}

.hero-screenshot {
    width: 62%;
    margin: auto;
    display: block;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -8px 40px rgba(90, 61, 235, 0.2), 0 24px 80px rgba(0, 0, 0, 0.6);
}

/* ----------------------------------------------------------
   PAGE START
   Pure white. padding-top clears the overflowing video.
   No gradient needed � the dark hero and dark video
   content create a natural visual break.
---------------------------------------------------------- */
.page-start {
    background: var(--white);
    padding-top: 3rem;
    position: relative;
    z-index: 2;
}

/* ----------------------------------------------------------
   LAYOUT HELPERS
---------------------------------------------------------- */
.cc-container {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--section-pad-h);
    text-align: center;
}

/* ----------------------------------------------------------
   BUTTONS
---------------------------------------------------------- */
.cc-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.cc-btn-primary {
    background: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
}

    .cc-btn-primary:hover {
        background: var(--orange-dark);
        border-color: var(--orange-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
        text-decoration: none;
    }

.cc-btn-outline {
    background: transparent!important;
    color: var(--orange)!important;
    border: 2px solid var(--orange)!important;
}

    .cc-btn-outline:hover {
        background: #0D3C7A;
        color: var(--orange-pale);
        border-color: var(--orange-pale);
        transform: translateY(-2px);
        text-decoration: none;
    }

/* ----------------------------------------------------------
   FEATURES
---------------------------------------------------------- */
/* FEATURES */
.features-v2 {
    padding: var(--section-pad-v) var(--section-pad-h);
    max-width: 900px;
    margin: 0 auto;
}

/* When features is the first section under the hero, collapse BOTH the
   features-v2 top padding AND the page-start top padding, so the only
   remaining gap is the hero's own padding-bottom. Was ~14rem stacked. */
.page-start > .features-v2:first-child {
    padding-top: 0;
    padding-bottom: 0.5rem;   /* was 5rem; logos-section below provides its own gap */
}
.page-start:has(> .features-v2:first-child) {
    padding-top: 0;
}
/* logos-section heading sat ~10rem below features end (5+5). Trim its top. */
.page-start > .features-v2:first-child + .logos-section {
    padding-top: 2rem;
}

.features-eyebrow {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5A3DEB;
    text-align: center;
    margin: 0 0 0.4rem;
}

.features-heading {
    /* Match .value-prop h2 exactly (the "Projete mais. Trabalhe menos." style),
       so all section headings share one look. text-align: center kept because
       features + logos sections are visually centered. */
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin: 0 0 1.5rem;
    text-align: center;
}

.features-grid-v2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.features-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

.feature-item-link {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: inherit;
    text-decoration: none;
    width: 100%;
}

.feature-item-link:hover,
.feature-item-link:focus {
    text-decoration: none;
}

.feature-item-link:hover h3 {
    color: #5A3DEB;
}

.feature-item-v2 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--white);
    border: 1px solid var(--grey-border);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

    .feature-item-v2:hover {
        background: #f5f4ff;
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(90, 61, 235, 0.1);
    }

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #EEEDFE;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 28px;
    color: #5A3DEB;
    transition: background 0.2s ease;
}

.feature-item-v2:hover .feature-icon-wrap {
    background: #DDD9FC;
}

    .feature-icon-wrap img {
        width: 40px;
        height: 40px;
        object-fit: contain;
    }

.feature-icon-img img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: invert(28%) sepia(89%) saturate(1500%) hue-rotate(237deg) brightness(90%);
}

.feature-icon-nofilter img {
    filter: invert(28%) sepia(89%) saturate(1500%) hue-rotate(237deg) brightness(90%) !important;
}

.feature-item-v2 h3 {
    font-size: var(--text-h3);
    font-weight: var(--weight-semi);
    margin: 0 0 6px;
    color: var(--text-dark);
}

.feature-item-v2 p {
    font-size: var(--text-small);
    line-height: 1.6;
    color: var(--text-mid);
    margin: 0;
    line-height: 1.5;
}



/* ----------------------------------------------------------
   VALUE PROP
---------------------------------------------------------- */
.value-prop {
    background: var(--grey-bg);
    padding: var(--section-pad-v) 4rem;
}

.value-inner {
    max-width: var(--content-width);
}

.value-prop h2 {
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.value-prop p {
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 750px;
    color: var(--text-mid);
}

/* ----------------------------------------------------------
   HOW IT WORKS
---------------------------------------------------------- */
.howitworks-section {
    background: var(--white);
    padding: 3rem var(--section-pad-h);
}

.howitworks {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 1.5rem 0;
}

.howitworks-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.howitworks-left h2 {
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 2rem 0 1rem;
}

.howitworks-left p {
    max-width: 400px;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.howitworks-button-wrap {
    display: flex;
    justify-content: flex-start;
}

.howitworks-link {
    display: inline-block;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid #D1D5DB;
    background: var(--white);
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .howitworks-link:hover {
        background: #f3f4f6;
        border-color: #bbb;
        text-decoration: none;
    }

.video-wrapper {
    width: 100%;
    max-width: 600px;
    margin: 1rem auto 0.5rem;
    aspect-ratio: 16 / 9;
}

    .video-wrapper iframe {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
    }

/* ----------------------------------------------------------
   ECONOMY
---------------------------------------------------------- */
.economy-section {
    background: var(--white);
    padding: 5rem var(--section-pad-h);
    border-top: 1px solid var(--grey-border);
    border-bottom: 1px solid var(--grey-border);
}

.economy-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex !important;
    justify-content: center;
}

.economy-right {
    width: 100%;
    max-width: 640px;
}

    .economy-right h2 {
        font-size: clamp(1.9rem, 2.4vw, 2.4rem);
        line-height: 1.25;
        margin-bottom: 1rem;
        text-align: left;
    }

    .economy-right p {
        font-size: 1rem;
        line-height: 1.6;
        color: #555;
        max-width: 620px;
        text-align: left;
        margin-bottom: 1.5rem;
    }

.ninety {
    font-size: 2.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7c5ff5, #5A3DEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----------------------------------------------------------
   TESTIMONIALS
---------------------------------------------------------- */
.testimonials {
    padding: var(--section-pad-v) var(--section-pad-h);
    background: var(--grey-bg);
    text-align: center;
}

    .testimonials h2 {
        font-size: var(--text-h2);
        font-weight: 700;
        letter-spacing: -0.02em;
        margin-bottom: 3rem;
    }

.testimonials-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    text-align: left;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0;
    margin: 0;
    position: relative;
    cursor: pointer;
    background: #000;
}

.testimonial-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.testimonial-video:hover img {
    transform: scale(1.03);
    opacity: 0.85;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
    transition: transform 0.2s ease;
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.12);
}

.play-btn svg {
    width: 60px;
    height: 60px;
}

.testimonial-card h3 {
    font-size: var(--text-h3);
    font-weight: var(--weight-semi);
    margin: 0;
    padding: 1.2rem 1.5rem 0.4rem;
    color: var(--text-dark);
}

.testimonial-card p {
    font-size: var(--text-small);
    line-height: 1.6;
    color: var(--text-mid);
    flex: 1;
    margin: 0;
    padding: 0 1.5rem 1.5rem;
}

.testimonial-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ----------------------------------------------------------
   CLIENT LOGOS
---------------------------------------------------------- */
.client-logos {
    padding: 4rem var(--section-pad-h);
    background: var(--white);
    text-align: center;
}

.client-logos-title {
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    color: #111;
}

.logo-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 3rem 2rem;
    align-items: center;
    justify-items: center;
    padding: 2rem 0;
}

    .logo-grid img {
        display: block;
        width: 96px;
        height: 38px;
        object-fit: contain;
        object-position: center;
        filter: grayscale(20%);
        transition: filter 0.2s ease;
    }

    .logo-grid img:hover {
        filter: grayscale(0%);
    }

/* ----------------------------------------------------------
   EDUCATION
---------------------------------------------------------- */
.education-section {
    padding: 5rem var(--section-pad-h);
    background: var(--grey-bg);
    text-align: center;
}

.education-section .section-title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 600;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.education-cards {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.education-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .education-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    }

.edu-logo {
    width: 120px;
    height: auto;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.edu-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #111;
}

.edu-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #0086CC;
    font-weight: 500;
    text-decoration: none;
}

    .edu-link:hover {
        text-decoration: underline;
    }

/* ----------------------------------------------------------
   PRA VOC� (USER SECTION)
---------------------------------------------------------- */
.section-user {
    background: var(--gradient-purple);
    color: var(--white);
    padding: 6rem var(--section-pad-h);
}

.section-user-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.section-user-inner h2 {
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
    white-space: normal;
    margin: 0 0 1.5rem;
    color: var(--white);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.section-user-inner p {
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;

}

@media (max-width: 600px) {
    .section-user-inner h2 {
        font-size: 1.9rem;
    }
}

.cc-btn-outline-white {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
    transition: all 0.2s ease;
}

.cc-btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    color: var(--white);
}

    .section-user h2 {
        font-size: var(--text-h2);
        font-weight: 500;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .section-user p {
        max-width: 700px;
        font-size: 1.05rem;
        font-weight: 500;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.9);
        text-align: left;
    }

/* ----------------------------------------------------------
   LEARN MORE (FINAL CTA)
---------------------------------------------------------- */
.learn-more {
    padding: 5rem var(--section-pad-h) 3rem;
    background: var(--white);
    text-align: center;
}

.learn-container {
    max-width: 1100px;
    margin: 0 auto;
}

.learn-title {
    font-size: var(--text-h2);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #000;
    margin-bottom: 0.6rem;
}

.learn-subtitle {
    font-size: 1rem;
    color: #000;
    margin-bottom: 2.5rem;
}

.learn-cards {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.learn-card {
    background: var(--white);
    width: 320px;
    padding: 2.2rem 1.6rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .learn-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    }

.learn-icon {
    font-size: 2.1rem;
    margin-bottom: 0.75rem;
}

.learn-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.6rem;
}

.learn-card-text {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.25rem;
    padding: 0 0.6rem;
}

.learn-btn {
    display: inline-block;
    background: transparent;
    border: 2px solid #E5E7EB;
    color: #333;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .learn-btn:hover {
        background: #f3f4f6;
        text-decoration: none;
        color: #333;
    }

.learn-footer {
    margin-top: 2.5rem;
    font-size: 1.2rem;
    color: #000;
}

/* ----------------------------------------------------------
   AUTODESK SECTION
---------------------------------------------------------- */
.section-autodesk {
    background: var(--white);
    padding: 3rem var(--section-pad-h) 3.5rem;
    text-align: center;
}

.autodesk-inner img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.75rem;
}

.autodesk-inner h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #222;
}

.autodesk-inner p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ==========================================================
   RESPONSIVE � TABLET (600px � 899px)
========================================================== */
@media (min-width: 600px) and (max-width: 899px) {

    .nav-links,
    .login-link,
    .language-select {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding-top: 5rem;
        gap: 2rem;
    }

    .hero-media {
        margin-bottom:0;
    }

    .page-start {
        padding-top: 3rem;
    }

    .client-logos {
        padding: 4rem 2rem;
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem 1rem;
        justify-content: center;
    }

        .logo-grid img {
            width: 100px;
            height: 40px;
        }

  
        .features-grid-v2 {
            grid-template-columns: repeat(2, 1fr);
        }




    .mobile-break {
        display: inline;
    }

    .howitworks {
        max-width: 700px;
    }

    .howitworks-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .howitworks-left {
        display: contents;
    }

        .howitworks-left h2 {
            grid-row: 1;
            margin-top: 0.25rem;
            margin-bottom: 0.5rem;
        }

        .howitworks-left p {
            grid-row: 2;
            max-width: 90%;
            margin-bottom: 0;
        }

    .howitworks-right {
        grid-row: 3;
        margin-top: 1rem;
    }

    .howitworks-button-wrap {
        grid-row: 4;
        margin-top: 0.75rem;
    }

    .howitworks-right .video-wrapper {
        max-width: 440px;
        margin: 0;
    }

    .economy-section {
        padding: 4rem 2.5rem;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-prop {
        padding: 4rem 3rem;
    }

    .autodesk-inner img {
        max-width: 35%;
    }
}

/* ==========================================================
   RESPONSIVE � MOBILE (<600px)
========================================================== */
@media (max-width: 599px) {

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
        padding: 3rem 1rem 5rem;
        gap: 0.75rem;
        justify-content: center;
        }

    .hero-break {
        display: none;
    }

    .hero-text {
        padding: 0 1rem;
    }

        .hero-text h1 {
            font-size: 3rem;
            margin: 0 0 1rem;
        }

        .hero-text p {
            font-size: 1.05rem;
            margin-bottom: 1.5rem;
        }

    .hero-reach {
        font-size: 0.8rem;
        margin-top: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: calc(100% - 2rem);
        margin: 0 auto;
    }

        .hero-buttons .cc-btn {
            width: 100%;
            text-align: center;
            padding: 0.7rem 1rem;
            font-size: 0.85rem;
        }

    .hero-media {
        width: 100%;
        max-width: 100%;
        margin-top: 1rem;
        margin-bottom: 0;
        padding: 0 0.75rem;
            }

    .hero-screenshot {
        border-radius: 0;
        width: 100%;
        display: block;
    }

    .page-start {
        padding-top: 2rem;
    }

    .hero-badge {
        white-space: nowrap;
        font-size: 11px;
        padding: 8px 12px;
        display: inline-flex;
    }

    .hero-badge-text {
        white-space: nowrap;
    }

   .features-grid-v2 {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

    .feature-item-v2 p,
    .testimonial-card p {
        font-size: 1.05rem;
    }

    .feature-item-v2 {
        align-items: center;
        text-align: center;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .feature-item-v2 .feature-item-link {
        align-items: center;
    }

    .mobile-break {
        display: inline;
    }

    .value-prop {
        padding: var(--section-pad-v) var(--section-pad-h);
        text-align: left;
    }

        .value-prop h2,
        .value-prop p {
            text-align: left;
        }

    .howitworks-grid {
        grid-template-columns: 1fr;
    }

    .howitworks-left {
        display: contents;
    }

        .howitworks-left h2 {
            grid-row: 1;
            margin-top: 0.25rem;
            margin-bottom: 0.5rem;
        }

        .howitworks-left p {
            grid-row: 2;
            max-width: 100%;
            margin-bottom: 0;
        }

    .howitworks-right {
        grid-row: 3;
        margin-top: 1rem;
    }

    .howitworks-button-wrap {
        grid-row: 4;
        margin-top: 0.5rem;
    }

    .economy-right > div {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

        .economy-right > div p:first-child {
            font-size: 3.5rem;
        }

    .economy-section {
        padding: 3.5rem var(--section-pad-h);
    }

    .economy-right h2,
    .economy-right p {
        text-align: left;
        max-width: 100%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials h2 {
        text-align: center;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1.5rem;
    }

    .logo-grid img {
        width: 110px;
        height: 44px;
    }

    .education-section {
        padding: var(--section-pad-v) var(--section-pad-h);
    }

    .section-user {
        padding: var(--section-pad-v) var(--section-pad-h);
    }

    .autodesk-inner img {
        max-width: 50%;
    }
}

@media (min-width: 300px) and (max-width: 599px) {
    .hero-buttons {
        flex-direction: row;
        width: auto;
        align-items: center;
    }

        .hero-buttons .cc-btn {
            width: auto;
        }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 3rem;
    }
}

/* ==========================================================
   RESPONSIVE � DESKTOP (900px+)
========================================================== */
@media (min-width: 900px) {

    .logo-grid img {
        width: 96px;
        height: 38px;
    }

    .hero {
        padding-top: 6rem;
    }

/*    .hero-screenshot {
        max-height: none;
        height: auto;
        width: 100%;
    }*/

    .value-prop {
        text-align: center;
        display: flex;
        justify-content: center;
    }

        .value-prop h2 {
            text-align: center;
            margin: 0 auto 1.5rem;
        }

        .value-prop p {
            text-align: center;
            margin: 0 auto;
        }

    .howitworks-grid {
        grid-template-columns: 0.8fr 1.2fr;
        gap: 3rem;
        grid-template-areas: "text video";
    }

    .howitworks-left {
        grid-area: text;
        display: block;
    }

    .howitworks-right {
        grid-area: video;
    }

    .howitworks-button-wrap {
        margin-top: 1.5rem;
        justify-content: flex-start;
    }

    .features-v2 h2 {
        font-size: 2rem;
        font-weight: 600;
        margin-top: 3rem;
    }

    .testimonial-card {
        max-width: 380px;
    }

    .economy-right {
        max-width: 680px;
    }

    .autodesk-inner img {
        max-width: 25%;
    }

    .mobile-break {
        display: none;
    }

    .cc-btn {
        padding: 0.5rem 1.2rem;
    }
}

/* ============================================================
   Preserved from main's hompage.css for the EMPRESAS/clientes
   section that uses .social-proof-container / .client-logo /
   .social-proof-div / .company-logo-header markup. Lets main's
   clientes block render correctly while new-design styles power
   the rest of the page.
   ============================================================ */

.logos-section {
    padding: var(--section-pad-v) var(--section-pad-h);
    text-align: center;
}

.company-logo-header {
    text-align: center;
    margin-top: 40px;
    font-size: 21px;
}

.social-proof { padding: 1rem; }

.social-proof h2 {
    text-align: center;
    font-size: 22px;
}

.social-proof-container {
    padding: 1rem;
    display: flex;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
}

.social-proof-div {
    width: 50%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.client-logo { width: 90%; }
.client-logo-big { width: 60%; }

@media screen and (min-width: 400px) {
    .company-logo-header { font-size: 24px; }
}

@media screen and (min-width: 500px) {
    .social-proof-div { width: 25%; }
}

@media screen and (min-width: 550px) {
    .social-proof-container { padding: 3rem; }
}

@media screen and (min-width: 700px) {
    .social-proof-container {
        padding: 4rem;
        justify-content: space-evenly;
    }
}

@media screen and (min-width: 900px) {
    .social-proof-div { width: 16%; }
}

@media screen and (min-width: 992px) {
    .social-proof-container { justify-content: space-evenly; padding: 1rem 3rem; }
    .client-logo { width: 70%; }
    .social-proof-div { padding: 0.6rem 0.5rem; }
}

@media screen and (min-width: 1600px) {
    .social-proof-container { padding: 50px 180px; }
}

/* ============================================================
   Navbar / header gap killers — main's _Layout.cshtml has
   `mb-3` on the <nav>, Bootstrap also applies vertical padding,
   and the header wrapper may contribute its own space.
   Belt-and-braces overrides to eliminate the white strip
   between navbar and the hero gradient until slice 2b rewrites
   the chrome.
   ============================================================ */
body header .navbar.mb-3 { margin-bottom: 0 !important; }
body header > .navbar { margin-bottom: 0 !important; padding-bottom: 0.5rem; }
body > header { margin-bottom: 0 !important; padding-bottom: 0 !important; }
body .new-container > main { margin-top: 0 !important; padding-top: 0 !important; }
