/*
    Globcity
    Homepage stylesheet

    Este ficheiro contém toda a apresentação visual da homepage.

    O HTML utiliza classes específicas e este CSS foi escrito
    especificamente para essas classes.
*/


/* =========================================================
   VARIÁVEIS
   ========================================================= */

:root {

    --green: #183d35;
    --green-dark: #102c27;
    --green-soft: #e8efec;

    --burgundy: #6f3034;
    --gold: #b79a62;

    --cream: #f7f4ee;
    --cream-dark: #eee9df;

    --white: #ffffff;

    --text: #2b2b29;
    --text-soft: #6e6a62;

    --line: #ded9cf;

    --max-width: 1180px;

}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    background: var(--white);

    color: var(--text);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    line-height: 1.7;

}


img {
    max-width: 100%;
    height: auto;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   ELEMENTOS GERAIS
   ========================================================= */

.container {

    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin-left: auto;
    margin-right: auto;

}


.section-label {

    margin: 0 0 24px;

    color: var(--gold);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.22em;

    text-transform: uppercase;

}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 10;

}


.header-inner {

    min-height: 105px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border-bottom: 1px solid rgba(255, 255, 255, 0.18);

}


.brand {

    display: flex;

    flex-direction: column;

    line-height: 1;

}


.brand-name {

    color: var(--white);

    font-size: 28px;

    letter-spacing: 0.03em;

}


.brand-tagline {

    margin-top: 8px;

    color: rgba(255, 255, 255, 0.68);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    letter-spacing: 0.14em;

    text-transform: uppercase;

}


.main-navigation {

    display: flex;

    align-items: center;

    gap: 34px;

}


.main-navigation a {

    position: relative;

    color: rgba(255, 255, 255, 0.88);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


.main-navigation a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width 0.25s ease;

}


.main-navigation a:hover::after {

    width: 100%;

}


/* =========================================================
   HERO
   ========================================================= */

.hero {

    position: relative;

    min-height: 780px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            115deg,
            var(--green-dark) 0%,
            var(--green) 60%,
            #31574d 100%
        );

}


.hero::before {

    content: "";

    position: absolute;

    width: 650px;
    height: 650px;

    right: -180px;
    top: 80px;

    border: 1px solid rgba(183, 154, 98, 0.22);

    border-radius: 50%;

}


.hero::after {

    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -60px;
    top: 195px;

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 50%;

}


.hero-content {

    position: relative;

    z-index: 2;

    max-width: 760px;

    padding-top: 90px;

}


.eyebrow {

    margin: 0 0 28px;

    color: var(--gold);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.24em;

}


.hero h1 {

    max-width: 850px;

    margin: 0;

    color: var(--white);

    font-size: clamp(
        54px,
        7vw,
        92px
    );

    font-weight: 400;

    line-height: 0.98;

    letter-spacing: -0.035em;

}


.hero-description {

    max-width: 570px;

    margin: 36px 0 42px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 19px;

    line-height: 1.65;

}


/* =========================================================
   BOTÕES
   ========================================================= */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 52px;

    padding: 0 30px;

    border: 1px solid transparent;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.16em;

    text-transform: uppercase;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;

}


.button:hover {

    transform: translateY(-2px);

}


.button-primary {

    background: var(--white);

    color: var(--green);

}


.button-primary:hover {

    background: var(--cream);

}


.button-secondary {

    border-color: var(--green);

    color: var(--green);

}


.button-secondary:hover {

    background: var(--green);

    color: var(--white);

}


.button-light {

    border-color: var(--white);

    color: var(--white);

}


.button-light:hover {

    background: var(--white);

    color: var(--green);

}


/* =========================================================
   PRINCÍPIO
   ========================================================= */

.principle {

    padding: 150px 0 145px;

    background: var(--cream);

}


.principle-content {

    max-width: 900px;

}


.principle h2 {

    max-width: 850px;

    margin: 0 0 46px;

    color: var(--green);

    font-size: clamp(
        42px,
        5vw,
        68px
    );

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.025em;

}


.principle-text {

    max-width: 720px;

}


.principle-text p {

    margin: 0 0 24px;

    color: var(--text-soft);

    font-size: 20px;

    line-height: 1.75;

}


.principle-text strong {

    color: var(--text);

    font-weight: 400;

}


.principle-quote {

    display: flex;

    gap: 20px;

    margin-top: 65px;

    padding-top: 32px;

    border-top: 1px solid var(--line);

}


.quote-mark {

    color: var(--burgundy);

    font-size: 58px;

    line-height: 0.7;

}


.principle-quote p {

    max-width: 650px;

    margin: 0;

    color: var(--green);

    font-size: 23px;

    font-style: italic;

    line-height: 1.55;

}


/* =========================================================
   DIFERENÇA
   ========================================================= */

.difference {

    padding: 145px 0;

    background: var(--white);

}


.section-heading {

    max-width: 780px;

    margin-bottom: 75px;

}


.section-heading h2 {

    margin: 0 0 28px;

    color: var(--green);

    font-size: clamp(
        42px,
        5vw,
        65px
    );

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.025em;

}


.section-heading > p:last-child {

    max-width: 650px;

    margin: 0;

    color: var(--text-soft);

    font-size: 18px;

}


.difference-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid var(--line);

    border-left: 1px solid var(--line);

}


.difference-card {

    min-height: 310px;

    padding: 35px 30px;

    border-right: 1px solid var(--line);

    border-bottom: 1px solid var(--line);

    transition:
        background 0.25s ease,
        transform 0.25s ease;

}


.difference-card:hover {

    background: var(--cream);

}


.card-number {

    display: block;

    margin-bottom: 55px;

    color: var(--gold);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.15em;

}


.difference-card h3 {

    margin: 0 0 15px;

    color: var(--green);

    font-size: 27px;

    font-weight: 400;

}


.difference-card p {

    margin: 0;

    color: var(--text-soft);

    font-size: 15px;

    line-height: 1.7;

}


/* =========================================================
   EXPERIÊNCIAS
   ========================================================= */

.experiences {

    padding: 145px 0;

    background: var(--cream);

}


.experience-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.experience-card {

    position: relative;

    min-height: 520px;

    overflow: hidden;

    display: flex;

    align-items: flex-end;

    background:
        linear-gradient(
            160deg,
            var(--green),
            var(--green-dark)
        );

}


.experience-card::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 75% 20%,
            rgba(183, 154, 98, 0.35),
            transparent 32%
        );

    opacity: 0.9;

}


.experience-christmas {

    background:
        linear-gradient(
            145deg,
            #6f3034,
            #32191b
        );

}


.experience-chestnuts {

    background:
        linear-gradient(
            145deg,
            #8b633c,
            #3e2b1c
        );

}


.experience-halloween {

    background:
        linear-gradient(
            145deg,
            #342d3c,
            #17141d
        );

}


.experience-content {

    position: relative;

    z-index: 2;

    width: 100%;

    padding: 34px;

    color: var(--white);

}


.experience-category {

    display: block;

    margin-bottom: 18px;

    color: var(--gold);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.18em;

}


.experience-card h3 {

    margin: 0 0 12px;

    font-size: 42px;

    font-weight: 400;

}


.experience-card p {

    max-width: 320px;

    margin: 0 0 28px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 15px;

}


.experience-link {

    display: inline-block;

    padding-bottom: 7px;

    border-bottom: 1px solid var(--gold);

    color: var(--white);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.12em;

    text-transform: uppercase;

}


/* =========================================================
   TEMPLATES
   ========================================================= */

.templates {

    padding: 105px 0;

    background: var(--white);

}


.templates-content {

    display: grid;

    grid-template-columns:
        1.3fr
        0.7fr;

    gap: 80px;

    align-items: center;

}


.templates h2 {

    max-width: 720px;

    margin: 0;

    color: var(--green);

    font-size: clamp(
        38px,
        4vw,
        58px
    );

    font-weight: 400;

    line-height: 1.08;

}


.templates-action {

    padding-left: 40px;

    border-left: 1px solid var(--line);

}


.templates-action p {

    margin: 0 0 30px;

    color: var(--text-soft);

    font-size: 16px;

}


/* =========================================================
   CONTACTO
   ========================================================= */

.contact {

    padding: 145px 0;

    background: var(--green);

    color: var(--white);

}


.contact-content {

    max-width: 900px;

}


.contact .section-label {

    color: var(--gold);

}


.contact h2 {

    margin: 0 0 32px;

    font-size: clamp(
        44px,
        5vw,
        68px
    );

    font-weight: 400;

    line-height: 1.05;

    letter-spacing: -0.025em;

}


.contact p {

    max-width: 600px;

    margin: 0 0 12px;

    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;

}


.contact-email {

    display: inline-block;

    margin: 10px 0 38px;

    color: var(--white);

    font-size: 21px;

    border-bottom: 1px solid var(--gold);

}


.contact-email:hover {

    color: var(--gold);

}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

    padding: 38px 0;

    background: var(--green-dark);

}


.footer-inner {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

}


.footer-brand {

    color: var(--white);

    font-size: 23px;

}


.footer-tagline {

    margin: 5px 0 0;

    color: rgba(255, 255, 255, 0.48);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    letter-spacing: 0.1em;

    text-transform: uppercase;

}


.footer-right {

    display: flex;

    gap: 25px;

    color: rgba(255, 255, 255, 0.42);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    letter-spacing: 0.08em;

    text-transform: uppercase;

}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 900px) {


    .difference-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .experience-grid {

        grid-template-columns:
            1fr;

    }


    .experience-card {

        min-height: 430px;

    }


    .templates-content {

        grid-template-columns:
            1fr;

        gap: 40px;

    }


    .templates-action {

        padding-left: 0;

        padding-top: 30px;

        border-left: 0;

        border-top: 1px solid var(--line);

    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 650px) {


    .container {

        width: min(
            calc(100% - 34px),
            var(--max-width)
        );

    }


    .site-header {

        position: absolute;

    }


    .header-inner {

        min-height: 85px;

    }


    .main-navigation {

        display: none;

    }


    .brand-name {

        font-size: 24px;

    }


    .brand-tagline {

        font-size: 8px;

    }


    .hero {

        min-height: 680px;

    }


    .hero-content {

        padding-top: 80px;

    }


    .hero h1 {

        font-size: clamp(
            48px,
            14vw,
            68px
        );

    }


    .hero-description {

        font-size: 17px;

    }


    .principle,
    .difference,
    .experiences,
    .contact {

        padding-top: 95px;

        padding-bottom: 95px;

    }


    .principle h2,
    .section-heading h2,
    .contact h2 {

        font-size: 42px;

    }


    .principle-text p {

        font-size: 18px;

    }


    .principle-quote {

        margin-top: 45px;

    }


    .principle-quote p {

        font-size: 19px;

    }


    .difference-grid {

        grid-template-columns:
            1fr;

    }


    .difference-card {

        min-height: auto;

    }


    .experience-card {

        min-height: 390px;

    }


    .templates {

        padding: 80px 0;

    }


    .templates h2 {

        font-size: 40px;

    }


    .footer-inner {

        align-items: flex-start;

        flex-direction: column;

    }


    .footer-right {

        flex-direction: column;

        gap: 7px;

    }

}


/* =========================================================
   ACESSIBILIDADE
   ========================================================= */

:focus-visible {

    outline: 2px solid var(--gold);

    outline-offset: 5px;

}


/*
    Pessoas que preferem reduzir animações no sistema
    não recebem movimentos desnecessários.
*/

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }

}