/* ===========================================================
   RESET ET BASE
=========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    text-decoration: none;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

/* ===========================================================
   TYPOGRAPHIE
=========================================================== */

/* Cinzel */
.cinzel-bold { 
    font-family: "Cinzel", serif; 
    font-weight: 700; 
    font-style: normal; 
}
.cinzel-extrabold { 
    font-family: "Cinzel", serif; 
    font-weight: 800; 
    font-style: normal; 
}
.cinzel-black { 
    font-family: "Cinzel", serif; 
    font-weight: 900; 
    font-style: normal; 
}

/* Unna */
.unna-regular { 
    font-family: "Unna", serif; 
    font-weight: 400; 
    font-style: normal; 
}
.unna-bold { 
    font-family: "Unna", serif; 
    font-weight: 700; 
    font-style: normal; 
}

/* Poppins */
.poppins-regular { 
    font-family: "Poppins", sans-serif; 
    font-weight: 400; 
    font-style: normal; 
}
.poppins-bold { 
    font-family: "Poppins", sans-serif; 
    font-weight: 700; 
    font-style: normal; 
}
.poppins-extrabold { 
    font-family: "Poppins", sans-serif; 
    font-weight: 800; 
    font-style: normal; 
}
.poppins-black { 
    font-family: "Poppins", sans-serif; 
    font-weight: 900; 
    font-style: normal; 
}

/* Caladea */
.caladea-regular { 
    font-family: "Caladea", serif; 
    font-weight: 400; 
    font-style: normal; 
}
.caladea-bold { 
    font-family: "Caladea", serif; 
    font-weight: 700; 
    font-style: normal; 
}

/* Titres et paragraphes  */
h1 { 
    font-family: "Unna", serif; 
    font-size: 48px; 
    color: #005731; 
    text-align: center; 
    margin: 40px 0; 
}
h2 { 
    font-family: "Unna", serif; 
    font-size: 36px; 
    color: white; 
}
h3 { 
    font-family: "Poppins", serif; 
    font-size: 22px; 
    color: #70A56F; 
    text-transform: uppercase; 
}
p { 
    font-size: 18px; 
    line-height: 1.6; 
    color: black; 
}

/* ===========================================================
   GLOBAL ELEMENTS
=========================================================== */
body {
    font-family: "Caladea", serif;
    color: black;
    background-color: #70A56F;
}

a { 
    text-decoration: none; 
}
img { 
    max-width: 100%; 
    display: block; 
}

/* ===========================================================
   NAV
=========================================================== */

/* Nav principale */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    margin: auto;
    padding-top: 15px;
}
nav ul {
    display: flex;
    align-items: center;
}
nav ul li { 
    margin: 0 20px; 
}
nav ul li a {
    font-size: 20px;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: "Cinzel", serif;
    font-weight: 700;
}
nav ul li a:hover {
    color: #F9AAB3;
    border-bottom: 2px solid #F9AAB3;
}
nav button {
    padding: 12px 35px;
    border: none;
    background: #F9AAB3;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.3s;
}
nav button:hover { 
    box-shadow: 0 0 10px #F9AAB3; 
    transform: scale(.9); 
}
.logo { 
    width: 100px; 
    filter: drop-shadow(0 0 35px #000); 
}

/* Nav secondaire - .nav2 */
.nav2 { 
    background-color: #005731; 
    padding: 15px 75px; 
}
.nav2-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav2-wrapper ul { 
    list-style: none; 
    display: flex; 
    align-items: center; 
}
.nav2-wrapper ul li { 
    margin: 0 20px; 
}
.nav2-wrapper ul li a {
    font-family: "Cinzel", serif;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
}
.nav2-wrapper ul li a:hover {
    color: #F9AAB3;
    border-bottom: 2px solid #F9AAB3;
}
.nav2-wrapper button {
    padding: 12px 35px;
    border:none;
    background: #F9AAB3;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 2rem;
    cursor: pointer;
    transition: .3s;
}

/* ===========================================================
   HERO SECTION
=========================================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.5)), url("media/granpa.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.content {
    position: absolute;
    top: 37%;
    left: 90px;
}
.textblanc, .p {
    font-size: 15px;
    margin-top: 10px;
    color: #FFFFFF;
    font-family: "Caladea", serif;
    font-weight: 400;
    font-style: normal;
    text-align: left;
}
.content button {
    margin-top: 50px;
    padding: 12px 45px;
    border: none;
    background-color: #F9AAB3;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 2rem;
    cursor: pointer;
    transition: .3s;
    font-family: "Caladea", serif;
    font-style: normal;
}
.content button:hover { 
    transform: scale(1.1); 
}

/* Boutons dans hero */
.content a.magasiner {
    padding: 12px 35px;
    background: #F9AAB3;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    border-radius: 2rem;
    text-decoration: none;
    cursor: pointer;
    transition: .3s;
    display: inline-block;
}
.content a.magasiner:hover {
    box-shadow: 0 0 10px #F9AAB3;
    transform: scale(.9);
}
.content a.En_Savoir_Plus {
    border: 2px solid #F9AAB3;
    color: #F9AAB3;
    background: transparent;
    padding: 10px 25px;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    text-align: center;
}
.content a.En_Savoir_Plus:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px #F9AAB3;
}
.buttons { 
    display: flex; 
    gap: 20px; 
    margin-top: 20px; 
}
.content a.magasiner a.En_Savoir_Plus { 
    margin-top: 30px; 
    display: flex; 
    gap: 20px; 
}

/* ===========================================================
   RETOUR / NAVIGATION INTERNE
=========================================================== */
.text a.retour {
    border: 2px solid #F9AAB3;
    color: #F9AAB3;
    background: transparent;
    padding: 10px 25px;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    text-align: center;
}
.text a.retour:hover { 
    transform: scale(1.1); 
    box-shadow: 0 0 20px #005731; 
}

.main a.retour2 {
    border: 2px solid #F9AAB3;
    color: #F9AAB3;
    background: transparent;
    padding: 10px 25px;
    border-radius: 2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
    text-align: center;
    margin-left: 225px;
    margin-bottom: 50px;
}
.main a.retour2:hover { 
    transform: scale(1.1); 
    box-shadow: 0 0 20px #005731; 
}

/* ===========================================================
   MAIN / CONTENU
=========================================================== */
main { 
    padding: 40px 20px 80px; 
    background-color: #70A56F; 
}
.text { 
    padding: 100px 250px 200px 250px; 
}
.justifie {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.6; 
    color: black;
    font-size: 18px;
}

/* ===========================================================
   GALERIES / CARTES PRODUITS
=========================================================== */

/* Galerie produits 1 */
.gallery-grid1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 60px;
}
.card1 {
    background: #fff;
    border-radius: 12px;
    padding-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: .3s;
    text-align: center;
}
.card1 img { 
    width: 100%; 
    border-radius: 12px 12px 0 0; 
}
.card1:hover { 
    transform: scale(1.05); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.2); 
}
.card1 h3 { 
    margin-top: 15px; 
    font-family: "Cinzel", serif; 
}
.card1 p { 
    font-size: 15px; 
    margin-top: 10px; 
    color: black; 
    font-family: "Caladea", serif; 
    font-weight: 400; 
    font-style: normal; 
    text-align-last: center; 
}
.btn-produit {
    margin-top: 15px;
    padding: 10px 25px;
    background: #F9AAB3;
    border: none;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.btn-produit:hover { 
    transform: scale(1.1); 
}

/* Galerie symbolique */
.gallery-grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: auto;
}
.card2-link { 
    color: inherit; 
}
.card2 {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: 0.3s;
    text-align: center;
    overflow: hidden;
}
.card2 img { 
    height: 100%; 
    object-fit: cover; 
}
.card2 h3 { 
    padding: 15px; 
}
.card2:hover { 
    transform: scale(1.05); 
}

/* Flip cards */
.flip-card {
    width: 280px;
    height: 360px;
    perspective: 1000px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .8s;
    transform-style: preserve-3d;
}
.flip-card:hover .flip-card-inner { 
    transform: rotateY(180deg); 
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    backface-visibility: hidden;
    overflow: hidden;
}
.flip-card-front img { 
    width: 100%; 
    height: 80%; 
    object-fit: cover; 
}
.flip-card-front h3 { 
    padding: 10px; 
    font-family: "Unna", serif; 
    font-size: 22px; 
    text-transform: uppercase; 
    color: #F9AAB3; 
    text-align-last: center; 
}
.flip-card-back {
    background-color: #005731;
    color: white;
    transform: rotateY(180deg);
    padding: 20px;
    text-align: center;
}
.flip-card-back h3 { 
    margin-bottom: 15px; 
    font-family: "Unna", serif; 
    color: white; }
.flip-card-back p { 
    font-family: "Caladea", serif; 
    color: white; 
    font-size: 18px; 
    line-height: 1.5; 
}

/* Galerie produits 3 */
.gallery-grid3 {
    display: grid;
    grid-template-columns: repeat(3, 2fr);
    gap: 20px;
    padding: 30px 230px 50px 230px;
}
.card3 {
    background: #fff;
    border-radius: 12px;
    padding-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: .3s;
    text-align: center;
}
.card3 img { 
    width: 100%; 
    border-radius: 12px 12px 0 0; 
}
.card3:hover { 
    transform: scale(1.05); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.2); 
}
.card3 h3 { 
    margin-top: 15px; 
    font-family: "Unna", serif; 
}
.card3-link { 
    text-decoration: none; 
    color: inherit; 
    display: block; 
}

/* ===========================================================
   PANIER
=========================================================== */
.cart-btn {
    padding: 12px 35px;
    background-color: #F9AAB3;
    color: white;
    border-radius: 2rem;
    font-weight: 600;
    transition: 0.3s;
}
.cart-btn:hover { 
    box-shadow: 0 0 10px #F9AAB3; 
    transform: scale(0.95); 
}

.panier {
    position: fixed;
    top: 120px;
    right: -320px;
    width: 300px;
    height: 420px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-radius: 12px;
    transition: right .4s;
    z-index: 1000;
}
.panier:target { 
    right: 20px; 
}
.panier-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #F9AAB3;
    color: white;
}
.panier-header h3 {
    color: #005731;
    margin: 0;
}

.close-panier { 
    color: white; 
    font-size: 24px; 
    text-decoration: none; 
}
panier-content, p {
    padding: 15px;
    font-family: "Caladea", serif;
    color: black;
}

.panier-total {
    border-top: 1px solid #ccc;
    padding-top: 10px;
    text-align: center;
}

/* ===========================================================
   OCCASIONS
=========================================================== */

.occasions {
    padding: 40px 60px;
    background-color: #70A56F;
}

.occasions h2 {
    font-family: "Unna", serif;
    font-size: 50px;
    color: white;
    margin-bottom: 30px;
    text-align: center;
}

.occasion-row {
    margin-bottom: 50px;
}

.occasion-row h3 {
    font-family: "poppins", serif;
    font-size: 25px;
    color: #fff;
    margin-bottom: 20px;
}

/* Slider horizontal */
.occasion-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.occasion-slider::-webkit-scrollbar {
    height: 8px;
}

.occasion-slider::-webkit-scrollbar-thumb {
    background: #F9AAB3;
    border-radius: 4px;
}

.occasion-slider::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
}

.occasion-slider .card4 {
    flex: 0 0 auto;
    width: 250px; /* largeur fixe par card */
}

.gallery-grid4 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 40px 60px;
}
.card4 {
    background: #fff;
    border-radius: 12px;
    padding-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: .3s;
    text-align: center;
}
.card4 img { 
    width: 100%; 
    border-radius: 12px 12px 0 0; 
}
.card4:hover { 
    transform: scale(1.05); 
    box-shadow: 0 8px 24px rgba(0,0,0,0.2); 
}
.card4 h4 { 
    margin-top: 15px; 
    font-family: "poppins", serif;
    font-size: 25px;
}
.card4 p { 
    font-size: 15px; 
    margin-top: -5px; 
    color: black; 
    font-family: "Caladea", serif; 
    font-weight: 400; 
    font-style: normal; 
    text-align-last: center; 
}


/* ===========================================================
   FOOTER
=========================================================== */
.footer {
    background-color: #005731;
    color: white;
    padding: 20px 60px 20px;
    box-sizing: border-box;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}
.footer-col {
    display: flex;
    flex-direction: column;
}
.footer-col h4 {
    font-family: "Poppins", serif;
    font-size: 14px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}
.footer-col a,
.footer-col p {
    font-size: 14px;
    color: white;
    margin: 0;
    padding: 0;
}
.footer-col a:hover { 
    opacity: 0.7; 
}
.footer-logo { 
    display: flex; 
    justify-content: center; 
    margin: 30px 0; 
    margin-right: 130px;
}
.footer, .infolettre{
    padding-left: 200px;
    padding-top: 30px;
}
.credits { 
    text-align: right; 
    margin-top: 10px; 
}
.creditstext { 
    font-size: 14px; 
    color: white; 
}

/* ===========================================================
   FIN DU CSS
=========================================================== */

/* Origines.html */
.text {
    background-color: #FFFFFF;
}

/* Page Fleurs.html */
body.fleur {
    background-color: #FFFFFF !important;
}

body.fleur main {
    background-color: #FFFFFF !important;
}
