/* ==========================================================================
   1. CONFIGURATION GÉNÉRALE & BASES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;}

body {
    font-family: 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;}

/* ==========================================================================
   2. NAVIGATION (CADETBLUE & CORAL)
   ========================================================================== */
header {
    background: #147c7f;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;}

.logo a {
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    text-decoration: none;
    margin-left: 30px;
    margin-right: 30px;
    justify-content: center;
    display: flex;}

.logo span { 
    color: coral;}

nav ul { 
    display: flex; 
    list-style: none; 
    padding: 0;
    margin: 0; 
    margin-right: 30px;    
    justify-content: center;}

nav ul li { 
    margin-left: 25px; 
    position: relative;}

nav ul li a { 
    color: #ecf0f1; 
    text-decoration: none; 
    font-weight: 500;
    transition: color 0.3s;
    display: block;}

nav ul li a:hover, 
nav ul li a.active { 
    color: coral; }

/* --- GESTION DU MENU DÉROULANT (DROPDOWN) --- */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #147c7f;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 10px 0;
    border-radius: 0 0 8px 8px;}

.dropdown-content li {
    margin-left: 0; }

.dropdown-content li a {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: #ecf0f1;}

.dropdown:hover .dropdown-content {
    display: block;}

.dropdown-content li a:hover {
    background-color: rgba(255, 255, 255, 0.1); 
    color: coral;}

/* ==========================================================================
   3. HERO SECTIONS (BANNIÈRES)
   ========================================================================== */
.hero {
    height: 45vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('Images/Accueil.jpg') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    background-size: cover;
    background-position: center;}

.hero-accueil{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('Images/Accueil.jpg') center/cover no-repeat;}

.hero-decouvrir{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('Images/decouvrir.jpg') center/cover no-repeat;}

.hero-faune{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('Images/faune_flore.jpg') center/cover no-repeat;}

.hero-activites{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('Images/ville.jpg') center/cover no-repeat;}

.hero-plongee{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('Images/plongee.jpg') center/cover no-repeat;}

.hero-baleines{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('Images/baleines-observation.jpg') center/cover no-repeat;}

.hero-plages{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('Images/hero-plages.jpg') center/cover no-repeat;}

.hero-planifier{
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.8)), url('Images/planifier.jpg') center/cover no-repeat;}

/* ==========================================================================
   4. SECTION 5 RAISONS
   ========================================================================== */
.reasons-section {
    background-color: #edcda4;
    padding: 10px 0;
    color: #5d2921;
    text-align: center;}

.reasons-header {
    margin-bottom: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;}

.big-number {
    font-size: 80px;
    font-weight: bold;
    line-height: 1;
    display: block;
    color: white;}

.reason-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: -100px -10px;
    border-radius: 15px;
    transition: all 0.3s ease-in-out;}

.reason-card .num {
    font-size: 24px;
    font-weight: bold;
    transition: color 0.3s;}

.reason-card .icon {
    font-size: 40px;
    margin: 10px 0;
    transition: transform 0.3s;}

.central-description {
    font-size: 1rem;
    max-width: 180px;}

.reason-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);}

.reason-card:hover .icon {
    transform: scale(1.5);}

.reason-card:hover .num {
    color: white;}

/* ==========================================================================
   5. BOUTONS, SÉPARATEURS & HIGHLIGHTS
   ========================================================================== */
.btn-discover {
    display: inline-block;
    background-color: #5d2921;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 0px 0 10px 0;
    transition: 0.3s;}

.btn-discover:hover {
    background-color: white;
    color: #5d2921;
    transform: scale(1.05);}

.separator {
    width: 200px;
    height: 3px;
    background-color: coral;
    border: none;
    margin: 40px auto;
    border-radius: 10px;
    opacity: 0.6;}

.separator-bleu {
    width: 200px;
    height: 3px;
    background-color: #1b9ba0;
    border: none;
    margin: 40px auto;
    border-radius: 10px;
    opacity: 0.6;}

.highlight {
    color: coral;
    font-weight: bold;}

.highlight-bleu {
    color: #1b9ba0;
    font-weight: bold;}

.span {
    color: coral;}

/* ==========================================================================
   6. SECTION VIGNETTES THÉMATIQUES
   ========================================================================== */
.vignettes-section {
    padding: 0px 0;
    background-color: #fff;}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;}

.vignette-card {
    width: 100%;
    height: 350px;
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start; 
    color: white;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;}

.vignette-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background : linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 40%, inherit 100%) ;
    z-index: 1;
    transition: opacity 0.3s;}

.vignette-card h3, 
.vignette-card a {
    position: relative;
    z-index: 2;}

.vignette-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);}

.vignette-card a {
    display: inline-block;
    width: fit-content;
    text-decoration: none;
    font-weight: bold;
    margin-top: 5px;
    padding: 8px 20px;
    border-radius: 8px;
    border: 2px solid;
    transition: 0.3s ease;
    background: none;
    background-size: cover;
    background-position: center;}

/* --- Couleurs & Images Individuelles --- */
.card-faune { 
    background-color: #27ae60; 
    background-image: linear-gradient(to bottom, transparent 30%, #27ae60 100%), url('Images/lemurien_2.jpg');}

.card-faune a { color: white ; border-color:#27ae60; background-color: rgba(14, 62, 43, 0.7); }
.card-faune a:hover { background: #2ecc71; color: white; border-color: #0e3e2b; }

.card-activite { 
    background-color: #ff8c61; 
    background-image: linear-gradient(to bottom, transparent 50%, #ff8c61 100%), url('Images/surf_2.jpg');}

.card-activite a { color: white; border-color: #ff8c61; background-color: rgba(121, 42, 13, 0.7);}
.card-activite a:hover { background: #ff8c61; color: white; border-color: #792a0d; }

.card-plongee { 
    background-color: #16a085; 
    background-image: linear-gradient(to bottom, transparent 30%, #0e6553 100%), url('Images/plongee.jpg');}

.card-plongee a { color: white; border-color: #0cf1c3; background-color: rgba(5, 69, 56, 0.7);}
.card-plongee a:hover { background: #0edeb4; color: white; border-color: #054538; }

.card-baleines { 
    background-color: #34495e; 
    background-image: linear-gradient(to bottom, transparent 40%, #5dade2 100%), url('Images/baleines.jpg');}

.card-baleines a { color: white; border-color: #5dade2; background-color: rgba(11, 56, 85, 0.702);}
.card-baleines a:hover { background: #5dade2; color: white; border-color: #0b3855b3;}

.card-plages { 
    background-color: #edcda4; 
    background-image: linear-gradient(to bottom, transparent 50%, #edcda4 100%), url('Images/Plage_2.jpg');
    margin-bottom: 25px; }

.card-plages a { color: white; border-color: #edcda4; background-color: rgba(132, 111, 83, 0.7);}
.card-plages a:hover { background: #edcda4; color: white; border-color: #846f53;}

/* ==========================================================================
   7. PAGE DÉCOUVRIR (CARTES HORIZONTALES)
   ========================================================================== */
.row-vertical {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 5%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 20px;}

.card-horizontal {
    display: flex;
    min-height: 280px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;}

.card-horizontal:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);}

.card-image-left {
    flex: 0 0 40%;
    min-width: 300px;}

.card-image-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;}

.card-content-right {
    flex: 1;
    padding: 40px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; }

.card-content-right h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-transform: uppercase;}

.btn-hover {
    display: inline-block;
    top: 50%;
    left: 50%;    
    background: white;
    padding: 8px 25px; 
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;}

.card-horizontal:hover .btn-hover {
    opacity: 1;
    visibility: visible;
    transform: translate(0%, 0%) scale(1);}

.card-horizontal:hover .text-wrapper {
    opacity: 0.7; 
    transition: opacity 0.3s ease;}

.card-horizontal:hover .text-wrapper {
    filter: none !important; }

.btn-hover:hover {
    background-color: transparent !important;
    border: 2px solid white;
    color: white !important;}

/* --- Couleurs --- */
.color-faune { background-color: #2e7d32; }
.color-activites { background-color: #ff8c61; }
.color-plongee { background-color: #16a085; }
.color-baleines { background-color: #34495e; }
.color-plages { background-color: #cdac82; }

.color-faune .btn-hover { color: #2e7d32; }
.color-activites .btn-hover { color: #ff8c61; }
.color-plongee .btn-hover { color: #16a085; }
.color-baleines .btn-hover { color: #34495e; }
.color-plages .btn-hover { color: #cdac82; }

/* ==========================================================================
   8. SOUS-MENUS (CONTENU ET INFOS)
   ========================================================================== */
.content-row {
    padding: 40px 0; }

.bg-light {
    background-color: #f9fbf9 !important; }

.section-title-green { color: #2e7d32; font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; letter-spacing: -0.5px; }
.section-title-orange { color: #ff8c61; font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; letter-spacing: -0.5px; }
.section-title-bleu { color: #16a085; font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; letter-spacing: -0.5px; }
.section-title-bleu-baleines { color: #34495e; font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; letter-spacing: -0.5px; }
.section-title-plage { color: #cdac82; font-size: 2.5rem; font-weight: 800; margin-bottom: 30px; letter-spacing: -0.5px; }

.content-row p {
    font-size: 1.15rem;
    line-height: 1.85; 
    color: #444;
    margin-bottom: 25px;
    text-align: justify; }

.hover-zoom {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s ease;
    cursor: pointer;}

.hover-zoom:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;}

.info-card, .partner-card {
    background-color: #ffffff;
    border: 1px solid #eef2ef;
    height: 100%;
    transition: all 0.3s ease;}

.info-title-green { color: #2e7d32; font-weight: 700; font-size: 1.6rem; border-bottom: 3px solid coral; padding-bottom: 12px; display: inline-block; margin-bottom: 25px; }
.info-title-orange { color: #ff8c61; font-weight: 700; font-size: 1.6rem; border-bottom: 3px solid #1b9ba0; padding-bottom: 12px; display: inline-block; margin-bottom: 25px; }
.info-title-bleu { color: #16a085; font-weight: 700; font-size: 1.6rem; border-bottom: 3px solid coral; padding-bottom: 12px; display: inline-block; margin-bottom: 25px; }
.info-title-bleu-baleines { color: #34495e; font-weight: 700; font-size: 1.6rem; border-bottom: 3px solid coral; padding-bottom: 12px; display: inline-block; margin-bottom: 25px; }
.info-title-plage { color: #cdac82; font-weight: 700; font-size: 1.6rem; border-bottom: 3px solid coral; padding-bottom: 12px; display: inline-block; margin-bottom: 25px; }

.info-item h5 { color: #2e7d32; font-size: 1.2rem; font-weight: 700; margin-top: 15px; }
.info-item-coral h5 { color: #ff8c61; font-size: 1.2rem; font-weight: 700; margin-top: 15px; }
.info-item-bleu h5 { color: #16a085; font-size: 1.2rem; font-weight: 700; margin-top: 15px; }
.info-item-bleu-baleines h5 { color: #34495e; font-size: 1.2rem; font-weight: 700; margin-top: 15px; }
.info-item-plage h5 { color: #cdac82; font-size: 1.2rem; font-weight: 700; margin-top: 15px; }

.info-item p {
    font-size: 1rem !important;
    text-align: left !important;
    line-height: 1.6;
    color: #666;}

.partner-link-box {
    display: block;
    padding: 20px;
    background: #f8fbf9;
    border-radius: 15px;
    text-decoration: none !important;
    color: #333 !important;
    border: 1px solid transparent;
    transition: all 0.3s ease;}

.partner-link-box:hover {
    background: #ffffff;
    border-color: coral;
    transform: translateX(12px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);}

.partner-link-box strong { display: block; font-size: 1.1rem; margin-bottom: 2px; }
.partner-link-box small { display: block; color: #777; font-size: 0.85rem; line-height: 1.3; }

/* --- Liens et Highlights Inline --- */
.inline-link { color: #ff7f50; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 127, 80, 0.3); transition: all 0.3s ease; }
.inline-link-orange { color: #ff7f50; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 127, 80, 0.3); transition: all 0.3s ease; }
.inline-link-bleu { color: #1b9ba0; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 127, 80, 0.3); transition: all 0.3s ease; }
.inline-link-bleu-baleines { color: #34495e; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 127, 80, 0.3); transition: all 0.3s ease; }

.inline-link:hover { color: #2e7d32; border-bottom: 1px solid #2e7d32; background-color: rgba(46, 125, 50, 0.05); }
.inline-link-orange:hover { color: #1b9ba0; border-bottom: 1px solid #1b9ba0; background-color: rgba(46, 125, 50, 0.05); }
.inline-link-bleu:hover { color: coral; border-bottom: 1px solid #1b9ba0; background-color: rgba(46, 125, 50, 0.05); }
.inline-link-bleu-baleines:hover { color: coral; border-bottom: 1px solid coral; background-color: rgba(46, 125, 50, 0.05); }

/* ==========================================================================
   9. FORMULAIRE (PAGE PLANIFIER)
   ========================================================================== */
.form-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    max-width: 800px;
    margin: 0 auto;}

.form-title { text-align: center; margin-bottom: 10px; color: #333; }
.form-subtitle { text-align: center; color: #777; margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: bold; margin-bottom: 8px; color: #444; }

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: border-color 0.3s ease;}

.form-input:focus { outline: none; border-color: coral; }

.btn-submit {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
    padding: 15px;
    background-color: #1b9ba0;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.3s ease;}

.btn-submit:hover { background-color: coral; transform: translateY(-2px); }
.form-row { display: flex; gap: 20px; flex-wrap: wrap; }
.form-col { flex: 1; min-width: 250px; }
.section-spacer { padding-top: 40px; padding-bottom: 40px; }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.footer {
    width: 100vw !important;
    background-color: #147c7f !important;
    color: white;
    text-align: center;
    padding: 30px 0;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;}

.footer a {
    color: white !important;
    text-decoration: none;
    font-weight: 500;}

.footer a:hover {
    color: coral !important;}

/* ==========================================================================
   11. MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 992px) {
    .big-number { font-size: 60px; }
    .card-image-left { flex: 0 0 35%; min-width: 250px; }
    .section-title-green { font-size: 2rem; }}

@media (max-width: 768px) {
    .reasons-section { padding: 30px 0; }
    .reason-card { margin-bottom: 20px; padding: 10px; }
    .reason-card .icon { font-size: 30px; }
    .big-number { font-size: 50px; }
    
    nav { flex-direction: column; gap: 15px; }
    nav ul { padding: 0; }

    .card-horizontal { flex-direction: column; height: auto; min-height: 0; }
    .card-image-left { width: 100%; height: 250px; flex: none; }
    .card-content-right { padding: 30px; }
    .card-content-right p { max-width: 100%; margin-bottom: 20px; filter: none !important; }
    .btn-hover { position: relative; top: 0; left: 0; transform: none; visibility: visible; margin: 10px auto; display: inline-block; }

    .content-row { padding: 50px 0; }
    .order-md-1, .order-md-2 { order: 0 !important; }
    .col-md-5 { margin-top: 35px; }
    .content-row p { text-align: left; font-size: 1.1rem; }}