/* Corpo do site */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

/* menu */
nav {
     background-color: #212842;
    color: white;
}
header figure img {
    width: 120px;               
    height: auto;               
    display: block;    
}

header figure {
    margin: 0;
    padding: 0;
}
nav a {

    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #F0E7D5;
}

nav ul {
     display: flex;             
    align-items: center;        
    justify-content: flex-start;
    list-style: none;           
    padding: 0;
    margin: 0;
    gap: 10px;    
}

h1 {
    margin-left: 100px; 
    margin-right: 40px;
}

/* fim do menu */

/* corpo*/
body {
    font-family: 'Ubuntu';
    margin: 0;
    padding: 0;
    background-color: #F0E7D5;
}

/* home */

#home {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 60px 10% 60px 5%;     
    max-width: 1200px;              
    margin: 0 auto;                 
}

#home h2 {
    font-size: 38px;                
    text-align: left;
    color: #212842;                 
    margin: -180px 0 60px 0;       
    background: linear-gradient(45deg, #212842, #3a4775);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; 
}

#home p {

    font-size: 26px;           
    font-style: italic;      
    text-align: left;
    color: #212842;                 
     margin: 120px 0 60px 0; 
}

#home img {
    width: 300px;                
    height: auto;
    animation: flutuar 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.30));
}

@keyframes flutuar {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
    
}
.btn-home {
    display: inline-block;
    background-color: #212842;
    color: #F0E7D5;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 14px 35px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(33, 40, 66, 0.2);
    transition: all 0.3s ease;
}

.btn-home:hover {
    background-color: #2c3659;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(33, 40, 66, 0.3);
}

#sobre_nós {
    background-color: #212842;
    color: #F0E7D5;
    padding: 80px 10%; 
}

#sobre_nós h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 55px;
}
.sobre-container {
    display: flex;
    align-items: center; 
    justify-content: center;
    gap: 40px; 
    flex-wrap: wrap; 
}
.texto-sobre {
    flex: 1; 
    font-size: 20px;
    min-width: 300px;
}

.img-sobre {
    width: 300px;                
    height: auto;
    animation: flutuar 4s ease-in-out infinite;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.30));
}
/*serviços*/

/*Escolas  */
#escolas h2 {
    text-align: center;
    color: #212842;
    margin-bottom: 30px;
    margin: 100px 0 80px 0;
}

.carrossel-esteira {
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 20px; 
    flex-wrap: wrap; 
}
.carrossel-esteira img {
    width: 350px; 
    height: 200px; 
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.carrossel-esteira img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
/* fim do carrossel */

#servicos {
    background-color: #F0E7D5;
    padding: 50px 0;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

#servicos h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 40px;
    color: #212842;
}

.container-servicos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 15px;
    padding: 0 10px;
    margin: 0 auto;
    width: 100%;
    overflow-x: auto;
}

.servico-card {
    background-color: #212842;
    color: white;
    border-radius: 12px;
    padding: 20px;
    width: 200px;
    flex: 0 0 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.servico-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.servico-card .preco {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0;
}

.servico-card .preco small {
    font-size: 0.8rem;
    color: #b3b9d1;
    font-weight: 300;
}

.servico-card hr {
    border: none;
    border-top: 1px solid #3a4466;
    margin: 10px 0;
}

.servico-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.servico-card ul li {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #e0e4f0;
    padding-left: 15px;
    position: relative;
}

.servico-card ul li::before {
    content: "•";
    color: #F0E7D5;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.btn-card {
    display: inline-block;
    margin-top: auto; 
    padding: 10px 20px;
    background-color: #F0E7D5; 
    color: #212842; 
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-card:hover {
    background-color: #ffffff;
    transform: scale(1.02);
}

/* fim dos serviços */

/* footer */
footer {
   background-color: #212842; 
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #333; 
}

.footer-redes h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.footer-redes ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px; 
    margin-bottom: 20px;
}

.footer-redes ul li a img {
    width: 32px; 
    height: 32px;
    transition: transform 0.3s ease;
}

.footer-redes ul li a img:hover {
    transform: scale(1.1); 
}

.footer-bottom {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

.footer-contato {
    margin-bottom: 20px;
}
/* --- RESPONSIVIDADE --- */

/* Ajustes para Tablets (até 992px) */
@media (max-width: 992px) {
    h1 { margin-left: 20px; }
    
    #home { 
        flex-direction: column; 
        text-align: center; 
        padding: 40px 5%;
    }
    
    #home h2 { margin: 20px 0; }
    #home p { margin: 20px 0; }
}
/* Media Queries para dispositivos móveis */
@media (max-width: 900px) {
    h1 { margin-left: 20px; margin-right: 20px; }
    
    #home { flex-direction: column; text-align: center; }
    #home h2 { margin: 20px 0; }
    #home p { margin: 20px 0; }
    
    .container-servicos {
        flex-wrap: wrap;
        overflow-x: visible;
    }
    .servico-card {
        width: 240px;      
        flex: 0 0 240px;   
        padding: 15px;     
    }

    /* Opcional: reduz um pouco o tamanho da fonte dentro do card */
    .servico-card h3 { font-size: 1rem; }
    .servico-card .preco { font-size: 1.1rem; }
}

@media (max-width: 900px) {
    nav ul {
        flex-direction: row;      
        flex-wrap: wrap;          
        justify-content: center;  
        padding: 10px 0;
    }

    nav a {
        margin: 5px 10px;         
    }
}