/* ===== VARIABLES ===== */
:root {
    --mint: #A8D8B9;
    --mint-light: #E0F4EA;
    --pink: #F4B8C8;
    --pink-light: #FDE8EE;
    --yellow: #F9E4A0;
    --bg: #FDFAF7;
    --text: #4A4040;
    --text-light: #7A6F6F;
    --green: #5A9E7A;
    --green-dark: #3D7A58;
    --white: #ffffff;
    --radius: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ===== CONTAINER ===== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== NAV ===== */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(253, 250, 247, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    padding: 16px 24px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
    border-bottom-color: var(--mint-light);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.nav-logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--green);
    white-space: nowrap;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--green); }
.nav-cta {
    background: var(--green);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: 50px;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
}

/* ===== HERO ===== */
#hero {
    min-height: 100vh;
    background: url('images/jardin.jpeg') center / cover no-repeat;
    position: relative;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.82) 60%,
        rgba(224, 244, 234, 0.9) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.hero-content {
    text-align: center;
    max-width: 720px;
}
.hero-badge {
    display: inline-block;
    background: var(--pink);
    color: #8B3A52;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}
.hero-content h1 {
    font-family: 'Pacifico', cursive;
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    color: var(--green);
    margin-bottom: 18px;
    text-shadow: 0 2px 16px rgba(255, 255, 255, 0.9);
    line-height: 1.15;
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text);
    font-weight: 600;
    margin-bottom: 32px;
    line-height: 1.6;
}
.hero-pills {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.hero-pills span {
    background: rgba(255, 255, 255, 0.88);
    border: 1.5px solid var(--mint);
    border-radius: 50px;
    padding: 7px 18px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}
.btn-primary {
    display: inline-block;
    background: var(--green);
    color: white;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 16px 40px;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(90, 158, 122, 0.4);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(90, 158, 122, 0.5);
    background: var(--green-dark);
}

/* ===== SECTION TAGS ===== */
.section-tag {
    display: inline-block;
    background: var(--yellow);
    color: #7A6010;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 5px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.section-tag.centered { display: block; text-align: center; }
h2.centered { text-align: center; }
section h2 {
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    font-weight: 800;
    margin-bottom: 28px;
    color: #3A3030;
    line-height: 1.25;
}

/* ===== PRÉSENTATION ===== */
#presentation {
    padding: 110px 0 90px;
}
.presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.presentation-text p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 1rem;
}
.presentation-text strong { color: var(--text); }
.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.value-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--mint-light);
    transition: transform 0.25s, box-shadow 0.25s;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.10);
}
.value-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}
.value-card h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text);
}
.value-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* ===== MON ESPACE ===== */
#espace {
    padding: 90px 0;
    background: var(--mint-light);
}
.espace-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 40px 0 28px;
}
.espace-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.espace-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}
.espace-img-wrap {
    height: 290px;
    overflow: hidden;
    background: var(--mint-light);
}
.espace-img-wrap img {
    transition: transform 0.4s ease;
}
.espace-card:hover .espace-img-wrap img {
    transform: scale(1.04);
}
.espace-card-text {
    padding: 24px 28px;
}
.espace-card-text h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text);
}
.espace-card-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}
.features-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.feature-item {
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid var(--mint-light);
    transition: background 0.2s;
}
.feature-item:last-child { border-right: none; }
.feature-item:hover { background: var(--mint-light); }
.feature-item span {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}
.feature-item p {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
}

/* ===== CONTACT ===== */
#contact {
    padding: 90px 0 100px;
}
.contact-intro {
    text-align: center;
    max-width: 560px;
    margin: -8px auto 44px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.7;
}
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 860px;
    margin: 0 auto;
}
.contact-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1.5px solid var(--mint-light);
    transition: transform 0.2s;
}
.contact-card:hover { transform: translateY(-4px); }
.contact-card.highlight {
    background: var(--green);
    border-color: var(--green);
    color: white;
}
.contact-card.highlight h3,
.contact-card.highlight p { color: rgba(255, 255, 255, 0.95); }
.contact-card.highlight a { color: white; font-weight: 800; font-size: 1.1rem; }
.contact-card > span {
    font-size: 2.6rem;
    display: block;
    margin-bottom: 14px;
}
.contact-card h3 {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text);
}
.contact-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
    background: #3A5446;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 36px 24px;
    font-size: 0.9rem;
    line-height: 2.1;
}
footer p:first-child { color: rgba(255, 255, 255, 0.95); font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .presentation-grid { grid-template-columns: 1fr; gap: 44px; }
    .espace-grid { grid-template-columns: 1fr; }
    .contact-cards { grid-template-columns: 1fr; max-width: 400px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .features-bar { grid-template-columns: 1fr 1fr; }
    .feature-item { border-right: none; border-bottom: 1px solid var(--mint-light); }
    .feature-item:nth-child(odd) { border-right: 1px solid var(--mint-light); }
    .feature-item:last-child, .feature-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

@media (max-width: 480px) {
    .values-grid { grid-template-columns: 1fr; }
    .features-bar { grid-template-columns: 1fr; }
    .feature-item { border-right: none !important; }
    .hero-pills { flex-direction: column; align-items: center; }
}
