@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Lato:wght@300;400;500&display=swap');

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.8;
    color:#1a1a1a;
}

header {
    background:white;
    padding:20px 6%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.logo img { height:60px; }

nav a {
    margin-left:28px;
    text-decoration:none;
    color:#003366;
    font-size:15px;
}

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

.dropdown { position:relative; display:inline-block; }

.dropdown-content {
    display:none;
    position:absolute;
    right:0;
    background:white;
    min-width:160px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    z-index: 2000;
}

.dropdown-content a {
    display:block;
    padding:12px;
    font-size:14px;
}

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



.hero::after {
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.15);
}

.hero-content {
    position: relative;
    color: #f2f2f2;
    max-width: 1200px;
    font-size: 28px;
    line-height: 1.4;
    padding: 40px 60px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 76px;
    line-height: 1.05;
    margin-bottom: 75px;
    color: white;
    text-shadow: 0 6px 30px rgba(0,0,0,0.7);
}

.section {
    padding: 70px 15% 90px 15%;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 25px;
    color: #003366;
    letter-spacing: 0.5px;
}

.section p {
    font-size: 22px;
    line-height: 1.6;
    max-width: 900px;
}

footer {
    background:#003366;
    color:white;
    text-align:center;
    padding:60px 30px;
    margin-top:120px;
}
.pano-image {
    width:100%;
    height:400px;
    object-fit:cover;
}
.split {
    display:flex;
    align-items:center;
    gap:80px;
    padding:40px 15%;
}

.split.reverse {
    flex-direction:row-reverse;
}

.split .text {
    flex:1;
}

.split .image {
    flex:1;
}

.split img {
    width:100%;
    border-radius:8px;
}
footer {
    background:#003366;
    color:white;
    text-align:center;
    padding:80px 20px;
    margin-top:60px;
}
.page-hero-image {
    position:relative;
}

.pano-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 10%;
    display: block;
}



.hero-overlay h1 {
    font-family:'Playfair Display', serif;
    font-size:60px;
    margin-bottom:20px;
}

.hero-overlay p {
    font-size:22px;
    line-height:1.6;
}
.hero.hero-circuits {
    background-image: url("vignoble.jpg");
    height: 80vh;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
}
.circuits-grid {
    display: flex;
    gap: 50px;
    padding: 120px 10%;
    align-items: flex-start;
}

.circuit-card {
    flex: 1;
    max-width: 33%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.circuit-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
}

.circuit-intro {
    font-size: 17px;
    line-height: 1.6;
}

.circuit-cities {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}
.contact-section {
    padding: 160px 10%;
    background: linear-gradient(to bottom, #f8fbff, #eef5fb);
    display: flex;
    justify-content: center;
}

.contact-section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 60px;
    color: #003366;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#contact-form label {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #003366;
}

#contact-form input,
#contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

#contact-form button {
    margin-top: 20px;
    padding: 14px;
    background-color: #003366;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

#contact-form button:hover {
    background-color: #0055aa;
}

#confirmation-message {
    margin-top: 20px;
    color: green;
    font-weight: 500;
}
body:not(.home) header {
    position: relative;
    background: white;
    padding: 20px 10%;
}
.contact-section form {
    background: white;
    padding: 60px;
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
/* Texte des blocs Guide / Hôtel / Restaurant */
.split .text p {
    font-size: 20px;
    line-height: 1.7;
    margin-top: 8px;
    margin-bottom: 8px;
}

.split .text p:last-child {
    margin-bottom: 0;
}
/* Ajustement texte dans image À propos */

.hero-overlay p {
    margin-top: 2px;
    margin-bottom: 2px;
    line-height: 1.6;
}

.hero-overlay h1,
.hero-overlay p {
    text-shadow: 0 6px 25px rgba(0,0,0,0.7);
}
/* Réglage serré texte image À propos */

.hero-overlay h1 {
    margin-bottom: 15px;
}

.hero-overlay p {
    margin: 0;
    line-height: 1.55;
}
.hero-overlay {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-overlay h1 {
    margin: 0;
}

.hero-overlay p {
    margin: 0;
    line-height: 1.55;
}
.hero-overlay h1 {
    margin-bottom: 15px;
}

.hero-overlay p {
    margin: 6px 0;
    line-height: 1.55;
}
/* Section panoramique À propos */

.page-hero-image {
    position: relative;
}

.pano-image {
    width: 100%;
    height: 75vh;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    max-width: 900px;
}

.hero-overlay h1 {
    margin: 0 0 20px 0;
    font-size: 48px;
}

.hero-overlay p {
    margin: 6px 0;
    line-height: 1.6;
}

.hero-overlay h1,
.hero-overlay p {
    text-shadow: 0 6px 30px rgba(0,0,0,0.7);
}
/* Réduction espace entre sections successives */

.section + .section {
    padding-top: 30px;
}
/* Réduction espace entre sections texte */

.section {
    padding-bottom: 50px;
}

.section + .section {
    padding-top: 20px;
}
/* Supprimer overlay sur page circuits */
.hero.hero-circuits::after {
    display: none;
}
.hero.hero-circuits .hero-content {
    text-align: center;
    max-width: 900px;
}
.hero-overlay {
    z-index: 1;
}

header, .menu, nav {
    position: relative;
    z-index: 10;
}
img {
    max-width: 100%;
    height: auto;
}
.circuit-img {
    border-radius: 12px; /* optionnel mais plus élégant */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-purple {
    box-shadow: 0 0 0 4px #6b21a8, 0 25px 50px rgba(107, 33, 168, 0.45);
    border-radius: 16px;
}

.shadow-orange {
    box-shadow: 0 0 0 4px #ea580c, 0 25px 50px rgba(234, 88, 12, 0.45);
    border-radius: 16px;
}

.shadow-green {
    box-shadow: 0 0 0 4px #15803d, 0 25px 50px rgba(21, 128, 61, 0.45);
    border-radius: 16px;
}
.shadow-purple { background: red; }
.shadow-purple {
    background: red !important;
}
.shadow-purple {
    border: 6px solid #6b21a8;
    border-radius: 12px;
}

.shadow-orange {
    border: 6px solid #ea580c;
    border-radius: 12px;
}

.shadow-green {
    border: 6px solid #15803d;
    border-radius: 12px;
}
.home-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin: 60px 0;
}

.feature {
    text-align: center;
}

.feature h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.feature p {
    line-height: 1.6;
}

@media (max-width: 900px) {
    .home-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .home-features {
        grid-template-columns: 1fr;
    }
}
.home-features .feature p {
    font-size: 14px;
}
.form-success {
    background: #e6f4ea;
    color: #1e7e34;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.form-error {
    background: #fdecea;
    color: #a94442;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}
.catalogue-button{
text-align:center;
margin:60px 0;
}

.catalogue-button a{
background:#1e73be;
color:white;
padding:14px 32px;
text-decoration:none;
border-radius:6px;
font-size:16px;
font-weight:600;
transition:0.3s;
}

.catalogue-button a:hover{
background:#163d66;
}
.circuit-btn{
display:block;
width:fit-content;
margin:20px auto;
background:#DCEAF4;
color:#2f4b5d;
padding:12px 24px;
text-decoration:none;
border-radius:6px;
font-family:'Playfair Display', serif;
font-size:15px;
transition:0.3s;
border:1px solid #c6dbe8;
}

.circuit-btn:hover{
background:#C6DEED;
}