/* style.css – Providence Group (one-page) */
/* BORDS CARRÉS FORCÉS partout */
*,
*::before,
*::after { box-sizing: border-box; border-radius: 0 !important; }
html,body{ height:100%; margin:0; padding:0; font-family:'Montserrat',system-ui,-apple-system,Segoe UI,Roboto,Arial; color:#0b0b0b; background:#fff; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }

/* Couleurs */
:root{
  --green: #6da544;
  --blue: #0043ff;
  --dark: #0b0b0b;
  --muted: #6b6b6b;
  --light: #f6f8fb;
  --maxw: 1150px;
}

/* layout wrapper */
.wrap{ width:90%; max-width:var(--maxw); margin:0 auto; }

/* HEADER */
.site-header{ position:sticky; top:0; z-index:50; background:#fff; border-bottom:3px solid var(--green); }
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; padding:12px 0; }
.logo{ height:100px; display:block; }
.nav{ display:flex; gap:18px; align-items:center; }
.nav-link{ color:var(--dark); font-weight:600; text-decoration:none; padding:8px 10px; }
.nav-link:hover, .nav-link:focus{ color:var(--blue); outline: none; }
.cta{ border:2px solid var(--blue); padding:8px 12px; color:var(--blue); background:transparent; }
.cta:hover{ background:var(--blue); color:#fff; }

/* BURGER for mobile */
.burger{ display:none; background:none; border:none; font-size:22px; cursor:pointer; }

/* HERO */
.hero{ padding:70px 0; background:linear-gradient(180deg, #fff, var(--light)); }
.hero-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:30px; align-items:center; }
.hero-left h1{ font-size:2.4rem; color:var(--green); margin-bottom:12px; }
.subtitle{ color:var(--muted); margin-bottom:8px; font-weight:600; }
.lead{ color:var(--dark); margin-bottom:18px; line-height:1.5; }
.actions{ display:flex; gap:12px; }
.btn{ display:inline-block; padding:12px 18px; text-transform:uppercase; font-weight:700; border:2px solid var(--green); cursor:pointer; text-decoration:none; color:var(--dark); }
.btn.primary{ background:var(--blue); color:#fff; border-color:var(--blue); }
.btn.primary:hover{ background:var(--green); border-color:var(--green); color:#fff; }
.btn.outline{ background:transparent; border-color:var(--green); color:var(--green); }

/* HERO IMAGE */
.hero-img{ width:100%; height:320px; object-fit:cover; display:block; border:2px solid #ddd; }

/* SECTION COMMON */
.section{ padding:54px 0; }
.section h2{ font-size:1.6rem; color:var(--blue); margin-bottom:18px; }

/* ABOUT */
.about p{ color:var(--muted); line-height:1.6; }

/* SERVICES */
.cards{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:18px; }
.card{ background:#fff; border:2px solid #e6e9ee; padding:18px; min-height:140px; }
.card h3{ color:var(--green); margin-bottom:8px; }

/* STATS */
.stats-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; text-align:center; }
.stat{ background:var(--light); padding:22px; border:2px solid #e9eef8; }
.stat-number{ font-size:2rem; font-weight:800; color:var(--blue); }
.stat-label{ color:var(--muted); margin-top:8px; }

/* GALLERY / CAROUSEL */
.carousel{ position:relative; display:flex; align-items:center; gap:12px; margin-bottom:32px; }
.carousel-track-wrapper{ overflow:hidden; width:100%; border:2px solid #e6e9ee; position:relative; }
.carousel-track{ display:flex; list-style:none; padding:0; margin:0; transition:transform .5s ease; }
.carousel-slide{ min-width:100%; flex-shrink:0; position:relative; }
.carousel-slide img{ display:block; width:100%; height:420px; object-fit:cover; }
.slide-number{ position:absolute; top:16px; right:16px; background:rgba(0,0,0,0.75); color:#fff; padding:8px 14px; font-weight:700; font-size:0.9rem; z-index:10; }
.carousel-btn{ background:var(--blue); color:#fff; border:2px solid var(--blue); padding:12px 18px; cursor:pointer; font-size:26px; font-weight:bold; transition:all .3s; }
.carousel-btn:hover{ background:var(--green); border-color:var(--green); }
.carousel-dots{ display:flex; gap:10px; justify-content:center; margin-top:16px; }
.dot{ width:12px; height:12px; background:#d0d5dd; border:2px solid #d0d5dd; cursor:pointer; transition:all .3s; padding:0; }
.dot.active{ background:var(--blue); border-color:var(--blue); width:32px; }

/* contact */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:28px; align-items:start; }
.contact-card{ background:#fff; border:2px solid #e6e9ee; padding:18px; }
.contact-form label{ display:block; font-weight:600; margin-bottom:10px; }
.contact-form input, .contact-form textarea{ width:100%; padding:10px; border:2px solid var(--green); margin-top:6px; font-size:1rem; }

/* footer */
.site-footer{ background:var(--blue); color:#fff; padding:16px 0; text-align:center; }
.footer-grid{ display:flex; align-items:center; justify-content:space-between; gap:16px; max-width:var(--maxw); margin:0 auto; padding:0 16px; }
.footer-logo{ height:80px; display:block; }
.footer-cta{ color:#fff; text-decoration:none; font-weight:700; padding:10px 16px; border:2px solid #fff; transition:all .3s; display:inline-block; }
.footer-cta:hover{ background:#fff; color:var(--blue); }

/* small screens */
@media (max-width:900px){
  .hero-grid{ grid-template-columns:1fr; }
  .stats-grid{ grid-template-columns: repeat(2,1fr); }
  .contact-grid{ grid-template-columns:1fr; }
  .carousel-slide img{ height:260px; }
}

@media (max-width:680px){
  .nav{ display:none; position:absolute; top:70px; left:0; right:0; background:#fff; flex-direction:column; padding:12px; border-top:2px solid var(--green); }
  .nav.show{ display:flex; }
  .burger{ display:block; }
  .stats-grid{ grid-template-columns: 1fr; }
  .footer-grid{ flex-direction:column; gap:10px; }
  
  /* Carousel 100% sur mobile */
  .carousel { gap: 0; }
  .carousel-btn { display: none; }
  .carousel-track-wrapper { width: 100vw; margin-left: calc(-50vw + 50%); border-left: none; border-right: none; }
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid;
  font-weight: 600;
}
.alert-success {
  background-color: #d4edda;
  border-color: #6da544;
  color: #155724;
}
.alert-error {
  background-color: #f8d7da;
  border-color: #dc3545;
  color: #721c24;
}