* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    line-height: 1.6;
    background-color: #0f172a;
    color: #e2e8f0;
}

/* HEADER */

header {
    background: #0d1b2a;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container img {
    width: 300px;   /* élargit horizontalement */
    height: auto;   /* garde les proportions */
    display: block;
}

header h1 {
    font-size: 22px;
    color: #4cc9f0;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    transition: 0.3s;
}

nav a:hover {
    color: #4cc9f0;
}

/* HERO */

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
    url('https://img.lonelyplanet.fr/s3fs-public/styles/wide/public/2024-01/bastia_corse.jpg.webp?itok=JKfrv0rU') center/cover;
    padding: 120px 10%;
    text-align: center;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    background: #4cc9f0;
    color: #0f172a;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #38bdf8;
    transform: scale(1.05);
}

/* SECTIONS */

section {
    padding: 80px 10%;
    text-align: center;
}

h2 {
    margin-bottom: 40px;
    font-size: 32px;
    color: #4cc9f0;
}

/* SERVICES */

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.card {
    background: #1e293b;
    padding: 30px;
    border-radius: 12px;
    transition: 0.4s;
}

.card:hover {
    transform: translateY(-10px);
    background: #334155;
}

/* CONTACT */

.contact-info p {
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-info a {
    color: #4cc9f0;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* FOOTER */

footer {
    background: #0d1b2a;
    padding: 25px;
    text-align: center;
    font-size: 14px;
}

/* ANIMATION */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MOBILE */

@media(max-width: 768px){
    header {
        flex-direction: column;
        gap: 10px;
    }
}