@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;300;400;500;600;700;800&display=swap');

:root {
    /* Paleta baseada na logo (dourado sobre preto) */
    --black: #000000;
    --dark: #0d0d0d;
    --dark-2: #1a1a1a;
    --gold: #c9a227;
    --gold-light: #f0d27a;
    --gold-dark: #9c7a17;
    --gold-gradient: linear-gradient(135deg, #f0d27a 0%, #c9a227 45%, #9c7a17 100%);
    --cream: #f7f4ec;
    --text-dark: #1a1a1a;
    --text-muted: #5c5a55;
    --text-light: #d9d4c7;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-nav {
    height: 80px;
    width: auto;
    display: block;
}

.logo-div {
    display: flex;
    cursor: pointer;
    transition: transform 0.8s;
}

.logo-div:hover {
    transform: scale(1.05);
}

header {
    position: absolute;
    z-index: 9999;
    width: 100%;
    top: 0;
    left: 0;
    height: 110px;
    background-color: transparent;
}

header nav {
    max-width: 96vw;
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header ul {
    display: flex;
    list-style: none;
    align-items: center;
}

header ul a {
    text-decoration: none;
    color: var(--text-light);
    padding: 0 1.5rem;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: 175ms;
}

header ul a:hover {
    color: var(--gold);
}

@media (max-width: 768px) {

    header {
        height: 80px;
    }

    header nav {
        padding: 0 0.75rem;
    }

    .logo-nav {
        height: 50px;
    }

    .nav-secondary {
        display: none;
    }

    header ul a {
        padding: 0 0.5rem;
        font-size: 0.9rem;
    }
}

.main-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../imgs/s3.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: center;
}

.main-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0.9) 100%);
}

.main-text {
    position: relative;
    color: #fff;
    text-align: center;
    padding: 1rem;
    padding-top: 110px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.main-text-box {
    max-width: 800px;
    margin: 0 auto;
}

.main-tag {
    display: inline-block;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.main-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #FFF;
}

.main-text p {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.fale-conosco {
    display: inline-block;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 15px 30px;
    font-size: 1.3rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.fale-conosco:hover {
    background-color: var(--gold);
    color: var(--black);
}

@media (max-width: 768px) {
    .main-text h2 {
        font-size: 2rem;
    }

    .main-text p {
        font-size: 1rem;
    }

    .fale-conosco {
        font-size: 1rem;
        letter-spacing: 3px;
    }
}

/* Diferenciais */

.diferenciais {
    background-color: var(--dark);
    padding: 80px 20px;
}

.diferenciais-container {
    max-width: 1200px;
    margin: 0 auto;
}

.diferenciais-header {
    text-align: center;
    margin-bottom: 50px;
}

.diferenciais-header h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.diferenciais-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.diferencial-item {
    background-color: var(--dark-2);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 8px;
    padding: 2em 1.5em;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}

.diferencial-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.diferencial-item i {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.diferencial-item h3 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.diferencial-item p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .diferenciais-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }

    .diferenciais-header h2 {
        font-size: 2rem;
    }
}

/* Serviços */

.services-section {
    background-color: var(--cream);
    width: 100%;
    display: grid;
    place-items: center;
    padding-bottom: 3em;
}

.services-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    padding-bottom: 3rem;
    padding-top: 3rem;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.column {
    width: 100%;
    padding: 0 1em 1em 1em;
    text-align: center;
}

.card {
    width: 100%;
    height: 100%;
    padding: 2em 1.5em;
    background: linear-gradient(#ffffff 50%, var(--black) 50%);
    background-size: 100% 200%;
    background-position: 0 2.5%;
    border-radius: 5px;
    border-top: 3px solid var(--gold);
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: 0.5s;
}

.services-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1em 0;
}

.services-section p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: 0.03em;
}

.icon-wrapper {
    background-color: var(--black);
    position: relative;
    margin: auto;
    font-size: 30px;
    height: 2.5em;
    width: 2.5em;
    color: var(--gold);
    border-radius: 50%;
    display: grid;
    place-items: center;
    transition: 0.5s;
}

.card:hover {
    background-position: 0 100%;
}

.card:hover .icon-wrapper {
    background-color: var(--gold);
    color: var(--black);
}

.card:hover h3 {
    color: var(--gold);
}

.card:hover p {
    color: var(--text-light);
}

@media screen and (min-width: 768px) {
    .services-section {
        padding: 0 2em 3em;
    }

    .column {
        flex: 0 50%;
        max-width: 50%;
    }
}

@media screen and (min-width: 992px) {
    .services-section {
        padding: 1em 3em 4em;
    }

    .column {
        flex: 0 0 33.33%;
        max-width: 33.33%;
    }
}

/* Como funciona */

.como-funciona {
    background-color: var(--black);
    padding: 80px 20px;
}

.como-funciona-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.como-funciona h2 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.como-funciona-sub {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.etapas {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.etapa {
    position: relative;
    padding: 0 10px;
}

.etapa-numero {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    color: var(--gold);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
}

.etapa h3 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.etapa p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (min-width: 992px) {
    /* linha dourada ligando as etapas */
    .etapa:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 35px;
        left: calc(50% + 45px);
        width: calc(100% - 60px);
        height: 1px;
        background: linear-gradient(90deg, var(--gold), transparent);
    }
}

@media (max-width: 991px) {
    .etapas {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 45px;
    }
}

@media (max-width: 600px) {
    .etapas {
        grid-template-columns: 1fr;
    }

    .como-funciona h2 {
        font-size: 2rem;
    }
}

/* Contato */

.contact-section {
    background-color: var(--cream);
    padding: 80px 20px 60px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    color: var(--gold-dark);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.contact-header h2 {
    color: var(--text-dark);
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.contact-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.contact-card {
    display: grid;
    grid-template-columns: 2fr 3fr;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.contact-info {
    position: relative;
    background-color: var(--black);
    color: #fff;
    padding: 45px 40px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* detalhe dourado no canto do painel */
.contact-info::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 39, 0.35);
    box-shadow: 0 0 0 30px rgba(201, 162, 39, 0.05);
    pointer-events: none;
}

.contact-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 35px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 1.1rem;
}

.contact-list h4 {
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.contact-list p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    word-break: break-word;
}

.contact-list a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list a:hover {
    color: var(--gold-light);
}

.contact-whatsapp {
    position: relative;
    z-index: 1;
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border: 1px solid var(--gold);
    border-radius: 50px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.contact-whatsapp i {
    font-size: 1.3rem;
}

.contact-whatsapp:hover {
    background-color: var(--gold);
    color: var(--black);
}

.contact-form {
    padding: 45px 50px;
    display: flex;
    flex-direction: column;
}

.contact-form h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.input-box {
    position: relative;
    margin-bottom: 28px;
}

.input-box input,
.input-box textarea {
    width: 100%;
    padding: 12px 0 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid #cfcabd;
    outline: none;
    resize: none;
    transition: border-color 0.3s;
}

.input-box input:focus,
.input-box textarea:focus {
    border-bottom-color: var(--gold);
}

.input-box label {
    position: absolute;
    left: 0;
    top: 12px;
    color: #8a877f;
    font-size: 1rem;
    pointer-events: none;
    transition: 0.3s;
}

/* label flutuante: sobe quando o campo está em foco ou preenchido */
.input-box input:focus+label,
.input-box textarea:focus+label,
.input-box input:not(:placeholder-shown)+label,
.input-box textarea:not(:placeholder-shown)+label {
    top: -10px;
    font-size: 0.75rem;
    color: var(--gold-dark);
    letter-spacing: 1px;
}

.contact-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    background: var(--gold-gradient);
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-submit i {
    font-size: 1.3rem;
}

.contact-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(201, 162, 39, 0.4);
}

.contact-note {
    margin-top: 12px;
    text-align: center;
    color: #8a877f;
    font-size: 0.8rem;
}

.contact-map {
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    line-height: 0;
}

.contact-map iframe {
    width: 100%;
    height: 350px;
    border: 0;
    filter: grayscale(0.4);
}

@media (max-width: 991px) {
    .row {
        flex-direction: column;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #row-first {
        text-align: center;
    }

    .services-section h2,
    .contact-header h2 {
        font-size: 2.2rem;
    }

    .contact-section {
        padding: 60px 16px 40px;
    }

    .contact-info,
    .contact-form {
        padding: 35px 25px;
    }

    .contact-map iframe {
        height: 280px;
    }
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f0f0;
    color: #25d366;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    text-align: center;
    font-size: 3rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transition: 0.3s ease-in-out;
}

.whatsapp-button a:hover {
    color: #128c7e;
    scale: 1.15;
    transition: 0.4s ease-in-out;
}

.footer {
    margin-top: 4vh;
    padding-top: 3vh;
    padding-bottom: 5vh;
    background: var(--black);
    border-top: 1px solid rgba(201, 162, 39, 0.35);
    color: #fff;
}

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

.footer__redes-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 45px auto;
    list-style: none;
}

.footer__redes-wrapper li {
    display: inline-block;
    transition: color 0.3s;
}

.footer__redes-wrapper li:hover {
    color: var(--gold);
}

.footer__link {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.footer .fa-brands {
    margin-right: 1vh;
}

.footer__texto {
    color: #888;
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    justify-content: center;
}
