/* =========================
   VARIABLES
   ========================= */

:root{
  --amocom-green:#2f3e2f;
  --amocom-beige:#f7f6f2;
  --border:#e6e2d9;
}

/* =========================
   BASE
   ========================= */

body{
  margin:0;
  font-family:Arial, sans-serif;
  background:var(--amocom-beige);
  color:#222;
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:40px 20px;
}

.section{
  padding:60px 0;
}

.lead{
  font-size:18px;
  color:#555;
}

/* =========================
   HEADER
   ========================= */

.nav{
  background:var(--amocom-beige);
  border-bottom:1px solid var(--border);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:80px;
}

.brand-logo{
  height:42px;
}

.nav-links{
  display:flex;
  gap:30px;
  align-items:center;
}

.nav-links a{
  text-decoration:none;
  color:var(--amocom-green);
  font-weight:600;
}

.nav-cta{
  display:flex;
  gap:10px;
  align-items:center;
}

/* =========================
   BOUTONS
   ========================= */

.btn{
  padding:10px 18px;
  border-radius:8px;
  font-weight:600;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.btn-primary{
  background:var(--amocom-green);
  color:white;
}

.btn-ghost{
  background:#ece9e1;
  color:var(--amocom-green);
}

/* =========================
   HERO
   ========================= */

.hero{
  padding:80px 0;
}

.hero-grid{
  display:flex;
  gap:40px;
  align-items:center;
}

.hero-card{
  background:white;
  padding:25px;
  border-radius:12px;
  border:1px solid var(--border);
}

/* =========================
   GRID & CARDS
   ========================= */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:30px;
  margin-top:30px;
}

.card{
  background:white;
  padding:25px;
  border-radius:12px;
  border:1px solid var(--border);
  min-height:260px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  cursor:pointer;
}

.card h3{
  color:var(--amocom-green);
}

.badge{
  display:inline-block;
  background:#ece9e1;
  padding:6px 12px;
  border-radius:20px;
  font-size:13px;
  margin-bottom:10px;
}

/* carte cliquable */
.card a.full-link{
  position:absolute;
  inset:0;
  z-index:2;
}

/* =========================
   REALISATIONS
   ========================= */

.project{
  display:flex;
  gap:40px;
  align-items:center;
  margin:70px 0;
}

.project img{
  width:45%;
  max-width:420px;
  border-radius:12px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.project-text{
  width:55%;
}

.project-text h2{
  color:var(--amocom-green);
}

.project-text ul{
  padding-left:18px;
}

.project.reverse{
  flex-direction:row-reverse;
}

/* =========================
   CONTACT
   ========================= */

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  margin-top:30px;
}

.contact-form{
  background:white;
  padding:30px;
  border-radius:12px;
  border:1px solid var(--border);
  display:flex;
  flex-direction:column;
  gap:12px;
}

.contact-form label{
  font-weight:600;
  color:var(--amocom-green);
}

.contact-form input,
.contact-form textarea,
.contact-form select{
  padding:10px;
  border-radius:8px;
  border:1px solid var(--border);
  font-size:14px;
}

.contact-info{
  background:white;
  padding:30px;
  border-radius:12px;
  border:1px solid var(--border);
}

/* =========================
   FOOTER
   ========================= */

.footer{
  background:var(--amocom-green);
  color:white;
  padding:30px 0;
}

.footer a{
  color:white;
  text-decoration:none;
  font-weight:500;
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
}

.footer-logo{
  height:60px;
  margin-bottom:10px;
}

.footer-links{
  display:flex;
  gap:20px;
  flex-wrap:nowrap;
}

.footer-links a{
  color:white;
  text-decoration:none;
  font-weight:500;
}

.footer-links a:hover{
  text-decoration:underline;
}

/* =========================
   RESPONSIVE
   ========================= */

@media(max-width:800px){

  .hero-grid{
    flex-direction:column;
  }

  .project,
  .project.reverse{
    flex-direction:column;
    gap:20px;
  }

  .project img,
  .project-text{
    width:100%;
  }

  .nav-inner{
    flex-direction:column;
    gap:15px;
    padding:20px 0;
  }

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

/* =========================
   TEXTE MIS EN AVANT
   ========================= */

.highlight{
  color:var(--amocom-green);
  font-weight:700;
}
