/* General Styles */
:root {
    --primary-color: #102c57;
    /* Navy Blue Profundo */
    --primary-light: #1e4b8a;
    /* Azul um pouco mais claro para hover */
    --secondary-color: #64748b;
    /* Slate Gray elegante */
    --accent-color: #c0a062;
    /* Dourado sutil para detalhes premium */
    --text-color: #334155;
    /* Cinza escuro suave para leitura */
    --light-bg: #f8fafc;
    /* Fundo off-white frio */
    --dark-bg: #0f172a;
    /* Fundo escuro premium */
    --white: #ffffff;
    --container-width: 1140px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.7;
    /* Melhor legibilidade */
    color: var(--text-color);
    background: var(--light-bg);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
    /* Mais respiro entre seções */
}

.bg-light {
    background-color: var(--light-bg);
    border-bottom: 1px solid #e2e8f0;
}

h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    /* Fonte Serifa para autoridade e seriedade */
    margin-bottom: 25px;
    font-weight: 700;
}

h1 {
    font-size: 3.5em;
    /* Aumentado um pouco */
    letter-spacing: -1px;
    line-height: 1.2;
}

h2 {
    font-size: 2.8em;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    /* Linha decorativa abaixo dos títulos */
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

h3 {
    font-size: 1.8em;
}

p.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px auto;
    font-size: 1.2em;
    color: var(--secondary-color);
    font-weight: 300;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 4px;
    /* Bordas mais retas */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1em;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    /* Sombra mais sutil */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e2e8f0;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 90px;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 35px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1em;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

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

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.header-btn {
    margin-left: 0;
    padding: 10px 20px;
}

/* Hero Section */
.hero-section {
    position: relative;
    /* Overlay escuro elegante */
    background: linear-gradient(rgba(16, 44, 87, 0.8), rgba(15, 23, 42, 0.8)), url('imagemfundo.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 180px 0;
    display: flex;
    align-items: center;
    min-height: 700px;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 25px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.5em;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    color: #cbd5e1;
    /* Cinza claro */
}

/* Services Section */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 6px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
    border-top: 4px solid transparent;
    /* Prepare for hover effect */
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent-color);
    /* Toque de cor no topo */
}

.service-card i {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card p {
    font-size: 1em;
    color: var(--secondary-color);
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.benefit-item {
    padding: 30px;
    border-radius: 10px;
    background-color: var(--light-bg);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item i {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-item h3 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.benefit-item p {
    color: var(--secondary-color);
}


/* Testimonials Section */
.testimonial-carousel {
    display: flex;
    /* Para controlar o carrossel com JS */
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.testimonial-item {
    flex: 0 0 100%;
    /* Cada item ocupa 100% da largura */
    padding: 40px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-style: italic;
    font-size: 1.1em;
    color: var(--text-color);
    transition: transform 0.5s ease-in-out;
    /* Para o carrossel */
}

.testimonial-item p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-item span {
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    margin-top: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
}


/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.contact-info {
    padding: 40px 0;
}

.contact-info h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.contact-info p i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.3em;
    width: 25px;
    /* Para alinhar os ícones */
    text-align: center;
}

.contact-info p a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info p a:hover {
    color: var(--primary-color);
}

.map-container {
    margin-top: 30px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.map-container iframe {
    width: 100%;
    display: block;
}


/* Footer */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 50px 0 20px 0;
    font-size: 0.9em;
}

.main-footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    /* Para responsividade */
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    /* Ajuste conforme o logo real */
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links ul li {
    margin: 0 15px 10px 15px;
}

.footer-links ul li a {
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.social-icons a {
    color: var(--white);
    font-size: 1.5em;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 5px;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}


/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: pulse 2s infinite;
}

.whatsapp-float i {
    font-size: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background-color: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -8px;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent #333;
}

.whatsapp-float a:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .main-header .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-header .logo,
    .header-btn {
        margin-bottom: 15px;
    }

    .main-nav ul {
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }

    .main-nav ul li {
        margin: 0 15px;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .service-cards,
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-info {
        padding: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo,
    .footer-links,
    .social-icons {
        margin-bottom: 20px;
    }

    .footer-links ul {
        flex-direction: column;
    }

    .footer-links ul li {
        margin: 5px 0;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }

    .whatsapp-float i {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 2em;
    }

    h3 {
        font-size: 1.5em;
    }

    .hero-section {
        padding: 100px 0;
        min-height: 500px;
    }

    .hero-content p {
        font-size: 1em;
    }

    .btn-large {
        padding: 10px 25px;
        font-size: 1em;
    }

    .service-cards,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-header .logo img {
        height: 40px;
    }

    .main-nav ul li {
        margin: 0 10px;
        font-size: 0.9em;
    }

    .header-btn {
        margin-left: 0;
    }

    h1 {
        font-size: 1.8em;
    }

    .section-padding {
        padding: 50px 0;
    }

    .footer-links ul {
        align-items: center;
    }

    .social-icons a {
        margin: 0 8px;
    }
}

/* Page Header */
.page-header {
    background-color: var(--light-bg);
    padding-top: 180px;
    /* Space for fixed header */
    padding-bottom: 40px;
}

/* Adjust for taller header on smaller screens */
/* Adjustments for Mobile/Tablet */
@media (max-width: 992px) {

    /* Header não fixa em mobile para evitar cobrir conteúdo */
    .main-header {
        position: relative !important;
    }

    /* Reset padding já que o header não é mais fixo */
    .page-header {
        padding-top: 60px !important;
    }

    .page-header h1 {
        font-size: 2.2em;
        /* Reduz fonte para não estourar lateralmente */
    }
}

.page-header h1 {
    font-size: 2.8em;
    margin-bottom: 10px;
}

/* Registration Form */
.registration-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.registration-form .form-section-title {
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
}

.registration-form .form-section-title h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5em;
    display: flex;
    align-items: center;
}

.registration-form .form-section-title h3 i {
    margin-right: 10px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.half-width {
    flex: 1;
}

.full-width {
    width: 100%;
}

.registration-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.registration-form input[type="text"],
.registration-form input[type="email"],
.registration-form input[type="tel"],
.registration-form textarea,
.registration-form select {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fafafa;
}

.registration-form input:focus,
.registration-form textarea:focus,
.registration-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    background-color: #fff;
}

.form-actions {
    margin-top: 30px;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .half-width {
        margin-bottom: 20px;
    }

    .registration-form-container {
        padding: 20px;
    }
}

/* Socio Card Styles */
.socio-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    animation: fadeIn 0.5s;
}

.socio-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.socio-header h4 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2em;
}

.btn-remove-socio {
    background: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
}

.btn-remove-socio:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}