/*
Theme Name: Climatek Services
Theme URI: https://climatek.com
Description: Theme professionnel pour Climatek Services - Climatisation, confort & performance
Version: 1.0
Author: Climatek
Author URI: https://climatek.com
Text Domain: climatek
*/


 

/* ---- Cache le hero desktop sous 820px ---- */
@media (max-width: 819px) {
  .wpo-hero-section {
    display: none;
  }

  /* ---- Affiche le hero mobile ---- */
  .wpo-hero-mobile {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    min-height: 100svh;

    /* 👇 Remplace l'URL par ton image de fond */
    background-image: url('YOUR-BG-IMAGE.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    overflow: hidden;
  }

  /* Dégradé sombre en bas pour lisibilité */
  .wpo-hero-mobile__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.10) 0%,
      rgba(0, 0, 0, 0.55) 55%,
      rgba(0, 10, 30, 0.82) 100%
    );
    z-index: 1;
  }

  /* Contenu textuel */
  .wpo-hero-mobile__content {
    position: relative;
    z-index: 2;
    padding: 0 22px 52px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 480px;
  }

  /* Tagline */
  .wpo-hero-mobile__tagline {
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
  }

  /* Titre principal */
  .wpo-hero-mobile__title {
    font-family: 'Segoe UI', sans-serif;
    font-size: clamp(1.6rem, 6vw, 2.1rem);
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
  }

  .wpo-hero-mobile__title span {
    font-weight: 400;
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.85);
  }

  /* Boutons */
  .wpo-hero-mobile__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
  }

  .wpo-hero-mobile__buttons a {
    text-decoration: none;
    font-family: 'Segoe UI', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 6px;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }

  /* Bouton principal */
  .btn-primary {
    background-color: #1a6fc4;
    color: #ffffff;
    border: 2px solid #1a6fc4;
  }

  .btn-primary:hover {
    background-color: #155ea8;
    border-color: #155ea8;
  }

  /* Bouton secondaire */
  .btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.6);
  }

  .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
  }
}

@media (max-width: 819px) {
  .wpo-hero-section {
    display: none!important;
  }
}