/*
Theme Name: OcciToit Flyer Theme (Classic)
Author: Occi’Toit Entretien
Description: Thème classique inspiré du flyer (fond bordeaux + accents orange) pour Occi’Toit Entretien.
Version: 1.0.53
Text Domain: occitoit-flyer-theme-classic
*/

:root{
  --occ-orange:#E06000;
  --occ-maroon:#370617;
  --occ-cream:#FFF7F2;
  --occ-white:#fff;
}

html,body{margin:0;padding:0;}
body{
  font-family: -apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;
  background: var(--occ-maroon);
  color: var(--occ-white);
}
a{color:var(--occ-orange);}

.occ-wrap{max-width:980px;margin:0 auto;padding:18px;}
.occ-logo{display:flex;justify-content:center;padding:10px 0 0;}
.occ-logo img{max-width:220px;height:auto;}
.occ-hero h1{color:#fff;text-align:center;font-weight:900;margin:12px 0 4px;font-size:clamp(28px,4vw,40px);}
.occ-hero p{color:rgba(255,255,255,.86);text-align:center;margin:0;}
.occ-bar{
  margin:12px auto 18px;
  background:rgba(255,247,242,.96);
  border:3px solid var(--occ-orange);
  border-radius:18px;
  padding:10px 14px;
  text-align:center;
  font-weight:900;
  color:#2b0b15;
}
.occ-ba{border-radius:18px;overflow:hidden;box-shadow:0 18px 46px rgba(0,0,0,.28);}
.occ-ba img{width:100%;height:auto;display:block;}

.occ-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:16px;}
.occ-btn{display:inline-block;background:var(--occ-orange);color:#fff!important;padding:14px 18px;border-radius:14px;font-weight:900;text-decoration:none;}
.occ-btn-outline{display:inline-block;background:transparent;border:2px solid #fff;color:#fff!important;padding:14px 18px;border-radius:14px;font-weight:900;text-decoration:none;}

.occ-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px;}
@media (max-width:860px){.occ-cards{grid-template-columns:repeat(2,1fr);}}
@media (max-width:480px){.occ-cards{grid-template-columns:1fr;}}

.occ-card{background:rgba(255,255,255,.06);border:2px solid rgba(255,255,255,.12);border-radius:16px;padding:14px 14px 12px;}
.occ-card h3{margin:8px 0 10px;color:var(--occ-orange);font-weight:900;}
.occ-card ul{margin:0;padding-left:18px;color:rgba(255,255,255,.92);}
.occ-card li{margin:6px 0;}
.occ-ico{width:34px;height:34px;display:inline-block;}

.occ-footer{margin-top:20px;padding:16px 0 10px;border-top:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.9);font-size:15px;text-align:center;}
.occ-footer a{color:#fff;text-decoration:underline;}

.occ-content{background:transparent;}


/* Logo intégré au fond (style flyer) */
.occ-header{ padding-top: 10px; }
.occ-logo img{
  display:block;
  margin: 0 auto;
  max-width: 220px;
  height:auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,.35));
}


/* évite que la barre cache le contenu */
@media (max-width:520px){
  .occ-estimator-close{ margin-left: 0; }
}

/* Bouton "Mon estimation" en haut à gauche */
.occ-header{ position: relative; }
.occ-est-btn{
  position: absolute;
  left: 12px;
  top: 12px;
  background: #E06000; /* couleur logo */
  color: #fff !important;
  text-decoration: none;
  font-weight: 900;
  padding: 10px 12px;
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 10px 24px rgba(0,0,0,.25);
  font-size: 14px;
}
.occ-est-btn:active{ transform: translateY(1px); }

/* Page Estimation */
.occ-est-page h1{ text-align:center; }
.occ-est-card{
  background: rgba(255,255,255,.06);
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 16px;
  max-width: 760px;
  margin: 14px auto 0;
}
.occ-est-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.occ-est-row label{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.occ-est-row input[type="number"]{
  width: 120px;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-weight: 900;
}
.occ-est-total{
  text-align:center;
  margin-top: 12px;
  font-weight: 900;
  font-size: 18px;
}
.occ-est-total strong{ color:#E06000; }
.occ-est-note{
  text-align:center;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  margin-top: 10px;
}
