@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

:root {

    --sage: #5F9EA0;
    --sage-dark: #AFEEEE;
    --cream: #f0ebe0;
    --white: #ffffff;
    --text: #3d3d3d;
    --radius: 20px;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
}

html{scroll-behavior:smooth;}

/*  SECTION HERO   */  

.hero_section{background: transparent; padding: 48px 48px 64px; display: flex; align-items: center; justify-content: center; min-height: 480px;}
.hero_div1{background: var(--sage); border-radius: 16px; display: grid; grid-template-columns: 1fr 420px; overflow: hidden; width: 100%; max-width: 1000px; min-height: 380px; box-sizing: border-box;} 
.hero_div2{padding: 64px 56px; display: flex; flex-direction: column; justify-content: center;}
.hero_p1{font-family: 'Lato', sans-serif; font-weight: 900; font-size: 10px; letter-spacing: 0.22em; color: #fff; text-transform: uppercase; margin: 0 0 18px;}
.hero_h1{font-size: 38px; font-weight: 400; color: #fff; line-height: 1.25; margin: 0 0 20px;}
.hero_p2{font-size: 15px; color: #fff; line-height: 1.75; margin: 0 0 36px; font-family: 'Lato', sans-serif; font-weight: 300;}
.hero_div3{background: var(--sage-dark); display: flex; align-items: center; justify-content: center;}
.hero_div4{text-align: center; color: rgba(240,235,224,0.4); font-family: sans-serif; font-size: 12px;}
.hero_div5{width: 52px; height: 52px; border: 1px solid rgba(240,235,224,0.3); border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: #000;}

.btn-primary {display: inline-block; background: #ffffff; color: #3d3020; font-family: 'Lato', sans-serif;
    font-size: 12px; padding: 12px 28px; letece6d8ter-spacing: 0.08em; text-decoration: none; 
    cursor: pointer; border-radius: 11px; border: none; transition: background 0.3s ease, 
    transform 0.3s ease, box-shadow 0.3s ease;}

.btn-primary:hover {background: #f5f0e8; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(61,48,32,0.14);}
.btn-primary a {text-decoration: none !important; color: #3d3020 !important;
}
/*  SECTION A PROPOS   */  

.bulle_section{background: transparent; padding: 0 48px 64px; display: flex; justify-content: center;} 
.bulle_div1{background: var(--sage-dark) !important; border-radius: 16px; display: grid; grid-template-columns: 380px 1fr; overflow: hidden; width: 100%; max-width: 1000px; min-height: 300px; box-sizing: border-box;} 
.bulle_div2{background: var(--sage); display: flex; align-items: center; justify-content: center;} 
.bulle_div3{text-align: center; color: rgba(90,70,40,0.3); font-family: sans-serif; font-size: 12px;} 
.bulle_div4{width: 44px; height: 44px; border: 1px solid rgba(90,70,40,0.25); border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #000;} 
.bulle_div5{padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; color: #000;} 
.bulle_p1{font-family: 'Lato', sans-serif; font-size: 10px; letter-spacing: 0.22em; color: var(--sage); text-transform: uppercase; margin: 0 0 14px;}
.bulle_h2{font-size: 26px; font-weight: 400; color: var(--sage); margin: 0 0 18px;}
.bulle_p2{font-size: 14px; color: var(--sage); line-height: 1.8; margin: 0; font-family: 'Lato', sans-serif; font-weight: 300;}
 
/* SECTION AVIS   */ 

.avis_section{background: transparent; padding: 0 48px 80px; display: flex; justify-content: center;}
.avis_p1{font-family: 'Lato', sans-serif; font-size: 10px; letter-spacing: 0.22em; color:var(--sage-dark); text-transform: uppercase; margin: 0 0 14px; text-align: center;}
.avis_h2{font-size: 28px; font-weight: 400; color: var(--sage-dark); margin: 0 0 40px; text-align: center;}
.avis_div{display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;}
.avis_div1{background: var(--sage); border-radius: 16px; padding: 52px 56px; width: 100%; max-width: 1000px; box-sizing: border-box;}
.avis_div3{background: var(--sage-dark); border: 0.5px solid rgba(61,48,32,0.1); border-radius: 10px; padding: 24px;}
.avis_p2{font-size: 13px; color: #3d3020; line-height: 1.7; margin: 0 0 16px; font-family: 'Lato', sans-serif; font-style: italic; font-weight: 300;}
.avis_p3{font-size: 11px; color: #5c4d38; margin: 0 0 3px; letter-spacing: 0.06em; font-family: 'Lato', sans-serif;}
.avis_p4{font-size: 10px; color: #5c4d38; opacity: 0.75; margin: 0; letter-spacing: 0.06em; font-family: 'Lato', sans-serif;}


.about-content h2 {
    line-height: 1;
}

/* RESEAUX SOCIAUX*/
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    color: red;
}

.social-links a {
    font-size: 30px;
    color: #000; /* couleur de ta charte */
    transition: 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--sage-dark);
}

.construction{
    width: 100%;
    height: 400px; /* optionnel */
}

.container{
    width:min(1200px,90%);
    margin:auto;
}

img{
    width:100%;
    display:block;
}

section{
    padding:80px 0;
}

header{
    background:white;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.05);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo{
    text-decoration:none;
    color:var(--sage-dark);
    font-size:1.4rem;
}
/* Conteneur principal */
.container {
  display: flex;               /* Active le mode flexbox */
  justify-content: space-between; /* Espace entre le logo (gauche) et le menu (centré) */
  align-items: center;        /* Aligne verticalement au centre */
  width: 100%;                /* Prend toute la largeur */
  padding: 0 20px;            /* Espacement latéral */
}

/* Conteneur pour le logo et le texte (aligné à gauche) */
.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Style pour l'image du logo */
.logo-img {
  height: 70px;
  width: auto;
}

/* Style pour le texte du logo */
.logo-text {
    font-family: "Cormorant Garamond", serif;
    font-weight: 700;
    font-size: 18px !important;
  color: #333;
  text-decoration: none;
}

/* Conteneur pour le menu (centré) */
.nav-container {
  display: flex;
  gap: 20px;                 /* Espace entre les liens du menu */
  position: absolute;        /* Position absolue pour centrer */
  left: 50%;                 /* Centrage horizontal */
  transform: translateX(-50%); /* Ajustement pour centrer parfaitement */
  font-family: serif !important;
 
}

/* Style pour les liens du menu */
.nav-container a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
}

nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 40px;
}

nav a{
    text-decoration:none;
    color:var(--sage-dark);
}

.hero{
    background: rgb(145, 144, 142);
    min-height: 60vh;
    margin: 30px auto;
    max-width: 1400px;
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    /* optionnel */
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}



.btn{
    background:white;
    color:var(--sage-dark);
    text-decoration:none;

    padding:14px 30px;
    border-radius:50px;
}

.announcement{
    background:#e8dfd4;
    padding:40px 0;

}
.announcement .container{
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:50px;
    align-items:center;
}


/*-- SECTION 2 - A PROPOS DE MOI --*/ 
.about {
    padding: 40px 0;
    padding-bottom: 40px;
    min-height: 60vh;
    margin: 30px auto;
    max-width: 1400px;
    
    display: flex;

}

.about-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    align-items:stretch;

}
.p1 {
    font-family: "Lato", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    color: #000;
    text-align: center;
}

.about-content {
    background: #ece6d8;
    padding: 20px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* height: 80%;  ← supprime cette ligne */
    border-radius: 20px;
}

.about-photo {
    height: auto;  /* ← remplace height: 100% */
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.about-content h2{
    font-size:4rem;
    margin-bottom:20px;
}

.p2 {
    font-family: "Lato", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    color: gray;
    text-align: center;
}
.p3 {
    font-family: "Lato", serif;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    color: #000;
    text-align: center;
}


/*-- SECTION 3 - EN CONSTRUCTION -- */
.about1 {
    background: rgb(145, 144, 142);
    margin: 30px auto;
    max-width: 1400px;
    border-radius: 20px;
    padding: 60px;
    display: flex;

}

.portfolio{
    background: var(--sage);
    padding: 80px 20px 350px 20px;
    margin-top: -150px;
    padding-bottom: 300px; /* augmente selon ton besoin */
    text-align: center;

}

/* LARGEUR CADRE DU PORTFOLIO */
.portfolio-card{
    width:min(700px,90%);
    margin:auto;
    background:white;
    padding:80px;
}

/* Grille 2x2 */
.portfolio-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    grid-template-rows: 260px 220px;
    gap: 25px;
    max-width: 900px;
    margin: 40px auto;
    grid-template-areas:
        "f1 f2"
        "f3 f4";
}
.f1 { grid-area: f1; height: 260px; }
.f2 { grid-area: f2; height: 260px; }
.f3 { grid-area: f3; height: 220px; }
.f4 { grid-area: f4; height: 220px; }

.portfolio h2{
    text-align:center;
    font-size:4rem;
}

.portfolio p{
    text-align:center;
    margin:20px auto 60px;
}

/* Cadre photo */
.frame {
    position: relative;
    display: block;
    height: 260px;
    background: #dcdcdc;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-radius: 8px;
}

/* Rectangle au survol */
.hover-box {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.frame:hover .hover-box {
    opacity: 1;
}

/* Images de la partie Portfolio */
.portfolio-grid .frame:nth-child(1) {
    background-image: url("/public/assets/img/iris.jpg");
}

.portfolio-grid .frame:nth-child(2) {
    background-image: url("/public/assets/img/img1.jpg");
}

.portfolio-grid .frame:nth-child(3) {
    background-image: url("images/photo3.jpg");
}

.portfolio-grid .frame:nth-child(4) {
    background-image: url("images/photo4.jpg");
}


/* AVIS */
.avis {
    background: #f5f5f5;
    padding: 50px 20px;
    text-align: center;
}

blockquote {
    font-style: italic;
    max-width: 600px;
    margin: auto;
}

/* FOOTER */
footer {
    max-width: 1400px;
    margin: 40px auto;
    padding: 60px;
    background: #222;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

footer a {
    margin: 0 10px;
    text-decoration: none;
}

.bas_page{
    background: #ece6d8;
    color: #000;
}
.bas_page a {
    color: #4d5a55;
    font-weight: 500;
    text-decoration: none;
}

.bas_page a:hover {
    color: #2f3835;
    text-decoration: underline;
}


.regles{
    font-family:'Times New Roman', Times, serif;
    font-size: 15px;
    color: #000 !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .apropos {
        flex-direction: column;
    }
}

/* Grille 2x2 */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

/* Carte photo */
.card {
    position: relative;
    display: block;
    height: 220px;
    background: #ccc; /* à remplacer par une image */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Overlay au survol */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-overlay span {
    padding: 8px 16px;
    border: 1px solid #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Effet hover */
.card:hover .card-overlay {
    opacity: 1;
}

.gallery{
    columns:3;
    column-gap:20px;
}

.gallery img{
    margin-bottom:20px;
    border-radius:12px;
    transition:.4s;
}

.gallery img:hover{
    transform:translateY(-5px);
}

.testimonials{
    background:var(--sage);
}

.testimonials h2{
    text-align:center;
    margin-bottom:60px;
}

.testimonial-card{

    max-width:700px;
    margin:auto;
    background:white;
    padding:50px;
    border-radius:40px;
    text-align:center;
    box-shadow:var(--shadow);
}

.contact{
    background:var(--cream);
}

.contact h2{
    text-align:center;
    margin-bottom:20px;
}

.contact p{
    text-align:center;
    margin-bottom:40px;
}

form{
    max-width:700px;
    margin:auto;

    display:flex;
    flex-direction:column;
    gap:20px;
}

input,
textarea{
    padding:18px;
    border:none;
    border-radius:10px;
}

textarea{
    min-height:180px;
}

button{
    background:var(--sage-dark);
    color:white;
    border:none;

    padding:18px;

    border-radius:10px;
    cursor:pointer;
}

footer{
    background:white;
    text-align:center;
    padding:30px;
}

/* SECTION AVIS */
.testimonial {
    background: transparent; /* au lieu du vert */
    padding: 80px 20px;
 
}

.testimonial-wrapper {
    max-width: 1100px;
    margin: auto;
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* PHOTO AVEC FORME ARRONDIE */
.testimonial-photo img {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 50% 50% 0 0; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    margin-left: 250px;
}

/* BLOC TEXTE QUI CHEVAUCHE LA PHOTO */
.testimonial-box {
    font-family:'Times New Roman', Times, serif;
    background: white;
    padding: 10px 30px;
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    position: absolute;
    right: 12%;
    width: 40%;
    height: 75%;
    transform: translateY(90px); /* chevauchement vertical */
}

.testimonial-box h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.quote {
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author {
    text-align: right;
    font-weight: bold;
    font-size: 1.1rem;
}

.construction {
    min-height: auto;      /* supprime le min-height de 400px */
    height: auto;
}

/* ── Section avis Google ─────────────────────────────────── */
.stars-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.stars-wrapper {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 0.8rem;
}

.star {
    font-size: 3rem;
    color: #ddd;
    transition: color 0.2s, transform 0.2s;
}

/* Effet survol — toutes les étoiles s'allument */
.stars-link:hover .star {
    color: #f5c518;
    transform: scale(1.15);
}

.stars-label {
    font-size: 0.95rem;
    color: #56624f;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s;
}

.stars-link:hover .stars-label {
    color: #3e4a39;
}
/* Langues */

.nav-lang {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-lang img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
    transition: transform .2s ease;
    cursor: pointer;
}

.nav-lang img:hover {
    transform: scale(1.15);
}

/*-- MENU DEROULANT APPLICATION SIMAG --*/
/* Le conteneur */
.menu-dropdown {
    position: relative;
    display: inline-block;
}

/* Le sous-menu */
.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    z-index: 1000;
}

/* Liens du sous-menu */
.submenu a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.submenu a:hover {
    background: #f0f0f0;
}

/* Affichage au survol */
.menu-dropdown:hover .submenu {
    display: block;
}