/*
Theme Name: AD Taubaté Feminino
Theme URI: https://www.exemplo-adtaubate.com
Author: Gemini
Author URI: https://ai.google/
Description: Tema personalizado para a Associação Desportiva Taubaté Futebol Feminino, com foco no pilar institucional e social.
Version: 1.0
Text Domain: adtaubate
Tags: custom-layout, sports, feminine, modern
*/

:root {
    --primary-blue: #002D62; /* Azul Escuro / Royal */
    --secondary-blue-transparent: rgba(68, 131, 241, 0.6);
    --secondary-blue: #4483f1;
    --accent-pink: #f7317e;
    --light-bg: #F5F5F5; /* Fundo claro */
    --text-color: #333333;
    --white: #FFFFFF;
    --gold-accent: #fff; /* Para títulos/destaques de vitória old yello = #FFD700*/
    --gray: #ccc;
}

/* Reset Básico e Fontes */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: #ccc !important;
    background-image: url("assets/background.png");
}

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

h1, h2, h3 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-weight: 700;
}

hr {
    background: var(--accent-pink);
    height: 4px;
}

/* --- Header & Hero Section --- */
.navbar {
    background-color: var(--primary-blue);
    padding: 1rem 0;
}

.navbar-brand img {
    width: 55px;
    padding: 0;
    margin: 0;
}

@media screen and (max-height: 932px) {
    .navbar-brand img {
        width: 35px;
    }
}

.navbar-nav .menu-item a {
    color: white;
    font-weight: 500;
    text-transform: uppercase;
    margin: 0 0.8rem;
    transition: color 0.3s;
    text-decoration: none;
}

.navbar-nav .menu-item  a:hover, .navbar-nav .menu-item a.active {
    color: var(--gold-accent);
}

@media screen and (max-width: 990px) {
    .navbar-nav .menu-item {
        border-top: 1px dotted var(--gray);
        padding: 15px;
    }

    .navbar-nav .menu-item:last-child {
        border-bottom: 1px dotted var(--gray);
    }

    .menu-item-has-children:hover, .menu-item-has-children:focus {
        .sub-menu {
            visibility: hidden;
        }
    }
}

.sub-menu {
    display: none;
    transition: 0.5s;
    position: absolute;
    list-style: none;
    padding: 0;
    padding-top: 20px;
    margin: 0;
    background: var(--primary-blue);
    z-index: 5;
}

.sub-menu li {
    list-style: none;
    padding: 10px;
}

.sub-menu li a:hover {
    color: var(--gold-accent);
}

.menu-item-has-children:hover {
    .sub-menu {
        display: list-item;
        transition: 0.5s;
    }
    transition: 0.5s;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.2);
}
.navbar-toggler-icon {
    background-image: url("/wp-content/themes/adtaubate_theme/assets/ad-taubate-icon.png");
}

.page-hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(13, 42, 78, 0.9) 0%, rgba(13, 42, 78, 0.3) 100%);
    z-index: 1;
}

.page-hero {
    background-image: url("/wp-content/themes/adtaubate_theme/assets/hero-img.jpeg");
    background-position: center;
    background-size: cover;
    color: var(--white);
    padding: 80px 0;
    margin-bottom: 20px;
    width: 100%;
    height: 50vh;
    position: relative;
    z-index: 2;
}

.page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/wp-content/themes/adtaubate_theme/assets/back-hero-2.png");
    mix-blend-mode: multiply;
    z-index: 3;
}

.page-hero > * {
    position: relative;
    z-index: 4;
}

.page-hero .container {
    position: relative;
}

.text-hero {
    color: var(--gold-accent);
    font-size: 42px;
    font-weight: bolder;
}

@media screen and (max-height: 667px) {
    .page-hero {
        height: 65vh;
    }

    .text-hero {
        font-size: 32px;
    }
}

@media screen and (max-height: 844px) {
    .text-hero {
        font-size: 32px;
    }
}

@media screen and (max-height: 882px) and (min-height: 844px) {
    .page-hero {
        height: 60vh;
    }
}

@media screen and (max-height: 740px) and (min-height: 668px) {
    .page-hero {
        height: 55vh;
    }
}

@media screen and  (min-height: 1024px) and (max-height: 1368px){
    .page-hero {
        height: 32vh;
    }
}

@media screen and  (min-height: 1024px) and (max-height: 1179px) {
    .page-hero {
        height: 40vh;
    }
}

.page-hero h1 {
    color: var(--gold-accent);
    font-size: 2.5em;
}

.btn-hero {
    background: linear-gradient(90deg, var(--accent-pink), #e65c9a);
    border: none;
    color: white;
    padding: 12px 30px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    margin-top: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(217, 45, 138, 0.3);
}

/* Hero - Busca */
.hero-search {
    position: absolute;
    top: 18px;
    right: 20px;
    width: min(520px, 45vw);
    max-width: 520px;
    margin: 0;
    z-index: 5;
}

.hero-search__inner {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 12px;
    backdrop-filter: blur(6px);
}

.hero-search__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
}

.hero-search__row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.hero-search__input {
    flex: 1 1 auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 14px;
    font-size: 1rem;
    outline: none;
}

.hero-search__input:focus {
    border-color: rgba(247, 49, 126, 0.7);
    box-shadow: 0 0 0 4px rgba(247, 49, 126, 0.18);
}

.hero-search__btn {
    border: 0;
    border-radius: 12px;
    padding: 12px 16px;
    background: linear-gradient(90deg, var(--accent-pink), #e65c9a);
    color: #fff;
    font-weight: 900;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.hero-search__btn:hover {
    filter: brightness(1.03);
}

@media (max-width: 768px) {
    .hero-search__row {
        flex-direction: column;
    }

    .hero-search {
        position: static;
        width: 100%;
        max-width: 720px;
        margin-top: 16px;
    }
}

/* Últimas Notícias */
.news-card {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    cursor: pointer;
}

.news-card h4 a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.news-card .entry-meta {
    color: #ccc;
}

.news-card-img-container {
    position: relative;
    overflow: hidden;
    margin: -20px;
    padding: 0;
    height: 175px;
}

.news-card-img-container img {
    width: 100%;
}

.play-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 1.2rem;
}

.news-card .card-body {
    padding: 1.5rem;
}

.news-card .card-title {
    font-weight: 700;
    color: var(--primary-blue);
}

/* Mídia em Destaque */
.media-card {
    background-color: var(--primary-blue);
    color: white;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.media-card .section-title {
    color: white;
    font-size: 1.5rem;
}

.media-card .section-title::after {
    background-color: var(--accent-pink);
}

.media-card p {
    color: rgba(255,255,255,0.8);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.media-logos img {
    max-height: 35px;
    margin-right: 1.5rem;
    filter: grayscale(100%) /* Converte logos para branco */
}

/* Números da Base */
.stats-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.chart-container {
    position: relative;
    height: 150px;
    width: 150px;
    margin: auto;
}

@media screen and (min-width: 853px) and (max-width: 1024px) {
    .chart-container {
        width: 110px;
    }
}

.chart-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}
.chart-unit {
    font-size: 1.5rem;
}
.chart-sub-label {
    font-weight: 500;
    color: var(--primary-blue);
    margin-top: 1rem;
}

.base-info {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 1rem;
}

/* Call to Action Section */
.cta-section {
    background-color: var(--primary-blue);
    color: white;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-section h2 {
    font-weight: 700;
    font-size: 1.8rem;
}

.cta-section .btn-cta {
    background-color: var(--accent-pink);
    border: none;
    color: white;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.cta-section .btn-cta:hover {
    background-color: #c5277c;
}

.cta-stats {
    font-size: 3rem;
    font-weight: 900;
}
.cta-subtext {
    font-size: 1rem;
    font-weight: 500;
}

/* Logos Parceiros */
.partner-logos {
    margin-top: 2rem;
}
.partner-logos img {
    max-height: 40px;
    margin: 0 1rem;
    filter: grayscale(100%) brightness(500%);
    opacity: 1;
}
.partner-logos i {
    font-size: 1.5rem;
    color: white;
    margin: 0 1rem;
}
.partner-logos span {
    font-weight: 700;
}

/* --- Seções de Conteúdo --- */
.content-section {
    padding: 40px 0;
}

.content-section h2 {
    margin-bottom: 40px;
    font-size: 2em;
}

/* Cards Simples (Valores) */
.card-grid {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.card {
    flex: 1;
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.card-icon {
    font-size: 2em;
    color: var(--accent-pink);
    margin-bottom: 10px;
}

/* --- MODELO 1: Linha do Tempo --- */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-blue);
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 40px;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 40px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--accent-pink);
    border: 3px solid var(--primary-blue);
    top: 26px;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -7.5px;
}

.timeline-item:nth-child(even)::after {
    left: -7.5px;
}

.timeline-year {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--accent-pink);
    margin-bottom: 5px;
}

/* --- MODELO 2: Missão, Visão --- */
.mission-vision-block {
    display: flex;
    gap: 40px;
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
}

.mission-vision-block > div {
    flex: 1;
    padding: 20px;
    border-radius: 6px;
}

.mission-vision-block h3 {
    color: var(--accent-pink);
    border-bottom: 2px solid var(--primary-blue);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.mission-block {
    background-color: var(--primary-blue);
    color: var(--white);
}

.mission-block h3 {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* --- MODELO 3: Projetos Sociais --- */
.social-impact-banner {
    background-color: var(--accent-pink);
    color: var(--white);
    padding: 30px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 8px;
}

.social-impact-banner h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.impact-numbers-bar {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-bottom: 40px;
}

.impact-number {
    padding: 20px;
    /* Linha divisória sutil */
    border-right: 1px solid #ddd;
}

.impact-number:last-child {
    border-right: none;
}

.impact-number strong {
    display: block;
    font-size: 2.5em;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.social-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.social-action-item {
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.social-action-item img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 15px;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Footer - Contato */
.footer-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.footer-hr {
    height: 3px;
    border: 0;
    background: var(--accent-pink);
    opacity: 0.85;
    margin: 0 auto 1.25rem auto;
    max-width: 520px;
}

.footer-contact {
    padding-top: 10px;
}

.footer-contact-grid {
    text-align: left;
}

.footer-contact-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 14px;
    height: 100%;
}

.footer-contact-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.95);
}

.footer-contact-card__title i {
    color: var(--accent-pink);
    font-size: 1rem;
}

.footer-contact-card__item {
    display: flex;
    gap: 10px;
    align-items: baseline;
    font-size: 0.95rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.88);
    margin: 6px 0;
}

.footer-contact-card__label {
    min-width: 80px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact-card__text {
    display: block;
}

.footer-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 700;
}

.footer-link:hover {
    color: var(--accent-pink);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-contact-grid {
        text-align: center;
    }
    .footer-contact-card__item {
        justify-content: center;
        flex-wrap: wrap;
    }
    .footer-contact-card__label {
        min-width: unset;
    }
}

/* FAQ */
.faq-page {
    max-width: 900px;
}

.faq-title {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.faq-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    cursor: pointer;
    padding: 14px 16px;
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-blue);
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: "+";
    font-weight: 900;
    color: var(--accent-pink);
    flex: 0 0 auto;
}

.faq-item[open] .faq-question::after {
    content: "–";
}

.faq-answer {
    padding: 0 16px 14px 16px;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.55;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-empty {
    background: rgba(255, 255, 255, 0.9);
    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 18px 16px;
    margin-top: 20px;
}

.wpcf7-submit {
    background-color: var(--accent-pink);
    border: none;
    color: white;
    padding: 10px 25px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: background-color 0.3s;
}

.wpcf7-form label {
    font-weight: bold;
    float: left;
}

.wpcf7-form .wpcf7-submit {
    float: left !important;
}

h2 {
    color: var(--gold-accent);
}

/* Logos Parceiros */
.partner-logos {
    margin-top: 2rem;
    text-align: center;
}
.partner-logos img {
    max-height: 75px;
    margin: 20px 1rem;
    filter: grayscale(100%);
    opacity: 1;
}
.partner-logos i {
    font-size: 1.5rem;
    color: white;
    margin: 0 1rem;
}
.partner-logos span {
    font-weight: 700;
}

/* Sponsors */
.sponsor-logos {
    margin-top: 2rem;
    text-align: center;
}
.sponsor-logos img {
    max-height: 60px;
    margin: 20px 1rem;
    filter: grayscale(70%);
    opacity: 1;
}

.card-body .card-title a {
    text-decoration: none;
    color: #333;
}

/* Container do Paginador */
.pagination {
    margin-top: 50px;
    gap: 8px; /* Espaço entre os números */
}

/* Estilo Geral dos Links e Números */
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%; /* Formato circular para um look moderno */
    text-decoration: none;
    font-weight: bold;
    color: #003366; /* Azul do Taubaté */
    border: 2px solid #003366;
    transition: all 0.3s ease;
    background: transparent;
}

/* Número da Página Atual */
.pagination .page-numbers.current {
    background-color: #E91E63; /* Rosa das ações sociais e destaque */
    border-color: #E91E63;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
}

/* Efeito Hover nos Números */
.pagination .page-numbers:hover:not(.current) {
    background-color: #003366;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Estilo para Anterior/Próxima */
.pagination .prev, .pagination .next {
    width: auto !important;
    padding: 0 20px;
    border-radius: 25px !important;
}