/* RESET */
* { margin:0; 
  padding:0; 
  box-sizing:border-box; }
/* body { font-family:'Arial', sans-serif; line-height:1.6; color:#222; }

Typographie générale */
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #222;
  overflow-x: hidden;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #222;
}

.legal-page {
  padding: 80px 20px;
  background: #ececec;
}

.legal-page .container {
  max-width: 900px;
  margin: auto;
}

.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.legal-page h2 {
  font-size: 1.3rem;
  margin-top: 35px;
  margin-bottom: 10px;
}

.legal-page p {
  line-height: 1.7;
  color: #333;
}

.legal-page a {
  color: #c99a4b;
  text-decoration: none;
}


.container { 
  width:90%; 
  margin:auto; 
}

h2 { 
  margin-bottom:4rem; 
  margin-top: 2em;
  text-align:center; 
  font-size: 2.2em;
  line-height: normal;
}

/* COLORS & BUTTONS */
:root {
  --primary: #FFCC00;
  --secondary: #1a1a2e;
  --light: #f7f7f7;
  --dark: #333;
}

.btn {  
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  display:inline-block; 
  padding:0.75rem 2.5rem; 
  border-radius:35px; 
  font-weight:bold; 
  text-decoration:none; 
  transition:0.3s; 
}

.btn-primary { 
  background: var(--primary); 
  color: var(--dark); 
}
.btn-primary:hover { 
  opacity:0.9; 
}
.btn-secondary { 
  background: var(--secondary); 
  color:#fff; 
  
  width: 15em;
}
.btn-secondary:hover { 
  opacity:0.85; 
}


/*hover btn*/
.btn {
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  background: #222;
  color: #FFCC00;
}

/* Optional: petit effet de fond glissant */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,204,0,0.15);
  transition: left 0.4s ease;
}
.btn:hover::before {
  left: 0;
}


/* HERO */
.hero { 
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.377), rgba(0, 0, 0, 0.404)),  url("img-merovee/accueil_c.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  padding:12rem 0; 
  text-align:center;
 }

.hero h1 { 
  font-size:4.1rem; 
  margin-bottom:1rem; 
  line-height: 1.3em;
  color: #fff;
  padding-bottom: 25px;
  margin-left: 25px;
  margin-right: 25px;
  
}
.hero p { 
  font-size:1.8rem; 
  margin-bottom:1.5rem;
  color: #fff; 
  padding-bottom: 25px;
   margin-left: 25px;
  margin-right: 25px;
}

/* GRID SECTIONS 
.grid { 
  display:flex; 
  flex-wrap:wrap; 
  gap:2rem; 
  justify-content:center;
 }*/

.card { 
  background:#fff; 
  padding:1.5rem; 
  border-radius:12px; 
  box-shadow:1px 8px 12px 3px rgba(0, 0, 0, 0.116); 
  flex:1 1 250px; 
  text-align:center; 
 min-height: 450px;
  
}

.card img { 
  width:150px; 
  margin-bottom:1rem; 
  border-radius:4px; 
}

.card h3 { 
  margin-bottom:0.5rem; 
  margin-top: 0.2em;
  text-align:center; 
  font-size: 1.8em;
}

.card p { 
  margin-bottom:0.5rem; 
  margin-top: 0.2em;
  text-align:center; 
  font-size: 1em;
 
  
}

/*card hover*/
.card, .project {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .project:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


.cta_container { 
 background: var(--secondary); 
 padding:1rem; 
  width:100%; 
  margin:auto; 
 text-align:center; 
 padding-bottom: 5em;
 border-top: solid 8px var(--primary);
}

.cta_container h2 {
  color: #fff;
}

.cta_container p {
  color: #fff;
  font-size: 1.3em;
}

.portfolio_container {

   margin-top: 5em;
   padding-bottom: 5em;
 border-top: solid 8px var(--primary);
 width:100%; 
 background-color: var(--light);
  padding-left: 6%;
  padding-right: 6%;
  text-align: center;
}

.portfolio_container p{
 margin-bottom:3.8rem; 
  margin-top: 0em;
   
  font-size: 1.3em;
}

 .project { 
  background:#fff; 
  /*padding:1.5rem; */
  padding: ; 
 
  border-radius:12px; 
  box-shadow:0 8px 15px rgba(0, 0, 0, 0.148); 
  flex:1 1 250px; 
  text-align:center; 
}

.project img { 
  width:100%; 
  margin-bottom:1rem; 
  /*border-radius:4px; */
  border-radius: ; 
}


.project h4 { 
  margin-bottom:0.5rem; 
  margin-top: 0.2em;
  text-align:center; 
  font-size: 1.7em;
}

.project p { 
  margin-bottom:0.5rem; 
  margin-top: 0.2em;
  text-align:center; 
  font-size: 1.3em;
}

.project a {
  text-decoration: none;
}

.testimonials{
   padding-bottom: 5em;
   margin-top: em;
 border-top: solid 8px var(--primary);
 width:100%; 
}

/* TESTIMONIALS */
.testimonials blockquote { 
  background:var(--light);
  padding:3rem; 
  
  /*border-left:5px solid var(--primary); box-shadow:0 8px 15px rgba(0, 0, 0, 0.148); */
  margin:1rem; 

  border-radius:12px; 
   padding-bottom: 5em;
 border-top: solid 3px var(--primary);
  
}

.testimonials img{ 
  background-color: #fff;
  padding:1rem; 
  border:2px solid var(--primary); 
  box-shadow:0 8px 15px rgba(0, 0, 0, 0.148); 
  margin-bottom:4rem; 
  margin-top: -85px;
  border-radius:180px; 
  width: 250px;
  
}


.testimonials blockquote p { 
  /*margin-bottom:0.5rem; 
  margin-top: 0.2em;*/
  text-align:center; 
  font-size: 1.6em;
  max-width: 450px;
  text-align: left;
  margin-right: 35px;
  padding-bottom: 0.8em;
  font-weight: 500;
  color: #292929;
}

.border_p {
   border-bottom: solid 3px rgb(227, 227, 227);
   
}

.testimonials blockquote cite p{ 
  /*margin-bottom:0.5rem; */
  margin-top: 1em;
  text-align:center; 
  font-size: 1.6em;
  max-width: 450px;
  text-align: right;
  margin-right: 35px;
  color: #696969;
}

.contact{
  padding-bottom: 5em;
  padding-right: ;
  padding-left: ;
  max-width: 550px;
}

.contact h2{
  text-align: left;
}

/* FORM */
.contact form { 
  display:grid; 
  gap:1rem; 
   padding: 3em;
  padding-right: ;
  padding-left: ;
  max-width: 550px;
  background-color: var(--light);
  border: solid 1px var(--secondary);
  border-radius: 4px;
}
.contact input, .contact textarea { padding:0.75rem; border:1px solid #ddd; width:100%; border-radius:4px; }
.contact button { 
  border:none; 
  margin-top: 10px;
  
}

/* FOOTER 
.footer { text-align:center; padding:1rem 0; background:#f1f1f1; margin-top:2rem; }
*/
/* FOOTER */
.footer {
  background: #0f0f0f;
  color: #d1d1d1;
  padding: 60px 20px 20px;
  font-size: 0.95rem;
}

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

.footer h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 15px;
}

.footer p {
  line-height: 1.6;
}

.footer a {
  color: #d1d1d1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer-logo {
  max-width: 220px;
  margin-bottom: 15px;
}

/* FOOTER BOTTOM */
.footer-bottom {
  margin-top: 40px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
  color: #999;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 15px;
  }
}



/* HEADER & NAV */
.header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  height: 70px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  text-decoration: none;
  color: #222;
  transition: color 0.3s;
}
.nav a:hover {
  color: #FFCC00;
}

/* Bouton menu dans nav desktop */
.menu-btn {
  padding: 0.5rem 2rem;
  border-radius: 34px;
  font-weight: bold;
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 3px;
  background: #222;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* MOBILE */
@media screen and (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav a {
    margin: 1.5rem 0;
    font-size: 1.2rem;
  }

  .menu-btn {
    margin-top: 1rem;
    padding: 0.5rem 1.5rem;
  }

  .burger {
    display: flex;
  }

  /* Animation burger -> croix */
  .burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px,7px);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px,-5px);
  }

  /* HERO */
.hero { 
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.377), rgba(0, 0, 0, 0.404)),  url("img-merovee/accueil_c.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
  padding:6rem 0; 
  text-align:center;
 }

.hero h1 { 
  font-size:2.6rem; 
  margin-bottom:1rem; 
  color: #fff;
  
}
.hero p { 
  font-size:1.4rem; 
  margin-bottom:1.5rem;
  color: #fff; 
}

.logo {
  width: 300px;
}

.contact{
  padding-bottom: 5em;

   
}


.card { 
  background:#fff; 
  padding:1.5rem; 
  border-radius:12px; 
  box-shadow:1px 8px 12px 3px rgba(0, 0, 0, 0.116); 
  flex:1 1 250px; 
  text-align:center; 
  /*height: 450px;*/
  
}

}
