:root {
    --primary-color: #002f6c;
    --secondary-color: #00b460;
    --secondary-hover: #008c4a;
    --background-color: #f5f5f5;
    --text-color: #333;
    --header-padding: 20px;
    --header-title-size: 2.5rem;
    --border-radius: 15px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --plan-card-radius: 18px;
    --plan-card-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    --plan-header-padding: 25px;
    --plan-footer-bg: #fafafa;
    --plan-footer-border: 1px solid #ddd;
    --plan-footer-btn-bg: #0077b6;
    --plan-footer-btn-hover: #005f91;
    --bronze: #cd7f32;
    --bronze-dark: #b56b29;
    --prata: #c0c0c0;
    --prata-dark: #a9a9a9;
    --ouro: #ffd700;
    --ouro-dark: #e6b800;
    --modal-bg: rgba(0, 0, 0, 0.6);
    --modal-content-bg: #fff;
    --modal-content-radius: 15px;
    --modal-content-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    --modal-close-bg: #003366;
    --modal-close-hover: #001f4d;
    --success-green: #28a745;
    --icon-blue: #0077b6;
    --icon-bg: #e0f4ff;
    --show-more-btn-bg: #003366;
    --show-more-btn-hover: #001f4d;
    --show-more-btn-shadow: 0 4px 15px rgba(0, 51, 102, 0.4);
    --show-more-btn-shadow-hover: 0 6px 20px rgba(0, 31, 77, 0.7);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
body {
    background-color: var(--background-color);
    color: var(--text-color);
}
@media (max-width: 600px) {
    body {
        padding-top: 0px;
    }
}
.hero-header {
    background: linear-gradient(rgba(0, 47, 108, 0.85), rgba(0, 47, 108, 0.85)),
        url('https://via.placeholder.com/1600x600?text=WG+Convênios') no-repeat center center/cover;
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}
.hero-header h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: #fff;
}
.hero-header p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: var(--show-more-btn-shadow);
}
.btn-primary:hover {
    background-color: var(--secondary-hover);
    box-shadow: var(--show-more-btn-shadow-hover);
}
.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
}
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.plan-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s;
    border: 3px solid transparent;
}
.plan-card:hover {
    transform: translateY(-5px);
}
.bronze .plan-header {
    background-color: var(--bronze);
}
.prata .plan-header {
    background-color: var(--prata);
    color: #333;
}
.ouro .plan-header {
    background-color: var(--ouro);
    color: #333;
}
.bronze:hover {
    border-color: var(--bronze);
}
.prata:hover {
    border-color: var(--prata);
}
.ouro:hover {
    border-color: var(--ouro);
}
.plan-header {
    padding: 20px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}
.plan-header h2 {
    margin-bottom: 10px;
}
.plan-body {
    padding: 20px;
}
.plan-body ul {
    list-style: none;
}
.plan-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.plan-body ul li i {
    color: var(--secondary-color);
    margin-right: 8px;
}
.plan-footer {
    padding: 20px;
    text-align: center;
}
.plan-footer button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
}
.plan-footer button:hover {
    background-color: var(--secondary-hover);
}
.plan-body ul li.extra {
    display: none;
}
.plan-body.expanded ul li.extra {
    display: list-item;
}
.show-more-btn {
    background-color: var(--show-more-btn-bg);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 15px auto 0;
    display: block;
    width: max-content;
    transition: background-color 0.4s ease, transform 0.3s ease;
    box-shadow: var(--show-more-btn-shadow);
    user-select: none;
}
.show-more-btn:hover {
    background-color: var(--show-more-btn-hover);
    transform: scale(1.05);
    box-shadow: var(--show-more-btn-shadow-hover);
}
.show-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--show-more-btn-bg);
}
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 10px;
    margin-top: 40px;
}
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.plan-card {
    border-radius: var(--plan-card-radius);
    overflow: hidden;
    background-color: #fff;
    box-shadow: var(--plan-card-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.plan-header {
    padding: var(--plan-header-padding);
    color: #fff;
}
.prata .plan-header {
    background: linear-gradient(135deg, var(--prata), var(--prata-dark));
}
.ouro .plan-header {
    background: linear-gradient(135deg, var(--ouro), var(--ouro-dark));
}
.plan-header h2 {
    margin: 0;
    font-size: 1.625rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-header p {
    margin-top: 5px;
    font-size: 0.875rem;
    opacity: 0.9;
}
.plan-body {
    padding: 25px;
    flex-grow: 1;
}
.plan-body ul {
    list-style: none;
    padding: 0;
}
.plan-body li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 0.9375rem;
}
.plan-body li i {
    color: var(--icon-blue);
    background-color: var(--icon-bg);
    padding: 8px;
    border-radius: 50%;
    font-size: 1.125rem;
}
.plan-footer {
    padding: 20px 25px;
    border-top: var(--plan-footer-border);
    background-color: var(--plan-footer-bg);
    text-align: center;
}
.plan-footer button {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background-color: var(--plan-footer-btn-bg);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.plan-footer button:hover {
    background-color: var(--plan-footer-btn-hover);
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--modal-bg);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: var(--modal-content-bg);
    border-radius: var(--modal-content-radius);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 25px 30px;
    box-shadow: var(--modal-content-shadow);
    position: relative;
}
.modal-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--show-more-btn-bg);
    text-align: center;
}
.modal-content ul {
    list-style: none;
    padding-left: 0;
}
.modal-content ul li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #333;
}
.modal-content ul li i {
    color: var(--secondary-color);
    margin-right: 8px;
}
.modal-close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    background: var(--modal-close-bg);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 28px;
    text-align: center;
    user-select: none;
    transition: background-color 0.3s ease;
}
.modal-close-btn:hover {
    background-color: var(--modal-close-hover);
}
#Planos ul li,
#plans ul li {
    color: #000 !important;
}
#modalPrataLabel h5 {
    color: black !important;
}
.hero-header {
    position: relative;
    height: 75vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a3a8f 0%, #0c1f4d 100%);
    z-index: -2;
}
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(26, 58, 143, 0.4) 0%, rgba(12, 31, 77, 0.8) 100%);
    z-index: -1;
}
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    animation: particleMove 20s linear infinite;
}
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 10px 20px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}
h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.highlight-text {
    position: relative;
    display: inline-block;
    color: #fff;
}
.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 215, 0, 0.5);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}
h1:hover .highlight-text::after {
    transform: scaleX(1);
}
.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-primary,
.btn-secondary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-style: preserve-3d;
    will-change: transform;
}
.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffae00 100%);
    color: #0c1f4d;
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}
.btn-icon {
    margin-right: 10px;
    font-size: 1.1em;
    transition: transform 0.3s ease;
}
.btn-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
}
.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-3px);
}
.btn-primary:hover .btn-hover-effect {
    opacity: 1;
    transform: scale(1.5);
}
.btn-secondary:hover .btn-hover-effect {
    opacity: 0.3;
    transform: scale(1.5);
}
.btn-primary:hover .btn-icon {
    transform: rotate(10deg);
}
.btn-secondary:hover .btn-icon {
    transform: scale(1.1);
}
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}
@keyframes particleMove {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-100px) translateX(50px);
    }
}
.magnetic {
    transition: transform 0.2s ease;
}
.magnetic:hover {
    transform: translateY(-3px) scale(1.02);
}
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}