@font-face {
    font-family: 'Larianti';
    src: url('fonts/larianti.otf') format('opentype');
}

:root {
    --primary-color: #0D1C43;
    --primary-light: #2c3e73;
    --primary-dark: #091233;
    --secondary-color: #F2CED6;
    --accent-color: #25d366;
    --accent-dark: #128c7e;
    --text-color: #0D1C43;
    --light-text: #6c757d;
    --white: #ffffff;
    --light-bg: #F2CED6;
    --dark-bg: #0D1C43;
    --gray-light: #e9ecef;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 45px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 60px;
}

h1, h2, h3, h4 {
    color: var(--primary-color);
    line-height: 1.2;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-light {
    background-color: var(--secondary-color);
    padding: 80px 0;
}

.section-dark {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

.section-dark .section-title h2::after {
    background: var(--white);
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-hover);
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.btn-whatsapp:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}


/* Header */
header {
    background-color: var(--secondary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Alinha elementos à esquerda e à direita */
    padding: 15px 20px;
}

.logo {
    height: 70px;
    border-radius: 15px;
    transition: var(--transition);
    position: relative;
    top: 20px
}

.header-scrolled .logo {
    height: 50px;
}

/* Menu Desktop */

#nav ul {
    display: flex;
    align-items: center;
    gap: 25px;
    justify-content: flex-end; /* Adicionado para alinhar à direita */
}

#nav ul li a {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

#nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

#nav ul li a:hover::after {
    width: 100%;
}

#nav ul li a:hover {
    color: var(--primary-color);
}

/* Menu Mobile */
#btn-mobile {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

#hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
    transition: var(--transition);
}

#hamburger::before,
#hamburger::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    transition: var(--transition);
}

#hamburger::before {
    top: -8px;
}

#hamburger::after {
    bottom: -8px;
}

#nav.active #hamburger {
    transform: rotate(45deg);
}

#nav.active #hamburger::before {
    transform: rotate(90deg);
    top: 0;
}

#nav.active #hamburger::after {
    transform: rotate(90deg);
    bottom: 0;
}

/* Introdução */
#introducao {
    padding: 80px 0;
    text-align: center;
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.intro-text {
    flex: 1;
    text-align: left;
}

.intro-text h1 {
    font-family: 'Larianti', sans-serif;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.99;
}

.intro-text h2 {
   font-size: clamp(rem, 2.5vw, 1.25rem); 
   color: var(--light-text);
   text-align: center;
   transform: translateX(-65px);
}

.intro-text p.intro-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--light-text);
    margin-bottom: 30px;
    line-height: 1.6;
}

.intro-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.intro-buttons .btn-large {
    padding: 15px 30px;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.intro-buttons .btn-primary.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.intro-buttons .btn-secondary.btn-large:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.intro-img {
    flex: 1;
    text-align: center;
}

.intro-img img.intro-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.intro-img img.intro-image:hover {
    transform: scale(1.05);
}
/* Sobre */
.sobre-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.sobre-img {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.sobre-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.sobre-img:hover img {
    transform: scale(1.03);
}

.sobre-texto {
    flex: 1;
}

.sobre-texto h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.sobre-texto p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.crefito {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.qualificacoes {
    margin-top: 30px;
}

.qualificacao-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.qualificacao-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    min-width: 25px;
}

/* Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servico-card {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.section-light {
    background-color: var(--light-bg); /* que é rosa claro */
    padding: 80px 0;
}


.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.servico-icon {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.section-dark .servico-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.servico-card:hover .servico-icon {
    transform: rotate(15deg) scale(1.1);
}

.servico-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--white);
}

.servico-card p {
    color: var(--white);
}

.section-dark .servico-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Benefícios */
.beneficios-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.beneficios-img {
    flex: 1;
    text-align: center;
}

.beneficios-img img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.beneficios-lista {
    flex: 1;
}

.beneficio-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.beneficio-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.beneficio-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 3px;
}

.beneficio-item h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.beneficio-item p {
    color: var(--light-text);
    margin-bottom: 0;
}

/* Contato */

#contato {
    scroll-margin-top: 65px; /* Altura do menu fixo + margem extra */
}
.contato-content {
    display: flex;
    gap: 50px;
}

.contato-info {
    flex: 1;
}

.contato-info h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
    text-align: center;
}

.contato-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.contato-form input,
.contato-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 109, 91, 0.2);
}

.contato-form textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 70px;
}

.footer-col h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Distância do rodapé */
    right: 20px; /* Distância da borda direita */
    width: 60px;
    height: 60px;
    background-color: #25d366; /* Cor verde característica do WhatsApp */
    color: white;
    border-radius: 50%; /* Formato circular */
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra para destacar */
    z-index: 9999; /* Garante que o botão fique acima de outros elementos */
    transition: transform 0.3s ease; /* Animação suave ao passar o mouse */
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Aumenta o tamanho ao passar o mouse */
}
    

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInDown {
    from { 
        opacity: 0;
        transform: translateY(-30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(30px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade */
@media (max-width: 992px) {
    .sobre-content,
    .beneficios-content,
    .contato-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .beneficios-img {
        order: -1;
        margin-bottom: 40px;
    }
}

/* Responsividade para telas menores (celulares) */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: flex-start;
    }

    nav#nav ul {
        display: none;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        padding: 20px;
        box-shadow: var(--shadow);
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 999;
    }

    nav#nav.active ul {
        display: flex;
    }

       #btn-mobile {
        display: block; /* Mostra o botão em telas menores */
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        position: absolute; /* Posiciona o botão absolutamente */
        top: 30px; /* Ajusta a posição vertical */
        right: 20px; /* Posiciona o botão à direita */
    }

    .sobre-content {
        flex-direction: column;
        gap: 20px;
    }

    .qualificacoes {
        flex-direction: column;
    }

    .section-title h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    .intro-content {
        flex-direction: column;
        gap: 40px;
    }

    .intro-text h1 {
        font-size: 2rem;
    }

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

    .intro-buttons {
        flex-direction: column;
        gap: 15px;
    }

    #nav ul li {
        margin-bottom: 15px; /* Espaçamento entre os itens do menu */
    }

    #nav ul li a {
        color: var(--text-color);
        font-size: 1rem;
        text-align: center;
        padding: 10px;
        border-radius: var(--border-radius);
        transition: var(--transition);
    }

    #nav ul li a:hover {
        background-color: var(--primary-light);
        color: var(--white);
    }

     .logo {
        top: 4px; /* Move a logo para cima em telas menores */
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 600px;
        padding-bottom: 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 8vh;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .btn,
    .btn-hero,
    .btn-hero-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-buttons {
        padding-bottom: 6vh;
    }

   /* Estilo do botão flutuante */

}