:root {
    --bg-creme: #f9f6f1;
    --bg-lilac: #f0eef7;
    --dark-blue: #436372;
    --accent-orange: #d66d58;
    --text-main: #333;
    --white: #ffffff;
}

/* --- Global --- */


/* recaptcha */
.grecaptcha-badge {
    display: none !important;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-creme);
    color: var(--text-main);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
}

/* --- Header & Menu --- */
header {
    padding: 10px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    position: relative;
    top: 0;
    z-index: 2000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

header img {
    height: 55px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 2100;
}

.menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s;
}

/* --- Estrutura de Blocos --- */
.block {
    padding: 40px 8%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.flex-container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.flex-item {
    flex: 1;
    min-width: 300px;
}

/* Bloco 1: Hero */
.headline-top {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}

.headline-top h1 {
    font-size: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.hero-img {
    width: 100%;
    max-width: 480px;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

footer {
    background-color: #3a5562;
}

.carolns-infos--footer {
    background-color: #3a5562;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 0;
}

.cns--infos--item img {
    width: 170px;
}

.cns--infos--item p {
    color: #fff;
    font-size: 14px;
}

/* Marcas */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 20px;
}

.brands-grid img {
    width: 113px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: 0.4s;
}

.brands-grid img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* --- Contato (Estilo Print) --- */
.contact-section {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 60px 8%;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-buttons {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Botões de contato bonitos */
.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 25px;
    background: var(--accent-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
    max-width: 314px;
    font-size: 14px;
}

a.contact-btn span {
    margin-right: 7px;
}

.contact-btn.alt {
    background: transparent;
    /* border: 1px solid var(--white); */
    background-color: rgb(214, 109, 88);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.contact-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 6px;
}

.btn-submit {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    padding: 16px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    border-radius: 50px;
    text-transform: uppercase;
    transition: 0.3s;
}

/* --- Responsividade Mobile --- */
@media (max-width: 768px) {
    header {
        padding: 15px 5%;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        right: 0;
    }

    nav a {
        font-size: 18px;
        color: var(--text-main);
    }

    .block {
        padding: 30px 5%;
    }

    .headline-top h1 {
        font-size: 1.8rem;
    }

    .flex-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-img {
        max-width: 100%;
    }

    .contact-btn {
        margin: 0 auto;
        width: 100%;
    }
}

::placeholder {
    color: #fff;
    /* Defina a cor desejada */
    opacity: 1;
    /* Necessário para o Firefox */
}

/* Firefox 18- */
:-moz-placeholder {
    color: #fff;
}

/* Internet Explorer 10-11 */
:-ms-input-placeholder {
    color: #fff;
}

/* sobre /  quem somos */

.sobre {
    background-color: var(--off-white);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 47px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.img-full {
    width: 100%;
    border-radius: 20px;
    height: auto;
    /* height: 556px;
            object-fit: cover;
            object-position: bottom; */
}

.section-label {
    color: #ed5838;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 20px;
    display: block;
}

.bold-text {
    font-weight: 600;
    margin-top: 20px;
}

#sobre h2 {
    /* font-size: 3rem !important; */
    margin-bottom: 30px;
    text-align: left;
}


@media(max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    #sobre h2 {
        font-size: 13px !important;
        text-align: left;
    }

    .projetos-carol-ct-mob {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .projeto-carol-item {
        width: 47% !important;
    }

    .grid-servicos {
        display: flex;
        flex-direction: column;
    }

    .antesexecut,
    .servicos-item {
        width: auto !important;
    }

    .how-to-work-item {
        width: auto !important;
    }

    .grid-how-towork {
        display: flex;
        flex-wrap: wrap;
    }

    .hero-content h1 {
        font-size: 1rem !important;
    }

    /* footer */
    .carolns-infos--footer {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cns--infos--item {
        padding: 4px 0px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cns--infos--item img {
        width: 125px;
        margin-bottom: 10px;
    }

    .cns--infos--item p {
        color: #fff;
        font-size: 12px;
    }


}


.antesexecut {
    text-align: center;
    width: 72%;
}

/* .antesexecut h2 {
            margin-bottom: 41px;
            font-size: 2rem;
            text-align: center;

            font-family: 'inter', sans-serif;
        } */

.antesexecut h2 {
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ed5838;
    font-family: 'inter', sans-serif;
    text-transform: uppercase;
    margin-bottom: 41px;
    text-align: center;
}

.antesexecut p {
    margin-bottom: 27px;
}

.antesexecut span {
    font-size: 14px;
    font-style: italic;
    color: #436372;
}

.antesexec {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EDE6D8;
}

/* .projeto-carol-item {
            width: 232px;
            overflow: hidden;
            background-color: #fff;
            height: 202px;
            display: flex;
            flex-direction: column;
            border-radius: 9px;
            align-items: center;
        }

        .projeto-carol-item img {
            object-fit: cover;
            height: 151px;
            width: 100%;
            object-position: center;
        } */

.projeto-carol-item {
    width: 233px;
    overflow: hidden;
    background-color: #fff;
    height: 287px;
    display: flex;
    flex-direction: column;
    border-radius: 9px;
    align-items: center;
}

/* 
versão anterior que funcionava
.projeto-carol-item img {
    object-fit: cover;
    height: 256px;
    width: 100%;
    object-position: top;
} */

.projeto-carol-item img {
    object-fit: cover;
    height: 234px;
    width: 100%;
    object-position: top;
}

.projeto-carol-item h3 {
    padding: 6px;
    color: #000;
    font-size: 14px;
    font-family: 'inter', sans-serif;
}

.grid-projetos-carolnegri {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    max-width: 983px;
    margin: 0 auto;
}

/* .parallax-bg {
            background-attachment: fixed;
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
        }

        #estrategia{
            background-image: url(./img/fundo-oque-fazemos.jpg);
            background-size: cover;
            background-position: center center;
            background-color: #436372;
        } */


.grid-servicos {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
}

.servicos-item {
    background-color: #fff;
    border-radius: 5px;
    width: 360px;
    padding: 2rem;
    height: 504px;

    .shadow {
        box-shadow: 0px 4px 18px -6px rgba(0, 0, 0, 0.25);
    }
}

.servicos-item h3 {
    color: rgb(83, 136, 152);
    border-bottom: rgb(217, 215, 211) 1px solid;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.servicos-item ul li {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 16px;
    align-items: flex-start;
}

.servicos-item svg {
    min-width: 20px;
    margin-right: 4px;
}

.a2-emdese {
    color: rgb(47, 47, 47);
    border-color: rgb(217, 215, 211);
    font-style: italic;
    border-top: solid 1px #ddd;
    padding-top: 10px;
}

.footer-social a {
    text-decoration: none;
    color: #fff;
    background-color: #6594a357;
    padding: 10px;
    margin: 0 3px;
    overflow: hidden;
    border-radius: 7px;
    display: flex;
    width: 47px;
}

.footer-social {
    display: flex;
}

.footer-social a:nth-child(1) {
    margin-left: 0px;
}

.grid-how-towork {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1200px;
}

.how-to-work-item {
    width: 41.1vw;
}

.how-to-work-item img {
    height: 100%;
    width: 100%;
    border-radius: 12px;
}

.hearo-section {
    width: 100%;
    height: 287px;
    background-color: #F0EEF7;
}

/* HERO SECTION ::::::::::::::::::::::::::::::::::::::::::: */

.hero {
    min-height: 80vh;
    /* Reduzi a altura para evitar espaço vazio excessivo */
    width: 100%;
    background-size: cover;
    background-position: center center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 20px;

    /* --- TRUQUES DE QUALIDADE --- */
    image-rendering: -webkit-optimize-contrast;
    /* Melhora nitidez em navegadores Chrome/Safari */
    backface-visibility: hidden;
    /* Evita tremores de renderização */
    /* ---------------------------- */
}

.hero-content {
    max-width: 900px;
    text-align: center;
    color: #ffffff;
}

.logo {
    width: 180px;
    /* Tamanho da logo reduzido */
    margin-bottom: 20px;
    /* Espaço curto abaixo da logo */
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    /* Espaço reduzido entre título e subtítulo */
    font-weight: 700;
    font-family: 'inter', sans-serif;
}

.coral {
    color: #eb6646;
    /* Cor coral extraída da sua logo */
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 30px;
    /* Espaço equilibrado antes do botão */
    opacity: 0.9;
    font-family: 'inter', sans-serif;
}

.btn-cta {
    display: inline-block;
    background-color: #eb6646;
    color: #ffffff;
    padding: 12px 35px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.2s ease;
    font-family: 'inter', sans-serif;
}

.btn-cta:hover {
    transform: scale(1.05);
    /* Efeito suave ao passar o rato */
}

/* Ajuste para ecrãs pequenos (Telemóveis) */
@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

    .hero {
        min-height: 60vh;
    }

    .servicos-item {
        height: auto;
    }

}

details.caral-languags {
    background: #fff;
    border-radius: 31px;
    padding: 0px 0px;
    max-width: 130px;
    font-size: 13px;
    color: #000;
    cursor: pointer;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: solid 1px #7e7e7e;
}

details.caral-languags summary {
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 0 13px;
}

details.caral-languags a {
    font-size: 13px;
    color: #000;
    margin: 0;
    font-weight: normal;
    padding: 0 13px;
    display: flex;
    align-items: center;
    justify-content: start;
    text-transform: capitalize;
}

details.caral-languags span {
    padding: 0 5px;
}

@media(max-width:420px) {

    .grid-projetos-carolnegri {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: column;
        width: 500px;
        margin: 0;
    }

    .servicos-item {
        height: auto;
    }

    .contact-btn {
        max-width: 283px;
    }

    .hero {
        min-height: 58vh;
    }


}