/* ============================================
   MARSEILLE EN MER - V2
   Modern, clean, immersive design
   ============================================ */

:root {
    --orange: #e6601c;
    --orange-dark: #c4500f;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --text: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg: #ffffff;
    --bg-alt: #f7f8fc;
    --bg-dark: #0f0f23;
    --radius: 16px;
    --shadow: 0 4px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.12);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Muli', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg);
}

h1, h2, h3, h4 {
    font-family: 'Oswald', sans-serif;
    line-height: 1.2;
    color: var(--dark);
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--orange-dark);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- ANIMATIONS ---- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .navbar-logo img {
    height: 40px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.navbar-links a {
    color: rgba(255,255,255,0.8);
    font-family: 'Oswald', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 30px;
    transition: var(--transition);
}

.navbar-links a:hover,
.navbar-links a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.navbar-lang {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 6px 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    position: relative;
}

.navbar-lang:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-width: 140px;
}

.lang-dropdown.open {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 10px 16px;
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: background-image 1.5s ease-in-out;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 15, 35, 0.4) 0%,
        rgba(15, 15, 35, 0.2) 50%,
        rgba(15, 15, 35, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange);
    color: #fff;
    padding: 16px 36px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(230, 96, 28, 0.4);
}

.btn-primary-custom:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 96, 28, 0.5);
    color: #fff;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: 80px;
}

.hero-scroll {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: bounce 2s infinite;
}

.hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.4);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---- SECTIONS ---- */
section {
    padding: 120px 0;
}

.section-label {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* ---- SERVICES ---- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    text-align: center;
    padding: 40px 24px;
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--bg);
    border: 1px solid transparent;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: rgba(230, 96, 28, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), #ff8a50);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 8px 25px rgba(230, 96, 28, 0.3);
}

.service-card h3 {
    font-size: 1.1rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.service-card .subtitle {
    font-family: 'Dancing Script', cursive;
    font-size: 1.1rem;
    color: var(--orange);
    margin-bottom: 16px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---- PORTFOLIO ---- */
.portfolio-section {
    background: var(--bg-alt);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(15,15,35,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: #fff;
    font-size: 1.2rem;
    text-transform: uppercase;
}

/* ---- PORTFOLIO MODAL ---- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    background: var(--bg);
    border-radius: var(--radius);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.08);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text);
    transition: var(--transition);
    z-index: 1;
}

.modal-close:hover {
    background: rgba(0,0,0,0.15);
}

.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.modal-body {
    padding: 32px;
}

.modal-body h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.modal-body p {
    color: var(--text-light);
    line-height: 1.8;
}

/* ---- SKIPPER ---- */
.skipper-section {
    background: var(--bg-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.skipper-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230,96,28,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.skipper-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 60px;
    align-items: center;
}

.skipper-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(230,96,28,0.5);
    box-shadow: 0 0 40px rgba(230,96,28,0.2);
}

.skipper-info h3 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 8px;
}

.skipper-info .role {
    color: var(--orange);
    font-family: 'Dancing Script', cursive;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.skipper-info p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    margin-bottom: 24px;
    max-width: 500px;
}

.skipper-socials {
    display: flex;
    gap: 12px;
}

.skipper-socials a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    transition: var(--transition);
}

.skipper-socials a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

/* ---- TARIFS ---- */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin: 0 auto;
}

.tarif-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.tarif-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tarif-card.featured {
    border-color: var(--orange);
}

.tarif-card.featured::before {
    content: 'Populaire';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tarif-card h3 {
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--dark);
}

.tarif-item {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.tarif-item:last-child {
    border-bottom: none;
}

.tarif-item .label {
    font-size: 0.85rem;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.tarif-item .price {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--dark);
    font-weight: 700;
}

.tarif-note {
    text-align: center;
    margin-top: 30px;
    color: var(--text-lighter);
    font-size: 0.9rem;
    font-style: italic;
}

/* ---- CONTACT ---- */
.contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,15,35,0.92), rgba(26,26,46,0.88));
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-section .section-label,
.contact-section .section-title {
    color: #fff;
}

.contact-section .section-desc {
    color: rgba(255,255,255,0.6);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row.full {
    grid-template-columns: 1fr;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: #fff;
    font-family: 'Muli', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--orange);
    background: rgba(255,255,255,0.12);
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    margin-top: 8px;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 280px;
}

.footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 24px;
    text-align: center;
}

.footer-nav a {
    display: block;
    color: rgba(255,255,255,0.6);
    padding: 4px 0;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-nav a:hover {
    color: var(--orange);
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
}

.footer-contact a:hover {
    color: var(--orange);
}

.footer-socials {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 16px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
}

/* ---- COOKIE BANNER ---- */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 500px;
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    font-size: 0.85rem;
    line-height: 1.6;
}

.cookie-banner p {
    margin-bottom: 16px;
}

.cookie-btns {
    display: flex;
    gap: 10px;
}

.cookie-btns button {
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-accept {
    background: var(--orange);
    color: #fff;
}

.cookie-decline {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skipper-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .skipper-photo {
        margin: 0 auto;
        width: 200px;
        height: 200px;
    }

    .skipper-info p {
        margin: 0 auto 24px;
    }

    .skipper-socials {
        justify-content: center;
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .navbar-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 15, 35, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 24px;
    }

    .navbar-links.open {
        display: flex;
    }

    .navbar-links a {
        font-size: 1.2rem;
        padding: 14px 24px;
    }

    .navbar-toggle {
        display: block;
        z-index: 1001;
    }

    .navbar-lang {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-scroll {
        display: none;
    }
}

/* ---- FA ICONS (keep font-awesome working) ---- */
@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont.woff2') format('woff2'),
         url('../fonts/fontawesome-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Benson font */
@font-face {
    font-family: "benson";
    src: url("../fonts/benson.woff2") format("woff2"),
         url("../fonts/benson.woff") format("woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ---- GOOGLE TRANSLATE HIDE ---- */
.goog-te-banner-frame, .skiptranslate, #goog-gt-tt { display: none !important; }
body { top: 0 !important; }
