/*
Theme Name: Athos Med V1
Theme URI: https://athosmed.com
Author: Athos Med Development Team
Author URI: https://athosmed.com
Description: Tema WordPress personalizado para Athos Med - Medicina e Segurança do Trabalho. Focado em performance, conversão B2B e gestão nativa sem page builders.
Version: 1.7.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: athosmed
*/

/* === VARIÁVEIS CSS === */
:root {
    --color-navy: #002B5C;
    --color-navy-light: #0d3c75;
    --color-red: #CC0000;
    --color-red-hover: #a30000;
    --color-white: #ffffff;
    --color-bg-light: #F4F6F8;
    --color-text: #334155;
    --color-text-light: #64748b;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --max-width: 1400px;
}

/* === RESET E BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.3s ease;
}

/* === CONTAINER === */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media(min-width: 1440px) {
    .container {
        padding: 0 40px;
    }
}

/* === UTILITÁRIOS === */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

/* === TIPOGRAFIA === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media(min-width: 768px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.5rem; }
}

/* === BOTÕES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 700;
    transition: all 0.3s ease;
    gap: 8px;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-red {
    background-color: var(--color-red);
    color: white;
    box-shadow: var(--shadow);
}

.btn-red:hover {
    background-color: var(--color-red-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
}

.btn-outline:hover {
    background-color: var(--color-navy);
    color: white;
}

.btn-white {
    background-color: white;
    color: var(--color-red);
    box-shadow: var(--shadow);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* === CARDS === */
.card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--color-red);
}

/* === SEÇÕES === */
section {
    padding: 80px 0;
}

@media(max-width: 768px) {
    section {
        padding: 60px 0;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--color-navy);
    margin-bottom: 10px;
}

.section-divider {
    width: 50px;
    height: 4px;
    background-color: var(--color-red);
    margin: 0 auto;
}

/* === ÍCONES SVG === */
.icon-svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* === ANIMAÇÕES === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* === RESPONSIVIDADE === */
.hidden-mobile {
    display: none;
}

@media(min-width: 768px) {
    .hidden-mobile {
        display: flex;
    }
}

.hidden-desktop {
    display: block;
}

@media(min-width: 768px) {
    .hidden-desktop {
        display: none;
    }
}

/* === WORDPRESS CORE === */
.alignleft {
    float: left;
    margin-right: 1.5em;
}

.alignright {
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
