/* ===================================
   HIDRÁULICA E VAZÃO - CORES ENGENHARIA CIVIL
   ================================== */

/* Variáveis CSS - Engenharia Civil */
:root {
    /* Cores Engenharia Civil - Padrão correto */
    --primary: #78716c;          /* Cinza concreto */
    --secondary: #d97706;        /* Laranja construção */
    --accent: #059669;           /* Verde sustentável */
    --light: #f5f5f4;            /* Fundo cinza claro */
    --gradient: linear-gradient(135deg, #78716c, #d97706);
    
    /* Cores específicas hidráulica */
    --civil-primary: #78716c;
    --civil-secondary: #d97706;
    --civil-accent: #059669;
    --civil-light: #f5f5f4;
    --civil-dark: #57534e;
    --civil-gradient: linear-gradient(135deg, #78716c, #d97706);
}

/* ===================================
   SEÇÃO DA CALCULADORA HIDRÁULICA
   ================================== */
.hidraulica-calculator-section {
    margin-bottom: 3rem;
}

.hidraulica-header {
    text-align: center;
    margin-bottom: 2rem;
}

.hidraulica-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    background: var(--civil-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidraulica-header p {
    font-size: 1.2rem;
    color: #5a6c7d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hidraulica-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e6ed;
    max-width: 100%;
    overflow-x: hidden;
}

/* ===================================
   DADOS BÁSICOS - PADRÃO ENGENHARIA CIVIL
   ================================== */
.hidraulica-dados-basicos {
    background: var(--civil-light);
    border: 2px solid var(--civil-primary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.hidraulica-dados-basicos h3 {
    color: var(--civil-primary);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hidraulica-input-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hidraulica-input-group {
    flex: 1;
    min-width: 200px;
}

.hidraulica-input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--civil-primary);
    font-size: 1rem;
}

.hidraulica-input-group input,
.hidraulica-input-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e6ed;
    border-radius: 8px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.hidraulica-input-group input:focus,
.hidraulica-input-group select:focus {
    outline: none;
    border-color: var(--civil-primary);
    box-shadow: 0 0 0 3px rgba(120, 113, 108, 0.1);
}

.hidraulica-input-group input.error {
    border-color: #e74c3c;
    background-color: #fdf2f2;
}

/* ===================================
   BOTÕES - PADRÃO ENGENHARIA CIVIL
   ================================== */
.hidraulica-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.hidraulica-calc-btn {
    background: var(--civil-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(120, 113, 108, 0.3);
}

.hidraulica-calc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(120, 113, 108, 0.4);
}

.hidraulica-clear-btn {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hidraulica-clear-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.4);
}

/* ===================================
   EXEMPLOS - PADRÃO ENGENHARIA CIVIL
   ================================== */
.hidraulica-examples {
    margin-top: 2rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.hidraulica-examples p {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
}

.example-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.example-btn {
    background: linear-gradient(135deg, var(--civil-secondary), var(--civil-primary));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease;
}

.example-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ===================================
   HELP E INSTRUÇÕES
   ================================== */
.hidraulica-help {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease;
}

.hidraulica-help p {
    margin: 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===================================
   RESULTADO - PADRÃO ENGENHARIA CIVIL
   ================================== */
.hidraulica-result-area {
    background: var(--civil-light);
    border: 2px solid var(--civil-accent);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    animation: slideInUp 0.7s ease;
}

.hidraulica-result-title {
    color: var(--civil-primary);
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.hidraulica-result-title:before {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--civil-accent);
    transition: width 0.5s ease;
}

.hidraulica-result-title.highlight:before {
    width: 100%;
}

.hidraulica-result-main {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e6ed;
    margin-bottom: 1.5rem;
}

.hidraulica-result-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--civil-primary);
    margin-bottom: 0.5rem;
}

.hidraulica-result-conversions {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

.hidraulica-result-conversions h4 {
    color: var(--civil-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.hidraulica-conversions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.hidraulica-conversion-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--civil-accent);
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hidraulica-conversion-item strong {
    color: var(--civil-primary);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.3rem;
}

/* ===================================
   EXPLICAÇÃO DO CÁLCULO
   ================================== */
.hidraulica-explicacao {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--civil-primary);
    animation: fadeIn 0.8s ease;
}

.hidraulica-explicacao h3 {
    color: var(--civil-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hidraulica-calculo-detalhe {
    background: var(--civil-light);
    border: 1px solid var(--civil-accent);
    border-radius: 10px;
    padding: 1.2rem;
    margin-top: 0.5rem;
    font-family: 'Courier New', monospace;
}

.hidraulica-calculo-detalhe p {
    color: var(--civil-dark);
    font-size: 0.9rem;
    margin: 0.4rem 0;
    line-height: 1.5;
}

.hidraulica-calculo-detalhe p:first-child {
    font-weight: bold;
    color: var(--civil-primary);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-family: inherit;
}

/* ===================================
   FUNDAMENTAÇÃO TEÓRICA - ESTILIZADA
   ================================== */
.hidraulica-fundamentacao-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    border: 2px solid var(--civil-primary);
    animation: fadeIn 0.8s ease;
    position: relative;
    overflow: hidden;
}

.hidraulica-fundamentacao-container:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--civil-gradient);
}

.hidraulica-fundamentacao-container h3 {
    color: var(--civil-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hidraulica-fundamentacao {
    position: relative;
    z-index: 1;
}

.fundamentacao-content p {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.fundamentacao-content strong {
    color: var(--civil-primary);
    font-weight: 600;
}

.fundamentacao-content code {
    background: white;
    color: var(--civil-dark);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    border: 1px solid var(--civil-accent);
    font-weight: bold;
}

/* Destaque da Lei da Continuidade */
.lei-ohm-destaque {
    background: white;
    border: 2px solid var(--civil-accent);
    border-radius: 10px;
    padding: 1.2rem;
    margin: 1rem 0;
    text-align: center;
    box-shadow: 0 3px 10px rgba(120, 113, 108, 0.1);
}

.lei-ohm-destaque h5 {
    color: var(--civil-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.formulas-fundamentacao {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.formula-fund {
    background: var(--civil-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(120, 113, 108, 0.3);
    transition: all 0.3s ease;
}

.formula-fund:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(120, 113, 108, 0.4);
    background: var(--civil-accent);
    color: #2c3e50;
}

/* ===================================
   CONTEÚDO EDUCACIONAL - ENGENHARIA CIVIL
   ================================== */
.educational-content {
    margin-top: 3rem;
}

.content-block {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
    border-left: 4px solid var(--civil-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.content-block:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--civil-light) 0%, transparent 70%);
    opacity: 0.5;
}

.content-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-left-color: var(--civil-accent);
}

.content-block h3 {
    color: var(--civil-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
    border-bottom: 2px solid var(--civil-light);
    padding-bottom: 0.5rem;
}

.content-block h4 {
    color: var(--civil-primary);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.content-block h4:before {
    content: "🔹";
    color: var(--civil-accent);
    font-size: 1rem;
}

.content-block p {
    color: #5a6c7d;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* ===================================
   CONCEITOS FUNDAMENTAIS - MELHORADO
   ================================== */
.content-block p strong {
    color: var(--civil-primary);
    font-weight: 700;
    font-size: 1.1em;
    background: linear-gradient(135deg, var(--civil-light), transparent);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    border-left: 3px solid var(--civil-accent);
}

.content-block ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    background: var(--civil-light);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--civil-primary);
}

.content-block ul li {
    background: white;
    margin: 0.8rem 0;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--civil-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.content-block ul li:hover {
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(120, 113, 108, 0.15);
    border-left-color: var(--civil-primary);
    background: #fefefe;
}

.content-block ul li:before {
    content: "⚙️";
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--civil-primary);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.content-block ul li strong {
    color: var(--civil-primary);
    font-weight: 700;
    font-size: 1.05em;
    display: block;
    margin-bottom: 0.3rem;
    border-bottom: 1px solid var(--civil-light);
    padding-bottom: 0.2rem;
}

.content-block ul li:nth-child(1):before { content: "📐"; }
.content-block ul li:nth-child(2):before { content: "⚡"; }
.content-block ul li:nth-child(3):before { content: "💧"; }
.content-block ul li:nth-child(4):before { content: "⏱️"; }
.content-block ul li:nth-child(5):before { content: "🔴"; }

/* ===================================
   FÓRMULAS - Visual destacado obrigatório
   ================================== */
.formula-highlight {
    background: linear-gradient(135deg, var(--civil-light) 0%, rgba(255,255,255,0.9) 100%);
    border: 2px solid var(--civil-primary);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.formula-main {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--civil-primary);
    font-family: 'Courier New', monospace;
}

/* Grid de fórmulas */
.formulas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.formula-item {
    background: var(--civil-light);
    border: 1px solid #e0e6ed;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.formula-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(120, 113, 108, 0.15);
    border-color: var(--civil-primary);
}

.formula-item:before {
    content: "💧";
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--civil-accent);
    font-size: 1.2rem;
}

.formula-item h4 {
    color: var(--civil-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.formula {
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--civil-dark);
    background: white;
    padding: 0.5rem;
    border-radius: 5px;
    margin: 0;
    border: 1px solid var(--civil-accent);
}

/* ===================================
   EXEMPLOS PRÁTICOS - VISUAL
   ================================== */
.example-item {
    background: var(--civil-light);
    border-left: 4px solid var(--civil-primary);
    border-radius: 0 10px 10px 0;
    padding: 1.5rem;
    margin: 1rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.example-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(120, 113, 108, 0.15);
    background: white;
}

.example-item h4 {
    color: var(--civil-primary);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.example-calculation {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    border: 1px solid var(--civil-accent);
    border-left: 3px solid var(--civil-primary);
}

.example-calculation p {
    margin: 0.3rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #2c3e50;
}

.example-calculation p strong {
    color: var(--civil-primary);
}

/* ===================================
   LISTAS DE DICAS E APLICAÇÕES
   ================================== */
.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    background: var(--civil-light);
    border-left: 4px solid var(--civil-primary);
    border-radius: 0 8px 8px 0;
    padding: 0.8rem;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
    color: var(--civil-dark);
}

.tips-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(120, 113, 108, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.tips-list li strong {
    color: var(--civil-primary);
}

/* Aplicações com cores civil */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.application-item {
    background: linear-gradient(135deg, var(--civil-light) 0%, rgba(255,255,255,0.9) 100%);
    border: 2px solid var(--civil-primary);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.application-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(120, 113, 108, 0.2);
    border-color: var(--civil-accent);
}

.application-item h4 {
    color: var(--civil-primary);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.application-item p {
    color: var(--civil-dark);
}

/* ===================================
   FAQ HIDRÁULICA E VAZÃO
   ================================== */
.faq-container {
    margin-top: 1.5rem;
}

.faq-item {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--civil-primary);
    box-shadow: 0 2px 8px rgba(120, 113, 108, 0.1);
}

.faq-question {
    background: var(--civil-primary);
    color: white;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    display: block;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--civil-secondary);
}

.faq-question::before {
    content: "▼ ";
    font-size: 0.8rem;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::before {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #ecf0f1;
}

.faq-answer p {
    margin: 0.5rem 0;
    color: #444;
    line-height: 1.6;
}

.faq-answer strong {
    color: var(--civil-primary);
}

/* ===================================
   REFERÊNCIAS HIDRÁULICA E VAZÃO 
   MANTENDO CLASSES ORIGINAIS FUNCIONAIS
   ================================== */
.referencias-container {
    margin-top: 1.5rem;
}

.referencias-lista {
    list-style: none;
    padding: 0;
}

.referencia-item {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    border-left: 4px solid var(--civil-primary);
    font-size: 0.95rem;
    color: #444;
    transition: all 0.3s ease;
}

.referencia-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(120, 113, 108, 0.1);
}

.referencia-item em {
    color: var(--civil-primary);
    font-weight: 600;
}

/* ===================================
   CREDIBILIDADE HIDRÁULICA E VAZÃO
   MANTENDO ESTRUTURA ORIGINAL FUNCIONAL
   ================================== */
.credibilidade-container {
    background: var(--civil-light);
    border: 2px solid var(--civil-primary);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.credibilidade-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.credibilidade-icon {
    font-size: 2.5rem;
    color: var(--civil-primary);
}

.credibilidade-title {
    color: var(--civil-primary);
    font-size: 1.4rem;
    margin: 0;
    font-weight: bold;
}

.credibilidade-content {
    font-size: 1.1rem;
    color: var(--civil-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.credibilidade-logo {
    color: var(--civil-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.credibilidade-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.credibilidade-badge {
    background: var(--civil-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.credibilidade-badge:hover {
    background: var(--civil-secondary);
    transform: translateY(-2px);
}

.credibilidade-equipe {
    font-size: 0.9rem;
    color: var(--civil-dark);
    font-style: italic;
    margin-top: 1rem;
}

/* Referências com cores civil */
.references-list {
    list-style: none;
    padding: 0;
}

.references-list li {
    background: var(--civil-light);
    border-left: 3px solid var(--civil-primary);
    border-radius: 0 5px 5px 0;
    padding: 0.8rem;
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--civil-dark);
    transition: all 0.3s ease;
}

.references-list li:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(120, 113, 108, 0.1);
}

/* Aviso legal com cores civil */
.accuracy-note {
    background: linear-gradient(135deg, #fff3cd 0%, rgba(255,255,255,0.9) 100%);
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.accuracy-note h5 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.accuracy-note p {
    color: #856404;
    line-height: 1.6;
    margin: 0.5rem 0;
}

/* ===================================
   ANIMAÇÕES
   ================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ===================================
   RESPONSIVIDADE - PADRÃO ENGENHARIA CIVIL
   ================================== */

@media (max-width: 768px) {
    .hidraulica-calculator-section {
        padding: 1rem;
    }
    
    .hidraulica-container {
        padding: 1rem;
    }
    
    .hidraulica-input-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hidraulica-input-group {
        min-width: 100%;
    }
    
    .hidraulica-header h1 {
        font-size: 2rem;
    }
    
    .hidraulica-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .example-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .example-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hidraulica-conversions-grid {
        grid-template-columns: 1fr;
    }
    
    .credibilidade-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .credibilidade-badges {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hidraulica-header h1 {
        font-size: 1.8rem;
    }
    
    .hidraulica-header p {
        font-size: 1rem;
    }
    
    .hidraulica-dados-basicos {
        padding: 1rem;
    }
    
    .hidraulica-conversions-grid {
        grid-template-columns: 1fr;
    }
    
    .credibilidade-badges {
        gap: 0.5rem;
    }
    
    .credibilidade-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Correções de overflow */
.main-container {
    overflow-x: hidden;
    max-width: 100%;
}

.hidraulica-calculator-section {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===================================
   CARDS ESPECÍFICOS PARA ADS
   ================================== */
.calc-explanation,
.explanation {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--civil-secondary);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.8s ease;
}

.calc-explanation h3,
.explanation h3 {
    color: var(--civil-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid var(--civil-light);
    padding-bottom: 0.8rem;
}

.calc-legal,
.legal-explanation {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.03) 0%, rgba(255, 255, 255, 0.9) 100%);
    border: 2px solid rgba(33, 150, 243, 0.2);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.calc-legal h3,
.legal-explanation h3 {
    color: var(--civil-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 3px solid rgba(33, 150, 243, 0.1);
    padding-bottom: 0.8rem;
}