/* ============================================================
   CORPO.CSS — Mundo DP
   Base para todas as páginas (exceto menu e footer que têm CSS próprio)
   Paleta: fundo claro, texto escuro, destaques âmbar e verde
============================================================ */

/* ── Google Fonts (mesmo par do menu/footer) ─────────────── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── Variáveis globais ───────────────────────────────────── */
:root {
    /* Paleta principal */
    --navy:          #0B1628;
    --navy-mid:      #1A2A44;
    --navy-light:    #243352;
    --amber:         #FFC107;
    --amber-dark:    #E6A800;
    --amber-pale:    #FFF8E1;
    --green:         #1B8A5A;
    --green-light:   #22A96E;
    --green-pale:    #E8F5EE;
    --red:           #D93025;
    --red-pale:      #FDECEA;
    --blue:          #1565C0;
    --blue-pale:     #E3F0FF;

    /* Paleta de corpo (clara) */
    --bg:            #F5F7FB;       /* fundo da página */
    --bg-card:       #FFFFFF;       /* cards, painéis */
    --bg-alt:        #EDF0F7;       /* seções zebradas */
    --bg-input:      #FFFFFF;

    /* Texto */
    --text-primary:  #0F1D33;
    --text-secondary:#3D5166;
    --text-muted:    #7A8FA6;
    --text-invert:   #FFFFFF;

    /* Bordas */
    --border:        #DDE3EE;
    --border-focus:  var(--amber);

    /* Sombras */
    --shadow-xs:     0 1px 3px rgba(15,29,51,0.06);
    --shadow-sm:     0 2px 8px rgba(15,29,51,0.08);
    --shadow-md:     0 6px 24px rgba(15,29,51,0.10);
    --shadow-lg:     0 16px 48px rgba(15,29,51,0.13);
    --shadow-amber:  0 4px 20px rgba(255,193,7,0.30);
    --shadow-green:  0 4px 20px rgba(27,138,90,0.28);

    /* Tipografia */
    --font-display:  'Syne', sans-serif;
    --font-body:     'DM Sans', sans-serif;

    /* Layout */
    --radius-sm:     6px;
    --radius:        10px;
    --radius-lg:     16px;
    --radius-xl:     24px;
    --container:     1200px;
    --transition:    0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-mid); transition: color var(--transition); }
a:hover { color: var(--amber-dark); }

/* ── Container ───────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container-lg { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ── Seções ──────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
    background: var(--navy);
    color: var(--text-invert);
}
.section-dark .section-subtitle { color: rgba(255,255,255,0.65); }

/* ── Títulos de seção ────────────────────────────────────── */
.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber-dark);
    background: var(--amber-pale);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.22;
    margin: 0 0 14px;
}

.section-title span { color: var(--amber-dark); }
.section-title .u-green { color: var(--green); }

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 0 40px;
    line-height: 1.7;
}

.title-center { text-align: center; }
.title-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ── TIPOGRAFIA ──────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
    margin: 0 0 .5em;
}

h1 { font-size: clamp(28px, 5vw, 48px); font-weight: 800; }
h2 { font-size: clamp(22px, 4vw, 36px); }
h3 { font-size: clamp(18px, 3vw, 24px); }
h4 { font-size: 18px; }
h5 { font-size: 15px; }

p { margin: 0 0 1em; }

.lead {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.75;
}

.text-muted  { color: var(--text-muted); }
.text-amber  { color: var(--amber-dark); }
.text-green  { color: var(--green); }
.text-navy   { color: var(--navy-mid); }
.text-sm     { font-size: 13px; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.fw-bold     { font-weight: 700; }
.fw-semi     { font-weight: 600; }

/* ── CARDS ───────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.card-flat { box-shadow: none; }
.card-flat:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* Card com borda colorida no topo */
.card-accent-amber { border-top: 3px solid var(--amber); }
.card-accent-green  { border-top: 3px solid var(--green); }
.card-accent-navy   { border-top: 3px solid var(--navy-mid); }
.card-accent-red    { border-top: 3px solid var(--red); }

/* Card escuro */
.card-dark {
    background: var(--navy-mid);
    border-color: rgba(255,255,255,0.08);
    color: var(--text-invert);
}

.card-dark h3, .card-dark h4 { color: var(--text-invert); }
.card-dark p  { color: rgba(255,255,255,0.72); }

/* Card destacado (âmbar) */
.card-highlight {
    background: linear-gradient(135deg, #FFFDF0, #FFF8D6);
    border: 1.5px solid var(--amber);
    box-shadow: var(--shadow-amber);
}

/* Card com ícone */
.card-icon-wrap {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.card-icon-amber { background: var(--amber-pale); color: var(--amber-dark); }
.card-icon-green  { background: var(--green-pale);  color: var(--green);      }
.card-icon-navy   { background: #E8EDF5;             color: var(--navy-mid);   }
.card-icon-red    { background: var(--red-pale);     color: var(--red);        }
.card-icon-blue   { background: var(--blue-pale);    color: var(--blue);       }

/* ── GRIDS DE CARDS ──────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 24px; }

/* ── BOTÕES ──────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition),
                box-shadow var(--transition), transform var(--transition);
    white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--amber);
    color: var(--navy);
    box-shadow: var(--shadow-amber);
}
.btn-primary:hover {
    background: var(--amber-dark);
    color: var(--navy);
    box-shadow: 0 6px 24px rgba(255,193,7,0.45);
}

.btn-secondary {
    background: var(--navy-mid);
    color: var(--text-invert);
}
.btn-secondary:hover { background: var(--navy); }

.btn-green {
    background: var(--green);
    color: var(--text-invert);
    box-shadow: var(--shadow-green);
}
.btn-green:hover { background: #166e49; }

.btn-outline {
    background: transparent;
    color: var(--navy-mid);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    background: var(--amber-pale);
    border-color: var(--amber);
    color: var(--amber-dark);
}

.btn-outline-white {
    background: transparent;
    color: var(--text-invert);
    border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.7);
}

.btn-sm { padding: 7px 16px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 16px; border-radius: var(--radius-lg); }

/* ── FORMULÁRIOS ─────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 7px;
    letter-spacing: 0.02em;
}

.form-label .required { color: var(--red); margin-left: 2px; }

.form-control {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--amber);
    box-shadow: 0 0 0 3px rgba(255,193,7,0.18);
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:disabled {
    background: var(--bg-alt);
    opacity: 0.65;
    cursor: not-allowed;
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A8FA6' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 5px;
}

.form-error {
    font-size: 12px;
    color: var(--red);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Grupo inline (label + input na mesma linha) */
.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 16px;
}

/* Caixa de formulário completa */
.form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.form-box-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

/* ── ALERTAS / QUADROS CHAMATIVOS ────────────────────────── */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 14px;
    line-height: 1.6;
    border-left: 4px solid;
}

.alert i { font-size: 16px; flex-shrink: 0; margin-top: 2px; }

.alert-info    { background: var(--blue-pale);  border-color: var(--blue);  color: #0D47A1; }
.alert-success { background: var(--green-pale); border-color: var(--green); color: #145A3C; }
.alert-warning { background: var(--amber-pale); border-color: var(--amber); color: #7A5400; }
.alert-danger  { background: var(--red-pale);   border-color: var(--red);   color: #8B1A12; }

/* ── DESTAQUE / POINT ────────────────────────────────────── */
/* Caixa de destaque com ícone grande — use para pontos fortes */
.highlight-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--text-invert);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,193,7,0.18), transparent 70%);
    pointer-events: none;
}

.highlight-box h3 { color: var(--text-invert); }
.highlight-box p  { color: rgba(255,255,255,0.75); }

/* Pill / tag de destaque */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.badge-amber   { background: var(--amber-pale);  color: var(--amber-dark); }
.badge-green   { background: var(--green-pale);  color: var(--green);      }
.badge-navy    { background: #E8EDF5;             color: var(--navy-mid);   }
.badge-red     { background: var(--red-pale);     color: var(--red);        }
.badge-dark    { background: var(--navy-mid);     color: var(--text-invert);}

/* ── TABELAS ─────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table th {
    background: var(--bg-alt);
    padding: 10px 14px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
    vertical-align: middle;
}

.table tbody tr:hover { background: var(--amber-pale); }
.table tbody tr:last-child td { border-bottom: none; }

.table-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

/* ── RESULTADOS DE CÁLCULO ───────────────────────────────── */
/* Caixas de resultado de impostos/cálculos */
.result-box {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
}

.result-row:last-child { border-bottom: none; }
.result-row .label { color: var(--text-secondary); }
.result-row .value { font-weight: 600; color: var(--text-primary); }
.result-row.total  { border-top: 2px solid var(--border); padding-top: 14px; margin-top: 6px; }
.result-row.total .label { font-weight: 700; font-size: 15px; }
.result-row.total .value { font-size: 20px; color: var(--green); font-family: var(--font-display); }
.result-row.deducao .value { color: var(--red); }

/* ── DIVISORES ───────────────────────────────────────────── */
.divider {
    height: 1px;
    background: var(--border);
    margin: 32px 0;
}

.divider-amber {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
    margin: 40px 0;
    opacity: 0.5;
}

/* ── LISTA ESTILIZADA ────────────────────────────────────── */
.check-list {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.check-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    color: var(--green);
    background: var(--green-pale);
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber-dark); }
.breadcrumb .sep { font-size: 10px; opacity: 0.5; }
.breadcrumb .current { color: var(--text-primary); font-weight: 600; }

/* ── NÚMERO DESTAQUE (estatísticas) ─────────────────────── */
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: var(--amber-dark);
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}

/* ── PAGE TITLE BAR ──────────────────────────────────────── */
.page-title-bar {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 48px 0 40px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.page-title-bar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amber), var(--green), var(--amber));
}

.page-title-bar h1 { color: var(--text-invert); margin: 0; }
.page-title-bar .breadcrumb { color: rgba(255,255,255,0.55); }
.page-title-bar .breadcrumb a { color: rgba(255,255,255,0.55); }
.page-title-bar .breadcrumb a:hover { color: var(--amber); }
.page-title-bar .breadcrumb .current { color: rgba(255,255,255,0.85); }

/* ── ANIMAÇÕES DE ENTRADA ────────────────────────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── SCROLL TO TOP ───────────────────────────────────────── */
#scroll-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 42px; height: 42px;
    background: var(--navy-mid);
    color: var(--text-invert);
    border: none;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
    z-index: 900;
}

#scroll-top.show { opacity: 1; pointer-events: auto; }
#scroll-top:hover { background: var(--amber); color: var(--navy); transform: translateY(-3px); }

/* ── RESPONSIVE HELPERS ──────────────────────────────────── */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
    .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .grid-4          { grid-template-columns: repeat(2,1fr); }
    .section         { padding: 48px 0; }
    .section-lg      { padding: 64px 0; }
    .form-box        { padding: 20px; }
    .highlight-box   { padding: 28px 20px; }
}

@media (max-width: 480px) {
    .grid-4          { grid-template-columns: 1fr; }
    .btn-lg          { width: 100%; justify-content: center; }
    .container       { padding: 0 16px; }
    #scroll-top      { bottom: 16px; right: 16px; }
}


/* ══════════════════════════════════════════════════════════
   EFEITOS E UTILITÁRIOS ADICIONAIS — Mundo DP
   Adicionado para suportar páginas de hub e cards animados
══════════════════════════════════════════════════════════ */

/* ── Animação de gradiente (barra inferior hero, etc.) ─── */
@keyframes gradientShift {
    0%   { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ── Card com borda glow ao hover ────────────────────────
   Uso: adicione --card-glow ao seletor e aplique .card-glow
   Ex: .meu-card { --card-glow: linear-gradient(135deg, var(--amber), transparent); }
   <div class="card card-glow meu-card"> */
.card-glow {
    position: relative;
}

.card-glow::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: var(--card-glow, linear-gradient(135deg, var(--amber), transparent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
    z-index: 0;
}

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

/* ── Pill / eyebrow label ─────────────────────────────── */
.eyebrow-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.eyebrow-amber {
    color: var(--amber-dark);
    background: var(--amber-pale);
    border: 1px solid rgba(255,193,7,0.3);
}

.eyebrow-green {
    color: var(--green);
    background: var(--green-pale);
    border: 1px solid rgba(27,138,90,0.2);
}

.eyebrow-blue {
    color: var(--blue);
    background: var(--blue-pale);
    border: 1px solid rgba(21,101,192,0.2);
}

.eyebrow-navy {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
}

/* ── Hero gradient background ────────────────────────── */
.hero-dark {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #1a3a5c 100%);
    position: relative;
    overflow: hidden;
}

.hero-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 80% 50%, rgba(255,193,7,0.07) 0%, transparent 70%),
        radial-gradient(ellipse 400px 300px at 10% 80%, rgba(27,138,90,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Linha inferior animada para o hero */
.hero-dark::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--amber), var(--green), var(--blue), var(--amber));
    background-size: 200% 100%;
    animation: gradientShift 4s linear infinite;
}

/* ── Hover lift suave ────────────────────────────────── */
.hover-lift {
    transition: transform var(--transition), box-shadow var(--transition);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

/* ── Icon bounce no hover ────────────────────────────── */
.icon-bounce {
    transition: transform var(--transition);
}

.icon-bounce:hover .icon-bounce-target,
.icon-bounce:hover > i {
    transform: scale(1.1) rotate(-4deg);
}

/* ── Info strip ──────────────────────────────────────── */
/* Barra informativa de rodapé de seção */
.strip-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px 22px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.strip-info i {
    font-size: 18px;
    color: var(--amber-dark);
    flex-shrink: 0;
}

.strip-info strong { color: var(--text-primary); }

.strip-info.strip-green  i { color: var(--green); }
.strip-info.strip-blue   i { color: var(--blue); }
.strip-info.strip-red    i { color: var(--red); }

/* ── Grid utilitária para hubs ───────────────────────── */
.grid-hub-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media (max-width: 860px) {
    .grid-hub-2 { grid-template-columns: 1fr; gap: 18px; }
}

/* ── Pulse dot (status ativo) ────────────────────────── */
.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid var(--green);
    animation: pulsering 1.6s ease-out infinite;
    opacity: 0;
}

@keyframes pulsering {
    0%   { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.8); opacity: 0;   }
}

/* ══════════════════════════════════════════════════════════
   ÁREA DO CLIENTE — Perfil, Aniversário e Cards Dinâmicos
══════════════════════════════════════════════════════════ */

.area-cliente-main {
    padding-top: 40px;
    padding-bottom: 64px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* ── Cartão de perfil ────────────────────────────────────── */
.profile-hero {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    padding: 32px;
}

.profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--text-invert);
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

.profile-info { flex: 1 1 320px; min-width: 0; }
.profile-info h1 { margin-bottom: 12px; }

.profile-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-bottom: 14px;
}

.profile-field {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.profile-field i { color: var(--amber-dark); width: 16px; text-align: center; }

.profile-plan-badge { margin-top: 4px; }

.profile-edit-btn { flex-shrink: 0; align-self: center; }

@media (max-width: 640px) {
    .profile-hero { padding: 24px 20px; text-align: center; justify-content: center; }
    .profile-info { text-align: left; }
}

/* ── Faixa de aniversário do mês ─────────────────────────── */
.birthday-ribbon {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, var(--amber-pale), #FFF, var(--amber-pale));
    border: 1.5px dashed var(--amber);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.birthday-ribbon i { color: var(--amber-dark); font-size: 18px; }
.birthday-ribbon strong { color: var(--text-primary); }

/* ── Banner de aniversário (dia exato) ───────────────────── */
.birthday-banner {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, #2b3f66 100%);
    box-shadow: var(--shadow-lg);
}

.birthday-banner-content { position: relative; z-index: 2; }

.birthday-emoji {
    font-size: 40px;
    display: inline-block;
    animation: birthdayBounce 1.6s ease-in-out infinite;
}

.birthday-banner h2 {
    color: var(--text-invert);
    font-size: clamp(22px, 4vw, 32px);
    margin: 10px 0 8px;
}

.birthday-banner p {
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin: 0 auto;
}

@keyframes birthdayBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25%      { transform: translateY(-6px) rotate(-8deg); }
    75%      { transform: translateY(-6px) rotate(8deg); }
}

.confetti-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.confetti-piece {
    position: absolute;
    top: -12px;
    width: 8px;
    height: 14px;
    opacity: 0.9;
    border-radius: 2px;
    animation-name: confettiFall;
    animation-timing-function: ease-in;
    animation-iteration-count: infinite;
}

@keyframes confettiFall {
    0%   { transform: translateY(-20px) rotate(0deg);    opacity: 1; }
    100% { transform: translateY(340px) rotate(540deg);  opacity: 0; }
}

/* ── Cards de cadastros do usuário ───────────────────────── */
.cadastro-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-decoration: none;
}

.cadastro-card:hover { color: var(--text-primary); }

/* ── Cards de menu (gerados a partir do menu.php) ────────── */
.menu-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.menu-card-groups {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0 0 12px;
}

.menu-card-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.menu-card-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    color: var(--text-secondary);
    text-decoration: none;
}

.menu-card-links a i { font-size: 9px; color: var(--amber-dark); }
.menu-card-links a:hover { color: var(--amber-dark); }
