/* ======================================================================
   1. VARIABLES & RESET
   ====================================================================== */
:root {
    --primary: #00509d;
    --navy: #001d3d;
    --accent: #00a8e8;
    --red: #d90429;
    --light: #f1f5f9;
    --text: #1e293b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    top: 0px !important;
}

/* ======================================================================
   2. TRADUCTEUR (DESIGN FIXE)
   ====================================================================== */
#custom-translate-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: #ffffff !important;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border: 2px solid var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
}

.goog-te-menu-value span {
    color: var(--navy) !important;
    text-transform: uppercase;
    text-decoration: none !important;
}

.goog-te-gadget-icon, .goog-te-banner-frame, .skiptranslate iframe, .goog-te-menu-value img {
    display: none !important;
}

/* ======================================================================
   3. HERO & INTRO
   ====================================================================== */
.hero {
    height: 90vh; 
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.1)), url('../img/nautilac.webp') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    width: 100%; height: 100%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 20px;
}

.logo { width: 80%; max-width: 380px; margin-bottom: 25px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5)); }

h1 {
    color: white; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; text-transform: uppercase;
    text-shadow: 0 2px 15px rgba(0,0,0,0.6); line-height: 1.2;
}

.intro { padding: 60px 25px; text-align: center; max-width: 800px; margin: 0 auto; line-height: 1.8; }
.intro .lead { font-size: 1.3rem; font-style: italic; color: var(--primary); font-weight: 500; margin-bottom: 20px; }
.intro .tagline { font-size: 1.2rem; margin-top: 30px; border-top: 1px solid #eee; padding-top: 20px; }

/* ======================================================================
   4. STRUCTURE DESKTOP & TARIFS
   ====================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.pricing-grid {
    display: flex; 
    flex-direction: row; 
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f1f5f9;
    min-height: 550px; 
}

.pricing-grid:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 34, 73, 0.12);
}

.pricing-grid.reversed { flex-direction: row-reverse; }

.grid-left { flex: 1; height: auto; }
.grid-right { flex: 1.2; padding: 60px; display: flex; flex-direction: column; justify-content: center; }
.grid-img { width: 100%; height: 100%; object-fit: cover; }

h2 { color: var(--navy); font-size: 2.2rem; text-transform: uppercase; margin-bottom: 5px; }
.subtitle { color: var(--accent); font-weight: 600; font-size: 1.1rem; margin-bottom: 20px; }

/* Tableaux de prix modernisés */
.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 5px;
    margin-top: 15px;
}

.price-table th {
    background-color: var(--navy);
    color: white;
    padding: 20px;
    font-size: 1.1rem;
    border-radius: 8px 8px 0 0;
}

.price-table td {
    padding: 18px;
    background: #f8fafc;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    color: var(--primary);
    transition: background 0.2s;
}

.price-table td:first-child { border-radius: 8px 0 0 8px; text-align: left; padding-left: 20px; }
.price-table td:last-child { border-radius: 0 8px 8px 0; }
.price-table tbody tr:hover td { background-color: #e2e8f0; }

.note { margin-top: 15px; font-size: 0.9rem; color: #64748b; font-style: italic; }
.option-tag { display: inline-block; margin-top: 15px; color: var(--red); font-weight: 800; text-transform: uppercase; border: 2px dashed var(--red); padding: 5px 10px; border-radius: 8px; }

/* ======================================================================
   5. BLOCS INFOS (HORAIRES, PAIEMENT, LANGUES)
   ====================================================================== */
.hours, .payments, .languages { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; padding: 80px 20px; }

.hour-item, .pay-item, .lang-item { 
    background: white; border-radius: 30px; display: flex; flex-direction: column; 
    align-items: center; justify-content: center; border: 1px solid #e2e8f0; transition: 0.3s; 
}

.hour-item, .pay-item { width: 320px; height: 320px; }
.lang-item { width: 220px; height: 220px; }

.hour-item:hover, .pay-item:hover, .lang-item:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

.hour-img { height: 80px; margin-bottom: 20px; }
.pay-img { height: 120px; margin-bottom: 20px; object-fit: contain; }
.flag-img { width: 80px; margin-bottom: 15px; border-radius: 6px; }

.hour-title, .pay-text, .lang-text { font-size: 1rem; font-weight: 800; color: var(--navy); text-transform: uppercase; }
.hour-text { font-size: 1.05rem; font-weight: 600; color: var(--primary); margin-top: 5px; text-align: center; }

/* ======================================================================
   6. SECTION ACCÈS & MAP
   ====================================================================== */
.access-section { padding-top: 0; }
.access-card { background: white; border: 2px solid #e2e8f0; }
.iframe-responsive { position: relative; overflow: hidden; width: 100%; padding-top: 75%; }
.iframe-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

.access-details { gap: 20px; }
.poi-card { display: flex; align-items: flex-start; gap: 15px; background: #f8fafc; padding: 20px; border-radius: 15px; border: 1px solid #edf2f7; }
.poi-text { font-size: 1.05rem; color: var(--navy); line-height: 1.5; }

.highlight-card { background: #fff5f5; border: 2px solid #feb2b2; }
.highlight-text { color: var(--red); font-size: 1.4rem; font-weight: 900; text-transform: uppercase; }

/* ======================================================================
   7. BOUTON FLOTTANT & FOOTER
   ====================================================================== */
.floating-btn {
    position: fixed; bottom: 25px; right: 25px; background: var(--red); color: white;
    padding: 15px 25px; border-radius: 50px; text-decoration: none; font-weight: 800;
    box-shadow: 0 5px 20px rgba(217, 4, 41, 0.4); z-index: 999; display: none; transition: transform 0.2s;
}

.footer { text-align: center; padding: 50px 20px; background: #f8fafc; border-top: 1px solid #e2e8f0; color: #64748b; }
.footer p a { color: #475569; text-decoration: none; transition: color 0.3s ease; }
.footer p a:hover { color: var(--primary); text-decoration: underline; }

/* ======================================================================
   8. MODE MOBILE
   ====================================================================== */
@media (max-width: 991px) {
    .floating-btn { display: block; }
    .hero { background-image: url('../img/nautilac-mob.webp') !important; height: 80vh; }
    h1 { font-size: 1.8rem; }

    .pricing-grid, .pricing-grid.reversed { flex-direction: column; min-height: auto; margin-bottom: 30px; }
    .grid-left { height: 220px; min-height: 220px; }
    .grid-right { padding: 20px 15px; }

    .price-table th, .price-table td { padding: 10px 5px; font-size: 0.85rem; }

    .hours, .payments, .languages { padding: 20px 10px; gap: 15px; }
    .hour-item, .pay-item, .lang-item { width: calc(50% - 10px); height: 160px; padding: 15px; border-radius: 20px; }
    
    .hour-img { height: 40px; margin-bottom: 8px; }
    .pay-img { height: 50px; margin-bottom: 8px; }
    .flag-img { width: 45px; margin-bottom: 5px; }
    
    .hour-title, .pay-text, .lang-text { font-size: 0.7rem; }
    .hour-text { font-size: 0.6rem; }
}