/* S A CONTABIL LTDA - Identidade Visual 2026
    Estratégia, Inovação e Transparência
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Roboto:wght@300;400;500&display=swap');

:root {
    /* Paleta Principal */
    --primary-blue: #0A4A7A;
    --primary-dark: #0d1b2a;
    --secondary-green: #34A853;
    --accent-gold: #d4af37;
    
    /* Tons de Apoio */
    --text-dark: #333333;
    --text-muted: #6c757d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    
    /* Transparências */
    --white-75: rgba(255, 255, 255, 0.75);
    --white-50: rgba(255, 255, 255, 0.5);
    --shadow-elegant: 0 5px 15px rgba(0,0,0,0.08);
}

/* --- Configurações Globais --- */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
    font-weight: 700;
}

a { text-decoration: none; transition: 0.3s; }

/* --- Componentes Bootstrap Customizados --- */
.bg-primary-custom { background-color: var(--primary-blue) !important; }
.bg-dark-custom { background-color: var(--primary-dark) !important; }
.text-white-50 { color: var(--white-50) !important; }
.text-white-75 { color: var(--white-75) !important; }

/* Botões */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 500;
}
.btn-primary:hover {
    background-color: #083a61; /* Cor manual (simulando darken) */
    border-color: #083a61;
}

.btn-secondary-custom {
    background-color: var(--secondary-green);
    border-color: var(--secondary-green);
    color: var(--white) !important;
    font-weight: 600;
}
.btn-secondary-custom:hover {
    background-color: #2a8a43;
    filter: brightness(1.1);
}

/* --- Navbar --- */
.navbar {
    padding: 0.8rem 0;
    transition: all 0.4s ease;
}
.navbar .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem !important;
}
.navbar .nav-link:hover {
    color: var(--secondary-green) !important;
}

/* --- Carrossel / Hero --- */
.carousel-item {
    transition: transform 1.2s ease-in-out, opacity 1s ease-in-out;
}
.carousel-caption {
    z-index: 10;
    bottom: 20%;
}
.carousel-caption h1, .carousel-caption h2 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    color: var(--white) !important;
}

/* --- Cards de Serviços --- */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow-elegant);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}
.card i {
    color: var(--secondary-green);
    margin-bottom: 1.5rem;
}

/* --- Rodapé --- */
footer i {
    width: 20px;
    color: var(--secondary-green);
}
.social-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    color: var(--white-50);
}
.social-icon:hover {
    color: var(--white) !important;
    transform: scale(1.1);
}

/* --- Responsividade --- */
@media (max-width: 768px) {
    .display-3 { font-size: 2.2rem; }
    .carousel-item { height: 500px !important; }
    .navbar-brand img { height: 45px; }
}

/* Estilo para o Selo ICP-Brasil */
    .icp-header-link {
      position: absolute;
      top: 15px;
      right: 20px;
      background: white;
      padding: 8px;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.2);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
    }

    .icp-header-link:hover {
      transform: scale(1.05);
    }

    .icp-header-link img {
      max-height: 40px !important; /* Tamanho controlado para o selo */
      margin: 0 !important;
    }

    .icp-header-link span {
      font-size: 10px;
      color: var(--azul);
      font-weight: bold;
      margin-top: 4px;
      text-transform: uppercase;
    }

    /* Ajuste para o header aceitar posicionamento absoluto do selo */
    header {
      position: relative; 
      background-color: var(--azul);
      padding: 30px 20px;
      text-align: center;
    }

    @media (max-width: 600px) {
      .icp-header-link {
        position: static; /* No celular, ele volta para o fluxo normal */
        display: inline-flex;
        margin-bottom: 15px;
      }
    }
    
    