/* Paleta de Cores baseada na Logo */
:root {
    --primary-orange: #C45A36;
    /* Tom laranja/cobre da logo */
    --dark-black: #0A0A0A;
    /* Preto profundo da logo */
    --light-bg: #F9F9F9;
    --text-gray: #444444;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

/* Ocultar botão menu mobile no desktop */
.mobile-menu-btn {
    display: none;
}

body {
    background-color: var(--white);
    color: var(--text-gray);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s, padding 0.3s, box-shadow 0.3s;
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height 0.3s;
}

header.scrolled .nav-container {
    height: 60px;
}

.logo img {
    height: 60px;
    /* Ajuste conforme necessário */
    transition: height 0.3s;
}

header.scrolled .logo img {
    height: 35px;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-black);
    font-weight: 700;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

/* Botões */
.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background-color: #a84b2c;
}

.btn-secondary {
    display: inline-block;
    background-color: var(--dark-black);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-orange);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-black) 60%, var(--primary-orange) 100%);
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Seções Gerais */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-black);
    margin-bottom: 40px;
}

/* About Section Cards */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.about-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
}

.about-card h3 {
    color: var(--primary-orange);
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-image {
    text-align: center;
    margin-top: 50px;
}

.about-team-photo {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: inline-block;
}

/* Atletas Section Grid */
.athletes {
    background-color: var(--white);
}

.athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.athlete-card {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.athlete-card:hover {
    transform: translateY(-10px);
}

.athlete-photo {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.athlete-info {
    padding: 25px;
}

.athlete-info h3 {
    color: var(--dark-black);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.athlete-pos {
    color: var(--primary-orange);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.athlete-details {
    list-style: none;
    padding: 0;
}

.athlete-details li {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #ddd;
    padding-bottom: 5px;
}

.athlete-details li:last-child {
    border-bottom: none;
}

/* Serviços Grid */
.services {
    background-color: var(--light-bg);
    /* Ou defina um tom de cinza claro específico, ex: #F2F2F2 */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--primary-orange);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card h3 {
    color: var(--dark-black);
    margin-bottom: 15px;
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-black);
    color: var(--white);
    padding: 100px 0;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: space-between;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h2 {
    color: var(--white);
    text-align: left;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 50px;
}

.contact-details {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.detail-block h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-block p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
}

.mt-4 {
    margin-top: 25px;
}

.phone-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.phone-link:hover {
    color: var(--primary-orange);
}

.contact-form-wrapper {
    flex: 1;
    min-width: 350px;
    max-width: 650px;
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.contact-form .form-group {
    flex: 1;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--white);
}

.contact-form input,
.contact-form textarea {
    background-color: transparent;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 15px;
    color: var(--white);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-orange);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #555;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
}

.form-checkbox input {
    margin-top: 5px;
    accent-color: var(--primary-orange);
    width: 18px;
    height: 18px;
}

.form-checkbox label {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.4;
    cursor: pointer;
}

.form-checkbox label span {
    text-decoration: underline;
    transition: color 0.3s;
}

.form-checkbox label span:hover {
    color: var(--primary-orange);
}

.g-recaptcha {
    margin-bottom: 30px;
}

.btn-submit {
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--white);
    color: var(--dark-black);
    padding: 60px 0 30px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 40px;
}

.footer-left {
    flex: 1;
    min-width: 200px;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--primary-orange);
}

.footer-right {
    flex: 2;
    min-width: 300px;
    text-align: right;
}

.footer-right h2 {
    color: var(--dark-black);
    margin-bottom: 15px;
    font-size: 2rem;
}

.footer-right p {
    margin-bottom: 25px;
    color: var(--text-gray);
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: #333333;
}

/* Modal de Contato */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--dark-black);
    margin: 5% auto;
    padding: 40px;
    border-top: 5px solid var(--primary-orange);
    border-radius: 10px;
    width: 90%;
    max-width: 650px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.4s;
}

.modal-title {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 2rem;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-btn {
    color: #888;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--primary-orange);
    text-decoration: none;
}

/* =========================================
   Toast Notifications (Alertas)
========================================= */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--dark-black);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 3000;
    font-weight: 700;
    transition: bottom 0.4s ease-in-out;
    display: flex;
    align-items: center;
    gap: 10px;
}

.toast.show {
    bottom: 30px;
}

.toast.success {
    border-left: 5px solid #28a745;
}

.toast.error {
    border-left: 5px solid #dc3545;
}

/* =========================================
   Responsividade (Media Queries)
========================================= */

/* Tablets em Retrato até Celulares Grandes (max 992px) */
@media (max-width: 992px) {

    /* Header e Menu Hamburguer */
    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1500;
    }

    .mobile-menu-btn span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--dark-black);
        border-radius: 3px;
        transition: transform 0.3s, opacity 0.3s;
    }

    /* Animação do "X" quando menu aberto */
    .mobile-menu-btn.open span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.open span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.open span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    #nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 1000;
    }

    #nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 25px;
    }

    /* Hero Section */
    .hero {
        padding: 150px 0 100px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    /* Contact Section Layout */
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info h2 {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .contact-form-wrapper {
        max-width: 100%;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Celulares (max 768px) */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        /* 1 coluna no celular */
    }

    .service-card {
        padding: 30px 20px;
    }

    .modal-content {
        padding: 30px 20px;
        margin: 10% auto;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-right,
    .footer-left {
        text-align: center;
    }

    .footer-right h2 {
        font-size: 1.5rem;
    }
}

/* =========================================
   Página de Serviços (servicos.html)
========================================= */

.page-header {
    background: linear-gradient(135deg, var(--dark-black) 60%, var(--primary-orange) 100%);
    color: var(--white);
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.services-details {
    background-color: var(--white);
    padding: 80px 0;
}

.service-detail-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: 10px;
    border-left: 5px solid var(--primary-orange);
}

.service-detail-row.reverse {
    flex-direction: row-reverse;
    border-left: none;
    border-right: 5px solid var(--primary-orange);
}

.service-detail-text {
    flex: 1;
    min-width: 300px;
}

.service-detail-text h2 {
    text-align: left;
    font-size: 2rem;
    color: var(--dark-black);
    margin-bottom: 20px;
}

.service-detail-text p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .service-detail-row {
        padding: 25px;
        margin-bottom: 40px;
    }

    .service-detail-row.reverse {
        flex-direction: column;
        border-right: none;
        border-left: 5px solid var(--primary-orange);
    }

    .service-detail-text h2 {
        font-size: 1.5rem;
    }
}

/* =========================================
   Página Sobre Nós (sobre.html)
========================================= */

.about-details {
    background-color: var(--white);
    padding: 80px 0;
}

.about-content {
    background-color: var(--light-bg);
    padding: 50px;
    border-radius: 10px;
    margin-bottom: 60px;
    border-left: 5px solid var(--primary-orange);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-text-block h2 {
    text-align: left;
    font-size: 2.2rem;
    color: var(--dark-black);
    margin-bottom: 30px;
}

.about-text-block p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text-block p:last-child {
    margin-bottom: 0;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pillar-card {
    background: var(--dark-black);
    color: var(--white);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-top: 5px solid var(--primary-orange);
    transition: transform 0.3s;
}

.pillar-card:hover {
    transform: translateY(-8px);
}

.pillar-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--white);
}

.pillar-card p {
    font-size: 1.05rem;
    color: #ccc;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-content {
        padding: 30px 20px;
    }

    .about-text-block h2 {
        font-size: 1.8rem;
    }

    .about-text-block p {
        font-size: 1rem;
    }

    .pillar-card {
        padding: 30px 20px;
    }
}