/* ProprioRéno – Styles (FINAL CLEAN)
   Thème: Dark Premium + High Conversion Accents
*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
  --color-gold:#C5A059;
  --color-gold-dark:#A07E3E;
  --color-dark:#0E0E0E;
  --color-dark2:#1A1A1A;
  --color-light:#F5F5F5;
  --color-muted:#AAAAAA;

  --color-action:#E67E22;
  --color-action-hover:#D35400;

  --header-height:84px;
}

*{box-sizing:border-box;}
html,body{margin:0;padding:0;font-family:'Poppins',sans-serif;background:var(--color-dark);color:var(--color-light);line-height:1.6;scroll-behavior:smooth;overflow-x:hidden;}
img{max-width:100%;height:auto;display:block;}
a{text-decoration:none;color:inherit;transition:0.25s;}
p{margin:0 0 1rem;}
h1,h2,h3{font-weight:600;margin:0 0 1rem;}
.lead{font-size:1.1rem;color:var(--color-muted);max-width:860px;margin:0 auto 2.5rem auto;text-align:center;}

/* --- HEADER --- */
header{
  position:sticky; top:0; z-index:1000;
  height:var(--header-height);
  background:rgba(14,14,14,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,0.06);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 1.25rem;
}
header .logo{display:flex;align-items:center;gap:.75rem;min-width:180px;}
header .logo a{display:flex;align-items:center;}
header .logo img{
  height:150px;
  width:auto;
  max-height:calc(var(--header-height) - 20px);
  object-fit:contain;
}
header nav ul{list-style:none;display:flex;gap:1.5rem;margin:0;padding:0;align-items:center;}
header nav a{font-weight:500;opacity:0.95;}
header nav a:hover{color:var(--color-gold);}

.cta-header{
  border:1px solid var(--color-gold);
  color:var(--color-gold);
  padding:.5rem .9rem;
  border-radius:999px;
  font-size:.92rem;
  font-weight:600;
  white-space:nowrap;
}
.cta-header:hover{background:var(--color-gold);color:var(--color-dark);}

body{padding-top:var(--header-height);}
section[id], .section[id], main[id]{scroll-margin-top:calc(var(--header-height) + 18px);}

/* --- LAYOUT --- */
.section{padding:4rem 1.25rem;}
.container{max-width:1200px;margin:0 auto;}
.bg-darker{background:#050505;}
.card{
  background:var(--color-dark2);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:14px;
  padding:2rem;
}

/* --- HERO (home) --- */
.hero-pnl{
  position:relative;
  min-height:86vh;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  background-size:cover;background-position:center;
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(14,14,14,1) 100%);
  z-index:1;
}
.hero-content{position:relative;z-index:2;max-width:880px;padding:2rem;}
.badge-trust{
  display:inline-block;
  background:rgba(197,160,89,0.14);
  border:1px solid var(--color-gold);
  color:var(--color-gold);
  padding:.45rem .95rem;
  border-radius:999px;
  font-size:.82rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:1.25rem;
}
.hero-pnl h1{font-size:3rem;line-height:1.15;margin-bottom:1.25rem;}
.hero-subtext{font-size:1.22rem;color:#ddd;margin-bottom:2rem;font-weight:300;}

.button{
  display:inline-block;
  background:linear-gradient(135deg,var(--color-gold),var(--color-gold-dark));
  color:var(--color-dark);
  font-weight:700;
  padding:.9rem 1.4rem;
  border-radius:999px;
  border:none;
}
.cta-primary{
  display:inline-block;
  background:var(--color-action);
  color:#fff;
  font-size:1.1rem;
  font-weight:700;
  padding:1rem 2.2rem;
  border-radius:999px;
  border:none;
  cursor:pointer;
  box-shadow:0 0 26px rgba(230,126,34,0.35);
}
.cta-primary:hover{background:var(--color-action-hover);transform:translateY(-2px);box-shadow:0 0 42px rgba(230,126,34,0.55);}
.micro-copy{font-size:.85rem;color:#aaa;margin-top:1rem;}

.trust-indicators{
  display:flex;justify-content:center;gap:2.5rem;margin-top:3rem;
  border-top:1px solid rgba(255,255,255,0.12); padding-top:1.75rem;
}
.trust-item strong{display:block;font-size:1.5rem;color:var(--color-gold);}

/* --- PAGE HERO (internal pages) --- */
.page-hero{
  position:relative;
  min-height:56vh;
  display:flex;align-items:flex-end;
  background-size:cover;background-position:center;
}
.page-hero::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(90deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0.35) 100%);
}
.page-hero .container{position:relative;z-index:2;padding:3.2rem 1.25rem;}
.page-hero h1{font-size:2.4rem;max-width:900px;}
.page-hero p{max-width:760px;color:#e8e8e8;margin-bottom:0;}

/* --- PROCESS (home) --- */
.process-section{background:var(--color-dark2);}
.stepper{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
  gap:1rem;
  margin-top:2rem;
}
.step-card{
  background:var(--color-dark);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:14px;
  padding:1.6rem 1.2rem;
  text-align:center;
  transition:transform .25s,border-color .25s;
}
.step-card:hover{transform:translateY(-4px);border-color:rgba(197,160,89,0.55);}
.step-number{
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 1rem;
  font-weight:800;
  color:var(--color-gold);
  border:2px solid var(--color-gold);
  background:rgba(26,26,26,0.7);
}

/* --- SERVICES GRID --- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:1.5rem;
  max-width:1200px;
  margin:0 auto;
}
.service-card{
  background:var(--color-dark2);
  border:1px solid rgba(255,255,255,0.06);
  border-radius:14px;
  padding:1.8rem;
  transition:transform .25s, border-color .25s, box-shadow .25s;
}
.service-card:hover{transform:translateY(-4px);border-color:rgba(197,160,89,0.55);box-shadow:0 10px 30px rgba(0,0,0,0.35);}
.service-card h3{color:var(--color-gold);margin-bottom:.5rem;}
.link-arrow{color:#fff;font-weight:600;font-size:.95rem;opacity:.95;}
.link-arrow:hover{color:var(--color-gold);}

/* --- SERVICE FEATURE HERO CARD --- */
.service-hero-card{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:1.5rem;
  align-items:stretch;
}
.service-hero-card .img{
  border-radius:16px;
  overflow:hidden;
  min-height:280px;
  background:#111;
}
.service-hero-card .img img{width:100%;height:100%;object-fit:cover;}
.service-hero-card .content{background:var(--color-dark2);border:1px solid rgba(255,255,255,0.06);border-radius:16px;padding:1.75rem;}
.kpis{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem;}
.kpi{
  border:1px solid rgba(255,255,255,0.08);
  border-radius:999px;
  padding:.35rem .7rem;
  color:#ddd;
  font-size:.9rem;
}

/* --- FORMS --- */
form{max-width:560px;margin:0 auto;background:var(--color-dark2);padding:2rem;border-radius:16px;border:1px solid rgba(255,255,255,0.06);}
.form-group{margin-bottom:1rem;text-align:left;}
label{display:block;margin-bottom:.45rem;font-size:.92rem;}
input,select,textarea{
  width:100%;
  padding:.8rem;
  background:var(--color-dark);
  border:1px solid rgba(255,255,255,0.14);
  color:#fff;
  border-radius:10px;
}
input:focus,select:focus,textarea:focus{outline:none;border-color:rgba(197,160,89,0.85);}
.full-width{width:100%;margin-top:.75rem;}
.checkbox-group{display:flex;gap:10px;align-items:flex-start;}
.checkbox-group input{width:auto;margin-top:5px;}
.button-text{background:none;border:none;color:#aaa;margin-top:1rem;cursor:pointer;text-decoration:underline;}

/* --- FOOTER --- */
footer{
  background:var(--color-dark2);
  padding:3rem 1.25rem;
  border-top:1px solid rgba(255,255,255,0.10);
}
.footer-grid{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:1.5rem;
  font-size:.95rem;
}
footer h3{color:var(--color-gold);font-size:1.1rem;margin-bottom:1rem;}
footer a{color:#aaa;display:block;margin-bottom:.5rem;}
footer a:hover{color:#fff;}

/* --- RESPONSIVE --- */
@media (max-width: 900px){
  header nav ul{gap:1rem;}
  .hero-pnl h1{font-size:2.2rem;}
  .trust-indicators{flex-direction:column;gap:1.25rem;}
  .service-hero-card{grid-template-columns:1fr;}
}
@media (max-width: 768px){
  header nav{display:none;}
  header{padding:0 1rem;}
  header .logo img{height:100px;}
  .page-hero{min-height:48vh;}
  .page-hero h1{font-size:2rem;}
}

/* --- FORM FEEDBACK MESSAGES --- */
.form-message {
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  animation: slideDown 0.3s ease;
  text-align: center;
}

.form-message.success {
  background: rgba(46, 204, 113, 0.15);
  border: 2px solid #2ecc71;
  color: #27ae60;
}

.form-message.error {
  background: rgba(231, 76, 60, 0.15);
  border: 2px solid #e74c3c;
  color: #c0392b;
}

/* Bouton loading state */
.cta-primary.loading {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
  pointer-events: none;
}

.cta-primary.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  right: 20px;
  margin-top: -8px;
  border: 2px solid #fff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spinner 0.6s linear infinite;
}

/* Champs en erreur */
input.error, select.error {
  border-color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.05);
}

/* Animations */
@keyframes spinner {
  to { transform: rotate(360deg); }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cache le honeypot (anti-spam) */
.hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
