/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #0066cc;
    --dark-blue: #004494;
    --light-blue: #3399ff;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --accent-orange: #ff9500;
    --success-green: #28a745;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--medium-gray);
    background-color: var(--white);
    overflow-x: hidden;
    max-width: 100%;
}

/* Header e Navegação */
header {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo span {
    color: var(--primary-blue);
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

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

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

.nav-links a:hover {
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    transition: all 0.3s ease;
}

/* ===== HERO SECTION MELHORADA ===== */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 30%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 150px 5% 100px;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(51, 153, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 102, 204, 0.08) 0%, transparent 50%);
    opacity: 0.5;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.05 )"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
    animation: slideBackground 20s linear infinite;
}

@keyframes slideBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    font-weight: 800;
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-highlight {
    display: inline-block;
    background: rgba(51, 153, 255, 0.2);
    border-left: 4px solid var(--accent-orange);
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-highlight strong {
    color: var(--accent-orange);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
    animation: fadeInUp 1s ease 0.4s backwards;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 102, 204, 0.6);
}

.imagempessoal {
    flex-shrink: 0;
    width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    position: relative;
    animation: slideInRight 1s ease-out;
}

.imagempessoal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

/* ===== SEÇÃO DE ESTATÍSTICAS ===== */
.stats-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 60px 5%;
    margin: 0;
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--primary-blue);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--medium-gray);
    font-weight: 600;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.stat-card:hover .stat-description {
    color: var(--dark-gray);
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--black);
    text-align: center;
    font-weight: 800;
    position: relative;
    display: inline-block;
    width: 100%;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--light-blue));
    border-radius: 2px;
}

section .section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--medium-gray);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* ===== CARDS MELHORADOS ===== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(51, 153, 255, 0.1) 0%, rgba(0, 102, 204, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 102, 204, 0.25);
    border-color: var(--primary-blue);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.5);
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--black);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.card p {
    color: var(--medium-gray);
    line-height: 1.8;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.card-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.card-link::after {
    content: '→';
    margin-left: 0.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.card-link:hover::after {
    transform: translateX(5px);
}

.card-link:hover {
    color: var(--dark-blue);
}

/* ===== SEÇÃO "POR QUE ESCOLHER" ===== */
.why-choose-section {
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(245, 245, 245, 0.5) 100%);
}

.why-choose-section h2 {
    color: var(--black);
}

/* ===== SEÇÃO DE CTA FINAL ===== */
.cta-final-section {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 30%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 80px 5%;
    margin: 60px 0 0 0;
    position: relative;
    overflow: hidden;
}

.cta-final-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots2" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.08 )"/></pattern></defs><rect width="100" height="100" fill="url(%23dots2)"/></svg>');
    opacity: 0.5;
}

.cta-final-section h2 {
    color: var(--white);
    position: relative;
    z-index: 1;
    font-size: 2.5rem;
}

.cta-final-section h2::after {
    background: rgba(255, 255, 255, 0.3);
}

.cta-final-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
}

.cta-final-section .cta-button {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    font-weight: 800;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.cta-final-section .cta-button:hover {
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    transform: translateY(-5px);
}

/* Content Page */
.content-page {
    background: var(--light-gray);
    padding: 150px 5% 80px;
    margin-top: 70px;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.content-wrapper h1 {
    font-size: 2.8rem;
    color: var(--black);
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--primary-blue);
    padding-left: 1.5rem;
}

.content-wrapper h2 {
    font-size: 2rem;
    color: var(--black);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    text-align: left;
}

.content-wrapper h3 {
    font-size: 1.5rem;
    color: var(--dark-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.content-wrapper ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.content-wrapper li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.highlight-box h3 {
    color: var(--white);
    margin-top: 0;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--black);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-button {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 102, 204, 0.3);
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-item-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.contact-item:hover .contact-item-icon {
    color: var(--white);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--black);
}

.contact-item:hover h3,
.contact-item:hover p {
    color: var(--white);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 3rem 5% 1.5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

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

/* ===== AVISO LEGAL ===== */
.legal-note {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(51, 153, 255, 0.05) 100%);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.legal-note p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-note strong {
    color: var(--dark-blue);
}

/*botão do whatsapp*/
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 3px 3px 15px rgba(0,0,0,0.4);
}
.whatsapp-float img {
  width: 35px;
  margin-top: 12px;
}

/* ===== ANIMAÇÕES GERAIS ===== */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeInUp 0.8s ease;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .imagempessoal {
        margin: 0 auto; /* Centraliza a imagem */
    }
    .hero h1 { font-size: 2.8rem; }
    section h2 { font-size: 2.2rem; }
    .stat-number { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--black);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .hero { padding: 100px 5% 60px; min-height: auto; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .imagempessoal { width: 240px; }
    section h2 { font-size: 2rem; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .cards-container { grid-template-columns: 1fr; gap: 1.5rem; }
    .card { padding: 1.5rem; }
    .stats-container { gap: 1.5rem; }
    .stat-card { padding: 1.5rem; }
    .stat-number { font-size: 2rem; }
    .cta-final-section { padding: 50px 5%; }
    .cta-final-section h2 { font-size: 1.8rem; }
    .content-wrapper { padding: 2rem 1.5rem; }
    .content-wrapper h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 5% 40px;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

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

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    section {
        padding: 50px 5%;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .card h3 {
        font-size: 1.3rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

/* ===== AVISO LEGAL ===== */
.legal-note {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1) 0%, rgba(51, 153, 255, 0.05) 100%);
    border-left: 4px solid var(--primary-blue);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.legal-note p {
    color: var(--medium-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

.legal-note strong {
    color: var(--dark-blue);
}

.stat-description {
    font-size: 0.95rem;
    color: var(--medium-gray);
    margin-top: 0.5rem;
    line-height: 1.4;
}

.stat-card:hover .stat-description {
    color: var(--dark-gray); /* Melhora a legibilidade no hover */
}



/* =============================================== */
/* ===== CORREÇÃO PARA TELAS ULTRA-LARGAS ===== */
/* =============================================== */

/* 
  Esta regra limita a largura máxima de todas as seções e do rodapé 
  em telas muito grandes, garantindo que o layout não se estique 
  excessivamente e mantendo a consistência visual.
*/
@media (min-width: 1921px) {
    section,
    footer > .footer-content,
    footer > .footer-bottom,
    main > div {
        max-width: 1800px; /* Largura máxima para o conteúdo em 4K+ */
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* 
      Garante que o header e o hero section (que devem ocupar a tela inteira) 
      não sejam afetados pela regra acima.
    */
    header, .hero {
        max-width: none;
    }

    /* Centraliza o conteúdo do hero e do header dentro do limite de 1800px */
    .hero .hero-content,
    header nav {
        max-width: 1800px;
        margin-left: auto;
        margin-right: auto;
    }
}
