/* ==========================================================================
   DURIN — Saint-Tropez
   Style ultra-épuré inspiré de studiojos.com.au
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: #2A2A28;
  background-color: #F5F1EB;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.4s ease;
}

a:hover { opacity: 0.55; }

button { font-family: inherit; cursor: pointer; }

.serif {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
}

.italic { font-style: italic; }

/* Header simple */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.75rem 2.5rem;
  background-color: rgba(245, 241, 235, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: #2A2A28;
  white-space: nowrap;
}

.site-header .nav-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-header .nav-links {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.site-header .nav-links a {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2A2A28;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  padding-left: 1.5rem;
  border-left: 0.5px solid rgba(42, 42, 40, 0.25);
}

.lang-switch a {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #A89882;
}

.lang-switch a.active { color: #2A2A28; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: #2A2A28;
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  .site-header { padding: 1.2rem 1.5rem; }

  .site-header .nav-right {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: #F5F1EB;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s ease;
  }

  .site-header .nav-right.open { transform: translateX(0); }

  .site-header .nav-links {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .site-header .nav-links a { font-size: 13px; letter-spacing: 0.2em; }

  .lang-switch {
    padding-left: 0;
    border-left: none;
    padding-top: 1.5rem;
    border-top: 0.5px solid rgba(42, 42, 40, 0.15);
  }

  .menu-toggle { display: block; z-index: 110; }

  .menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}

/* Home tiles (4 grandes tuiles plein écran) */
.home-tiles { padding-top: 80px; }

.tile {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  overflow: hidden;
  display: block;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.tile:hover img { transform: scale(1.03); }

.tile-caption {
  position: absolute;
  bottom: 4rem;
  left: 0;
  right: 0;
  text-align: center;
  color: #F5F1EB;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.tile-caption .small-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
  .tile { height: 70vh; min-height: 480px; }
  .tile-caption { bottom: 2.5rem; font-size: 1.25rem; }
}

/* Page header (pages internes) */
.page-header {
  padding: 10rem 2rem 4rem;
  text-align: center;
}

.page-header h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: #2A2A28;
  margin-bottom: 0.8rem;
}

.page-header p {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #A89882;
}

@media (max-width: 768px) {
  .page-header { padding: 7rem 1.5rem 3rem; }
}

/* Properties grid */
.properties-page { padding: 0 2rem 6rem; }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1500px;
  margin: 0 auto;
}

.property-tile { cursor: pointer; display: block; }

.property-tile .photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #E8E1D5;
}

.property-tile .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s cubic-bezier(0.19, 1, 0.22, 1);
}

.property-tile:hover .photo img { transform: scale(1.04); }

.property-tile .caption {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  text-align: center;
  color: #2A2A28;
}

@media (max-width: 1100px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 600px) {
  .properties-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .properties-page { padding: 0 1.5rem 4rem; }
}

/* Studio page */
.studio-page {
  padding: 0 2rem 8rem;
  max-width: 880px;
  margin: 0 auto;
}

.studio-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 4rem;
  background-color: #E8E1D5;
}

.studio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-text p {
  font-size: 15px;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  color: #2A2A28;
}

.studio-text .lead {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.55;
  color: #2A2A28;
  margin-bottom: 3rem;
  text-align: center;
}

.studio-text .partner-note {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 0.5px solid rgba(42, 42, 40, 0.15);
  font-style: italic;
  color: #5A5A55;
  font-size: 13px;
  text-align: center;
}

@media (max-width: 768px) {
  .studio-page { padding: 0 1.5rem 5rem; }
  .studio-photo { margin-bottom: 2.5rem; }
}

/* Services page */
.services-page {
  padding: 0 2rem 8rem;
  max-width: 760px;
  margin: 0 auto;
}

.service-block {
  padding: 2.5rem 0;
  border-bottom: 0.5px solid rgba(42, 42, 40, 0.12);
}

.service-block:last-child { border-bottom: none; }

.service-block h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: #2A2A28;
}

.service-block p {
  font-size: 14px;
  line-height: 1.75;
  color: #3A3A36;
}

.service-block .partner-line {
  margin-top: 0.8rem;
  font-style: italic;
  color: #5A5A55;
  font-size: 13px;
}

@media (max-width: 768px) {
  .services-page { padding: 0 1.5rem 5rem; }
}

/* Contact page */
.contact-page {
  padding: 0 2rem 8rem;
  max-width: 720px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-info p {
  font-size: 14px;
  line-height: 1.85;
  color: #2A2A28;
  margin-bottom: 0.5rem;
}

.contact-info .label {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #A89882;
  margin: 1.5rem 0 0.5rem;
}

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

.contact-form .form-group { margin-bottom: 2rem; }

.contact-form label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #A89882;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 0.5px solid rgba(42, 42, 40, 0.3);
  padding: 0.6rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #2A2A28;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: #2A2A28;
}

.contact-form textarea { resize: none; min-height: 100px; }

.contact-form button {
  background: transparent;
  border: 0.5px solid #2A2A28;
  color: #2A2A28;
  padding: 0.9rem 2.5rem;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-top: 1rem;
  font-family: 'Inter', sans-serif;
  transition: background 0.3s ease, color 0.3s ease;
}

.contact-form button:hover {
  background: #2A2A28;
  color: #F5F1EB;
}

@media (max-width: 768px) {
  .contact-page { padding: 0 1.5rem 5rem; }
}

/* Footer simple */
.site-footer {
  padding: 5rem 2rem 3rem;
  border-top: 0.5px solid rgba(42, 42, 40, 0.1);
  text-align: center;
}

.site-footer .newsletter {
  max-width: 540px;
  margin: 0 auto 3rem;
}

.site-footer .newsletter h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: #2A2A28;
}

.site-footer .newsletter form {
  display: flex;
  border-bottom: 0.5px solid rgba(42, 42, 40, 0.3);
  padding-bottom: 0.5rem;
}

.site-footer .newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #2A2A28;
}

.site-footer .newsletter input:focus { outline: none; }

.site-footer .newsletter button {
  background: transparent;
  border: none;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #2A2A28;
  padding-left: 1rem;
}

.site-footer .footer-meta {
  font-size: 11px;
  color: #A89882;
  letter-spacing: 0.05em;
  margin-top: 2rem;
}

.site-footer .footer-meta a { color: #A89882; }

.site-footer .footer-meta p { margin-bottom: 0.3rem; }

@media (max-width: 768px) {
  .site-footer { padding: 4rem 1.5rem 2.5rem; }
}
