:root {
    --primary: #b9871b;
    --primary-dark: #9c6f1a;
    --secondary: #5a3e36;
    --light-bg: #f9f4ef;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --error: #e74c3c;
}

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

body { 
    font-family: 'Open Sans', sans-serif; 
    line-height: 1.6; 
    color: var(--text);
    overflow-x: hidden;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Header e Hero Section */
/* Modificação do header para usar a imagem sobre1.png como fundo */
header { 
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('sobre1.png') no-repeat center center/cover; 
    height: 100vh; 
    position: relative; 
    color: var(--white); 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Retornar a hero-content para seu estilo original sem imagem de fundo */
.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Manter o texto legível */
.hero-content h1,
.hero-content p {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.logo {
    position: absolute;
    top: 20px;
    left: 50px;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

/* Navegação */
nav { 
    position: fixed; 
    top: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    padding: 15px 50px;
    z-index: 1000;
    display: flex;
    justify-content: flex-end;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(90, 62, 54, 0.95);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

nav a { 
    color: var(--white); 
    margin-left: 20px; 
    text-decoration: none; 
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

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

nav a:hover:after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--white);
    background: transparent;
    border: none;
    cursor: pointer;
}

/* Tipografia */
h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease-out;
}

h2, h3 { 
    font-family: 'Playfair Display', serif; 
    color: var(--secondary); 
    margin-bottom: 30px;
    position: relative;
}

h2 {
    font-size: 2.5rem;
}

h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--primary);
    margin: 15px auto 0;
}

section h2 {
    text-align: center;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

header p {
    color: var(--white);
    font-size: 1.2rem;
    max-width: 80%;
    margin: 0 auto 20px;
    animation: fadeIn 1.2s ease-out;
}

header p:last-of-type {
    margin-bottom: 40px;
    font-style: italic;
}

/* Seções */
section { 
    padding: 100px 50px; 
    max-width: 1200px; 
    margin: 0 auto;
    position: relative;
}

section:nth-child(even) {
    background: var(--light-bg);
}

/* Manifesto */
#manifesto { 
    background: var(--light-bg); 
    color: var(--secondary);
    text-align: center;
}

#manifesto p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

#manifesto p em {
    color: var(--primary-dark);
    font-weight: 500;
}

/* Sobre */
#sobre .content {
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    gap: 40px;
    margin-top: 20px;
}

#sobre img { 
    width: 350px; 
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

#sobre img:hover {
    transform: scale(1.02);
}

#sobre .text {
    flex: 1;
    min-width: 300px;
}

/* Programas */
.cards { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
    margin-top: 40px;
}

.card { 
    background: var(--white); 
    padding: 30px; 
    border-radius: 12px; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    z-index: -1;
}

.card:hover::before {
    height: 100%;
    opacity: 0.05;
    transition: all 0.5s ease;
}

.card h3 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

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

.testimonial {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.testimonial .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.testimonial .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.testimonial .quote {
    font-style: italic;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
}

.testimonial .quote::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.3;
    position: absolute;
    left: -5px;
    top: -20px;
}

.testimonial .author {
    font-weight: 600;
    color: var(--secondary);
}

/* Diferenciais */
#diferenciais .list {
    list-style: none;
    columns: 2;
    gap: 30px;
    margin-top: 40px;
}

#diferenciais li {
    background: var(--white);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

#diferenciais li:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

#diferenciais li i {
    color: var(--primary);
    margin-right: 15px;
    font-size: 1.5rem;
}

/* Contato */
#contato {
    text-align: center;
}

#contato .intro {
    max-width: 700px;
    margin: 0 auto 40px;
}

#contato form { 
    max-width: 600px; 
    margin: 40px auto 0; 
    display: flex; 
    flex-direction: column;
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#contato .form-group {
    position: relative;
    margin-bottom: 25px;
}

#contato label {
    position: absolute;
    top: 12px;
    left: 15px;
    color: var(--text-light);
    transition: all 0.3s ease;
    pointer-events: none;
}

#contato input:focus ~ label,
#contato textarea:focus ~ label,
#contato input:not(:placeholder-shown) ~ label,
#contato textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    left: 5px;
    font-size: 0.8rem;
    background: var(--white);
    padding: 0 10px;
    color: var(--primary);
}

#contato input, 
#contato textarea { 
    width: 100%;
    padding: 12px 15px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    font-size: 1rem;
    transition: all 0.3s ease;
}

#contato input:focus,
#contato textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(185, 135, 27, 0.2);
    outline: none;
}

#contato input::placeholder,
#contato textarea::placeholder {
    color: transparent;
}

#contato textarea { 
    min-height: 150px; 
    resize: vertical;
}

#contato button { 
    background: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white); 
    padding: 15px 30px; 
    border: none; 
    border-radius: 30px; 
    font-size: 1.1rem; 
    font-weight: 600;
    cursor: pointer; 
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(185, 135, 27, 0.3);
    position: relative;
    overflow: hidden;
}

#contato button:hover { 
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(185, 135, 27, 0.4);
}

#contato button:active {
    transform: translateY(1px);
}

#contato button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 100%);
    transition: all 0.6s;
}

#contato button:hover::after {
    left: 100%;
}

.success-message {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #4CAF50;
    margin-bottom: 30px;
    display: inline-block;
}

.error-message {
    background-color: rgba(231, 76, 60, 0.1);
    color: var(--error);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid var(--error);
    margin-bottom: 30px;
    display: inline-block;
}

/* Footer */
footer { 
    background: var(--secondary); 
    color: #e0d5cf; 
    text-align: center; 
    padding: 60px 20px;
}

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

footer .social-icons {
    margin: 20px 0;
}

footer .social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 10px;
    transition: all 0.3s ease;
}

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

footer a { 
    color: var(--primary); 
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #d9a33b;
    text-decoration: underline;
}

footer .copyright {
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.7;
}

footer .tagline {
    font-style: italic;
    margin: 20px 0;
    font-weight: 300;
    font-size: 1.1rem;
}

/* Botões */
.btn { 
    background: var(--primary); 
    color: var(--white); 
    padding: 15px 30px; 
    text-decoration: none; 
    border-radius: 30px; 
    font-weight: 600; 
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(185, 135, 27, 0.3);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover { 
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(185, 135, 27, 0.4);
}

.btn:hover::after {
    height: 100%;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 900px) {
    section {
        padding: 80px 30px;
    }
    
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    #sobre .content {
        flex-direction: column;
        text-align: center;
    }
    
    #sobre img {
        width: 300px;
    }
    
    #diferenciais .list {
        columns: 1;
    }
}

@media (max-width: 768px) {
    .logo {
        left: 20px;
    }
    
    nav {
        padding: 15px 20px;
        justify-content: space-between;
    }
    
    .nav-links {
        position: fixed;
        top: 60px;
        right: -100%;
        background: rgba(90, 62, 54, 0.95);
        backdrop-filter: blur(10px);
        width: 80%;
        height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        transition: all 0.5s ease;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    nav a {
        margin: 15px 0;
        font-size: 1.1rem;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    cursor: pointer;
}

.video-container img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.play-button::before {
    content: '';
    display: block;
    width: 0; 
    height: 0; 
    border-left: 20px solid white;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}


.video-container:hover .play-button {
    background-color: rgba(0, 0, 0, 0.8);
}

.swiper-button-next,
.swiper-button-prev {
  color: #1d4ed8; /* Azul bonito */
  font-weight: bold;
  width: 40px;
  height: 40px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 24px;
  font-weight: bold;
}

.swiper-pagination-bullet {
  background: #1d4ed8;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}
