:root{
  --bg:#050505;
  --bg-deep:#020302;
  --bg-soft:#080b0a;
  --card:#101312;
  --card-hover:#151a18;
  --line:rgba(255,255,255,.12);
  --line-strong:rgba(141,182,63,.35);

  --text:#ffffff;
  --muted:#b8c0bb;
  --soft:#7f8983;

  --green:#8db63f;
  --green-light:#a7d64a;
  --green-dark:#506d22;

  --shadow:0 24px 80px rgba(0,0,0,.45);
  --shadow-soft:0 18px 60px rgba(0,0,0,.22);

  --radius:22px;
  --radius-small:12px;
  --max:1180px;

  --header-height:104px;
}

/* RESET */

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 20% 5%, rgba(141,182,63,.18), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(141,182,63,.10), transparent 30%),
    linear-gradient(180deg,var(--bg-deep) 0%,#070807 50%,var(--bg) 100%);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

body::selection{
  background:var(--green);
  color:#101606;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

button,
input,
select,
textarea{
  font:inherit;
}

.container{
  width:min(var(--max),calc(100% - 36px));
  margin:auto;
}

/* HEADER */

.topbar{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(5,5,5,.88);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
  transition:.25s ease;
}

.topbar.is-scrolled{
  background:rgba(3,4,3,.94);
  box-shadow:0 18px 50px rgba(0,0,0,.28);
}

.nav{
  min-height:var(--header-height);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.logo{
  display:flex;
  align-items:center;
  flex:0 0 auto;
}

.logo img{
  height:86px;
  width:auto;
  object-fit:contain;
}

.menu{
  display:flex;
  align-items:center;
  gap:24px;
  font-size:14px;
  font-weight:750;
}

.menu a{
  color:#f3f3f3;
  opacity:.9;
  position:relative;
  white-space:nowrap;
  transition:.2s ease;
}

.menu a:hover,
.menu a.active{
  color:var(--green-light);
  opacity:1;
}

.menu a.active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-15px;
  height:2px;
  background:var(--green);
  border-radius:999px;
}

.burger{
  display:none;
  background:rgba(255,255,255,.04);
  border:1px solid var(--line);
  color:#fff;
  border-radius:12px;
  padding:10px 13px;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}

/* BUTTONS */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:1px solid rgba(141,182,63,.55);
  border-radius:10px;
  padding:14px 22px;
  font-weight:900;
  text-transform:uppercase;
  font-size:13px;
  letter-spacing:.02em;
  transition:.25s ease;
  cursor:pointer;
  text-align:center;
}

.btn.primary{
  background:linear-gradient(135deg,var(--green),var(--green-light));
  color:#101606;
  border-color:transparent;
}

.btn.secondary{
  background:rgba(255,255,255,.035);
  color:#fff;
}

.btn:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 35px rgba(141,182,63,.18);
}

.btn:active{
  transform:translateY(0);
}

/* HERO */

.hero{
  position:relative;
  padding:78px 0 48px;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(5,5,5,.98) 0%,rgba(5,5,5,.72) 45%,rgba(5,5,5,.95) 100%),
    url("../images/hero-basalte.webp") center/cover no-repeat;
  opacity:.78;
  z-index:-2;
}

.hero::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:180px;
  background:linear-gradient(0deg,var(--bg),transparent);
  z-index:-1;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:54px;
  align-items:center;
}

.eyebrow{
  color:var(--green-light);
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:13px;
  margin-bottom:18px;
}

h1{
  font-size:clamp(38px,5vw,68px);
  line-height:1.03;
  letter-spacing:-.05em;
  margin-bottom:24px;
}

h1 span{
  color:var(--green-light);
}

h2{
  letter-spacing:-.04em;
}

.lead{
  font-size:19px;
  color:#e4e7e4;
  max-width:620px;
  margin-bottom:20px;
}

.locations{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:24px 0 30px;
  color:#f5f5f5;
  font-weight:800;
}

.pill{
  border:1px solid rgba(141,182,63,.35);
  background:rgba(141,182,63,.08);
  padding:8px 12px;
  border-radius:999px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  margin-bottom:36px;
}

/* MOCKUP */

.mockup{
  border:1px solid var(--line);
  border-radius:28px;
  padding:18px;
  background:linear-gradient(145deg,rgba(255,255,255,.11),rgba(255,255,255,.025));
  box-shadow:var(--shadow);
  position:relative;
}

.screen{
  min-height:360px;
  border-radius:20px;
  overflow:hidden;
  border:1px solid var(--line);
  background:
    linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.25)),
    url("../images/exemple-couvreur.webp") center/cover no-repeat;
  display:flex;
  align-items:center;
  padding:42px;
}

.screen h2{
  font-size:32px;
  line-height:1.1;
  margin-bottom:12px;
}

.screen p{
  color:#dce3df;
  margin-bottom:20px;
}

.phone{
  position:absolute;
  right:-24px;
  bottom:-24px;
  width:132px;
  height:260px;
  border-radius:24px;
  background:#080808;
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 18px 60px rgba(0,0,0,.65);
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;
  font-weight:950;
}

.phone span{
  color:var(--green-light);
}

/* CARDS GLOBAL */

.feature,
.card,
.sector,
.example,
.testimonial,
.footer-box{
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025));
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow-soft);
}

.feature:hover,
.card:hover,
.sector:hover,
.example:hover,
.testimonial:hover{
  border-color:rgba(141,182,63,.32);
}

/* FEATURES */

.features{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:34px;
}

.feature{
  padding:24px;
}

.icon{
  font-size:32px;
  color:var(--green-light);
  margin-bottom:12px;
}

.feature strong{
  display:block;
  margin-bottom:4px;
}

.feature p{
  color:var(--muted);
  font-size:14px;
}

/* SECTIONS */

section{
  padding:56px 0;
}

.section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px;
}

.section-title h2{
  font-size:clamp(28px,3vw,42px);
  line-height:1.1;
}

.section-title p{
  color:var(--muted);
  max-width:560px;
}

/* OFFERS */

.offers{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.card{
  padding:30px;
  position:relative;
  min-height:360px;
}

.card.popular{
  border-color:rgba(141,182,63,.72);
  box-shadow:0 24px 80px rgba(141,182,63,.10);
}

.tag{
  position:absolute;
  top:-12px;
  left:50%;
  transform:translateX(-50%);
  background:var(--green);
  color:#101606;
  font-size:11px;
  font-weight:950;
  padding:5px 12px;
  border-radius:5px;
  white-space:nowrap;
}

.card h3{
  text-align:center;
  font-size:19px;
  margin-bottom:12px;
}

.price{
  text-align:center;
  color:var(--green-light);
  font-size:32px;
  font-weight:950;
  line-height:1.05;
  margin-bottom:24px;
}

.price small{
  font-size:14px;
  color:#fff;
  font-weight:700;
}

.card ul{
  list-style:none;
  display:grid;
  gap:10px;
  margin:24px 0;
}

.card li{
  color:#e7ebe8;
  font-size:14px;
}

.card li::before{
  content:"✓";
  color:var(--green-light);
  font-weight:950;
  margin-right:10px;
}

/* AUDIENCES */

.audiences{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:14px;
}

.audience{
  background:rgba(255,255,255,.045);
  border:1px solid var(--line);
  border-radius:18px;
  padding:20px;
  text-align:center;
  font-weight:850;
  transition:.25s ease;
}

.audience:hover{
  transform:translateY(-2px);
  border-color:rgba(141,182,63,.35);
}

.audience div{
  font-size:30px;
  color:var(--green-light);
  margin-bottom:8px;
}

/* SECTORS */

.sectors{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.sector{
  overflow:hidden;
  display:grid;
  grid-template-columns:120px 1fr;
  min-height:130px;
}

.sector .photo{
  background:center/cover no-repeat;
  min-height:130px;
}

.sector:nth-child(1) .photo{
  background-image:url("../images/clermont.webp");
}

.sector:nth-child(2) .photo{
  background-image:url("../images/riom.webp");
}

.sector:nth-child(3) .photo{
  background-image:url("../images/thiers.webp");
}

.sector-content{
  padding:20px;
}

.sector-content h3{
  margin-bottom:4px;
}

.sector-content p{
  color:var(--muted);
  font-size:14px;
}

.sector-content span{
  color:var(--green-light);
  font-weight:950;
}

/* METHOD */

.method{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.035);
  padding:32px;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:20px;
  position:relative;
}

.step{
  text-align:center;
}

.num{
  width:38px;
  height:38px;
  border:1px solid var(--green);
  color:var(--green-light);
  border-radius:50%;
  display:grid;
  place-items:center;
  margin:0 auto 12px;
  font-weight:950;
}

.step p{
  color:var(--muted);
  font-size:13px;
}

/* EXAMPLES */

.examples{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}

.example{
  overflow:hidden;
}

.example-img{
  height:150px;
  background:center/cover no-repeat;
  filter:saturate(.82);
}

.example:nth-child(1) .example-img{
  background-image:url("../images/exemple-couvreur.webp");
}

.example:nth-child(2) .example-img{
  background-image:url("../images/exemple-coiffeur.webp");
}

.example:nth-child(3) .example-img{
  background-image:url("../images/exemple-garage.webp");
}

.example:nth-child(4) .example-img{
  background-image:url("../images/exemple-restaurant.webp");
}

.example h3{
  padding:16px 18px;
}

/* TESTIMONIALS */

.quote-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.testimonial{
  padding:26px;
}

.testimonial .quote{
  font-size:42px;
  color:var(--green-light);
  line-height:1;
}

.testimonial p{
  color:#e5e9e6;
  margin-bottom:18px;
}

.testimonial strong{
  color:var(--green-light);
}

/* FORMS */

.form-section{
  padding-bottom:72px;
}

.form-box{
  border:1px solid rgba(141,182,63,.35);
  background:linear-gradient(145deg,rgba(141,182,63,.09),rgba(255,255,255,.035));
  border-radius:28px;
  padding:30px;
  box-shadow:var(--shadow);
}

form{
  display:grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  gap:14px;
}

textarea{
  grid-column:1 / -2;
  min-height:56px;
  resize:vertical;
}

input,
select,
textarea{
  width:100%;
  background:#0a0d0b;
  border:1px solid var(--line);
  border-radius:10px;
  color:white;
  padding:15px 14px;
  outline:none;
  transition:.2s ease;
}

input:focus,
select:focus,
textarea:focus{
  border-color:rgba(141,182,63,.7);
  box-shadow:0 0 0 4px rgba(141,182,63,.08);
}

input::placeholder,
textarea::placeholder{
  color:#8a938d;
}

form .btn{
  width:100%;
  border:0;
}

form.is-submitting{
  opacity:.78;
}

/* FOOTER */

footer{
  background:#030403;
  border-top:1px solid var(--line);
  padding:44px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1.1fr;
  gap:34px;
}

footer img{
  height:78px;
  width:auto;
  margin-bottom:16px;
}

footer p,
footer a,
footer span{
  color:var(--muted);
  font-size:14px;
}

footer a:hover{
  color:var(--green-light);
}

footer h3{
  font-size:15px;
  margin-bottom:12px;
  color:#fff;
}

.footer-links{
  display:grid;
  gap:8px;
}

.legal{
  border-top:1px solid var(--line);
  margin-top:30px;
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  color:var(--soft);
  font-size:13px;
}

/* UTILITY POUR FUTURES PAGES */

.page-hero{
  padding:72px 0 40px;
}

.page-hero h1{
  max-width:900px;
}

.center{
  text-align:center;
}

.mt-20{
  margin-top:20px;
}

.mt-30{
  margin-top:30px;
}

/* RESPONSIVE */

@media (max-width:1100px){
  .menu{
    gap:17px;
    font-size:13px;
  }

  .logo img{
    height:78px;
  }
}

@media (max-width:980px){
  :root{
    --header-height:86px;
  }

  .burger{
    display:block;
  }

  .menu{
    position:absolute;
    left:18px;
    right:18px;
    top:86px;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    background:#070907;
    border:1px solid var(--line);
    border-radius:18px;
    padding:22px;
    box-shadow:var(--shadow);
  }

  .menu.open{
    display:flex;
  }

  .menu a.active::after{
    display:none;
  }

  .menu .btn{
    width:100%;
  }

  .hero-grid{
    grid-template-columns:1fr;
  }

  .features,
  .offers{
    grid-template-columns:repeat(2,1fr);
  }

  .audiences{
    grid-template-columns:repeat(3,1fr);
  }

  .sectors,
  .quote-grid{
    grid-template-columns:1fr;
  }

  .method{
    grid-template-columns:1fr;
  }

  .examples{
    grid-template-columns:repeat(2,1fr);
  }

  form{
    grid-template-columns:1fr 1fr;
  }

  textarea{
    grid-column:1/-1;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width:640px){
  :root{
    --header-height:78px;
  }

  .container{
    width:min(100% - 26px,var(--max));
  }

  .nav{
    min-height:78px;
  }

  .logo img{
    height:62px;
  }

  .menu{
    top:78px;
  }

  .hero{
    padding-top:46px;
  }

  h1{
    font-size:clamp(36px,12vw,48px);
  }

  .lead{
    font-size:17px;
  }

  .section-title{
    display:block;
  }

  .section-title p,
  .section-title .btn{
    margin-top:16px;
  }

  .hero-actions{
    display:grid;
  }

  .btn{
    width:100%;
  }

  .features,
  .offers,
  .audiences,
  .examples,
  form,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .sector{
    grid-template-columns:1fr;
  }

  .sector .photo{
    height:130px;
  }

  .phone{
    display:none;
  }

  .screen{
    min-height:280px;
    padding:26px;
  }

  .screen h2{
    font-size:26px;
  }

  .card{
    min-height:auto;
  }

  footer img{
    height:66px;
  }

  .legal{
  display:block;
}

.legal span{
  display:block;
  margin-bottom:10px;
}

}

/* TEXTE MANUSCRIT BASALTE-WEB */

.handwritten{
  font-family:"Segoe Script","Brush Script MT",cursive;
  font-size:clamp(24px,3vw,40px);
  line-height:1.4;
  color:#fff;
  transform:rotate(-1deg);
}

.handwritten span{
  color:var(--green-light);
}
