* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #003d82;
    --secondary-color: #c41e3a;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --gray: #666;
    --border-radius: 12px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.4s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    transition: padding 0.4s ease;
}

.navbar.scrolled .container {
    padding: 0.4rem 20px;
}

.logo img {
    height: 80px;
    width: auto;
    transition: height 0.4s ease;
}

.navbar.scrolled .logo img {
    height: 42px;
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-color), #0052a8);
    color: var(--white);
    padding: 150px 0 100px;
    margin-top: 110px;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #a01629;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
    width: 100%;
    text-align: center;
}

.btn-secondary:hover {
    background: #002a5c;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

/* Planos */
.planos {
    background: var(--light-bg);
}

.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.plano-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    position: relative;
}

.plano-card:hover {
    transform: translateY(-10px);
}

.plano-card.destaque {
    border: 3px solid var(--secondary-color);
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.plano-header h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.velocidade {
    font-size: 2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin: 1rem 0;
}

.plano-preco {
    margin: 1.5rem 0;
    font-size: 1rem;
}

.cifrao {
    font-size: 1.5rem;
    vertical-align: super;
}

.valor {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.periodo {
    color: var(--gray);
}

.plano-descricao {
    color: var(--gray);
    margin: 1rem 0;
    min-height: 50px;
}

.plano-beneficios {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.plano-beneficios li {
    padding: 0.5rem 0;
    color: var(--text-color);
}

.plano-beneficios i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Sobre */
.sobre-content {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-text {
    text-align: center;
}

.sobre-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.diferenciais {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.diferencial {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
}

.diferencial i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.diferencial h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

/* Contato */
.contato {
    background: var(--light-bg);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.contato-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    text-decoration:none;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s;
    text-decoration:none;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato-form input,
.contato-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.mapa {
    margin-top: 3rem;
}

.mapa h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.mapa iframe {
    border-radius: var(--border-radius);
}

/* Footer */
footer {
    background: #1a1a1a;
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contato p {
    margin-bottom: 0.5rem;
}

.footer-contato i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.footer-social h4 {
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    text-decoration:none;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #333;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
     text-decoration:none;
}

.social-icons a:hover {
    background: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

/* =============================
   WHATSAPP FLOAT - BLOCO INFO
   ============================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Botão circular que abre/fecha */
.wpp-float-toggle {
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s;
    position: relative;
    z-index: 2;
    margin-left: auto;
}

.wpp-float-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 28px rgba(37,211,102,0.5);
}

/* Ícone de fechar quando aberto */
.wpp-float-toggle .fa-xmark {
    display: none;
}

.whatsapp-float.open .wpp-float-toggle .fa-whatsapp {
    display: none;
}

.whatsapp-float.open .wpp-float-toggle .fa-xmark {
    display: block;
    font-size: 1.4rem;
}

/* Card flutuante */
.wpp-float-card {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.95);
    transform-origin: bottom right;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.whatsapp-float.open .wpp-float-card {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Topo verde */
.wpp-float-top {
    background: linear-gradient(135deg, #25D366, #128C7E);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.wpp-float-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.5);
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.wpp-float-info h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.wpp-float-online {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
}

.wpp-float-online-dot {
    width: 7px;
    height: 7px;
    background: #b9f6ca;
    border-radius: 50%;
    animation: wppPulse 1.8s ease-in-out infinite;
}

@keyframes wppPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

/* Corpo */
.wpp-float-body {
    padding: 20px;
    text-align: center;
}

.wpp-float-numero {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
    letter-spacing: 0.3px;
}

.wpp-float-sub {
    font-size: 0.8rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 16px;
}

.wpp-float-sub strong {
    color: var(--primary-color);
}

/* Serviços */
.wpp-float-servicos {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.wpp-float-servico {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--light-bg);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #334155;
}

.wpp-float-servico i {
    font-size: 0.72rem;
    color: #25D366;
}

/* Botão CTA */
.wpp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: var(--white);
    padding: 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 3px 14px rgba(37,211,102,0.3);
}

.wpp-float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
}

.wpp-float-btn i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .planos-grid {
        grid-template-columns: 1fr;
    }
    
    .plano-card.destaque {
        transform: scale(1);
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links,
    .social-icons {
        justify-content: center;
    }

    .wpp-float-card {
        width: 290px;
        right: -6px;
    }
}


/* =============================
   AVALIAÇÕES GOOGLE - REDESIGN
   ============================= */
.avaliacoes {
    background: #f5f7fa;
    padding: 80px 0 70px;
    position: relative;
}

.avaliacoes::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #003d82, #c41e3a, #003d82);
}

/* Header */
.av-header {
    text-align: center;
    margin-bottom: 3rem;
}

.av-google-score {
    display: inline-flex;
    align-items: center;
    gap: 1.2rem;
    background: white;
    border-radius: 50px;
    padding: 12px 24px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.av-score-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.av-score-num {
    font-size: 1.9rem;
    font-weight: 800;
    color: #111;
    letter-spacing: -1px;
}

.av-score-stars {
    color: #f9ab00;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.av-score-label {
    font-size: 0.72rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.av-score-divider {
    width: 1px;
    height: 40px;
    background: #e0e0e0;
}

.av-score-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.av-google-logo {
    height: 22px;
    width: auto;
}

.av-score-sub {
    font-size: 0.72rem;
    color: #888;
}

/* Carrossel container */
.av-carousel-wrap {
    display: flex;
    align-items: stretch;
    gap: 12px;
    position: relative;
    isolation: isolate;
}

.av-carousel-viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.av-carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    align-items: stretch;
}

/* Card */
.av-card {
    background: white;
    border-radius: 12px;
    padding: 14px 16px;
    min-width: 180px;
    max-width: 250px;
    width: calc(25% - 12px);
    flex-shrink: 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-sizing: border-box;
}

.av-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,61,130,0.13);
}

/* Topo do card: foto + nome + estrelas + ícone google */
.av-card-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.av-foto {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
    box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}

.av-card-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.av-nome {
    font-weight: 700;
    font-size: 0.82rem;
    color: #111;
}

.av-stars {
    color: #f9ab00;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.av-gicon {
    height: 12px;
    width: auto;
    opacity: 0.6;
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 1px;
}

/* Texto da avaliação */
.av-texto {
    color: #555;
    font-size: 0.82rem;
    line-height: 1.5;
    font-style: italic;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 20;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.av-tempo {
    font-size: 0.78rem;
    color: #aaa;
    display: block;
}

/* Setas */
.av-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e0e0e0;
    color: #003d82;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    z-index: 20;
    align-self: center;
    pointer-events: all;
    -webkit-tap-highlight-color: transparent;
}

.av-arrow:hover {
    background: #003d82;
    border-color: #003d82;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0,61,130,0.25);
}

.av-arrow:disabled {
    opacity: 0.35;
}

/* Dots */
.av-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.8rem;
}

.av-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.av-dot.active {
    background: #003d82;
    width: 24px;
    border-radius: 4px;
}

/* CTA */
.av-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.av-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #333;
    padding: 13px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 3px 16px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s;
}

.av-cta-btn:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    transform: translateY(-2px);
    border-color: #c0c0c0;
}

.av-cta-glogo {
    height: 18px;
    width: auto;
}

/* Responsivo avaliações */
@media (max-width: 1100px) {
    .av-card {
        width: calc(33.333% - 11px);
    }
}

@media (max-width: 750px) {
    .av-card {
        width: calc(50% - 8px);
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .av-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .av-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }

    .av-google-score {
        flex-direction: column;
        gap: 0.6rem;
        padding: 14px 20px;
    }

    .av-score-divider {
        width: 40px;
        height: 1px;
    }
}

/* Skeleton Loading */
.av-skeleton-wrap {
    display: flex;
    gap: 20px;
}

.av-skeleton {
    flex: 1;
    height: 140px;
    border-radius: 12px;
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.av-foto-fallback {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    border: 2px solid #f0f0f0;
}

@media (max-width: 750px) {
    .av-skeleton-wrap {
        gap: 12px;
    }
    .av-skeleton:nth-child(3),
    .av-skeleton:nth-child(4) {
        display: none;
    }
}

@media (max-width: 480px) {
    .av-skeleton:nth-child(2) {
        display: none;
    }
}

/* =============================
   MAPA DE COBERTURA
   ============================= */
.cobertura {
    background: #f5f7fa;
    padding: 80px 0 70px;
}

.cobertura-card {
    margin-top: 2rem;
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(0,61,130,0.10);
    border: 1px solid rgba(0,61,130,0.08);
    background: #fff;
}

.cobertura-card-header {
    background: linear-gradient(135deg, #003d82, #0056b8);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.cobertura-card-header > i {
    font-size: 1.2rem;
    opacity: 0.9;
    flex-shrink: 0;
}

.cobertura-card-header > span {
    font-weight: 700;
    font-size: 1rem;
    flex: 1;
}

.cobertura-legenda {
    display: flex;
    gap: 1rem;
}

.leg-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    opacity: 0.9;
}

.leg-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.leg-ativo   { background: #28d17c; }
.leg-inativo { background: #ff4d4d; }

#pianet-map-widget {
    height: 500px !important;
    width: 100% !important;
    display: block;
}

.cobertura-footer {
    padding: 0.9rem 1.5rem;
    background: #f8f9fb;
    border-top: 1px solid #eee;
    border-radius: 0 0 18px 18px;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cobertura-footer i { color: #003d82; }

.cobertura-footer a {
    color: #003d82;
    font-weight: 600;
    text-decoration: none;
}

.cobertura-footer a:hover { text-decoration: underline; }

.cobertura-erro {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 2rem;
    text-align: center;
    color: #666;
    gap: 0.5rem;
}

.cobertura-erro i {
    font-size: 2.5rem;
    color: #c41e3a;
    opacity: 0.6;
}

.cobertura-erro p { font-size: 0.95rem; }

@media (max-width: 600px) {
    .cobertura-card-header { flex-wrap: wrap; }
    .cobertura-legenda     { margin-left: 0; width: 100%; }
    #pianet-map-widget     { height: 360px !important; }
}

/* =============================
   MENSAGENS DE FEEDBACK
   ============================= */
.mensagem-sucesso,
.mensagem-erro {
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    animation: slideDown 0.5s ease;
}

.mensagem-sucesso {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 5px solid #28a745;
    color: #155724;
}

.mensagem-erro {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 5px solid #dc3545;
    color: #721c24;
}

.mensagem-sucesso i,
.mensagem-erro i {
    font-size: 1.75rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.mensagem-sucesso i { color: #28a745; }
.mensagem-erro i    { color: #dc3545; }

.mensagem-sucesso p,
.mensagem-erro p,
.mensagem-erro ul {
    margin: 0;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
}

.mensagem-erro ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.mensagem-erro li {
    margin: 0.5rem 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mensagem-sucesso::after,
.mensagem-erro::after {
    content: '×';
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: auto;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    padding: 0 0.5rem;
}

.mensagem-sucesso:hover::after,
.mensagem-erro:hover::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .mensagem-sucesso,
    .mensagem-erro {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .mensagem-sucesso i,
    .mensagem-erro i {
        font-size: 1.5rem;
    }
}