*{
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}
/* SECTION À PROPOS */
.apropos {
    padding: 60px 20px;
    text-align: center;
}

/* TITRE 3D AVEC COULEURS IDENTIQUES AU LOGO */
.titre-3d {
    font-size: 2.4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    background: linear-gradient(90deg, #0072BC, #34A853);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 30px;
    animation: fadeDown 1s ease forwards;
}

/* CARTE 3D AVEC LES COULEURS DU LOGO */
.carte-3d {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    color: #ffffff;

    background: linear-gradient(
        135deg,
        rgba(0, 114, 188, 0.55),
        rgba(52, 168, 83, 0.50),
        rgba(76, 217, 100, 0.40)
    );

    border-radius: 22px;
    border: 1px solid rgba(0, 114, 188, 0.35);

    box-shadow:
        0 0 25px rgba(52, 168, 83, 0.45),
        inset 0 0 15px rgba(0, 114, 188, 0.25);

    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 500;

    transform: perspective(1000px) rotateX(8deg);
    transition: transform .4s ease, box-shadow .4s ease;
    opacity: 0;
    animation: fadeInUp 1.2s ease forwards;

    position: relative;
    overflow: hidden;
}

/* LUMIÈRE ANIMÉE AVEC LES TEINTES DU LOGO */
.carte-3d::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(76, 217, 100, 0.25),
        rgba(52, 168, 83, 0.25),
        rgba(0, 114, 188, 0.25)
    );
    opacity: 0.45;
    border-radius: 22px;
    mix-blend-mode: screen;
    animation: lightMove 4s infinite linear;
}

/* EFFET 3D dynamique */
.carte-3d:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-8px);
    box-shadow:
        0 0 40px rgba(0, 114, 188, 0.6),
        inset 0 0 25px rgba(52, 168, 83, 0.35);
}

/* ANIMATIONS */
@keyframes fadeInUp {
    0% { transform: perspective(1000px) translateY(30px) rotateX(12deg); opacity: 0; }
    100% { transform: perspective(1000px) translateY(0) rotateX(8deg); opacity: 1; }
}

@keyframes fadeDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes lightMove {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}


/* Effet 3D dynamique au survol */
.paragraphe-3d:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    background: linear-gradient(135deg, rgba(0, 255, 200, 0.22), rgba(0, 120, 255, 0.22));
}
/* HEADER */
header {
background: white;
padding: 15px 50px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
position: sticky;
top: 0;
z-index: 1000;
}

.logo {
display: flex;
align-items: center;
}
.logo img {
height: 55px;
margin-right: 10px;
}
.logo h1 {
color: #0077b6;
}
.logo span {
color: #2ab36c;
}

/* NAVIGATION */
nav ul {
list-style: none;
display: flex;
gap: 25px;
}
nav a {
text-decoration: none;
color: #222;
font-weight: bold;
transition: 0.3s;
}
nav a:hover {
color: #2ab36c;
}

/* HERO */
.hero {
text-align: center;
padding: 120px 20px;
color: white;
background: linear-gradient(
rgba(0, 119, 182, 0.7),
rgba(42, 179, 108, 0.7)
),
url('https://images.unsplash.com/photo-1602491677870-4e2d10711691') center/cover;
}

.hero-content h2 {
font-size: 42px;
margin-bottom: 10px;
}
.hero-content p {
font-size: 20px;
margin-bottom: 20px;
}
.btn {
background: #2ab36c;
padding: 12px 30px;
border-radius: 5px;
color: white;
text-decoration: none;
font-weight: bold;
transition: 0.3s;
}
.btn:hover {
background: #0077b6;
}

/* SECTION SERVICES */
.services {
    padding: 70px 20px;
    text-align: center;
}

.services h2 {
    font-size: 2.4rem;
    text-transform: uppercase;
    font-weight: 700;
    background: linear-gradient(90deg, #1A71B8, #4CAF50);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 50px;
}

/* Grille de services */
.service-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

/* Carte service */
.service {
    padding: 25px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(26,113,184,0.25), rgba(76,175,80,0.25));
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 
        0 0 20px rgba(26, 113, 184, 0.3),
        inset 0 0 12px rgba(76, 175, 80, 0.25);
    
    transform: perspective(800px) rotateX(8deg);
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
    color: white;
}

/* Effet lumière animée */
.service::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(76,175,80,0.25),
        rgba(26,113,184,0.25));
    opacity: 0.35;
    transform: translateX(-100%);
    animation: slideLight 4s infinite linear;
}

@keyframes slideLight {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}

/* Titre service */
.service h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}
.service h3,
.service p {
    color: #002D4A !important;
}
/* Texte */
.service p {
    font-size: 1rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Hover 3D */
.service:hover {
    transform: 
        perspective(900px) 
        rotateX(0deg) 
        translateY(-8px);
    box-shadow:
        0 0 35px rgba(26,113,184,0.55),
        0 0 35px rgba(76,175,80,0.55),
        inset 0 0 18px rgba(46,139,87,0.35);
}

/* SECTIONS */
.apropos, .services, .contact {
padding: 60px 40px;
background: white;
text-align: center;
margin-top: 20px;
}
h2 {
color: #0077b6;
margin-bottom: 20px;
}
.service-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}
.service {
width: 260px;
background: #eaf8f1;
padding: 20px;
border-left: 5px solid #2ab36c;
border-radius: 8px;
text-align: left;
}

/* CONTACT FORM */
form {
display: flex;
flex-direction: column;
gap: 15px;
max-width: 400px;
margin: auto;
}
input, textarea {
padding: 10px;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
background: #0077b6;
color: white;
padding: 12px;
border: none;
border-radius: 5px;
cursor: pointer;
transition: 0.3s;
}
button:hover {
background: #2ab36c;
}

/* FOOTER */
footer {
background: #2ab36c;
color: white;
text-align: center;
padding: 20px;
margin-top: 40px;
}


/* SECTION PHOTOS D'ACCUEIL */
.accueil-photos {
padding: 50px 40px;
background: #f4f6f7;
text-align: center;
}

.accueil-photos h2 {
color: #0077b6;
margin-bottom: 10px;
}

.accueil-photos-texte {
max-width: 700px;
margin: 0 auto 30px auto;
color: #555;
}

.photos-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
}

.photo-card {
background: #ffffff;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
max-width: 320px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-card img {
width: 100%;
height: 210px;
object-fit: cover;
display: block;
}

.photo-legende {
padding: 12px 15px;
font-weight: 600;
color: #0077b6;
text-align: left;
}

.photo-card:hover {
transform: translateY(-6px);
box-shadow: 0 8px 22px rgba(0,0,0,0.15);
}


/* ===== COVERFLOW 3D ===== */

.coverflow-section {
padding: 50px 20px 70px;
background: #f4f6f7;
text-align: center;
}

.coverflow-title {
color: #0077b6;
margin-bottom: 8px;
}

.coverflow-text {
max-width: 700px;
margin: 0 auto 30px auto;
color: #555;
}

.coverflow-wrapper {
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}

.coverflow-viewport {
position: relative;
width: 100%;
max-width: 900px;
height: 320px;
perspective: 1200px;
overflow: visible;
}

.coverflow-item {
position: absolute;
top: 50%;
left: 50%;
transform-style: preserve-3d;
transition:
transform 0.5s ease,
opacity 0.5s ease,
filter 0.5s ease;
opacity: 0;
}

.coverflow-item img {
width: 420px;
max-width: 90vw;
height: 260px;
object-fit: cover;
border-radius: 12px;
box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

/* Boutons gauche / droite */
.cf-btn {
border: none;
background: rgba(0,0,0,0.25);
color: #fff;
font-size: 28px;
width: 44px;
height: 44px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.3s ease, transform 0.2s ease;
}

.cf-btn:hover {
background: rgba(0,0,0,0.5);
transform: scale(1.07);
}

/* Responsive */
@media (max-width: 768px) {
.coverflow-viewport {
height: 260px;
}
.coverflow-item img {
width: 320px;
height: 210px;
}
}

/* ======= Avis clients ======= */
.reviews-section{
  padding: 48px 16px;
  background: #f6f8fb;
}

.reviews-container{
  max-width: 1100px;
  margin: 0 auto;
}

.reviews-title{
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

.reviews-subtitle{
  margin: 8px 0 24px;
  color: #4b5563;
}

.reviews-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 900px){
  .reviews-grid{ grid-template-columns: 1fr 1.2fr; }
}

.review-form-card,
.review-list-card{
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
}

.review-form-card h3,
.review-list-card h3{
  margin-top: 0;
  margin-bottom: 12px;
}

.review-form{
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 520px){
  .field-row{ grid-template-columns: 1fr 1fr; }
}

.field label{
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #111827;
}

.field input,
.field select,
.field textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  outline: none;
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: #1e7f4d;
  box-shadow: 0 0 0 4px rgba(30,127,77,0.12);
}

.hint{
  display: flex;
  justify-content: flex-end;
  color: #6b7280;
  font-size: 12px;
  margin-top: 6px;
}

.actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-primary{
  background: #1e7f4d;
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary:hover{ background: #16623b; }

.btn-secondary{
  background: #eef2f7;
  color: #111827;
  border: 1px solid #d1d5db;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.btn-secondary:hover{ background: #e5e9f0; }

.alert{
  margin: 6px 0 0;
  font-size: 13px;
  color: #1e7f4d;
  min-height: 18px;
}

.alert.error{ color: #b42318; }

/* étoiles */
.stars{
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
  user-select: none;
}

.stars input{ display: none; }

.stars label{
  font-size: 22px;
  cursor: pointer;
  color: #d1d5db;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label{
  color: #f5b301;
}

.list-header{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

@media (min-width: 520px){
  .list-header{
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.list-tools{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tool-select{
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
}

.reviews-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.review-item{
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 14px;
  background: #fff;
}

.review-top{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.review-name{
  font-weight: 700;
  color: #111827;
}

.review-meta{
  color: #6b7280;
  font-size: 12px;
  margin-top: 2px;
}

.badge{
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30,127,77,0.10);
  color: #1e7f4d;
  font-weight: 600;
}

.review-stars{
  color: #f5b301;
  font-size: 16px;
  white-space: nowrap;
}

.admin-bar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top:10px;
}


.admin-status{
  color:#6b7280;
}

.btn-danger{
  background:#b42318;
  color:#fff;
  border:none;
  padding:8px 10px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
}

.btn-danger:hover{ background:#8f1c13; }

.review-actions{
  margin-top:10px;
  display:flex;
  gap:10px;
  justify-content:flex-end;
}


.review-message{
  margin: 10px 0 0;
  color: #111827;
  line-height: 1.4;
}

.empty-state{
  color: #6b7280;
  text-align: center;
  margin: 14px 0 0;
}












.menu-btn {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #0a6cb5;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    right: 20px;
    width: 200px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  }

  nav ul.show {
    display: flex;
  }

  .menu-btn {
    display: block;
  }
}












/* Header */
.site-header{
  background: white;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Menu PC */
.site-nav ul{
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.site-nav a{
  text-decoration: none;
  color: #222;
  font-weight: bold;
  transition: 0.3s;
}
.site-nav a:hover{ color:#2ab36c; }

/* Bouton burger */
.menu-btn{
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #0a6cb5;
  cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px){
  .site-header{ padding: 15px 20px; }

  .menu-btn{ display:block; }

  .site-nav ul{
    display: none;                 /* caché par défaut */
    position: absolute;
    top: 75px;
    right: 20px;
    width: 220px;
    flex-direction: column;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    gap: 12px;
    z-index: 2000;
  }

  .site-nav ul.show{               /* visible quand JS ajoute .show */
    display: flex;
  }
}

