
/* ==================================
   ALTIER GROUP
   LUXURY EDITORIAL CORPORATE
================================== */

/* 1. CONFIGURAÇÕES GERAIS */

:root {
    --navy: #08182D;
    --blue: #173B63;
    --blue-light: #A9C6E5;
    --ivory: #EAE6DF;
    --white: #FFFFFF;
    --gray: #A7B0BC;
    --dark-text: #142238;

    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'DM Sans', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--sans);
    color: var(--dark-text);
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.section {
    padding: 110px 0;
}

.eyebrow {
    display: block;
    font-size: 10px;
    letter-spacing: 2.5px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 25px;
}


/* 2. HEADER */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--navy);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar {
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    flex-direction: column;
    color: var(--white);
    width: fit-content;
}

.brand-name {
    font-family: var(--serif);
    font-size: 27px;
    letter-spacing: 3px;
}

.brand-subtitle {
    font-size: 9px;
    letter-spacing: 5px;
    text-align: center;
    margin-top: 2px;
    color: var(--blue-light);
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav a {
    color: #D5DFEB;
    font-size: 12px;
    transition: 0.3s;
}

.nav a:hover {
    color: var(--white);
}

.nav .nav-contact {
    border: 1px solid rgba(255,255,255,0.35);
    padding: 12px 18px;
}

.menu-toggle {
    display: none;
}


/* 3. HERO */

.hero {
    background: var(--navy);
    color: var(--white);
    padding: 100px 0 30px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 65px;
}

.hero .eyebrow {
    color: var(--blue-light);
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(42px, 5.5vw, 70px);
    line-height: 1.12;
    font-weight: 400;
    max-width: 700px;
}

.hero h1 em,
.about h2 em,
.portfolio h2 em,
.contact h2 em {
    font-weight: 400;
    color: var(--blue-light);
}

.hero-description {
    color: #B8C6D7;
    font-size: 14px;
    line-height: 1.9;
    max-width: 470px;
    margin-top: 25px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 35px;
}

.button {
    display: inline-block;
    padding: 16px 23px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.button-primary {
    background: var(--ivory);
    color: var(--navy);
}

.button-primary:hover {
    background: var(--white);
    transform: translateY(-3px);
}

.text-link {
    color: var(--white);
    font-size: 12px;
    border-bottom: 1px solid #6D8199;
    padding-bottom: 5px;
}

.hero-visual {
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.visual-frame {
    width: 100%;
    max-width: 400px;
    height: 440px;

    background:
        linear-gradient(
            rgba(8, 24, 45, 0.10),
            rgba(8, 24, 45, 0.45)
        ),
        url("../assets/images/hero-architecture.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;
}

/* Remover os elementos abstratos antigos */
.visual-frame::before,
.visual-frame::after {
    display: none;
}


.visual-number,
.visual-caption {
    position: absolute;
    z-index: 2;
    font-size: 9px;
    letter-spacing: 2px;
    color: var(--white);
}

.visual-number {
    top: 25px;
    left: 25px;
}

.visual-caption {
    bottom: 25px;
    left: 25px;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 75px;
    padding-top: 22px;
    color: #A7B7C9;
    font-size: 9px;
    letter-spacing: 1.5px;
}


/* 4. ABOUT */

.about {
    background: var(--ivory);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.about h2,
.section-heading h2,
.contact h2 {
    font-family: var(--serif);
    font-size: clamp(38px, 4.5vw, 57px);
    font-weight: 400;
    line-height: 1.2;
}

.about h2 em {
    color: var(--blue);
}

.about-description {
    padding-top: 35px;
}

.about-description p {
    color: #536173;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 20px;
}

.dark-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin-top: 12px;
    border-bottom: 1px solid var(--blue);
    padding-bottom: 7px;
}


/* 5. SERVICES */

.services {
    background: var(--white);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

.section-heading > p {
    max-width: 350px;
    color: #697586;
    font-size: 13px;
    line-height: 1.9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #DCE1E7;
}

.service-card {
    min-height: 270px;
    padding: 35px 28px;
    border-right: 1px solid #DCE1E7;
    position: relative;
    transition: 0.3s;
}

.service-card:first-child {
    border-left: 1px solid #DCE1E7;
}

.service-card:hover {
    background: #F7F9FC;
}

.service-number {
    color: #8292A5;
    font-size: 11px;
}

.service-card h3 {
    font-family: var(--serif);
    font-size: 25px;
    font-weight: 400;
    margin-top: 55px;
}

.service-card p {
    color: #748092;
    font-size: 12px;
    line-height: 1.9;
    margin-top: 12px;
}

.service-arrow {
    position: absolute;
    top: 32px;
    right: 28px;
    color: var(--blue);
}


/* 6. PORTFOLIO */

.portfolio {
    background: #F3F5F8;
}

.portfolio .section-heading {
    margin-bottom: 45px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.project-image {
    min-height: 350px;
    display: flex;
    align-items: flex-start;
    padding: 22px;
    color: white;
    position: relative;
    overflow: hidden;
}

.project-image span {
    position: relative;
    z-index: 2;
    font-size: 11px;
}


.project-barber {
    background:
        linear-gradient(
            rgba(8, 24, 45, 0.08),
            rgba(8, 24, 45, 0.25)
        ),
        url("../assets/images/maison-barber.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.project-restaurant {
    background:
        linear-gradient(
            rgba(8, 24, 45, 0.08),
            rgba(8, 24, 45, 0.25)
        ),
        url("../assets/images/maison-gastro.webp");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.project-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

.project-info h3 {
    font-family: var(--serif);
    font-size: 23px;
    font-weight: 400;
}

.project-info p {
    color: #788493;
    font-size: 11px;
    margin-top: 6px;
}

.project-info > span {
    font-size: 20px;
}

.portfolio-note {
    margin-top: 30px;
    color: #788493;
    font-size: 11px;
}


/* 7. CONTACT */

.contact {
    background: var(--navy);
    color: var(--white);
    text-align: center;
}

.contact .eyebrow {
    color: var(--blue-light);
}

.contact-content {
    max-width: 850px;
}

.contact h2 {
    font-size: clamp(40px, 5vw, 65px);
}

.contact p {
    color: #B8C6D7;
    max-width: 500px;
    margin: 25px auto 35px;
    font-size: 13px;
    line-height: 2;
}

.button-light {
    background: var(--ivory);
    color: var(--navy);
}

.button-light:hover {
    background: white;
    transform: translateY(-3px);
}


/* 8. FOOTER */

.footer {
    background: #051120;
    color: var(--white);
    padding: 35px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-content p,
.footer-content > span {
    color: #91A1B3;
    font-size: 10px;
}

.footer-brand .brand-name {
    font-size: 21px;
}


/* 9. RESPONSIVIDADE */

@media (max-width: 850px) {

    .hero-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-visual {
        min-height: 350px;
    }

    .visual-frame {
        height: 350px;
    }

    .about-grid {
        gap: 40px;
    }

    .nav {
        gap: 18px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
}


@media (max-width: 650px) {

    .section {
        padding: 75px 0;
    }

    .navbar {
        height: 75px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: transparent;
        border: 0;
        cursor: pointer;
        padding: 10px;
    }

    .menu-toggle span {
        width: 25px;
        height: 1px;
        background: white;
    }

    .nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: var(--navy);
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 25px 5% 35px;
        border-top: 1px solid #29415E;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 8px 0;
    }

    .hero {
        padding-top: 75px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .about-description {
        padding-top: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        border-left: 1px solid #DCE1E7;
        border-bottom: 1px solid #DCE1E7;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .project-image {
        min-height: 260px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

.about-image-wrap {
    margin-top: 55px;
}

.about-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* LINKS DOS PROJETOS DO PORTFÓLIO */

.project-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.project-link .project-image {
    overflow: hidden;
}

.project-link:hover .project-image {
    filter: brightness(1.08);
}

.project-link .project-info > span {
    transition: transform 0.3s ease;
}

.project-link:hover .project-info > span {
    transform: translate(4px, -4px);
}


/* CONTATOS ALTIER GROUP */

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
}

.contact-email {
    color: var(--white);
    font-size: 14px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.contact-email:hover {
    opacity: 1;
    text-decoration: underline;
}
