/* CORREÇÕES DE RESPONSIVIDADE */

/* Base responsiva */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    width: 100%;
}

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

/* Hero Section Responsiva */
.hero {
    min-height: 100vh;
    padding: 80px 20px 20px;
    width: 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Banners responsivos - Mesmo formato dos serviços */
.animated-phrases {
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
    padding: 0;
}

.phrase-banner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    will-change: opacity;
}

.phrase-banner.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phrase-banner:hover .banner-image {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* Services Grid Responsiva */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Techniques Grid Responsiva */
.techniques-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* TABLET - 768px e abaixo */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 15px 20px;
        min-height: auto;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .profile-photo {
        width: 250px;
        height: 250px;
    }
    
    .hero-name {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Banners mobile - responsivo natural */
    .phrase-banner {
        max-width: 90%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .techniques-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Footer responsivo */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    /* WhatsApp responsivo */
    .whatsapp-float {
        bottom: 15px;
        left: 15px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* MOBILE - 480px e abaixo */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 40px 10px 20px;
    }
    
    .hero-content {
        gap: 30px;
    }
    
    .profile-photo {
        width: 200px;
        height: 200px;
    }
    
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Banners mobile pequeno - responsivo natural */
    .phrase-banner {
        max-width: 95%;
    }
    
    .services-grid {
        gap: 20px;
    }
    
    .techniques-grid {
        gap: 15px;
    }
    
    .service-item,
    .technique-item {
        padding: 20px;
    }
    
    .service-item h3,
    .technique-item h3 {
        font-size: 1.3rem;
    }
    
    .service-item p,
    .technique-item p {
        font-size: 0.9rem;
    }
    
    /* Language selector */
    .language-selector {
        top: 10px;
        right: 10px;
    }
    
    .lang-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* MOBILE PEQUENO - 320px e abaixo */
@media (max-width: 320px) {
    .container {
        padding: 0 5px;
    }
    
    .hero-name {
        font-size: 1.8rem;
    }
    
    .profile-photo {
        width: 180px;
        height: 180px;
    }
    
    /* Banners mobile muito pequeno - responsivo natural */
    .phrase-banner {
        max-width: 100%;
    }
    
    .services-grid,
    .techniques-grid {
        gap: 15px;
    }
}



/* Videos Section */
.videos {
    padding: 80px 0;
    background: #f8f9fa;
}

.videos-intro {
    text-align: center;
    margin-bottom: 50px;
}

.videos-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-item h3 {
    padding: 20px;
    margin: 0;
    font-size: 1.1rem;
    color: #2d5016;
    text-align: center;
    font-weight: 600;
}

/* Videos responsivos */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .video-item h3 {
        font-size: 1rem;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .videos {
        padding: 60px 0;
    }
    
    .videos-intro p {
        font-size: 1rem;
    }
}


/* Fotos da Formatura na Seção Sobre */
.about-image-top, .about-image-bottom {
    text-align: center;
    margin: 30px 0;
}

.graduation-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.graduation-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.about-image-top {
    margin-bottom: 40px;
}

.about-image-bottom {
    margin-top: 40px;
}

/* Responsividade das fotos da formatura */
@media (max-width: 768px) {
    .graduation-img {
        max-width: 300px;
    }
    
    .about-image-top, .about-image-bottom {
        margin: 20px 0;
    }
}

@media (max-width: 480px) {
    .graduation-img {
        max-width: 250px;
    }
    
    .about-image-top {
        margin-bottom: 30px;
    }
    
    .about-image-bottom {
        margin-top: 30px;
    }
}



/* Estilos para créditos no rodapé */
.footer-credits {
    margin-top: 10px;
    font-size: 0.85rem;
    color: #888;
    text-align: center;
}

.footer-credits a {
    color: #A8D5BA;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: #6B8E23;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-credits {
        font-size: 0.8rem;
        margin-top: 15px;
    }
}

