/*
 Theme Name:   Basel Child
 Description:  Basel Child Theme
 Author:       Kalam Conseil
 Author URI:   http://kalamconseil.fr
 Template:     basel
 Version:      1.0.0
 Text Domain:  basel-child
*/


/* Your customizations starts here */
.color-scheme-dark a {
    color: rgb(0 1 150) !important;
}

.color-scheme-dark .widget-title, .color-scheme-dark .widgettitle, .color-scheme-dark h1, .color-scheme-dark h2, .color-scheme-dark h3, .color-scheme-dark h4, .color-scheme-dark h5, .color-scheme-dark h6, .color-scheme-dark label {
    color: rgb(0 1 150) !important;
}

.main-nav .menu>li>a {
    color: rgb(0 1 150);
}
.basel-gallery-image{
	border-radius : 15px;
}
.cvc-line {
  display: flex;
  align-items: center;
  gap: 12px; /* espace entre l'icône et le texte */
}

.cvc-icon-circle {
  width: 45px;
  height: 45px;
  background: #3334ab;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(45deg); /* forme losange */
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);

}

.cvc-icon-circle i {
  color: #fff;
  font-size: 20px;
  transform: rotate(-45deg);
}

.cvc-title {
    font-size: 15px;
    font-weight: 900;
    padding-left: 7px;
    text-transform: uppercase;
    color: #000196;
}


.footer-container .footer-column {
    font-weight: bold !important;
}

.title, h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
}

.dots2 {
    position: absolute;
    right: 80px;
    bottom: 23px;
    width: 70px;
    height: 70px;
    background-image: radial-gradient(#ffffff 2.2px, #ffffff00 2.2px);
    background-size: 16px 16px;
    opacity: .7;
    border-radius: 12px;
}

.page-id-233 .main-header.header-has-no-bg.color-scheme-light.act-scroll {
    border: none;
    box-shadow: none;
    background-color: rgb(0 1 150 / 80%);
}

.page-id-233 .main-nav.menu-center {
    text-align: right;
}

input[type=submit]{
	background-color: #000196 !important;
	border-color: #000196 !important;
	border-radius: 25px !important;
	color:#fff !important;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea{
    color: #000 !important;
}

label {
    font-size: 14px;
    color: #fff !important;
}

.hr-verticalblanc {
    width: 2px;
    height: 40px;
    background-color: #fff;
    margin: 0 10px;
}

.rounded-circle {
    border-radius: 50% !important;
}

.badge {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 999px;
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, .08);
    font-weight: 600;
}

.badge2 {
    display: inline-block;
    padding: 10px 16px;
    border: 2px solid rgb(0 1 150);
    border-radius: 999px;
    backdrop-filter: blur(2px);
    background: transparent;
    font-weight: 600;
    color: rgb(0 1 150);
}

.cardairwork {
    width: 250px;
    background-color: #5fa1f6 !important;
    padding: 30px;
    border-radius: 8px;
}

.footer-container.color-scheme-light p {
    color: #fff !important;
}

.bandeau-tel {
    position: fixed;
    bottom: 20px;
    right: 0;
    -o-background-size: 100% 100%;
    background-size: 100% 100%;
    z-index: 500;
}



.sticky-header .main-nav {
    text-align: right !important;
}

.btn{
    border-radius : 25px !important;
}

h1, .h1 {
    font-size: 40px;
}

.right-column {
    width: 0px !important;
}

.main-header .widgetarea-head {
    padding: 10px 15px;
    text-align: center !important;
}

.bleu {
   color: #000196 !important;
}

.bleuciel {
   color: #5fa1f6 !important;
}

.blanc {
   color: #fff !important;
}

.gris {
   color:#cccccc !important;
}


.maj  {
   text-transform: uppercase !important;
   font-weight : bold;
}

.carre-responsive{
  width: 100%;
  max-width: 10px;     /* limite max (optionnel) */
  aspect-ratio: 1;      /* reste carré en s’adaptant à la largeur */
  background: #eee;
  display:flex; align-items:center; justify-content:center;
}

.carre-responsiveblanc{
  width: 100%;
  max-width: 10px;     /* limite max (optionnel) */
  aspect-ratio: 1;      /* reste carré en s’adaptant à la largeur */
  background: #fff;
  display:flex; align-items:center; justify-content:center;
}

.hr-vertical {
    width: 2px;
    height: 40px;
    background-color: #cccccc;
    margin: 0 10px;
}

:root{
  --primary: #000196;      /* ta couleur de marque */
  --radius-img: 24px;
  --radius-pill: 999px;
  --shadow: 0 12px 30px rgba(0,0,0,.12);
}

.hvac-showcase{
  display: grid;
  place-items: center;
  padding: 40px 16px;
}

.stack{
  position: relative;
  max-width: 980px;
  width: 100%;
  min-height: 560px;       /* réserve l'espace pour le chevauchement */
}

/* Images */
.photo{
  overflow: hidden;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow);
  background: #e9eef8;
}
.photo img{
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Positionnements (desktop) */
.photo--top{
  position: absolute;
  top: 0;
  left: 40px;
  width: clamp(280px, 60%, 640px);
}
.photo--bottom{
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(320px, 70%, 760px);
}

/* Badge circulaire */
.badge-exp{
  position: absolute;
  left: clamp(160px, 32%, 360px);
  top: clamp(220px, 38%, 300px);
  width: 170px; height: 170px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; text-align: center;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
}
.badge-exp strong{
  font-size: 44px; line-height: 1; font-weight: 800;
}
.badge-exp span{
  font-size: 14px; opacity: .95;
}

/* Bloc latéral (texte vertical + pastille %) */
.side-metric{
  position: absolute;
  right: 10px;            /* déborde légèrement comme sur l’exemple */
  top: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.side-text{
  writing-mode: vertical-rl;         /* texte vertical */
  transform: rotate(180deg);         /* lecture de bas en haut */
  background: #46a2fd;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  font-weight: 600;
  color: #fff;
}
.side-dot{
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  font-weight: 800;
  box-shadow: var(--shadow);
}

/* Motif en points */
.dots{
  position: absolute;
  left: 80px;
  bottom: -6px;
  width: 140px; height: 140px;
  background-image: radial-gradient(#cfd6e6 2.2px, transparent 2.2px);
  background-size: 16px 16px;
  opacity: .7;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 900px){
  .stack{ min-height: 520px; }
  .side-metric{ right: -30px; }
}
@media (max-width: 720px){
  .stack{ min-height: 520px; }
  .photo--top{ left: 0; width: 90%; }
  .photo--bottom{ right: 0; width: 95%; }
  .badge-exp{
    width: 140px; height: 140px; border-width: 6px;
    left: 46%; top: 54%; transform: translate(-50%, -50%);
  }
  .side-metric{ right: 0; top: 8px; }
  .side-text{ font-size: 14px; }
  .side-dot{ width: 56px; height: 56px; font-size: 14px; }
  .dots{ left: 16px; width: 110px; height: 110px; }
}

.cards-hero{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:28px;
  padding:24px 16px;
}

.card-hero{
  position:relative;
  display:block;
  overflow:hidden;
  border-radius:var(--radius);         /* garde la proportion */
  box-shadow: var(--shadow);
  isolation:isolate;
  transform: translateZ(0);        /* active le GPU */
	  border-radius: var(--radius-img);
}

/* image */
.card-hero img{
  width:100%; height:100%;
  object-fit:cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .6s;
  will-change: transform;
  border-radius: var(--radius-img);
	
}

/* assombrir bas + vignette douce */
.card-hero .overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(to top, rgba(0,0,0,.75) 22%, rgba(0,0,0,.35) 55%, transparent 85%);
  mix-blend-mode: multiply;
  pointer-events:none;
	  border-radius: var(--radius-img);
}

/* contenu */
.card-hero .content{
  position:absolute;
  inset:auto 20px 22px 20px;
  color:#fff;
  z-index:2;
}
.card-hero .badge{
  display:inline-block;
  padding:10px 16px;
  border:2px solid rgba(255,255,255,.85);
  border-radius:999px;
  backdrop-filter: blur(2px);
  background: rgba(255,255,255,.08);
  font-weight:600;
}
.card-hero h3{
  margin:14px 0 0;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height:1.1;
  font-weight:800;
  text-shadow: 0 2px 10px rgba(0,0,0,.35);
  margin-bottom: 15px;
  color:#fff;
  text-transform: uppercase;
}

/* Effet de lumière : bande diagonale qui “balaye” */
.card-hero::before{
  content:"";
  position:absolute; inset:-20%;
  background: linear-gradient(120deg,
    transparent 35%,
    rgba(255,255,255,.55) 45%,
    rgba(255,255,255,.1) 55%,
    transparent 65%);
  transform: translateX(-120%) rotate(10deg);
  transition: transform .8s ease;
  z-index:1;
  pointer-events:none;
	  border-radius: var(--radius-img);
}

/* Hover interactions */
.card-hero:hover img{
  transform: scale(1.06);
  filter: saturate(1.05);
}
.card-hero:hover::before{
  transform: translateX(120%) rotate(10deg);
}
.card-hero:hover .badge{
  border-color:#fff;
  background: rgba(255,255,255,.14);
}

/* Focus clavier accessible */
.card-hero:focus-visible{
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}

/* Responsive */
@media (max-width: 1100px){
  .cards-hero{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px){
  .cards-hero{ grid-template-columns: 1fr; gap:18px; }
}
