/* styles.css */
:root{
  --bg: #ffffff;
  --text: #0b1220;
  --muted: #475569;

  --dark: #2b3a42;
  --green: #6faf3a;

  --line: rgba(15, 23, 42, 0.10);
  --softA: rgba(15, 23, 42, 0.05);
  --softB: rgba(120, 184, 42, 0.06);

  --radius: 2px;
  --shadow: 0 10px 26px rgba(2, 6, 23, 0.06);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }

body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: var(--bg);
  color: var(--text);
}

.logoGrammes{

}

.logoGrammes img{
  width: 150px;
}

.wrap{
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
}

.top{
  padding: 22px 0 12px;
  background: var(--bg);

}

.logo{
  width: min(800px, 100%);
  height: auto;
  display: block;
  margin: auto;
}

.section{
  padding: 34px 0;
}

.sectionA{
  background: var(--softA);
}

.sectionImg1{

}

.sectionB{
  background: var(--bg);
}

.sectionC{
  background: var(--green);
  color: #fff;
}



.sectionC h2, .sectionC p {
  text-align: center;
  color: #fff;
}

.divider{
  height: 1px;
  background: var(--line);
}

.h1{
  margin: 0 0 14px;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.h2{
  margin: 0 0 14px;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--dark);
}

.p{
  margin: 0 0 12px;
  line-height: 1.65;
  font-size: 16px;
  color: var(--text);
}

.stack{
  display: grid;
  gap: 10px;
}

.pTight{
  margin: 0;
}

.box{
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background-color: #fff;
  padding: 16px;
}

.boxSmall{
  padding: 14px 16px;
  background: #ffffff;
}

.steps{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.step{
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.5);
}

.stepTitle{
  font-weight: 900;
  margin-bottom: 6px;
  color: var(--dark);
}

.stepText{
  color: var(--muted);
  line-height: 1.55;
}

.form{
  display: grid;
  gap: 10px;
}

.label{
  display: block;
  font-weight: 900;
  color: var(--dark);
}

.row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.input{
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px 12px;
  font-size: 16px;
  outline: none;
  background: #e4e4e4;
}

.input:focus{
  border-color: rgba(120,184,42,0.60);
  box-shadow: 0 0 0 4px rgba(120,184,42,0.18);
}

.button{
  border: 0;
  border-radius: 2px;
  padding: 12px 14px;
  font-size: 16px;
  font-weight: 900;
  background: var(--dark);
  color: #ffffff;
  cursor: pointer;
}

.button:hover{
  filter: brightness(1.03);
}

.msg{
  margin: 0;
  min-height: 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.link{
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 640px){
  .wrap{ width: min(900px, calc(100% - 28px)); }
  .row{ grid-template-columns: 1fr; }
  .button{ width: 100%; }
}



.construction{
  width: 100%;
  background-color: var(--softA);
  text-align: center;
  padding: 10px 0;
}

.construction p{
  padding: 0;
  margin: 0;
}


.introGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.introImage {
  text-align: center;
}

.introImage img {
  width: 100%;
  max-width: 90%;
  height: auto;
  display: block;
  margin: auto;
}






a.ctaButton {
  display: inline-block;
  background-color: #fff;
  color: #000;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  margin: 0 auto;
  width: fit-content;
}

a.ctaButton:hover {
  background-color: #deecdb;;

  transform: scale(1.04) translateY(-1px); /* léger zoom + petit lift */
}

a.ctaButton:active {
  transform: scale(1.02); /* petit retour au clic */
}



  .sectionImg1{
  background-image: url('image3.png');
  background-repeat: no-repeat;
  background-position: top -147px right -143px;
  background-size: 300px;
}


/* Mobile */
@media (max-width: 768px) {
  .introGrid {
    grid-template-columns: 1fr;
  }

  .introImage {
    display: none;
    margin-top: 20px;
  }


}
