/*
Theme Name: mytheme
Theme URI: https://exemple.com
Author: Ton Nom
Description: Thème personnalisé
Version: 1.0
*/



/* ========================= */
/* RESET & FONTS */
/* ========================= */

:root{
    --royal: #1f2a44;
}

html {
  scroll-behavior: smooth;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #f5f0e6;
    color: #333;
    line-height: 1.6;
    font-family: "Baloo 2", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

/* ========================= */
/* NAVBAR */
/* ========================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: #000;
    align-items: center;
    display: flex;
}

.navbar .logo svg{
	height: 50px;
	width: 50px;
	display: inline-block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-weight: 600;
}

.nav-links li a:hover {
    color: #1a73e8;
}

/* ========================= */
/* HERO SECTION */
/* ========================= */
/* HERO SECTION */
.hero {
    padding-bottom: 0% !important;
    padding-top: 0% !important;
    display: grid;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15% 10%;
    position: relative;
    object-fit: fill;
    color: #fff;
    background: url("img/backgroudhero.png");
    background-repeat: round;
    background-size: 100% 100%;
    background-position-x: center;
    background-position-y: center;
    background-origin: border-box;
    min-height: 55vw;

    /* 👇 Ajout pour transition fluide du carousel */
    transition: background-image 1s ease-in-out;
}


/* Overlay pour améliorer la lisibilité */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.55); /* noir semi-transparent */
    z-index: 1;
    border-radius: 0;
    opacity: 0.2;
}

.hero-content,
.hero-image {
    position: relative;
    z-index: 2; /* passe au-dessus de l’overlay */
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: white;
}

.hero .btn {
    background: #1a73e8;
    color: #fff;
    padding: 0.9rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.hero .btn:hover {
    background: #155ab6;
    transform: scale(1.05);
}


/* ========================= */
/* SECTIONS BLOCS */
/* ========================= */
section {
    padding: 5% 10%;
}

.section-beige {
    background-color: #f5f0e6;
    margin-bottom: 0px;
    margin-top: 0px;
}

h2.section-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #243846;
}

/* ========================= */
/* CAROUSEL */
/* ========================= */
.carousel {
    position: relative;
    overflow: hidden;
    margin: 2rem auto;
    max-width: 900px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    flex-shrink: 0;
    text-align: center;
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0.7;
    max-width: 100%;
}

.carousel-item.active {
    transform: scale(1);
    opacity: 1;
}

.carousel img {
    width: 100%;
    border-radius: 15px;
}

/* Boutons sous le carousel */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.prev,
.next {
    background: #1a73e8;
    color: #fff;
    border: none;
    padding: 0.7rem 1.2rem;
    font-size: 1.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.prev:hover,
.next:hover {
    background: #155ab6;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* ========================= */
/* PRICING CARDS */
/* ========================= */
/* ========================= */
/* PRICING CARDS COLORÉES */
/* ========================= */
.pricing-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.card {
    background-color: #fff;
    border-radius: 20px;
    padding: 2rem;
    flex: 1 1 250px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

/* Couleurs différentes par type */
.card:nth-child(1) {
    background: linear-gradient(135deg, #fceabb, #f8b500); /* Starter: jaune-beige */
}

.card:nth-child(2) {
    background: linear-gradient(135deg, #a0eaff, #00b0ff); /* Pro: bleu clair */
    color: #fff;
}

.card:nth-child(3) {
    background: linear-gradient(135deg, #ff9a9e, #ff6a88); /* Premium: rose/rouge */
    color: #fff;
}

/* Supprimer les puces des listes */
.card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.card ul li {
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Hover amélioré */
.card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Prix en évidence */
.card .price {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 1rem 0;
}

/* Boutons tarif adaptés au style */
.card .btn {
    background: rgba(0,0,0,0.1);
    color: inherit;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.card .btn:hover {
    background: rgba(0,0,0,0.25);
}


/* ========================= */
/* FORMULAIRE CONTACT */
/* ========================= */
.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
    border: 2px solid #ccc;
    background: #fff;
    transition: border 0.3s;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #1a73e8;
    outline: none;
}

/*.form-group label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #999;
    font-weight: 500;
    pointer-events: none;
    transition: 0.3s;
}
*/
/* Label flottant bleu */
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    background: #f5f0e6;
    padding: 0 0.3rem;
    font-size: 0.85rem;
    color: #1a73e8;
}

/* Bouton animé bleu */
.form-group .submit-btn {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    background-color: #1a73e8;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s, transform 0.3s;
    width: 100%;
    margin-top: 2rem;
}

.wpcf7-response-output{
    width: 50% !important;
    margin: 35px auto 10px auto !important;
}

.form-group .submit-btn:hover {
    background-color: #155ab6;
    transform: scale(1.05);
}

.form-group h2.section-title {
    margin-bottom: 1rem;
}

/* Message validation */
.form-message {
    text-align: center;
    font-weight: 500;
    color: #1a73e8;
}

/* ========================= */
/* FOOTER */
/* ========================= */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #333;
    color: #fff;
    margin-top: 4%;
}

/* ========================= */
/* ANIMATIONS AU SCROLL */
/* ========================= */
.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */


@media (max-width: 1000px) {
    
    .hero {
        padding-bottom: 0% !important;
        padding-top: 0% !important;
        display: grid;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 15% 10%;
        position: relative;
        object-fit: fill;
        color: #fff;
        background-repeat: round;
        background-size: 100% 100%;
        background-position-x: center;
        background-position-y: center;
        background-origin: border-box;
        min-height: 50vw;

        /* 👇 Ajout pour transition fluide du carousel */
        transition: background-image 1s ease-in-out;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        min-height: 100vw;
    }

    .pricing-cards,
    .carousel-track {
        flex-direction: column;
    }

    .hero-content h1{
        font-size: 1.5rem;
    }

    .hero-content{
        position: absolute;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 88%;
    }
    
}
}




/* ========================= */
/* MAIN CONTAINER MODERNE */
/* ========================= */
.main-container {
    padding: 0% 0% 3% 0%;
    background-color: #f5f7fa;
    border-radius: 25px; /* coins plus arrondis */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15), 0 0 20px rgba(26,115,232,0.1); /* ombre + glow léger bleu */
    margin: -7% 0% 0% 0%; /* chevauche le Hero */
    position: relative;
    z-index: 2;
    transform: translateY(50px);
    animation: containerFadeIn 1s forwards ease-out; /* animation au chargement */
}

/* Animation d'apparition */
@keyframes containerFadeIn {
    to {
        transform: translateY(0);
    }
}

/* Padding pour sections internes */
.main-container section {
    padding: 4% 2%;
    margin-bottom: 0px;
    margin-top: 0px;
    position: relative;
}

/* Amélioration visuelle des titres */
.section-title {
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #243846;
}


/* ========================= */
/* EXPERIENCE SECTION */
/* ========================= */
.experience {
    background-color: #f5f0e6;
    padding: 5% 10%;
    text-align: center;
}

.experience-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.exp-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    flex: 1 1 200px;
    max-width: 220px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.exp-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}

.exp-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.exp-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a73e8;
}

.exp-card p {
    font-size: 1rem;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .experience-cards {
        flex-direction: column;
        align-items: center;
        display: inline-block;
    }

    .exp-card{
        width: 40%;
        margin:2%;
        display: inline-block;
        max-width: none !important;
    }

    
    .main-container {
        padding: 0% 0% 3% 0%;
    }

}

@media (max-width: 500px) {
    .exp-card{
        width: 80%;
    }

    .contact {
        width: 90% !important;
    }

}


/* ========================= */
/* SECTIONS BEIGE AVEC OMBRE */
/* ========================= */
.section-beige {
    background-color: #f5f0e6;
    padding: 5% 10%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* ombre subtile */
    margin-bottom: 3rem;
    position: relative;
}

/* Texte d’introduction de la section Expérience */
.experience-intro {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    text-align: center;
}

/* Cartes expérience améliorées */
.exp-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    flex: 1 1 200px;
    max-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: transform 0.3s, box-shadow 0.3s;
}

.exp-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.exp-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.exp-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #1a73e8;
}

.exp-card p {
    font-size: 1rem;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .experience-cards {
        flex-direction: column;
        align-items: center;
    }
}


/* TEXTE SOUS LES IMAGES DE LA SECTION EXEMPLES */
.carousel-item p {
    font-family: 'Merriweather', serif; /* belle police élégante */
    font-size: 1.2rem; /* un peu plus gros */
    font-style: italic; /* italique */
    color: #1a3d6d; /* bleu foncé élégant */
    margin-top: 1rem;
    text-align: center;
    transition: color 0.3s;
}

.carousel-item p:hover {
    color: #1a73e8; /* effet au hover */
}
.carousel-item img {
    transition: transform 0.5s;
    border-radius: 15px;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-item:hover p {
    color: #155ab6; /* texte change légèrement au hover */
}


.logo_header{
	height: 50px;
	width: auto;
}

/* ========================= */
/* SERVICES SECTION */
/* ========================= */
.services {
  background-color: aliceblue; /* beige doux */
  padding: 5% 8%;
  border-radius: 20px;
  text-align: center;
  margin: auto;
  margin-top: 5% !important;
  max-width: 1200px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.services .section-title {
  font-size: 2.3rem;
  margin-bottom: 0.5rem;
  color: #0f2133;
}

.services .section-subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #0077cc; /* bleu moderne */
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.service-card {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  flex: 1 1 280px;
  max-width: 320px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-icon {
  font-size: 2.5rem;
  color: #0077cc;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #0f2133;
}

.service-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.5;
}

/* ========================= */
/* ANIMATION SLIDE + ZOOM */
/* ========================= */
.slide-zoom {
  opacity: 0;
  transform: translateY(60px) scale(0.95);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.slide-zoom.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}


/* Section About */
.about-section {
  padding: 80px 20px;
  background:white;
  border-radius: 3% 3% 0% 0%;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 50px;
  flex-wrap: wrap;
}

.about-image img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  object-position: top;
}

.about-image img:hover {
  transform: scale(1.05);
}

.about-content {
  flex: 1;
  min-width: 300px;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #243846;
}

.about-content .subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: #f39c12; /* orange pro */
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 25px;
}

.about-content .signature {
  font-family: 'Brush Script MT', cursive;
  font-size: 1.8rem;
  color: #111;
  margin-bottom: 15px;
}

.about-content .rating {
  font-size: 1rem;
  color: #f39c12;
}

.about-content .rating span {
  color: #555;
  margin-left: 8px;
}



/* TESTIMONIALS */
#testimonials {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--royal), #4b0082);
  color: #fff;
  text-align: center;
}

.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.8s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  padding: 20px;
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
  position: relative;
}

.testimonial p {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial h4 {
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
}

.reviews h2{
    color: white;
}

.contact{
    width: 50%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5% !important;
    border: 1px solid #1a73e8;
    background: white;
    box-shadow: 7px 5px #1a73e8;
}

.contact h2{
    color: #1a73e8;
}

@media (max-width: 768px){

    .contact{
        width: 75%;
    }

}


/* Section Portfolio */
.portfolio-section {
  background: white;
  padding: 100px 20px;
  text-align: center;
}

.portfolio-header {
  margin-bottom: 60px;
}

.portfolio-header .subtitle {
  color: #f39c12;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.portfolio-header .section-title {
  font-size: 2.5rem;
  color: #222;
  margin-bottom: 10px;
}

.portfolio-header .section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 40px;
  margin: 0 auto;
}

.portfolio-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-10px);
}

.portfolio-image {
  position: relative;
  width: 100%;
  aspect-ratio: 6 / 3;
  overflow: hidden;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-image .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .overlay {
  opacity: 1;
}

.portfolio-item h4 {
  margin: 20px 0;
  font-size: 1.2rem;
  color: #222;
}


/* Animation Portfolio - slide gauche */
.portfolio-item {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.portfolio-item.visible {
  opacity: 1;
  transform: translateX(0);
}


.hero-image img {
  width: 100%;
  max-width: 450px;
  transition: opacity 1s ease-in-out;
}


/* Header fixe */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Burger menu */
.burger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* Responsive menu */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: #F6F8FB;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.3s ease-in-out;
  }

  .portfolio-grid{
    grid-template-columns : repeat(auto-fit, minmax(300px, 1fr))
  }

  .nav-links.active {
    right: 0;
  }

  .burger {
    display: flex;
  }
}

/* Animation burger */
.burger.toggle div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.toggle div:nth-child(2) {
  opacity: 0;
}

.burger.toggle div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Décalage du contenu à cause du header fixe */
body {
  scroll-padding-top: 120px; /* ajuster selon la hauteur du header + SVG */
}


@media (max-width: 375px) {
    .hero {
        min-height: 130vw;
    }
}


.exemples_sites{
    width: 100%;
    margin-bottom: 4rem;
    margin-top: 4rem;
}

.exemples_sites .section-title{
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;

}

.exemples_sites .section-subtitle{
    color: #666;
    font-size: 1.1rem;
}

/* Style du preloader */
#preloader {
  position: fixed;
  inset: 0;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

/* Image qui tourne */
.loader-image {
  width: 140px;
  height: 140px;
  animation: rotation 0.8s linear infinite;
  background: whitesmoke;
  border-radius: 50%;
  padding: 10px;
  border: 1px solid black;
}

/* Animation de rotation */
@keyframes rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Contenu masqué au début */
#content {
  display: none;
}
