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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17201d;
    background: #ffffff;
    line-height: 1.6;
    padding-top: 106px;
}

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

.container {
    width: min(1120px, 90%);
    margin: 0 auto;
}

#services,
#about,
#reviews,
#quote {
    scroll-margin-top: 120px;
}

/* NAVIGATION */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #eeeeee;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.demo-banner {
    height: 30px;
    background: #0d2921;
    color: #e8f3ef;
}

.demo-banner-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.72rem;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.demo-label {
    color: #a8d4c5;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.demo-short {
    display: none;
}

.nav-container {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
}

.logo-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
}

.nav-links {
    display: flex;
    gap: 32px;
    font-size: 0.95rem;
}

.nav-links a,
.nav-button,
.button {
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-button {
    background: #174f3f;
    color: white;
    padding: 11px 20px;
    border-radius: 100px;
    font-weight: 600;
}

.nav-button:hover,
.primary-button:hover {
    background: #113d31;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.7rem;
    color: #17201d;
    cursor: pointer;
}

.mobile-language-link,
.mobile-quote-link {
    display: none;
}

/* HERO */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            90deg,
            rgba(247, 250, 249, 1) 0%,
            rgba(247, 250, 249, 0.96) 48%,
            rgba(238, 245, 242, 0.84) 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 56px;
    align-items: center;
    padding: 74px 0 82px;
}

.hero-content {
    min-width: 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #39806a;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(3.1rem, 5.4vw, 4.8rem);
    max-width: 660px;
    line-height: 0.98;
    letter-spacing: -4px;
    margin-bottom: 28px;
}

html[lang="pt-BR"] .hero h1 {
    font-size: clamp(2.8rem, 4.8vw, 4.35rem);
}

.hero h1 span {
    color: #39806a;
}

.hero-description {
    max-width: 580px;
    font-size: 1.2rem;
    color: #5f6865;
    margin-bottom: 34px;
}

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

.hero-visual {
    position: relative;
    z-index: 0;
    margin: 0;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: -1;
    border-radius: 30px;
    background: #dcece6;
}

.hero-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    object-position: 68% center;
    border-radius: 30px;
    box-shadow: 0 24px 60px rgba(23, 79, 63, 0.16);
}

.hero-visual figcaption {
    margin-top: 10px;
    color: #7a8581;
    font-size: 0.72rem;
    text-align: right;
}

.button {
    display: inline-block;
    padding: 15px 24px;
    border-radius: 100px;
    font-weight: 700;
}

.primary-button {
    background: #174f3f;
    color: white;
}

.secondary-button {
    border: 1px solid #cfd7d4;
    background: white;
}

.secondary-button:hover {
    background: #f3f7f5;
    transform: translateY(-1px);
}

/* GENERAL SECTIONS */

.section {
    padding: 110px 0;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 52px;
}

.section h2 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.section-heading > p:last-child {
    color: #69716f;
}

/* SERVICES */

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

.service-card {
    padding: 34px;
    border: 1px solid #e4e8e6;
    border-radius: 22px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: #d6e2dd;
    box-shadow: 0 16px 35px rgba(13, 41, 33, 0.07);
}

.service-icon {
    font-size: 2rem;
    margin-bottom: 28px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.service-card p {
    color: #69716f;
}

/* ABOUT */

.alternate-section {
    background: #f4f7f6;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-grid > div:first-child > p:last-child {
    color: #69716f;
    font-size: 1.1rem;
}

.benefits {
    display: grid;
    gap: 14px;
}

.benefit {
    background: white;
    padding: 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.benefit span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e1f3ed;
    color: #174f3f;
}

/* REVIEWS */

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

.review-card {
    padding: 34px;
    background: #f8f9f8;
    border-radius: 22px;
}

.review-card p {
    margin: 18px 0 28px;
    color: #515a57;
}

.stars {
    color: #d79a28;
    letter-spacing: 3px;
}

/* SERVICE AREA */

.service-area {
    text-align: center;
    background: #174f3f;
    color: white;
}

.service-area .eyebrow {
    color: #a8d4c5;
}

.service-area p:last-child {
    color: #d8e6e1;
    margin-top: 20px;
}

/* QUOTE */

.quote-section {
    background: #eef5f2;
    padding: 100px 0;
}

.quote-container {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.quote-container h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    max-width: 520px;
    line-height: 1.05;
    margin-bottom: 22px;
}

.quote-container > div:first-child > p:last-child {
    color: #64706c;
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.form-placeholder {
    background: white;
    padding: 42px;
    border-radius: 24px;
    border: 1px solid #e5ebe8;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.form-placeholder h3 {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 14px;
}

.form-placeholder p {
    color: #64706c;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 420px;
}

/* FOOTER */

footer {
    background: #0d2921;
    color: white;
    padding: 60px 0 32px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-container p {
    color: #a9b9b4;
    margin-top: 8px;
}

.footer-demo-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-demo-note p {
    max-width: 760px;
    color: #a9b9b4;
    font-size: 0.82rem;
    line-height: 1.55;
}

.demo-pill {
    flex: 0 0 auto;
    padding: 5px 9px;
    border-radius: 999px;
    background: #a8d4c5;
    color: #0d2921;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* MOBILE */

@media (max-width: 800px) {
    .logo {
        margin-right: auto;
    }

    .mobile-language-link {
        display: block;
        margin-right: 14px;
        font-size: 0.85rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: white;
        border: 1px solid #e4e8e6;
        border-radius: 16px;
        padding: 10px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 14px 16px;
        border-radius: 10px;
    }

    .nav-links a:hover {
        background: #f4f7f6;
        opacity: 1;
    }

    .nav-button {
        margin-left: 0;
        margin-right: 14px;
        font-size: 0.85rem;
        padding: 9px 15px;
        white-space: nowrap;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 44px;
        padding: 68px 0 76px;
    }

    .hero h1,
    html[lang="pt-BR"] .hero h1 {
        font-size: clamp(3rem, 9vw, 4.4rem);
        letter-spacing: -3px;
    }

    .hero-visual {
        width: min(680px, 100%);
        margin: 0 auto;
    }

    .hero-visual img {
        aspect-ratio: 16 / 10;
        object-position: center;
    }

    .section {
        padding: 80px 0;
    }

    .services-grid,
    .reviews-grid,
    .about-grid,
    .quote-container {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 50px;
    }

    .quote-container {
        gap: 36px;
    }

    .quote-container h2 {
        font-size: 2.2rem;
    }

    .form-placeholder {
        padding: 30px;
    }

    .footer-container {
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .demo-long {
        display: none;
    }

    .demo-short {
        display: inline;
    }

    .nav-button {
        display: none;
    }

    .mobile-language-link {
        margin-right: 12px;
    }

    .mobile-quote-link {
        display: block;
        background: #174f3f;
        color: white;
        margin-top: 6px;
    }

    .hero-grid {
        padding: 56px 0 66px;
        gap: 36px;
    }

    .hero h1,
    html[lang="pt-BR"] .hero h1 {
        font-size: clamp(2.65rem, 12vw, 3.55rem);
        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 1.08rem;
    }

    .hero-buttons .button {
        width: 100%;
        text-align: center;
    }

    .hero-visual::before {
        inset: 12px -10px -12px 10px;
        border-radius: 24px;
    }

    .hero-visual img {
        border-radius: 24px;
    }

    .form-placeholder {
        padding: 26px;
    }

    .form-placeholder .button {
        width: 100%;
        text-align: center;
    }

    .footer-demo-note {
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .demo-label {
        display: none;
    }

    .demo-banner-inner {
        font-size: 0.68rem;
    }

    .logo-mark {
        width: 30px;
        height: 30px;
    }

    .logo span {
        font-size: 1.08rem;
    }
}
