/* ============================================================
   SUGARBRAS INTERNATIONAL®
   MASTER WEBSITE STYLESHEET
   VERSION 4.2
   SOLUTIONS + ABOUT BRAZIL INTEGRATED
   ============================================================ */


/* ============================================================
   01 — VARIABLES
   ============================================================ */

:root {

    --bg-deep: #061713;
    --bg-dark: #09221c;
    --bg-soft: #103229;

    --green: #84b82d;
    --green-light: #a9d44e;
    --green-deep: #2e6b35;

    --gold: #d4b24b;
    --gold-light: #e7cf7a;

    --white: #ffffff;
    --text: #edf3ef;
    --muted: #aab9b1;

    --border: rgba(212, 178, 75, 0.26);
    --border-strong: rgba(212, 178, 75, 0.48);

    --max-width: 1380px;
    --header-height: 104px;

}


/* ============================================================
   02 — RESET
   ============================================================ */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(46, 107, 53, 0.12),
            transparent 38%
        ),
        var(--bg-deep);

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;

    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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


/* ============================================================
   03 — HEADER
   ============================================================ */

.site-header {

    position: sticky;
    top: 0;
    z-index: 1000;

    min-height: var(--header-height);

    background: rgba(4, 25, 20, 0.96);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-bottom: 1px solid var(--border);

}

.header-inner {

    width: min(92%, var(--max-width));
    min-height: var(--header-height);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(220px, 1fr)
        auto
        minmax(150px, 1fr);

    align-items: center;

    gap: 34px;

}


/* ============================================================
   04 — BRAND
   ============================================================ */

.brand {

    display: inline-flex;
    flex-direction: column;

    justify-self: start;

    line-height: 1;

}

.brand-main {

    color: var(--white);

    font-size: 30px;
    font-weight: 900;

    letter-spacing: 0.12em;

}

.brand-sub {

    margin-top: 9px;

    color: var(--green-light);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.38em;

}


/* ============================================================
   05 — NAVIGATION
   ============================================================ */

.main-nav {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 30px;

}

.main-nav a {

    position: relative;

    color: var(--white);

    font-size: 15px;
    font-weight: 700;

    transition: color 0.25s ease;

}

.main-nav a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: var(--green-light);

    transition: width 0.25s ease;

}

.main-nav a:hover {

    color: var(--green-light);

}

.main-nav a:hover::after {

    width: 100%;

}


/* ============================================================
   06 — HEADER CTA
   ============================================================ */

.header-cta {

    justify-self: end;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 138px;

    padding: 14px 24px;

    border: 1px solid var(--gold);

    border-radius: 999px;

    color: var(--gold-light);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 0.04em;

    transition: all 0.25s ease;

}

.header-cta:hover {

    background: var(--gold);

    color: var(--bg-deep);

}


/* ============================================================
   07 — HERO
   ============================================================ */

.hero {

    position: relative;

    min-height: calc(100vh - var(--header-height));

    background-image:
        url("../images/hero-brazil.jpg");

    background-size: cover;

    background-position: center center;

    background-repeat: no-repeat;

    display: flex;

    align-items: stretch;

}

.hero::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 19, 15, 0.06) 0%,
            rgba(3, 19, 15, 0.00) 45%,
            rgba(3, 19, 15, 0.05) 100%
        );

    pointer-events: none;

}

.hero-inner {

    position: relative;

    z-index: 1;

    width: min(92%, var(--max-width));

    margin: 0 auto;

    min-height: calc(100vh - var(--header-height));

    display: flex;

    align-items: flex-end;

}

.hero-content {

    position: absolute;

    width: 1px;

    height: 1px;

    overflow: hidden;

    clip: rect(0 0 0 0);

    clip-path: inset(50%);

    white-space: nowrap;

}


/* ============================================================
   08 — GLOBAL SECTIONS
   ============================================================ */

.section {

    position: relative;

    padding: 120px 0;

}

.section-inner {

    width: min(88%, var(--max-width));

    margin: 0 auto;

}

.section-kicker {

    margin: 0 0 18px;

    color: var(--green-light);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 0.32em;

    text-transform: uppercase;

}

.section h2 {

    max-width: 1020px;

    margin: 0;

    color: var(--white);

    font-size: clamp(50px, 6vw, 92px);

    line-height: 0.98;

    letter-spacing: -0.045em;

    font-weight: 850;

}

.section-intro {

    max-width: 1180px;

    margin: 34px 0 0;

    color: var(--text);

    font-size: 19px;

    line-height: 1.7;

}


/* ============================================================
   09 — SOLUTIONS SECTION
   ============================================================ */

.solutions-section {

    background:

        radial-gradient(
            circle at 50% 10%,
            rgba(132, 184, 45, 0.07),
            transparent 36%
        ),

        var(--bg-deep);

}


/* ============================================================
   10 — SOLUTIONS GRID
   ============================================================ */

.solutions-grid {

    margin-top: 64px;

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 28px;

}


/* ============================================================
   11 — SOLUTION CARD
   ============================================================ */

.solution-card {

    position: relative;

    overflow: hidden;

    border: 1px solid var(--border);

    border-radius: 28px;

    background: rgba(16, 50, 41, 0.55);

    box-shadow:
        0 22px 70px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;

}

.solution-card:hover {

    transform: translateY(-3px);

    border-color: var(--border-strong);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.24);

}


/* ============================================================
   12 — SOLUTION IMAGE
   ============================================================ */

.solution-image {

    position: relative;

    width: 100%;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: var(--bg-dark);

}

.solution-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;

}

.solution-card:hover
.solution-image img {

    transform: scale(1.025);

    filter:
        saturate(1.05)
        contrast(1.025);

}


/* ============================================================
   13 — SOLUTION CONTENT
   ============================================================ */

.solution-card-content {

    position: relative;

    padding: 34px 34px 38px;

}

.solution-number {

    display: inline-block;

    margin-bottom: 12px;

    color: var(--gold);

    font-size: 12px;

    font-weight: 900;

    letter-spacing: 0.25em;

}

.solution-card h3 {

    margin: 0;

    color: var(--white);

    font-size: 31px;

    line-height: 1.12;

    font-weight: 820;

}

.solution-card p {

    margin: 16px 0 0;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;

}


/* ============================================================
   14 — ABOUT BRAZIL
   ============================================================ */

.about-section {

    position: relative;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 10% 40%,
            rgba(46, 107, 53, 0.11),
            transparent 34%
        ),

        var(--bg-dark);

}

.about-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(420px, 0.95fr);

    gap:
        clamp(55px, 6vw, 95px);

    align-items: center;

}

.about-copy {

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 18px 0;

}

.about-label {

    display: block;

    margin-bottom: 34px;

    color: var(--gold-light);

    font-size: 18px;

    font-weight: 750;

}

.about-copy h2 {

    max-width: 760px;

    font-size:
        clamp(58px, 5.45vw, 88px);

    line-height: 0.99;

}

.about-copy p {

    max-width: 760px;

    margin: 34px 0 0;

    color: var(--muted);

    font-size: 18px;

    line-height: 1.82;

}


/* ============================================================
   15 — ABOUT BRAZIL IMAGE
   ============================================================ */

.about-visual {

    position: relative;

    width: 100%;

    aspect-ratio: 4 / 5;

    min-height: 0;

    overflow: hidden;

    border:
        1px solid var(--border-strong);

    border-radius: 34px;

    background: var(--bg-deep);

    box-shadow:
        0 28px 85px rgba(0, 0, 0, 0.28);

    isolation: isolate;

}

.about-visual::after {

    content: "";

    position: absolute;

    inset: 0;

    z-index: 2;

    border-radius: inherit;

    box-shadow:
        inset 0 0 0 1px
        rgba(255, 255, 255, 0.025);

    pointer-events: none;

}

.about-visual img {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    max-width: none;

    object-fit: cover;

    /*
       The source image is already portrait format.
       We therefore preserve its natural composition
       instead of artificially shifting it sideways.
    */

    object-position: 50% 50%;

    border-radius: inherit;

    transition:
        transform 0.7s ease,
        filter 0.7s ease;

}

.about-visual:hover img {

    transform: scale(1.008);

    filter:
        saturate(1.025)
        contrast(1.01);

}


/* ============================================================
   16 — PROJECTS
   ============================================================ */

.projects-section {

    background: var(--bg-deep);

}

.project-panel {

    margin-top: 64px;

    padding: 54px;

    border: 1px solid var(--border);

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(16, 50, 41, 0.75),
            rgba(7, 29, 24, 0.90)
        );

}

.project-panel h3 {

    margin: 0;

    color: var(--white);

    font-size: 34px;

}

.project-panel p {

    max-width: 900px;

    margin: 20px 0 0;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.75;

}


/* ============================================================
   17 — MARKETS
   ============================================================ */

.markets-section {

    background: var(--bg-dark);

}

.markets-grid {

    margin-top: 58px;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}

.market-card {

    min-height: 250px;

    padding: 34px;

    border: 1px solid var(--border);

    border-radius: 24px;

    background:
        rgba(16, 50, 41, 0.58);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;

}

.market-card:hover {

    transform: translateY(-3px);

    border-color: var(--border-strong);

}

.market-card h3 {

    margin: 0;

    color: var(--white);

    font-size: 25px;

}

.market-card p {

    margin: 18px 0 0;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.7;

}


/* ============================================================
   18 — NEWS
   ============================================================ */

.news-section {

    background: var(--bg-deep);

}

.news-panel {

    margin-top: 62px;

    display: grid;

    grid-template-columns:
        240px 1fr;

    gap: 38px;

    padding: 44px;

    border: 1px solid var(--border);

    border-radius: 26px;

    background:
        rgba(16, 50, 41, 0.52);

}

.news-date {

    color: var(--gold);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 0.16em;

}

.news-content h3 {

    margin: 0;

    color: var(--white);

    font-size: 32px;

}

.news-content p {

    margin: 18px 0 0;

    color: var(--muted);

    line-height: 1.7;

}


/* ============================================================
   19 — CONTACT
   ============================================================ */

.contact-section {

    text-align: center;

    background:

        radial-gradient(
            circle at 50% 50%,
            rgba(132, 184, 45, 0.16),
            transparent 34%
        ),

        var(--bg-deep);

}

.contact-section
.section-kicker {

    text-align: center;

}

.contact-section h2 {

    max-width: 1000px;

    margin: 0 auto;

}

.contact-section
.section-intro {

    max-width: 900px;

    margin-left: auto;

    margin-right: auto;

}

.contact-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-top: 42px;

    padding: 18px 34px;

    border-radius: 999px;

    background: var(--green);

    color: #071810;

    font-size: 15px;

    font-weight: 900;

    letter-spacing: 0.07em;

    text-transform: uppercase;

    transition: all 0.25s ease;

}

.contact-link:hover {

    transform: translateY(-2px);

    background: var(--green-light);

}


/* ============================================================
   20 — FOOTER
   ============================================================ */

.site-footer {

    border-top:
        1px solid var(--border);

    background: #04130f;

}

.footer-inner {

    width: min(88%, var(--max-width));

    margin: 0 auto;

    padding: 48px 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 30px;

}

.footer-inner strong {

    color: var(--white);

    font-size: 16px;

}

.footer-inner p {

    margin: 6px 0 0;

    color: var(--muted);

}


/* ============================================================
   21 — LARGE TABLET
   ============================================================ */

@media (max-width: 1180px) {

    :root {
        --header-height: 92px;
    }

    .header-inner {

        grid-template-columns:
            1fr auto;

    }

    .main-nav {

        display: none;

    }

    .about-grid {

        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 0.82fr);

        gap: 48px;

    }

    .about-visual {

        width: 100%;

        aspect-ratio: 4 / 5;

    }

}


/* ============================================================
   22 — TABLET
   ============================================================ */

@media (max-width: 960px) {

    .solutions-grid {

        grid-template-columns: 1fr;

    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 54px;

    }

    .about-copy {

        padding: 0;

    }

    .about-copy h2 {

        max-width: 850px;

    }

    .about-visual {

        width: min(100%, 720px);

        margin: 0 auto;

        aspect-ratio: 4 / 5;

        border-radius: 30px;

    }

    .about-visual img {

        object-position: 50% 50%;

    }

    .markets-grid {

        grid-template-columns: 1fr;

    }

    .news-panel {

        grid-template-columns: 1fr;

    }

}


/* ============================================================
   23 — MOBILE
   ============================================================ */

@media (max-width: 760px) {

    :root {
        --header-height: 82px;
    }

    .header-inner {

        width: 90%;

        gap: 18px;

    }

    .brand-main {

        font-size: 21px;

    }

    .brand-sub {

        font-size: 9px;

        letter-spacing: 0.28em;

    }

    .header-cta {

        min-width: auto;

        padding: 11px 16px;

        font-size: 12px;

    }

    .hero {

        min-height: 72vw;

        background-position: center center;

    }

    .hero-inner {

        min-height: 72vw;

    }

    .section {

        padding: 86px 0;

    }

    .section-inner {

        width: 86%;

    }

    .section h2 {

        font-size:
            clamp(42px, 12vw, 66px);

    }

    .section-intro {

        font-size: 17px;

    }

    .solutions-grid {

        gap: 22px;

    }

    .solution-card {

        border-radius: 20px;

    }

    .solution-image {

        aspect-ratio: 4 / 3;

    }

    .solution-card-content {

        padding: 26px;

    }

    .solution-card h3 {

        font-size: 27px;

    }

    .about-grid {

        gap: 40px;

    }

    .about-label {

        margin-bottom: 24px;

    }

    .about-copy p {

        margin-top: 25px;

        font-size: 17px;

    }

    .about-visual {

        width: 100%;

        aspect-ratio: 4 / 5;

        border-radius: 24px;

    }

    .about-visual img {

        object-position: 50% 50%;

    }

    .project-panel {

        padding: 30px;

    }

    .footer-inner {

        flex-direction: column;

        align-items: flex-start;

    }

}


/* ============================================================
   24 — SMALL MOBILE
   ============================================================ */

@media (max-width: 520px) {

    .brand-sub {

        display: none;

    }

    .header-cta {

        padding: 10px 13px;

    }

    .hero {

        min-height: 76vw;

    }

    .hero-inner {

        min-height: 76vw;

    }

    .section {

        padding: 72px 0;

    }

    .solution-image {

        aspect-ratio: 1 / 1;

    }

    .about-visual {

        width: 100%;

        aspect-ratio: 4 / 5;

        border-radius: 20px;

    }

    .about-visual img {

        object-position: 50% 50%;

    }

    .contact-link {

        width: 100%;

        padding-left: 18px;

        padding-right: 18px;

        font-size: 12px;

    }

}