/* Variáveis globais */
:root {
    --primary-color: #FF0000

    ;
}

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Hero Section */
.hero {
    width: 100%;
    height: 600px;
    background-color: #1a73e8;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url(./images/hero-background-desktop.jpg);
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Container geral */
.container {
    max-width: 800px;
    margin: 0 auto;
}

.hero .container .logo {
    width: 70vw; /* Ocupa 75% da largura do contêiner pai */
    max-width: 600px; /* Limite máximo */
    pointer-events: none;
}

.hero p span {
    font-weight: 700;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero .btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #fff;
    color: #1a73e8;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

/* Seção de Conteúdo */
.content {
    background-color: #f5f5f5;
    text-align:justify;
}

.content .container {
    padding: 100px 20px;
}

h1,
h2 {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 35px;
    text-transform: uppercase;
    color: var(--primary-color);
    text-align: center;
}

.content p {
    font-size: 20px;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 0px;
}

.content p span {
    font-weight: 700;
    color: var(--primary-color);
}

.content h3.lettering-principal {
    color: var(--primary-color);
    font-size: 1.7rem;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin: 35px auto 0;
}

/* Secção de Serviços */

.content .servicos {
    background:#E0E0E0;
}

.content .servicos h2 {
    color: var(--primary-color);
}


.content .servicos .servicos-container {
    max-width: 800px;
    margin: 0 auto;
    font-size: 20px;
    padding: 100px 20px;
}

.content .servicos .servicos-container .galeria {
    display:flex;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 35px;
    pointer-events: none;
}

.servicos-container ul li strong {
    list-style: none;
    text-transform: uppercase;
    font-weight: 900;
    color: var(--primary-color);
    font-size: 26px;
}

.servicos-container ul li strong.servicos {
    list-style: none;
    text-transform: uppercase;
    font-weight: 900;
    color: rgb(83, 83, 83);
    font-size: 1.4rem;
}

.servicos-container ul li {
    list-style: none;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* Rodapé */
.footer {
    background-color: #333; /* Fundo preto principal */
    color: white;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    padding: 30px 0; /* Padding vertical para cobrir o conteúdo */
    min-height: 200px; /* Altura mínima para garantir cobertura */
    width: 100%; /* Garante que ocupe toda a largura */
}

.footer-container {
    width: 100%;
    display: flex;
    align-items: flex-start; /* Alinha no topo */
    justify-content: space-between; /* Distribui os elementos horizontalmente */
    max-width: 800px;
    text-align: center;
    padding: 0 20px;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-section {
    padding: 10px;
}

.footer-container .redes-sociais-container {
    display: flex;
    flex-direction: column;
    align-items: start;
}

.footer-logo {
    width: 20%;
    margin-top: 35px;
}

.footer-logo img {
    width: 100%;
    height: auto;
}

.footer-section.contact {
    flex: 2;
}

.footer-section.contact a:hover {
    color: #ff7c7c;
}

.footer-section h3 {
    font-size: 16px;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 7px;
}

.footer-section p {
    font-size: 14px;
    text-align: left;
}

.footer-section a {
    color: #1a73e8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d32f2f;
    text-decoration: underline;
}

.footer-section.copyright p {
    font-size: 12px;
    text-align: center;
}

.footer-section.copyright .link-grafica {
    color: #fff;
}

.footer-section.copyright .link-grafica:hover {
    text-decoration:none;
    color: #d32f2f;
}

.footer-section.contact a {
    font-size: 14px;
    text-decoration: none;
    color: #fff;
}


.social-icons {
    display: flex;
    gap: 10px;
}

.footer-section.social .redes-sociais {
    display: block;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.footer-section.social .redes-sociais:hover {
    opacity: 0.5;
}

/* Ajuste para parágrafos que contêm .contacts-mail */
.footer-section.contact p:has(a.contacts-mail) {
    margin-top: 10px; /* Margem de 10px apenas para os parágrafos dos e-mails */
}

.footer-section.contact a.contacts-mail {
    color: #ff0000; /* Vermelho para os e-mails */
}

/* Responsividade */
@media (max-width: 768px) {
    .hero {
        background-image: url(./images/hero-background-mobile-768px.jpg);
    }

    .content .servicos .servicos-container .galeria {
        display:flex;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 0;
        margin-bottom: 35px;
    }

    .footer-logo {
        width: 30%;
        margin-top: 0px;
    }

    .footer-container {
        flex-direction: column;
        height: auto;
        align-items: center;
    }

    .footer-section {
        flex: 1;
        width: 100%;
    }

    .footer-section.contact h3,
    .footer-section.contact p,
    .footer-section.social h3,
    .footer-section.social p,
    .footer-section.copyright p {
        text-align: center;
    }

    .footer-section.contact p:has(a.contacts-mail) {
        margin-top: 10px; /* Mantém a margem em tablets */
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .hero {
        background-image: url(./images/hero-background-mobile-360px.jpg);
        height: 500px;
    }

    .content {
        text-align: left;
    }

    .content h3.lettering-principal {
        padding: 0 20px;
    }

    .content .servicos .servicos-container .galeria {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 0;
        margin-bottom: 35px;
    }

    .footer-section h3 {
        font-size: 14px;
    }

    .footer-section p {
        font-size: 12px;
    }

    .footer {
        padding: 15px 0;
    }

    .footer-section.contact p:has(a.contacts-mail) {
        margin-top: 5px;
    }
}