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

body {
    font-family: 'Open Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #f9f9f9;
    /* Добавляем плавность для всех переходов */
    transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 1.2rem;
    /* Выравнивание заголовков по центру */
    text-align: center;
}

p {
    margin-bottom: 1.2rem;
    /* Выравнивание текста по центру */
    text-align: center;
}

a {
    color: #3498db;
    text-decoration: none;
    /* Анимация для ссылок */
    transition: color 0.3s ease;
}

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

/* --- Изменения для центрирования списков --- */
ul, ol {
    list-style-position: inside; /* Помещает маркер/номер внутрь текста, упрощая центрирование */
    margin-left: auto; /* Центрирует сам блок списка */
    margin-right: auto;
    max-width: 900px; /* Ограничивает ширину, чтобы список не растягивался на всю ширину */
    padding: 0; /* Убираем внутренние отступы */
    text-align: center; /* Выравнивание текста внутри списка по центру */
}

li {
    text-align: center; /* Убедимся, что каждый элемент списка также центрирован */
    margin-bottom: 0.5rem; /* Небольшой отступ между элементами */
}
/* --- Конец изменений --- */

/* Layout Principal */
.nav-container, .hero-content, .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cabeçalho */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    padding: 1.2rem 0;
}

nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav h1 {
    font-size: 2rem;
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 2.5rem;
}

.nav-menu a {
    color: #2c3e50;
    font-weight: 600;
    position: relative; /* Для анимации подчеркивания */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #e74c3c;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Main */
main {
    min-height: calc(100vh - 200px); /* Ajusta altura para footer ficar no fundo */
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 5rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
    /* Анимация для заголовка героя */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.2s;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    /* Анимация для текста героя */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards 0.4s;
}

/* Анимация для элементов героя */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botão */
.btn {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 0.9rem 1.8rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    /* Анимация для кнопки */
    transform: scale(1);
}

.btn:hover {
    background-color: #c0392b;
    text-decoration: none;
    transform: scale(1.05); /* Увеличение при наведении */
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
}

/* Seções Gerais */
.intro, .highlights, .cta, .about-intro, .about-content, .page-intro, .content-section, .contact-section, .thank-you, .policy-content {
    padding: 4rem 20px;
}

.intro h2, .highlights h2, .cta h2, .about-intro h1, .about-content h2, .page-intro h1, .content-section h2, .contact-section h1, .thank-you h1, .policy-content h1 {
    text-align: center; /* Уже выравнено */
    margin-bottom: 2.5rem;
}

.intro p, .about-content p, .content-section p, .contact-section p, .thank-you p, .policy-content p {
    max-width: 900px;
    margin: 0 auto 1.8rem;
    text-align: center; /* Уже выравнено */
    /* Анимация для обычного текста */
    opacity: 0;
    transform: translateY(15px);
    animation: fadeInUpText 0.6s forwards;
    animation-delay: 0.1s; /* Небольшая задержка */
}

/* Анимация для обычного текста */
@keyframes fadeInUpText {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Grid de Destaques */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Анимация для карточек */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUpCard 0.7s forwards;
}

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

.highlight-card h3 {
    margin-bottom: 1.2rem;
    color: #3498db;
}

/* Анимация для карточек */
@keyframes fadeInUpCard {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Seção CTA */
.cta {
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7);
    text-align: center;
    padding: 5rem 20px;
}

.cta form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 450px;
    margin: 2rem auto 0;
}

.cta input[type="email"] {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.cta input[type="email"]:focus {
    outline: none;
    border-color: #3498db;
}

/* Seção de Contato */
.contact-section form {
    max-width: 650px;
    margin: 2.5rem auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-section label {
    font-weight: bold;
    text-align: left;
}

.contact-section input, .contact-section textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-section input:focus, .contact-section textarea:focus {
    outline: none;
    border-color: #3498db;
}

.contact-info {
    margin-top: 3rem;
    text-align: center;
}

/* Página de Agradecimento */
.thank-you {
    text-align: center;
    padding: 6rem 20px;
}

/* Rodapé */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 2rem;
    margin-top: auto; /* Empurra o footer para baixo */
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-container ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    flex-wrap: wrap; /* Для адаптивности */
    justify-content: center;
}

.footer-container a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-container a:hover {
    color: white;
    text-decoration: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1.2rem;
    }

    .nav-menu li {
        margin-left: 0;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .highlight-grid {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
    }

    .cta form {
        max-width: 100%;
    }

    .footer-container ul {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
}