/* ==========================================================
   CAURIS INFOS — STYLE GLOBAL (sobriété + identité)
   ========================================================== */

.cauris-hero{
  position: relative;
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  overflow: hidden;
}

/* Overlay sombre pour lecture parfaite */
.cauris-hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(30,26,23,.85) 0%, rgba(30,26,23,.55) 50%, rgba(30,26,23,.25) 100%);
}

.cauris-hero__content{
  position: relative;
  z-index: 2;
  padding: 64px 22px;
  max-width: 980px;
  margin: 0 auto;
  color: #F2EFEA;
  text-align: left;
}

.cauris-hero__title{
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  margin: 0 0 12px 0;
}

.cauris-hero__subtitle{
  font-size: clamp(16px, 2vw, 20px);
  opacity: .95;
  margin: 0 0 22px 0;
  max-width: 62ch;
}

/* Bouton */
.cauris-btn{
  display:inline-block;
  background:#D6B25E;
  color:#1E1A17;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .15s ease, filter .15s ease;
}
.cauris-btn:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* Sections */
.cauris-section{ padding: 54px 0; }
.cauris-container{ max-width: 1100px; margin: 0 auto; padding: 0 18px; }

.cauris-h2{
  font-size: clamp(22px, 3vw, 30px);
  margin: 0 0 18px 0;
  color:#1E1A17;
}

.cauris-grid4{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cauris-card{
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  border: 1px solid rgba(30,26,23,.06);
}

.cauris-h3{ margin: 0 0 8px 0; color:#1E1A17; }
.cauris-text{ margin: 0; color:#3a332f; line-height: 1.55; }

/* Mobile */
@media (max-width: 900px){
  .cauris-grid4{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .cauris-grid4{ grid-template-columns: 1fr; }
  .cauris-hero{ border-radius: 14px; }
  .cauris-hero__content{ padding: 52px 16px; }
}



/* ==========================================================
   SUPPRIMER LE TITRE DE LA PAGE D'ACCUEIL
   ========================================================== */

/* Cas WordPress classique */
.home .entry-title,
.home h1.entry-title,
.home .page-title {
  display: none !important;
}

/* Cas Elementor */
.home .elementor-page-title {
  display: none !important;
}




/* ==========================================================
   SUPPRIMER LES MARGES HAUT/BAS ELEMENTOR SUR LA HOME
   ========================================================== */

.home .elementor-section:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.home .elementor {
  margin-top: 0 !important;
}


/* ==========================================================
   HERO — CORRECTION CENTRAGE IMAGE MOBILE
   ========================================================== */

@media (max-width: 768px) {

  .cauris-hero {
    background-position: center 35% !important;
    background-size: cover !important;
    background-repeat: no-repeat;
  }

}

/* ==========================================================
   HERO HOME — FIX IMAGE MOBILE ELEMENTOR (FORCE)
   ========================================================== */

@media (max-width: 768px) {

  .elementor-section {
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
  }

}

@media (max-width: 768px) {
  .elementor-section {
    background-position: center 35% !important;
  }
}

/* ===============================
   HERO CAURIS INFOS
   =============================== */

.ci-launch {
  height: 100vh;
  background: url("https://www.caurisinfos.com/wp-content/uploads/2026/01/Cauris_Infos.jpg") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay sombre */
.ci-launch::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

/* Contenu centré */
.ci-content {
  position: relative;
  text-align: center;
  color: #ffffff;
  max-width: 520px;
  padding: 20px;
}

/* Logo */
.ci-logo {
  max-width: 160px;
  margin-bottom: 20px;
}

/* Texte */
.ci-text {
  margin-top: 10px;
  font-size: 16px;
  opacity: 0.95;
}

/* Label countdown */
.ci-launch-label {
  margin-top: 25px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ===============================
   COMPTE À REBOURS
   =============================== */

.ci-countdown {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 12px;
  padding: 16px 22px;
  border-radius: 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}

.ci-countdown div {
  text-align: center;
  min-width: 60px;
}

.ci-countdown span {
  font-size: 28px;
  font-weight: 700;
}

.ci-countdown small {
  font-size: 12px;
  opacity: 0.85;
}

/* Mobile */
@media (max-width: 600px) {
  .ci-logo {
    max-width: 120px;
  }

  .ci-countdown {
    gap: 12px;
    padding: 14px;
  }

  .ci-countdown span {
    font-size: 22px;
  }
}

